Provide support for rendering required fields in a different style or with a
marker using the action bean's validation metadata.
--------------------------------------------------------------------------------------------------------------------------------
Key: STS-754
URL: http://www.stripesframework.org/jira/browse/STS-754
Project: Stripes
Issue Type: New Feature
Components: Tag Library
Reporter: Agustà Sánchez
Typically, required fields in an HTML form are rendered differently (appended
with an red asterisk or with a different CSS style) in order to warn the user
in advance.
This should be done by the tag library dynamically using the action bean's
validation metadata.
It could be implemented in a number of ways; for instance, all input tags could
accept a "requiredFiledStyle" or, more conveniently, that style could be
configured centrally in the web application descriptor; the tag library could
be expanded with a <stripes:ifFieldRequired> tag -nestable inside any input
tag- that would render its body; the label tag could add an asterisk by default
if the field is required , etc.
--
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
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development