File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes how to get the display tag behave for the locale chage. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to get the display tag behave for the locale chage." Watch "how to get the display tag behave for the locale chage." New topic
Author

how to get the display tag behave for the locale chage.

Satish Kumar
Ranch Hand

Joined: Oct 16, 2006
Posts: 84
I am using the display tag in my application which has Column Names and the customized Pagination header coming from the properties file.
I am setting the object "org.apache.struts.action.LOCALE" in session with the current locale to get the labels and texts to come from the properties file and it works fine.
The problem is that the display tag does not get the locale applied and it gets the values for the Column names and Pagination header from the default properties file (ApplicationResources) and not from the one which is being used by the other labels and texts on the page according to the locale. Please tell me what setting will make display tag pick the right locale applicationResources file.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get the display tag behave for the locale chage.
 
Similar Threads
Pagination problem
Pagination
Pagination
Pagination
Pagination in Struts2