and if a value is selected from the second list another combo box or a text box should be displayed according to the value selected.
PLEASE HELP..
Rajkumar Kathiresan
Greenhorn
Joined: Dec 30, 2008
Posts: 8
posted
0
You need to construct your logic based on ternary operator. It will be more complicated when the first list size increase. Still I provide a solution for your problem.
but the other way to use the doubleselect (its called OGNL method)
But very simple way is
Create a optionMap as a LinkedHashMap (because it have sorted order) in your action and use it.
Hope its solve your problem. Let me know if you need any clarification.