Changes for page Struts2 Themes
on 2012/03/02 19:44
on 2012/03/02 19:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,6 @@ 1 -Struts2 p rovides four different themes: simple, xhtml, css_xhmtl and ajax.1 +Struts2 supports four different themes: simple, xhtml, css_xhmtl and ajax. 2 2 3 -In all my projects I use the simple theme which behaves exactly the way we would expect regular html to behave , since we are all web developers and know html the simple theme provides the least astonishment (and does what we expect everytime). Because I want this theme to apply to my whole application I simply set this value in my struts.xml. The default theme can be set for a specific tag, the page being rendered, the whole request, session or even globally. For more detail on themes visit [[struts.apache.org>>url:http://struts.apache.org/2.2.1/docs/struts-2-themes.html]].3 +In all my projects I use the simple theme which behaves exactly the way we would expect regular html to behave. Because I want this theme to apply to my whole application I simply set this value in my struts.xml. The default theme can be set for a specific tag, the page being rendered, the whole request, session or even globally. For more detail on themes visit [[struts.apache.org>>url:http://struts.apache.org/2.2.1/docs/struts-2-themes.html]]. 4 4 5 5 6 6 = Struts.xml - globally setting the theme to simple = ... ... @@ -12,3 +12,4 @@ 12 12 \\<struts> 13 13 <constant name="struts.ui.theme" value="simple" /> 14 14 </struts> 15 +