Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:mutibox and validation Error

 
Manmohan Nayak
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am using Struts version 1.1.I have query regarding using html:multibox in jsp page to show check boxes.
In my application there are 3 tiles, Top, Left and Body.
Left tile contains different links to load the body tile.
When I click a link on Left menu, page submitted and I have to submit 5 parameters with Left Menu Action form and then body tile gets loaded. Body screen contains a different Action form.My action Form extends ValidatorForm.
Thus I have two forms for single screen. One is for Left Menu and other is for Body.
In one the situation body.jsp contain html: multibox and corresponding body Action form contain an Array for this html: multibox.
I checked some check boxes and submit the body Action Form.
If there is some validation error, User has to come to the same screen with validate error messages.
Now my problem is that when User comes to the screen selected check box will not come selected.
I can not use single form because of requirement.
Can any body help me please?
My mail id is:manmohan_mech@yahoo.co.in
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't believe it's the fact that you're using tiles or the fact that there is more than one form on the page that's causing this problem. I suspect it's something else. Please post the relevant portions of your JSP and your ActionForm bean and we'll help you debug it.
 
Manmohan Nayak
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i Mailed you in your private mail box.
Please revert.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic