ICEfaces
  1. ICEfaces
  2. ICE-7647

ice:inputTextarea valueChangeListener not fired when using icecore:singleSubmit

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-2.0.0.GA, 3.0.RC1, 3.0.RC2
    • Fix Version/s: 3.1.0.BETA2, 3.1, EE-3.0.0.GA_P01
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2.0/3.0
    • Assignee Priority:
      P3
    • Workaround Exists:
      Yes
    • Workaround Description:
      setting partialSubmit=true on the component works better

      Description

      When using the icecode:singleSubmit tag on the form, the ice:inputTextarea valueChangeListener is only fired on its initial change. If the value is changed after this initial call the VCL doesn't get called. A submit is sent to the server but the method isn't invoked.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case to show issue. Adding text to the text area component will show the method being called in the logs only the first time, any subsequent changes don't fire the VCL. This isn't an issue with the inputText component.

        Show
        Arran Mccullough added a comment - Attached test case to show issue. Adding text to the text area component will show the method being called in the logs only the first time, any subsequent changes don't fire the VCL. This isn't an issue with the inputText component.
        Hide
        Holger Stenzhorn added a comment -

        It seems that this issue also applies to h:inputTextarea as well. (Tested with Mojarra 2.1.9)

        Show
        Holger Stenzhorn added a comment - It seems that this issue also applies to h:inputTextarea as well. (Tested with Mojarra 2.1.9)
        Hide
        Ted Goddard added a comment -

        A request is submitted to the server when the textArea is changed, but it does not seem to contain the value of the textArea.

        Show
        Ted Goddard added a comment - A request is submitted to the server when the textArea is changed, but it does not seem to contain the value of the textArea.
        Hide
        Ted Goddard added a comment -

        The most likely cause appears to be a missing case in submit.js singleSubmit for textarea (since they do not have a "value", it is based on the tag body).

        Show
        Ted Goddard added a comment - The most likely cause appears to be a missing case in submit.js singleSubmit for textarea (since they do not have a "value", it is based on the tag body).
        Hide
        Ted Goddard added a comment -

        singleSubmit makes use of cloneNode, but it appears that cloneNode does not copy the value of a textarea. A special case for this has now been implemented.

        Show
        Ted Goddard added a comment - singleSubmit makes use of cloneNode, but it appears that cloneNode does not copy the value of a textarea. A special case for this has now been implemented.
        Hide
        Ted Goddard added a comment -

        Change back-ported to icefaces3/branches/icefaces-3.0.x-maintenance.

        Show
        Ted Goddard added a comment - Change back-ported to icefaces3/branches/icefaces-3.0.x-maintenance.

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: