-
Mar 14th, 2007, 08:55 PM
#1
Binding forms to command
Hi,
In the JSP , I have two forms, each with its own submit button. My problem is that only fields in one form are successfully binding to the command, but the other one is not. How do I ensure that both the forms are being bound?
Thanks,
-
Mar 14th, 2007, 09:26 PM
#2
The other form isn't even being transmitted to the server to be bound to the command. You either have to put them into the same form or do some javascript magic to parse through the fields in both forms and submit it as one.
-
Mar 14th, 2007, 09:28 PM
#3
Only the contents of the form which is submitted will be posted and thus made available for binding. In short, you cannot do it.
Explain your problem in further detail and I'm sure we can provide a solution.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules