aspose file tools*
The moose likes Struts and the fly likes map backed form related issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "map backed form related issue" Watch "map backed form related issue" New topic
Author

map backed form related issue

Bhavin Sanghani
Ranch Hand

Joined: Dec 17, 2003
Posts: 67
Hi

In my application I am using map-backed form. I am using it to store responses of the user for one survey based system. For example,


1) Question1
a) Yes
b) No

2) Question2
a) Yes
b) No


In this example, Question2 will only be displayed if user selects "Yes" answer of Question1.

Now, this captures responses properly and storing it in the map available in the form. But if user changes the response from Yes to No in Question1 then I need to remove response of Question2 from map available in form. Since user had answered Question2 it is still available there.

Can anyone adivce me to fix this issue?

Thanks,
Bhavin

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: map backed form related issue