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
"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
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
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
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-
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
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
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