You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2007/08/07 18:56:38 UTC

[jira] Commented: (WW-2090) should detect when there's only one error and emit no
  • tags
  •     [ https://issues.apache.org/struts/browse/WW-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41758 ] 
    
    James Holmes commented on WW-2090:
    ----------------------------------
    
    I'm not sure what we should do here from a "framework default" perspective. Currently, you can alter this behavior by overriding the template. I do that on a project already.
    
    What do others think?
    
    > <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: Views
    >    Affects Versions: 2.0.9
    >            Reporter: Matt Raible
    >
    > 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.