[
https://issues.apache.org/struts/browse/WW-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tom Schneider resolved WW-2090.
-------------------------------
Resolution: Fixed
Assignee: Tom Schneider
At this point, I think it would be risky to modify the behavior of the default
template. Existing applications would be required to update their pages if we
make this change. Since the default behavior can be easily overridden by
having a customized ftl template, I'm marking this WON'T FIX.
> <s:fielderror> should detect when there's only one error and emit no <li> tags
> ------------------------------------------------------------------------------
>
> Key: WW-2090
> URL: https://issues.apache.org/struts/browse/WW-2090
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tags
> Affects Versions: 2.0.9
> Reporter: Matt Raible
> Assignee: Tom Schneider
> Fix For: 2.1.1
>
> Attachments: fielderror.ftl
>
>
> When using the "simple" theme, it's desirable that no HTML is rendered with
> the error messages.
> <s:textfield name="company"/>
> <span style="color: red"><s:fielderror name="company"/></span>
> Currently, it renders an <li> around any field errors.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.