You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Wes Wannemacher (JIRA)" <ji...@apache.org> on 2009/05/29 17:08:42 UTC
[jira] Closed: (WW-3089) Simple theme doesn't generate XHTML
compliant code for FORM tag
[ https://issues.apache.org/struts/browse/WW-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes Wannemacher closed WW-3089.
-------------------------------
Resolution: Won't Fix
> Would it have an impact to remove this "name" attribute from the generated "form" tag ?
YES!
If you need XHTML strict compliance, just drop a new copy of form-common.ftl into template/simple, you can easily take out the section that generates the name=... It would probably cause us major problems, but you might be able to code around it for a single app. You can reopen as a feature request, but I think it is sufficient that you can change the templates yourself.
> Simple theme doesn't generate XHTML compliant code for FORM tag
> ---------------------------------------------------------------
>
> Key: WW-3089
> URL: https://issues.apache.org/struts/browse/WW-3089
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.1.6
> Reporter: Cimballi
>
> The HTML code generated for the FORM tag is not XHTML compliant for the SIMPLE theme.
> The FORM tag generated contains the NAME attribute which is not allowed in the XHTML strict specs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.