[
http://www.stripesframework.org/jira/browse/STS-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ken Koster updated STS-758:
---------------------------
Attachment: patch-STS-758.tar
Patch implementing include and exclude attributes for the options-enumeration
tag. Includes changes to Tag class, tld file, and unit test files. Based off of
r1416.
> Include and exclude attributes for options-enumeration tag
> ----------------------------------------------------------
>
> Key: STS-758
> URL: http://www.stripesframework.org/jira/browse/STS-758
> Project: Stripes
> Issue Type: Improvement
> Components: Tag Library
> Reporter: Ken Koster
> Attachments: patch-STS-758.tar
>
>
> I often need to output an options-enumeration list with only a subset of the
> options. This was so common on the project I have been working on that I
> added "include" and "exclude" attributes to the InputOptionsEnumerationTag.
> Both attributes take a comma-delimited list of enum names that will either be
> the only options output (the "include" case) or the only options out of the
> enumeration not output (the "exclude" case).
> This is a much simpler version of the feature request that was included with
> STS-300.
> This enhancement is unit tested and has been working well in production for
> the last 6 weeks or so. I am happy to submit a patch for it if the community
> thinks it would be generally useful.
> Here is an example of the tag with the new attribute:
> <stripes:options-enumeration enum="com.diio.BatchingType"
> exclude="PURCHASE_DATE,TRAVEL_DATE"/>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development