struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Chapman (JIRA)" <>
Subject [jira] Commented: (WW-3236) Extending of templates causes critical errors
Date Mon, 21 Sep 2009 16:22:48 GMT


Andy Chapman commented on WW-3236:


Do what it says in the manual page above, creating a theme called wibble with a parent theme
xhtml (rather than ajax as in the manual). Then add the following to struts.xml 

<constant name="struts.ui.theme" value="wibble" />

Create a page with a struts form with a textfield in it and try to view the page.

> Extending of templates causes critical errors
> ---------------------------------------------
>                 Key: WW-3236
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.1.6
>         Environment: Vista, Tomcat
>            Reporter: Andy Chapman
>            Priority: Minor
>             Fix For: 2.1.9
> The method of extending a theme as documented at
causes critical errors if you are extending the xhtml theme and making the extended theme
the default theme. I think this is due to the $(parameter.theme) in the include paths of the
extended theme (xhtml) being evaluated for the extended rather than the parent theme. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message