[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-25 Thread tim_perrett
Ok great, so im guessing i can also use the themes to do it for any templae, not just the layout so i could also do: | | | Zip: | #{hotel.zip} | | | Brilliant! Otherwise, within the seam framework is there the ability to use view

[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-25 Thread avbentem
"tim_perrett" wrote : If i needed each theme to use a different XHTML file within seam, as perhaps the HTML was different, is this even possible? Yes. Your theme is basically a property file. It could set any property with any name you like. Often it would just be css and template (which you coul

[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-25 Thread tim_perrett
Just thinking aloud - If i needed each theme to use a different XHTML file within seam, as perhaps the HTML was different, is this even possible? How does seam know to look for the view files? I am guessing there is a paramater i could set somwhere to dynamically point it at a different set of

[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-24 Thread tim_perrett
LOL - sorry now that was a silly mistake!!! Cheers Tim PS: i'll do the code and post it back up when its ready :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048286#4048286 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-24 Thread [EMAIL PROTECTED]
In pages.xml, of course! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048271#4048271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048271 ___ jboss-user mailing list jboss-

[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-24 Thread tim_perrett
Ok sounds like the kind of thing I was thinking of! Excellent. So basicly, it will get called on every request due to the view id "*" in web.xml (should it be web.xml?) Many thanks Tim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048264#4048264 Reply to

[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-24 Thread [EMAIL PROTECTED]
It should be very easy to write a seam page action that checks the domain, and calls themeSelector.setTheme(). Map it to the view id "*". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048260#4048260 Reply to the post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-22 Thread javabr
tim, take a look on trinidad sample seam-cvs. There is a tag on template.xml () that can help you .. perhaps changing something there or intersepting some event overriding it. rgds Leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047759#4047759 Reply