October 12, 2010 at 1:40 PM
i am doing some edit on my question:
i want to display activities dynamically which can be increase or decrease on struts 2 framework and that depend on the Locale (like English or French) .
dynamically means user can be expend or collapse (add or delete) activity at run time.
I have two properties file:
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:
arraylist.add(new ListItem("Activity", "<s:text name="activity.name"/>"));
When I retrieve the value on jsp like this:
Am i going to right direction or any suggestion..
October 12, 2010 at 2:56 PM
It seems ok.
<p><font color="#000080"><strong><s:text name="activity.name"/></strong></font></p>