[
http://www.stripesframework.org/jira/browse/STS-629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter resolved STS-629.
----------------------------
Resolution: Fixed
Fixed. The "on" events are provided as an array of strings under the key "on".
> The "field-metadata" tag should provide the "on" property value
> ---------------------------------------------------------------
>
> Key: STS-629
> URL: http://www.stripesframework.org/jira/browse/STS-629
> Project: Stripes
> Issue Type: Improvement
> Components: Tag Library
> Affects Versions: Release 1.5
> Reporter: Mike McNally
> Priority: Minor
> Fix For: Release 1.5.1, Release 1.6
>
>
> The clever and useful "field-metadata" tag would be even better if it were to
> include the "on" property from field validation metadata. The "on" property
> value would make it possible for client-side code to figure out whether
> fields marked "required" really are required in the actual context of the
> form.
> A variation on this would be to provide a way to tell the tag what event
> should be considered as the one for which validation will be performed. With
> that change, the tag would internally determine whether the "required"
> property is true or not. Thus my page would say something like
> <s:field-metadata var='meta' event='save'>/* whatever */</s:field-metadata>
> and the resulting block of metadata would only mark those fields "required"
> which are so marked for the "save" event.
--
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
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development