wood burning stoves 2.0*
The moose likes Struts and the fly likes unable to change default theme in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "unable to change default theme in struts2" Watch "unable to change default theme in struts2" New topic
Author

unable to change default theme in struts2

vinitha simon
Ranch Hand

Joined: Dec 13, 2007
Posts: 64
I've tried to change the default theme in struts.properties "struts.ui.theme = simple", but, the change does not reflect in my jsp. Am I missing out something.... ny help is appreciated...

TIA,
vinitha
sunil gupta
Greenhorn

Joined: May 07, 2008
Posts: 21
u can specify theme="simple at tag level or form level and it should work.
vinitha simon
Ranch Hand

Joined: Dec 13, 2007
Posts: 64
It does work when added in the form tag. I want to change the config in struts.properties
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: unable to change default theme in struts2
 
Similar Threads
SelectOneMenu not displaying uniformly
s:textfield issue
tool tip for textfield in struts2
problem in printing the values
JBuilder 8 background color