Ah, thanks! I was using 2.3.20. Glad to hear the issue is already fixed.

From: "Lukasz Lenart [via Struts]" 
<ml-node+s1045723n5718108...@n5.nabble.com<mailto:ml-node+s1045723n5718108...@n5.nabble.com>>
Date: Tuesday, August 25, 2015 at 11:56 PM
To: Allan Jackson <allanjack...@ku.edu<mailto:allanjack...@ku.edu>>
Subject: Re: s:hidden generating invalid html for css_xhtml theme

2015-08-25 19:19 GMT+02:00 allanjackson <[hidden 
email]</user/SendEmail.jtp?type=node&node=5718108&i=0>>:
> When using the css_xhtml theme the s:hidden tag is generating TR and TD tags
> because it is just inheriting directly from the xhtml theme. Since the
> css_xhtml theme does not use tables, these tags are invalid html.
>
> The css_xhtml theme needs to pull its s:hidden tag from the simple theme
> instead of the xhtml theme.

What Struts version do you use? It's already resolved in 2.3.24
https://issues.apache.org/jira/browse/WW-4454

and you can try to override the template by adding your own version to
WEB-INF/template/css_html


Regards
--
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden 
email]</user/SendEmail.jtp?type=node&node=5718108&i=1>
For additional commands, e-mail: [hidden 
email]</user/SendEmail.jtp?type=node&node=5718108&i=2>



________________________________
If you reply to this email, your message will be added to the discussion below:
http://struts.1045723.n5.nabble.com/s-hidden-generating-invalid-html-for-css-xhtml-theme-tp5718104p5718108.html
To unsubscribe from s:hidden generating invalid html for css_xhtml theme, click 
here<http://struts.1045723.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5718104&code=YWxsYW5qYWNrc29uQGt1LmVkdXw1NzE4MTA0fC0xNTQyMjg5MjY1>.
NAML<http://struts.1045723.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://struts.1045723.n5.nabble.com/s-hidden-generating-invalid-html-for-css-xhtml-theme-tp5718104p5718112.html
Sent from the Struts - User mailing list archive at Nabble.com.

Reply via email to