ICEfaces
  1. ICEfaces
  2. ICE-9702

ACE combobox does not submit full input text value if user do not leave focus before submitting the form

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Websphere, windows 7, all browsers
    • Assignee Priority:
      P2
    • Salesforce Case Reference:

      Description

      Using ace combobox, if I type in the input text field and submit the form using a command button without leaving focus, the value submitted is the type I entered minus the last character. It seems like the value submitted is a hidden input that get it's value copied on the keydown and onblur event. Therefore, the last character will not get stored in the hidden input if the user presses the command button without leaving focus first.

        Activity

        Robin Hsu created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s 4.0 [ 10770 ]
        Fix Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Assignee Priority P2 [ 10011 ]
        Judy Guglielmin made changes -
        Salesforce Case Reference 5007000000Yb0I0AAJ
        Hide
        Judy Guglielmin added a comment -

        to reproduce, go right to the demo and type in 'Salem', and click away from the combo box, it updates the input box to 'Sale'

        http://icefaces-showcase.icesoft.org/showcase.jsf;jsessionid=F71DC576227EFF0A589842A959A38D7E?grp=aceMenu&exp=comboBoxBean

        Show
        Judy Guglielmin added a comment - to reproduce, go right to the demo and type in 'Salem', and click away from the combo box, it updates the input box to 'Sale' http://icefaces-showcase.icesoft.org/showcase.jsf;jsessionid=F71DC576227EFF0A589842A959A38D7E?grp=aceMenu&exp=comboBoxBean
        Ken Fyten made changes -
        Assignee Priority P2 [ 10011 ] P1 [ 10010 ]
        Ken Fyten made changes -
        Assignee Priority P1 [ 10010 ] P2 [ 10011 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Fix Version/s 4.0.BETA [ 10770 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40109 Fri Feb 28 17:16:49 MST 2014 art.zambrano ICE-9702 fix for the missing last character issue
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/combobox/combobox.js
        Hide
        Arturo Zambrano added a comment -

        Committed fix to trunk at revision 40109 and to the 3.3 EE maintenance branch at revision 40110. Fixed by adding an onkeyup event to always copy the value in the text field to the hidden input.

        Show
        Arturo Zambrano added a comment - Committed fix to trunk at revision 40109 and to the 3.3 EE maintenance branch at revision 40110. Fixed by adding an onkeyup event to always copy the value in the text field to the hidden input.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Judy Guglielmin added a comment -

        Not specific to Websphere

        Show
        Judy Guglielmin added a comment - Not specific to Websphere
        Hide
        Carmen Cristurean added a comment -

        Fix verified with IF4 trunk / EE-3.3.0-maintenance rev# 40112, in FF27, IE10, Chrome33.

        Show
        Carmen Cristurean added a comment - Fix verified with IF4 trunk / EE-3.3.0-maintenance rev# 40112, in FF27, IE10, Chrome33.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Robin Hsu
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: