This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Activity display dynamically depend on the locale on Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Activity display dynamically depend on the locale on Struts" Watch "Activity display dynamically depend on the locale on Struts" New topic
Author

Activity display dynamically depend on the locale on Struts

Babu Singh
Ranch Hand

Joined: Aug 17, 2009
Posts: 72
i want to display activities dynamically which can be increase or decrease on struts 2 and that depend on the Locale (like English or French) . dynamically means user can be add or delete activity at run time.
I have two properties file:
messages.properties:


messages_fr.properties:


for dynamic, i am using array list. i have an array list in a Java class. In this list i want to store the values (activities) depending on the locale:

When I retrieve the value on jsp like this:

Am i going to right direction or any suggestion..

Thanks!
 
 
subject: Activity display dynamically depend on the locale on Struts
 
Similar Threads
s:radio and display tag
How to use tooltip in Struts2
Struts2 Checkbox: How to set value back to Bean
struts2: Generating list of localisation keys?
struts i18n tag not accepting expression value