[JIRA] Created: (STS-683) Ability to disable localized lookup of label attribute for options-collection (and possibly other) tags

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (STS-683) Ability to disable localized lookup of label attribute for options-collection (and possibly other) tags

JIRA jira@stripesframework.org
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


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

       

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (STS-683) Ability to disable localized lookup of label attribute for options-collection (and possibly other) tags

JIRA jira@stripesframework.org

    [ http://www.stripesframework.org/jira/browse/STS-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11958#action_11958 ]

Frederic Daoud commented on STS-683:
------------------------------------

I agree. There should be a way to turn off bundle lookups if they are unnecessary. I'll look into this.

> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (STS-683) Ability to disable localized lookup of label attribute for options-collection (and possibly other) tags

JIRA jira@stripesframework.org
In reply to this post by JIRA jira@stripesframework.org

    [ 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (STS-683) Ability to disable localized lookup of label attribute for options-collection (and possibly other) tags

JIRA jira@stripesframework.org
In reply to this post by JIRA jira@stripesframework.org

    [ 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (STS-683) Ability to disable localized lookup of label attribute for options-collection (and possibly other) tags

JIRA jira@stripesframework.org
In reply to this post by JIRA jira@stripesframework.org

     [ http://www.stripesframework.org/jira/browse/STS-683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frederic Daoud resolved STS-683.
--------------------------------

       Resolution: Fixed
    Fix Version/s: Release 1.6

Fixed in build 1254.

> 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
>             Fix For: Release 1.6
>
>
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Closed: (STS-683) Ability to disable localized lookup of label attribute for options-collection (and possibly other) tags

JIRA jira@stripesframework.org
In reply to this post by JIRA jira@stripesframework.org

     [ http://www.stripesframework.org/jira/browse/STS-683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Gunter closed STS-683.
--------------------------


> 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
>             Fix For: Release 1.6
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (STS-683) Ability to disable localized lookup of label attribute for options-collection (and possibly other) tags

JIRA jira@stripesframework.org
In reply to this post by JIRA jira@stripesframework.org

    [ http://www.stripesframework.org/jira/browse/STS-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860#comment-12860 ]

Joshua Pollak commented on STS-683:
-----------------------------------

I just tried to look for this functionality, but I can't find it. Was it removed?

> 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
>             Fix For: Release 1.6
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (STS-683) Ability to disable localized lookup of label attribute for options-collection (and possibly other) tags

JIRA jira@stripesframework.org
In reply to this post by JIRA jira@stripesframework.org

    [ http://www.stripesframework.org/jira/browse/STS-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861#comment-12861 ]

Joshua Pollak commented on STS-683:
-----------------------------------

Oh nevermind, I see it is pending for release 1.6

> 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
>             Fix For: Release 1.6
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development