ICEfaces
  1. ICEfaces
  2. ICE-9740

Add new "secret=true/false" attribute to ace:textEntry

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces ACE components
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      It would be handy to have an h:inputSecret type component capability in ACE.

      The path of least resistance seems to be to simply add a new "secret=true/false" attribute to the existing ace:textEntry component.

      When secret="true" is specified, the component would render it's value inside an <input type="password"> HTML element, which renders entered characters as asterisks.

      However, it in order to preserve the labelPosition="inField" behaviour, the component would need to be able to dynamically switch the "type='password'" attribute of the HTML element on the client, so that it would use a none-password value so long as the label was displayed "inField", and dynamically switch to a "type='password'" mode once the user started to enter a value.

      In addition to the "secret" attribute, we should also add a new "redisplay" attribute which would control whether the component redisplays it's entered value after a submit.


        Activity

        Ken Fyten created issue -
        Hide
        Ken Fyten added a comment -

        For reference:

        h:inputSecret Description
        The inputSecret tag renders an <input type="password"> HTML tag. When the user types a string into this field, a row of asterisks is displayed instead of the text the user types.
        Use <h:inputSecret> tag represents the password field.
        Password fields mask the content of what the user is typing.
        Setting redisplay = “true” allow the component to display its value when the page reloads. The default value of redisplay attribute is false.

        Show
        Ken Fyten added a comment - For reference: h:inputSecret Description The inputSecret tag renders an <input type="password"> HTML tag. When the user types a string into this field, a row of asterisks is displayed instead of the text the user types. Use <h:inputSecret> tag represents the password field. Password fields mask the content of what the user is typing. Setting redisplay = “true” allow the component to display its value when the page reloads. The default value of redisplay attribute is false.
        Ken Fyten made changes -
        Field Original Value New Value
        Affects Documentation (User Guide, Ref. Guide, etc.),Sample App./Tutorial [ 10003, 10001 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 10770 ]
        Fix Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Assignee Arturo Zambrano [ artzambrano ]
        Assignee Priority P1 [ 10010 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39434 Tue Dec 17 03:37:17 MST 2013 art.zambrano ICE-9740 added 'secret' and 'redisplay' attributes to ace:textEntry
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textentry/TextEntryMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textentry/TextEntryRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/textentry/textentry.js
        Hide
        Arturo Zambrano added a comment -

        Added 'secret' and 'redisplay' attributes to 4.0 trunk at revision 39434.

        Show
        Arturo Zambrano added a comment - Added 'secret' and 'redisplay' attributes to 4.0 trunk at revision 39434.
        Hide
        Arturo Zambrano added a comment -

        Added 'secret' and 'redisplay' attributes to 3.3 EE maintenance branch at revision 39501.

        Show
        Arturo Zambrano added a comment - Added 'secret' and 'redisplay' attributes to 3.3 EE maintenance branch at revision 39501.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42657 Mon Sep 29 15:04:03 MDT 2014 art.zambrano ICE-9740 TLD doc improvement
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textentry/TextEntryMeta.java
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Arturo Zambrano added a comment -

        r49366, r49367: clarified the purpose of the 'redisplay' attribute in the TLD documentation

        Show
        Arturo Zambrano added a comment - r49366, r49367: clarified the purpose of the 'redisplay' attribute in the TLD documentation
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49366 Thu Oct 13 18:19:03 MDT 2016 art.zambrano ICE-9740 clarified the purpose of the 'redisplay' attribute in the TLD documentation
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textentry/TextEntryMeta.java
        Hide
        Arturo Zambrano added a comment -

        Fixed typo above at r49382.

        Show
        Arturo Zambrano added a comment - Fixed typo above at r49382.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: