[
http://www.stripesframework.org/jira/browse/STS-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11959#action_11959
]
John Newman commented on STS-683:
---------------------------------
Just looking at this one again months after I freaked out about it, I think it
would be best to leave the default as is to avoid surprising someone who has
been using it all along. I hate sacrificing anything for backwards
compatibility, but it is better safe than sorry.
Then, you just need a rather prominent note in the doco: "If you don't care
about localization, or dont want stripes to care about your locailizaiton, set
<this> to true to disable the tag bundle lookups and increase performance.
This is done by default for backwards compatibility" maybe? idk
> 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