struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Malev (JIRA)" <>
Subject [jira] Commented: (WW-3429) <input> tag generated by <s:checkbox> produce HTML warning in validators
Date Thu, 08 Apr 2010 17:23:37 GMT


Alexey Malev commented on WW-3429:

Sure. Attached an SVN diff file for these changes. Would be nice if anyone will tell me where
to find templates for this tag in other template languages, such as Velocity, if they are
exist :)

> <input> tag generated by <s:checkbox> produce HTML warning in validators
> ------------------------------------------------------------------------
>                 Key: WW-3429
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors, Other
>    Affects Versions:
>         Environment: Apache Tomcat 5.5, 6.0.18 running on Win 32 and Fedora Code Linux
x86_64. Actually, bug is relevant to any environment.
>            Reporter: Alexey Malev
>            Priority: Minor
>         Attachments: checkbox.ftl,, diff.txt
> <s:checkbox> tag with default xhtml theme produce an <input> tag, like that
> <input type="hidden" id="__checkbox_is_vacancy_open" name=""
value="true" />
> produces HTML Tidy validator warning about an attribute name and ID starting with two
"_" signs. So, here is a patch I suggest to resolve this issue:
> I changed FreeMarker template and a checkbox interceptor code in such a way that prefix
of that input no longer produce warning.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message