struts-issues mailing list archives

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

    [ https://issues.apache.org/struts/browse/WW-3236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46792#action_46792
] 

Andy Chapman commented on WW-3236:
----------------------------------

Example:

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: https://issues.apache.org/struts/browse/WW-3236
>             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 http://struts.apache.org/2.0.14/docs/extending-themes.html
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.


Mime
View raw message