File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamicaly generated parameter

 
Sahil Singh
Ranch Hand
Posts: 41
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you'll have to list all the possibile values in your validation.xml.
Just don't make any of them required.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic