Results 1 to 3 of 3

Thread: Binding forms to command

  1. #1

    Default 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,

  2. #2
    Join Date
    Aug 2006
    Posts
    22

    Default

    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.

  3. #3
    Join Date
    Mar 2006
    Posts
    312

    Default

    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
  •