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

Hudson commented on WW-4297:
----------------------------

SUCCESS: Integrated in Struts-JDK6-develop #123 (See 
[https://builds.apache.org/job/Struts-JDK6-develop/123/])
WW-4447 Reverts some changes introduced by WW-4297 (lukaszlenart: rev 
243378937969e5caeeeefc2bd98ce799a995e431)
* core/src/main/java/org/apache/struts2/components/Hidden.java


> XHTML validations for s:hidden in form
> --------------------------------------
>
>                 Key: WW-4297
>                 URL: https://issues.apache.org/jira/browse/WW-4297
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.3.15.3
>         Environment: Plattform independent
>            Reporter: Fredrik Andersson
>            Assignee: Lukasz Lenart
>            Priority: Minor
>              Labels: newbie
>             Fix For: 2.3.20
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Hello!
> I first posted this in user [email protected], please see:
> https://mail-archives.apache.org/mod_mbox/struts-user/201403.mbox/%[email protected]%3E
> It looks like this might be a bug since the form do not pass validation at:
> http://validator.w3.org/check
> The problem is that hidden tags in the form is within the table, but do not 
> get any tr and td tags.
> The struts-users helped me to this work around:
> I put a new file "hidden.ftl" in my resources-folder (I use maven with 
> eclipse):
> resources/template/xhtml/hidden.ftl
> The content in hidden.ftl is:
> {code:xml}
> <tr style="display:none;">
>       <td>
>               <#include "/${parameters.templateDir}/simple/hidden.ftl" />
>       </td>
> </tr>
> {code}
> Then it validates fine!
> Best regards
> Fredrik
> .



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to