[ http://jira.codehaus.org/browse/DISPL-168?page=all ]
     
fabrizio giustina closed DISPL-168:
-----------------------------------

    Resolution: Duplicate

see DISPL-172

> suport or internationalization in TableDecarator class
> ------------------------------------------------------
>
>          Key: DISPL-168
>          URL: http://jira.codehaus.org/browse/DISPL-168
>      Project: DisplayTag
>         Type: Improvement
>   Components: Decorators
>     Versions: 1.1
>     Reporter: Olaru Cristian

>
>
> I extend TableDecorator for different sorting that what it is see in the 
> column. The content of cells for this column must be internationalizated:
> For examle a method:
> public String getListaComenzi3()
>       {
>                       VizualizareComenzi lObject= 
> (VizualizareComenzi)getCurrentRowObject();
>                       int lIndex= getListIndex();
>                       String sar ="";
>                       if(lObject.getStareFactura().equals("2"))
>                               sar = "<a 
> href='/Festino/vizualizeazaFactura.do?comanda_id=" + lObject.getId()+ 
> "&client_id=" + lObject.getCliId() + "' > " +
>                                       "<img src='images/check.gif' 
> alt='Visualizza fattura' border='0'>" +
>                                       " </a>";
>                       return sar;
>               }
> In this case the "alt" must be language dependent but I dont have acces to 
> the current locale.
> Do you see a method to have acces to Struts localization in TableDecorator. 
> Or another method for internationalize in this case (I need Struts 
> localization , not request)???
> Thanks!!!

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



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to