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