ICEfaces
  1. ICEfaces
  2. ICE-1094

InputSecret blanking out input after onblur

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      noted in the forum: http://www.icefaces.org/JForum/posts/list/0/3131.page#15045

      InputSecret input is sent on a partialSubmit at onblur, but then blanked out. So
      on the full form submit the value is null.

        Activity

        Hide
        Philip Breau added a comment -

        Created an attachment (id=125)
        test case

        Show
        Philip Breau added a comment - Created an attachment (id=125) test case
        Hide
        Greg McCleary added a comment -

        The inputSecret has an boolean tag attribute named "redisplay". Setting
        redisplay="true" may help to resolve this problem.

        I'll modify the attached testcase and look into it further.

        Show
        Greg McCleary added a comment - The inputSecret has an boolean tag attribute named "redisplay". Setting redisplay="true" may help to resolve this problem. I'll modify the attached testcase and look into it further.
        Hide
        Philip Breau added a comment -

        Yes, I guess that the expected behaviour for this is a little unclear. I would
        think that the most intuitive way for this to work would be for the component to
        only go through the normal clearing of the input value on an iceSubmit() not a
        partial submit. That would make it behave more like a normal JSF app. Otherwise
        the app developer has to jump through some hoops when they don't want to use
        redisplay, but need to process the input value in an actionListener etc.

        Show
        Philip Breau added a comment - Yes, I guess that the expected behaviour for this is a little unclear. I would think that the most intuitive way for this to work would be for the component to only go through the normal clearing of the input value on an iceSubmit() not a partial submit. That would make it behave more like a normal JSF app. Otherwise the app developer has to jump through some hoops when they don't want to use redisplay, but need to process the input value in an actionListener etc.
        Hide
        Greg McCleary added a comment -

        Fixed in 1.5 branch and HEAD [ rev. 12693 and 12694 ]

        The SecretRenderer now detects if the component is partialSubmit enabled.
        If it is the renderer will set the redisplay attribute to "true".

        The passThru handling of onfocus, onblur and onkeypress was also fixed as per
        ICE-1034 on InputText.

        Show
        Greg McCleary added a comment - Fixed in 1.5 branch and HEAD [ rev. 12693 and 12694 ] The SecretRenderer now detects if the component is partialSubmit enabled. If it is the renderer will set the redisplay attribute to "true". The passThru handling of onfocus, onblur and onkeypress was also fixed as per ICE-1034 on InputText.
        Hide
        Greg McCleary added a comment -

        Verified/tested against Icefaces 1.5.2

        Show
        Greg McCleary added a comment - Verified/tested against Icefaces 1.5.2

          People

          • Assignee:
            Greg McCleary
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: