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

Frederic Daoud commented on STS-433:
------------------------------------

It is a nice to have, but the proposed solution does not indicate how to 
differentiate a resource bundle lookup from a plain text title. In other words, 
given:

<stripes:text name="user.address" title="hello" />

How do you know whether I want to look up "hello" in the resource bundle or I 
want the title to just be "hello"?

Also, I would not call this an essential issue, since you already have a 
straightforward way to change the title when changing language: just use a 
<fmt> tag as documented above.

> Localize title attribute for Stripes tags.
> ------------------------------------------
>
>                 Key: STS-433
>                 URL: http://www.stripesframework.org/jira/browse/STS-433
>             Project: Stripes
>          Issue Type: Improvement
>          Components: Tag Library
>    Affects Versions: Release 1.5
>         Environment: Mac OS X 10.4.10, Java 1.5.0_07
>            Reporter: Iwao AVE!
>            Priority: Trivial
>         Attachments: STS-433.patch
>
>
> It would be nice if Stripes tag localizes its title.
> So that we can write
> <stripes:text name="user.address" title="user.address.title" />
> instead of
> <fmt:message var="userAddressTitle" key="user.address.title" />
> <stripes:text name="user.address" title="${userAddressTitle}"/>

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

        

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to