[
http://www.stripesframework.org/jira/browse/STS-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11960#action_11960
]
Frederic Daoud commented on STS-683:
------------------------------------
Yes, I just tried adding a localizeLabels attribute, true by default, which you
can use to turn off localization attempts. Seems to work fine. I need to do a
few more tests and refine the documentation, then I'll check it in.
> Ability to disable localized lookup of label attribute for options-collection
> (and possibly other) tags
> -------------------------------------------------------------------------------------------------------
>
> Key: STS-683
> URL: http://www.stripesframework.org/jira/browse/STS-683
> Project: Stripes
> Issue Type: Improvement
> Components: Tag Library
> Affects Versions: Release 1.5.1
> Reporter: John Newman
> Assignee: Frederic Daoud
>
> Hello,
> The options collection tag tries to localize ALL labels in the collection.
> There should be an attribute, localizeLabels=true (default?) to skip over
> this block.
> For some reason this is just on by default even though I bet most stripes
> apps are either not localized, or are but done in their own different way.
> Particularly with regards to select labels, those often come from the
> database and not a property file. I can see how this may be useful, just
> questioning whether it really is that often or should be the default. I
> think if you knew you wanted localized labels, you would go and look for this
> feature to turn on instead of just trying it and being nicely surprised.
> 2 unnecessary bundle lookups for every <option tag (there are thousands!) on
> this page should not be happening unless told to do so by the page author.
> thoughts?
--
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