struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Holmes (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-2671) Add fieldName attribute to FieldErrorTag
Date Sun, 08 Jun 2008 03:37:05 GMT

    [ https://issues.apache.org/struts/browse/WW-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44076#action_44076
] 

James Holmes commented on WW-2671:
----------------------------------

I would recommend creating an associated unit test for the new attribute. That is typical
when we add new features.

> Add fieldName attribute to FieldErrorTag
> ----------------------------------------
>
>                 Key: WW-2671
>                 URL: https://issues.apache.org/struts/browse/WW-2671
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tags
>            Reporter: David Evans
>         Attachments: FieldErrorPatch.txt, FieldErrorTagPatch.txt
>
>
> I would like to use FieldErrorTag on a single field basis in this manner:
> <s:fielderror fieldName="myField" />
> instead of the current usage:
> <s:fielderror><s:param>myField</s:param></s:fielderror>
> I have attached two patches which implement this functionality, one for FieldErrorTag
and one for FieldError.

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


Mime
View raw message