File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Dynamicaly generated parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamicaly generated parameter" Watch "Dynamicaly generated parameter" New topic
Author

Dynamicaly generated parameter

Sahil Singh
Ranch Hand

Joined: Sep 03, 2003
Posts: 41
Hi Guys again..

i have a JSP which has a dynamically increasing Drop-Down Box depending on what the customer selects .
meaning if the customer selects 3 in the previous page then on the next page 3 drop down boxes appear.


Now how can i get the values of these drop down boxes,
I cannot mention the parameter names( inthe validation.xml)before hand..

I am using Dynavalidator...

Thanks in advance,
-Sahil

Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

I believe you'll have to list all the possibile values in your validation.xml.
Just don't make any of them required.


A good workman is known by his tools.
 
GeeCON Prague 2014
 
subject: Dynamicaly generated parameter