ICEfaces
  1. ICEfaces
  2. ICE-3945

resetting input text value issue

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2 SP1
    • Fix Version/s: 1.8RC1, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ANY

      Description

      Problem Description: The issue is that the backing bean value of the input text component is not refreshed from the Reset button which has immediate=true set. We need to reset the form to pull the default values from the backing bean. Note, immediate=true needs to be set because we do not want any validation fired on the form when clicking reset.
       
      Test Passes: Type one or more characters in the input text field, and press Reset. The input text field is reset to the value from the backing bean.
       
      Test Fails: Clear out the input text field (delete all characters) and press Reset. The input text field does *not* pull the value from the backing bean and renders as blank.
       
      This test was executed with 1.7.1 SP1 and 1.8.0 DR#2

        Issue Links

          Activity

          Sam Xiao created issue -
          Sam Xiao made changes -
          Field Original Value New Value
          Salesforce Case [50070000007aPtl]
          Sam Xiao made changes -
          Description When click the button, the application populates the value of input text from the backing bean.
          The problem is that it only works when something entered inside the input box. i.e non-empty value
          When click the button, the application populates the value of input text from the backing bean.
          The problem is that it only works when something entered inside the input box. i.e non-empty value
          Standard JSF (i.e. non-ICEfaces) does't have this problem.
          Ken Fyten made changes -
          Fix Version/s 1.8DR#3 [ 10143 ]
          Assignee Priority P2
          Assignee Adnan Durrani [ adnan.durrani ]
          Adnan Durrani made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Sam Xiao made changes -
          Attachment support7884.war [ 11440 ]
          Ken Fyten made changes -
          Summary Issue populating input text value from backing bean resetting input text value issue
          Description When click the button, the application populates the value of input text from the backing bean.
          The problem is that it only works when something entered inside the input box. i.e non-empty value
          Standard JSF (i.e. non-ICEfaces) does't have this problem.
          Problem Description: The issue is that the backing bean value of the input text component is not refreshed from the Reset button which has immediate=true set. We need to reset the form to pull the default values from the backing bean. Note, immediate=true needs to be set because we do not want any validation fired on the form when clicking reset.
           
          Test Passes: Type one or more characters in the input text field, and press Reset. The input text field is reset to the value from the backing bean.
           
          Test Fails: Clear out the input text field (delete all characters) and press Reset. The input text field does *not* pull the value from the backing bean and renders as blank.
           
          This test was executed with 1.7.1 SP1 and 1.8.0 DR#2
          Paul Hanneman made changes -
          Link This issue depends on ICE-3190 [ ICE-3190 ]
          Mark Collette made changes -
          Assignee Adnan Durrani [ adnan.durrani ] Mark Collette [ mark.collette ]
          Mark Collette made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 1.8 [ 10161 ]
          Assignee Priority P2
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Mark Collette [ mark.collette ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Sam Xiao
            • Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: