ICEfaces
  1. ICEfaces
  2. ICE-9623

Added 'placeholder' attribute to ace:autoCompleteEntry, ace:comboBox, and ace:textAreaEntry

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      As several HTML5 features from mobi:inputText were integrated into ace:textEntry (MOBI-877), it would be convenient to add support for the 'placeholder' attribute to the rest of the ACE text components.

      Note that this feature is equivalent to using the 'inField' option of the 'labelPosition' attribute in the ACE text components. So, if the 'placeholder' attribute is used and the browser doesn't support HTML5, then the existing 'labelPosition' functionality should be used instead.

        Activity

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano made changes -
        Description As several HTML5 features from mobi:inputText were integrated into ace:textEntry (MOBI-877), it would be convenient to add support for the 'placeholder' attribute to the rest of the ACE text components. As several HTML5 features from mobi:inputText were integrated into ace:textEntry (MOBI-877), it would be convenient to add support for the 'placeholder' attribute to the rest of the ACE text components.

        Note that this feature is equivalent to using the 'inField' option of the 'labelPosition' attribute in the ACE text components. So, if the 'placeholder' attribute is used and the browser doesn't support HTML5, then the existing 'labelPosition' functionality should be used instead.
        Arturo Zambrano made changes -
        Fix Version/s 3.4 [ 10770 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38355 Thu Oct 03 14:00:01 MDT 2013 art.zambrano ICE-9623 added 'placeholder' attribute to ace:autoCompleteEntry, ace:comboBox, and ace:textAreaEntry; added support for older browsers by using the inField label functionality when the 'placeholder' attribute is not supported
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryMeta.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/combobox/ComboBoxRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/combobox/combobox.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textareaentry/TextAreaEntryMeta.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textareaentry/TextAreaEntryRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/textareaentry/textareaentry.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/combobox/ComboBoxMeta.java
        Hide
        Arturo Zambrano added a comment -

        Committed improvement at revision 38355. Added 'placeholder' attribute to ace:autoCompleteEntry, ace:comboBox, and ace:textAreaEntry. Added support for older browsers by using the inField label functionality when the 'placeholder' attribute is not supported.

        This attribute wasn't added to ace:maskedEntry because it already has an attribute named 'placeholder', which is used to define the format of the value. An issue with inField labels in ace:maskedEntry was found and ICE-9624 was created for it.

        Show
        Arturo Zambrano added a comment - Committed improvement at revision 38355. Added 'placeholder' attribute to ace:autoCompleteEntry, ace:comboBox, and ace:textAreaEntry. Added support for older browsers by using the inField label functionality when the 'placeholder' attribute is not supported. This attribute wasn't added to ace:maskedEntry because it already has an attribute named 'placeholder', which is used to define the format of the value. An issue with inField labels in ace:maskedEntry was found and ICE-9624 was created for it.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Summary Add placeholder attribute to ACE text components Added 'placeholder' attribute to ace:autoCompleteEntry, ace:comboBox, and ace:textAreaEntry
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: