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

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Summary ice:inputText area valueChangeListener not fired when using icecore:singleSubmit ice:inputTextarea valueChangeListener not fired when using icecore:singleSubmit
        Salesforce Case [5007000000KEQht]
        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.
        Arran Mccullough made changes -
        Attachment Case10834Example.zip [ 13960 ]
        Attachment Case10834ExampleWAR.zip [ 13961 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.0.0.GA [ 10262 ]
        Fix Version/s EE-2.0.0.GA_P01 [ 10271 ]
        Assignee Priority P2
        Assignee Adnan Durrani [ adnan.durrani ]
        Adnan Durrani made changes -
        Assignee Adnan Durrani [ adnan.durrani ] Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Fix Version/s 3.1 [ 10312 ]
        Fix Version/s EE-3.0.0.GA [ 10262 ]
        Fix Version/s EE-2.0.0.GA_P01 [ 10271 ]
        Evgheni Sadovoi made changes -
        Salesforce Case [5007000000KEQht] [5007000000KEQht, 5007000000MFRmC]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Ted Goddard [ ted.goddard ]
        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)
        Ken Fyten made changes -
        Assignee Priority P2 P1
        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).
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29331 Wed Jun 06 10:24:35 MDT 2012 ted.goddard copy textarea value during singleSubmit since cloneNode does not fully clone (ICE-7647)
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/submit.js
        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.
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 3.1.0.BETA2 [ 10336 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Priority P1 P3
        Ken Fyten made changes -
        Fix Version/s EE-3.0.0.GA_P01 [ 10327 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29915 Tue Jul 10 16:20:13 MDT 2012 ted.goddard copy textarea value during singleSubmit since cloneNode does not fully clone (ICE-7647)
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/core/src/main/javascript/submit.js
        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.
        Ted Goddard made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: