| View previous topic :: View next topic |
| Author |
Message |
dicha Guest
|
Posted: Mon Apr 11, 2005 12:19 pm Post subject: problem with combo box struts |
|
|
hi i am having project in struts using netbeans..in my project there are many combo box the value are brouht from database using collection method.no problem with this..but i have to validate example when i choose country in combo box,the second combo box should change n show only cities related to that country choosen in first combo..
how can i perform this kind of validation__ : please help me with is problem |
|
| Back to top |
|
 |
Deepak Kumar Guest
|
Posted: Mon Apr 11, 2005 1:41 pm Post subject: problem with combo box struts |
|
|
Solutions:
1) Use Java Script to repopulate the Second combo.
or
2) Submit the form and recreate the collection data depending on the selection made in the first combo. and redisplay the page.
Regards
Deepak Kumar |
|
| Back to top |
|
 |
in_sree
Joined: 14 Apr 2007 Posts: 2
|
Posted: Sat Apr 14, 2007 4:15 am Post subject: |
|
|
HEY........
y using combo for that...... Struts introduced new Tag library called Layout........in it there is one tag called <layout:suggest> by using this u can simply do ur need..... if u want reply me.... i wil help u for the same.
bye |
|
| Back to top |
|
 |
|