javaserverfaces
  1. javaserverfaces
  2. JAVASERVERFACES-1784

Forms inside custom composite componenents is getting reset if error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,784
    • Status Whiteboard:
      Hide

      size_medium importance_medium

      Show
      size_medium importance_medium
    • Tags:

      Description

      I created a panelBox composite component with an insertChildren inside it.
      Nothing special.

      <cc:interface>
      </cc:interface>

      <cc:implementation >
      <div ...... >
      <cc:insertChildren/>
      </div>
      </cc:implementation>

      When a use this componenent inside a form like this:

      <myCC:ccName>
      <h:form>
      ...
      </h:form>
      </myCC:ccName>

      when the form is submitted, if there is an error (validation errors)
      the form values are reset.

      The form values are not reset if I don't use the composite componenent.
      I don't have this behavior with Mojarra 2.0.2 FCS, I only have it with
      the 2.0.3 version.

      NB: I have the code that reproduces the problem, i can submit it if necessary.

        Activity

        Hide
        rogerk added a comment -

        Exclude GlassFish 3.1.
        Reason: Too risky at this time.

        Show
        rogerk added a comment - Exclude GlassFish 3.1. Reason: Too risky at this time.
        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage
        Hide
        arjan tijms added a comment -

        JAVASERVERFACES-1991 is actually a duplicate of this, but since all the action seems to be taking place there, perhaps this one should be closed?

        Show
        arjan tijms added a comment - JAVASERVERFACES-1991 is actually a duplicate of this, but since all the action seems to be taking place there, perhaps this one should be closed?
        Hide
        rogerk added a comment -
        Show
        rogerk added a comment - Duplicate of: http://java.net/jira/browse/JAVASERVERFACES-1991
        Hide
        rogerk added a comment -

        reopen for fox version

        Show
        rogerk added a comment - reopen for fox version
        Hide
        rogerk added a comment -

        no fix version

        Show
        rogerk added a comment - no fix version
        Hide
        rogerk added a comment -
        Show
        rogerk added a comment - Duplicate of: http://java.net/jira/browse/JAVASERVERFACES-1991

          People

          • Assignee:
            rogerk
            Reporter:
            jab32
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: