Announcement Announcement Module
Collapse
No announcement yet.
Binding forms to command Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment


    • #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.

      Comment

      Working...
      X