Re: Activity can display dynamically depend on the locale on Struts

2010-10-15 Thread Maurizio Cucchiara
You're welcome 2010/10/15 singh123 : > > thanks. -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Activity can display dynamically depend on the locale on Struts

2010-10-15 Thread singh123
thanks. singh123 wrote: > > 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 tw

Re: Activity can display dynamically depend on the locale on Struts

2010-10-12 Thread Maurizio Cucchiara
I would not mix tag directive with action logic. Why don't you simply put localization keys inside ListItem value and after retrieve your localized values inside through struts tags? For example: arraylist.add(new ListItem("Activity", "activity.name")); or alternatively struts could directly tr