[ http://mc4j.org/jira/browse/STS-151?page=all ]
     
Tim Fennell resolved STS-151:
-----------------------------

    Resolution: Fixed

I've implemented this in something similar to the manner Sebastian suggested.  
Though I don't think using the actionPath is appropriate here - I see drop 
downs as things that might be used on many pages.  Therefore it will look in 
the following order for a non-null label:
    lookup: {className}.{labelPropertyValue}
    lookup: {packageName}.{className}.{labelPropertyValue}
    lookup: {className}.{valuePropertyValue}
    lookup: {packageName}.{className}.{valuePropertyValue}
    labelPropertyValue

Where className and packageName are derived from the type of bean in the 
collection as opposed to the ActionBean.

> Ability for stripes:options-collection to localize values
> ---------------------------------------------------------
>
>          Key: STS-151
>          URL: http://mc4j.org/jira/browse/STS-151
>      Project: Stripes
>         Type: Improvement

>   Components: Tag Library
>     Reporter: Jeppe Cramon
>     Assignee: Tim Fennell
>      Fix For: Release 1.4

>
> Creating on behalf of Jeppe who requested this in the comments of another 
> issue.  The idea would be to localize the text that the user sees for each 
> option.
> Jeppe: do you have a good idea of how you would like this to work?  Should 
> the lookup using the 'value' attribute supplied, or the 'label' attribute 
> supplied?  Do you think this should lookup using className.value or something 
> else?

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



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to