[
http://www.stripesframework.org/jira/browse/STS-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remi VANKEISBELCK resolved STS-878.
-----------------------------------
Resolution: Cannot Reproduce
Resolving as cannot reproduce, please reopen is needed.
> Can never format a Collection/Array using custom formatters with certain
> Stripes Tags
> -------------------------------------------------------------------------------------
>
> Key: STS-878
> URL: http://www.stripesframework.org/jira/browse/STS-878
> Project: Stripes
> Issue Type: Bug
> Components: Formatting, Tag Library
> Affects Versions: Release 1.5.6
> Reporter: Martin Walsh
> Assignee: Remi VANKEISBELCK
> Labels: formatting, taglib
> Fix For: Release 1.5.8
>
> Attachments: CollFormatter.tar.gz
>
>
> Certain tags within the Stripes Taglib do not allow you to work with
> Collections or Arrays. All tags that use
> InputTagSupport.getSingleOverrideValue() to obtain the override value for the
> field get returned the first value in the Collection/Array which is then
> passed to the Formatting framework to format. This prevents users from
> displaying a formatted list of the values, instead always displaying the
> first value in the collection, even when a CollectionFormatter is present.
> What I think should happen is that the tags should use
> InputTagSupport.getOverrideValueOrValues() and pass the resulting Object off
> to the formatters. That way a CollectionFormatter could then be used to
> format the values accordingly, whether that be to return the first value in
> the Collection to maintain current behavior, or return a comma separated list
> of values so that data values are not lost. This also allows overriding to
> customise the output, which is currently not possible for Collections/Arrays.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development