| Author |
To Create A dynamic Drop Down List using Struts Tag Libraires.
|
SmiR Raj
Greenhorn
Joined: Nov 29, 2005
Posts: 4
|
|
I have a list of names in the ApplicationResources.properties file. Can I use any Struts Tag to iterate the property file and retreive the values. Example I have label.name1 = norcal label.name2 = Phoenix Is there any way by which I can have a dynamic list box which has the two values "norcal" and "phoneix". If i add a third value "Seattle" the list box should be populated without any change in the jsp. Can I do this without setting any request or session Attributes?
|
 |
Adeel Ansari
Ranch Hand
Joined: Aug 15, 2004
Posts: 2874
|
|
For property file clarification see you other thread http://www.coderanch.com/forums/. As far as dynamic listbox is concerned. Yes you can do that. Just add one more element in your collection. It will show up all during iteration.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56157
|
|
|
Moved to Struts.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: To Create A dynamic Drop Down List using Struts Tag Libraires.
|
|
|