struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4454) css_xhtml hidden input adding table row markup
Date Sun, 01 Feb 2015 14:52:34 GMT

    [ 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)

Mime
View raw message