[
http://www.stripesframework.org/jira/browse/STS-631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11598#action_11598
]
Eric Palmitesta commented on STS-631:
-------------------------------------
I'm sorry, this shouldn't be Priority=Major (first-time JIRA poster). Doesn't
look like I can change/edit it, can a mod do that for me?
> empty <s:label /> could pull text from field, similar to <s:error />
> --------------------------------------------------------------------
>
> Key: STS-631
> URL: http://www.stripesframework.org/jira/browse/STS-631
> Project: Stripes
> Issue Type: Improvement
> Affects Versions: Release 1.5
> Reporter: Eric Palmitesta
>
> When one uses an <s:error name="user.emailAddress" /> tag on a form, "{1} is
> not a valid {0}" will become "blah is not a valid User Email Address".
> That's all well and good.
> When one uses a matching (and empty) <s:label name="user.emailAddress" />,
> unless there is a label= in an associated @Validate annotation (ie
> @Validate(field="email", label="Email Address"), or some text sitting in a
> resource bundle, the result is "Label could not find localized field name and
> had no body."
> Couldn't Stripes inspect the field and pull out "User Email Address" the same
> way <s:error /> does?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development