struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fredrik Andersson (JIRA)" <>
Subject [jira] [Created] (WW-4297) XHTML validations for s:hidden in form
Date Mon, 10 Mar 2014 18:40:08 GMT
Fredrik Andersson created WW-4297:

             Summary: XHTML validations for s:hidden in form
                 Key: WW-4297
             Project: Struts 2
          Issue Type: Bug
          Components: Core Actions
    Affects Versions:
         Environment: Plattform independent
            Reporter: Fredrik Andersson
            Priority: Minor


I first posted this in user, please see:

It looks like this might be a bug since the form do not pass validation at:

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

The content in hidden.ftl is:

<tr style="display:none;">
		<#include "/${parameters.templateDir}/simple/hidden.ftl" />

Then it validates fine!

Best regards

This message was sent by Atlassian JIRA

View raw message