This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamicaly generated parameter" Watch "Dynamicaly generated parameter" New topic

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,

Marc Peabody
pie sneak

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.
I agree. Here's the link:
subject: Dynamicaly generated parameter
It's not a secret anymore!