Announcement Announcement Module
Collapse
No announcement yet.
the event didn't triggered when form within a form Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • the event didn't triggered when form within a form

    buttons inside the "rosen" cannot trigger the flow event..
    but when I remove the modelAttribute="rosen".. the will trigger the flow event as expected...

    but the error messages set via messageContext will not be displayed by the <form:errors> tag... maybe because of the absence of modelAttribute...

    rosen
    Code:
    <form modelAttribute="rosen">
        <form:errors path="*"></form:errors>
        <tiles:insertAttribute name="viewRosenCondition"/>
        .....
    </form>
    viewRosenCondition
    Code:
    <form modelAttribute="rosenCondition">
        .....
    </form>

  • #2
    A form within a form isn't valid HTML nor is it supported by the spec.

    Comment


    • #3
      Sorry for delayed response..

      I am implementing partial rendering using tiles..

      then I have to bind objects within rosen form and also inside the viewRosenCondition form..

      when I remove the viewRosenCondition form.. errors occurs upon partial rendering...

      Comment


      • #4
        it is possible to submit two forms in one event?

        Comment

        Working...
        X