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

Karol Kisielewski commented on STS-594:
---------------------------------------

Do you mean using the jstl's fmt:message tag and setting the 
"javax.servlet.jsp.jstl.fmt.localizationContext " context parameter to 
StripesResources properties file? Well , it works as long as you are using 
properties-based resource bundles. I am going to use xml-based resource bundles 
(because I don't want to use escape characters for non ISO-8859-1 characters) 
and have to develop a custom LocalizationBundleFactory. In that scenario the 
fmt:message tag  and the dedicated context parameter won't work. I need a tag 
which uses Stripes utilities/methods (available in the LocalizationUtility 
class) to obtain localized messages.



> lack of jsp tag to output localized message
> -------------------------------------------
>
>                 Key: STS-594
>                 URL: http://www.stripesframework.org/jira/browse/STS-594
>             Project: Stripes
>          Issue Type: Improvement
>          Components: Tag Library
>            Reporter: Karol Kisielewski
>
> Currently, Stripes doesn't have any JSP tag which supports outputting 
> localized messages as a clear text (not inside label tag). For me that tag 
> should be a mix of functionality provided by the JSTL's out and set tags:
> * it should output the localized message for the given key,
> * like JSTL's out tag, it should have default and escapeXml attributes ,
> * like JSTL's set tag, it should have var and scope attributes to save the 
> message in variable.
> Also it should fit to the concept of resource bundles supported by Stripes. 
> Now, there are resource bundles for the error messages and field names. Maybe 
> the third one should be added or it should be only one?

-- 
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

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to