please understand this: <s:iterator value="listObject"> <s:component template="abc.vm"> <s:param name="text" value="listValue" /> <s:param name="prefix" value="listIndex" /> </s:component> </s:iterator>
listValue is a values of list. i am using iterator to traverse the list. now on listValue, i want to put here internationalization concept.so that all the list value can be display based on Locale which store in a list. please suggest! Li Ying-2 wrote: > > You can call method [getText("activity.name")] to > retrieve localized string. > > Read this document for more information: > http://struts.apache.org/2.2.1/docs/localization.html > > > > > 2010/10/15 singh123 <vij...@rediffmail.com>: >> >> <s:iterator value="listObject"> >> <s:component template="abc.vm"> >> <s:param name="text" value="listValue" /> >> <s:param name="prefix" value="listIndex" /> >> </s:component> >> </s:iterator> >> >> listObject is a Linked list object. listValue and listIndex is of Object >> type. >> i have two properties file: >> >> messages.properties: >> activity.name=activity >> >> messages_fr.properties: >> activity.name=activity_fr >> >> i want to add Localization feature so that when Linked list populate and >> display, it show text based on the Locale. >> please suggest in this regard. >> -- >> View this message in context: >> http://old.nabble.com/give-suggestion-data-display-base-on-the-Locale-tp29971062p29971062.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://old.nabble.com/give-suggestion-data-display-base-on-the-Locale-tp29971062p29988128.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org