Choose Resource Bundle per Request/Page
---------------------------------------

                 Key: STS-458
                 URL: http://mc4j.org/jira/browse/STS-458
             Project: Stripes
          Issue Type: Improvement
    Affects Versions: Release 1.4.3
            Reporter: Gérald Quintana
         Assigned To: Tim Fennell


In release 1.4, there is a mapping 1 locale --> 1 or 2 resources bundles (1 for 
field names, 1 for error messages). 

Sometimes it's not enough, I  would like to have a specific Resource bundle for 
a specific page or request.

The resource bundle to use could be selected using difference strategies:
- Put in the request scope with some code from an action bean
- Loaded in the page using JSTL <fmt:bundle> and <fmt:setBundle> tags or 
scriptlet
- Default ressource bundles (as in 1.4)

Then Stripes tags could select which Resource bundle to use:
<stripes:errors bundle="${myBundle}"/>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to