ICEfaces
  1. ICEfaces
  2. ICE-6144

Initial submit causes entire form to be updated when more than one portlet is on the page.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta1
    • Fix Version/s: 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces portlet portal

      Description

      The Buttons and Links portlet example in the Component Showcase behaves a bit differently under certain circumstances. Normally in Component Showcase (non-portlet version), you can do the following:

      1) Enter a value in the first input text box (e.g. foo)
      2) Click one of the submit buttons/links.
      3) The resulting update applies the new backing bean value in the bottom area.
      4) Click the Reset button to reset the form back to it's default values.

      Deployed as a portlet, the example behaves the same way as long as it is the only portlet on the page. If there are other ICEfaces portlets on the page, however, the resulting update from the initial form submission in Step 3 is much bigger than usual (the whole form). This means that the default value of the input text area is no longer "empty" but the first value that was submitted (foo). Clicking the Reset button no longer clears the input text box but resets it back to the new default value of 'foo'.

      Subsequent submissions trigger normal-sized updates (ie not the whole form) so the backing bean values are updated but not the form. This means the default value is still 'foo' and the Reset button will reset the input text to 'foo' instead of empty.

        Activity

        Deryk Sinotte created issue -
        Deryk Sinotte made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 2.0.0 [ 10230 ]
        Assignee Deryk Sinotte [ deryk.sinotte ]
        Deryk Sinotte made changes -
        Salesforce Case []
        Assignee Priority P1
        Mircea Toma made changes -
        Attachment domdiff.jpg [ 12719 ]
        Deryk Sinotte made changes -
        Salesforce Case []
        Assignee Priority P1 P3
        Neil Griffin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P3

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: