You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Newton <ne...@yahoo.com> on 2009/06/05 03:23:28 UTC

Re: HTML warnings for in xhtml theme

Security Management wrote:
> Using forms in the xhtml theme creates a 2 column table for *most* items.
> The hidden item is not one of them, and gives html warnings for <hidden>
> being inside of <table> instead of inside of a <td>.
> 
> It's an easy fix by putting the following hidden.ftl in the xhtml theme
> directory.  Is there any reason not to do this?
> 
> == Start hidden.ftl==
> 
> <tr style="display: none"><td colspan="2">
> <#include "/${parameters.templateDir}/simple/hidden.ftl" />
> <#include "/${parameters.templateDir}/simple/dynamic-attributes.ftl" />
> /></td></tr>
> 
> == End hidden.ftl ==

Hey, that's funny; I just noticed that yesterday.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org