You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2015/02/01 15:52:34 UTC
[jira] [Commented] (WW-4454) css_xhtml hidden input adding table
row markup
[ https://issues.apache.org/jira/browse/WW-4454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300224#comment-14300224 ]
Lukasz Lenart commented on WW-4454:
-----------------------------------
You can do this by yourself, just create {{hidden.ftl}} file in {{WEB-INF/template/css_html}} and it will be picked up by Struts.
> css_xhtml hidden input adding table row markup
> ----------------------------------------------
>
> Key: WW-4454
> URL: https://issues.apache.org/jira/browse/WW-4454
> Project: Struts 2
> Issue Type: Bug
> Components: Other
> Affects Versions: 2.3.20
> Reporter: Paul Zepernick
> Priority: Minor
> Fix For: 2.3.22
>
>
> The hidden.ftl is being inherited from the xhtml theme. The xhtml theme has this markup
> {code:html}
> <tr style="display:none;">
> <td colspan="2">
> <#include "/${parameters.templateDir}/simple/hidden.ftl" />
> </td>
> </tr>
> {code}
> It seems like hidden.ftl now needs to be overridden in the css_xhtml theme with this instead:
> {code:html}
> <#include "/${parameters.templateDir}/simple/hidden.ftl" />
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)