ICEfaces
  1. ICEfaces
  2. ICE-9823

ace:maskedEntry placeHolder Attribute not functioning

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01, 4.0.BETA
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tomcat 7, Icefaces 4, Icefaces-ee-3.3.0.GA Maintenance branch, all browsers.
    • Assignee Priority:
      P2

      Description

      The placeHolder for maskedEntry does not work as expected. It is not rendered when the application is loaded, you must click on the input text box to make it appear. At this point it is rendered in plain text rather than a ghosted look.
      The mask is never rendered. The placeHolder repeats itself several times in the input box. When you type input it pushes the placeHolder ahead rather than replace it. When submitted the typed input is correct, no part of the placeHolder is included in the submission.

      To reproduce:
      Test app at http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/maskedEntry
      Navigate to: MaskedEntry Attribute Test
      Look for label: PlaceHolder - Mask for this test only is 999-999-999
      PlaceHolder is not shown in input text field.

        Activity

        Hide
        Mircea Toma added a comment -

        The component seems to run just fine. The attribute test page is the one to blame in this case. By default the placeholder used is the '_' character. When testing the placeholder attribute the value chosen is replaced with 'placeholder..' string. While testing that makes the component look like it runs in some kind of error.

        The fix applied to the test case avoids any confusion by choosing 'x' character instead of 'placeholder..' string. Also the test page was modified to describe which value is used for the placeholder.

        Show
        Mircea Toma added a comment - The component seems to run just fine. The attribute test page is the one to blame in this case. By default the placeholder used is the '_' character. When testing the placeholder attribute the value chosen is replaced with 'placeholder..' string. While testing that makes the component look like it runs in some kind of error. The fix applied to the test case avoids any confusion by choosing 'x' character instead of 'placeholder..' string. Also the test page was modified to describe which value is used for the placeholder.
        Hide
        Liana Munroe added a comment - - edited

        Confirmed fixed Icefaces 4, Icefaces ee-3.3.0, revision #40043, Tomcat 7, all browsers.

        Show
        Liana Munroe added a comment - - edited Confirmed fixed Icefaces 4, Icefaces ee-3.3.0, revision #40043, Tomcat 7, all browsers.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: