[
http://www.stripesframework.org/jira/browse/STS-878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885#comment-12885
]
Remi VANKEISBELCK commented on STS-878:
---------------------------------------
Could you please provide a test case ?
> 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
> Labels: formatting, taglib
> Fix For: Release 1.5.8
>
>
> 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
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development