ICEfaces
  1. ICEfaces
  2. ICE-11305

ace:maskedEntry requires improvement

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.2.0.GA
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tomcat 8, all browsers. These issues have existed since 4.0
    • Assignee Priority:
      P2

      Description

      These issues have been present since 4.0
      1.) The mask becomes the value when ajax is used in the maskedEntry and the field is submit without entering input. See screenshot 1.PNG. Can also be seen in public showcase maskedEntry demos.
      To reproduce:
       - Use the maskedEntry Overview demo at: http://icefaces-showcase.icesoft.org/showcase.jsf?grp=ace:maskedEntry
       - Place focus in each form field and press Enter, the masks become the values in the Entered data section.


      2.) Scenario: ajax is not used and there is an inField label in the maskedEntry. If the form is submit via an h:commandButton or ace:pushButton without ever placing focus on the maskedEntry to render the mask, the label becomes the submitted value. See screenshots 2 and 3.
      Screenshot 2 shows form before submit, inField label displayed properly
      Screenshot 3 shows form that was submit without placing focus on maskedEntry. Note the inField label has been replaced by the value of "Label"

      To reproduce:
       - Use the test app /ICE-11305.jsf found at http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/maskedEntry
       - Use the "MaskedEntry no ajax" form at the top of the page.
       - Change the labelPosition to inField.
       - DO NOT place focus in the maskedEntry
       - Press the Submit button, the label text becomes the value.


      1. 1.PNG
        8 kB
      2. 2.PNG
        8 kB
      3. 3.PNG
        9 kB

        Activity

        Liana Munroe created issue -
        Liana Munroe made changes -
        Field Original Value New Value
        Attachment 1.PNG [ 22525 ]
        Attachment 2.PNG [ 22526 ]
        Attachment 3.PNG [ 22527 ]
        Liana Munroe made changes -
        Description These issues have been present since 4.0
        1.) The mask becomes the value when ajax is used in the maskedEntry and the field is submit without entering input. See screenshot 1.PNG. Can also be seen in public showcase maskedEntry demos.

        2.) Scenario: ajax is not used and there is an inField label in the maskedEntry. If the form is submit via an h:commandButton or ace:pushButton without ever placing focus on the maskedEntry to render the mask, the label becomes the submitted value. See screenshots 2 and 3.
        Screenshot 2 shows form before submit, inField label displayed properly
        Screenshot 3 shows form that was submit without placing focus on maskedEntry. Note the inField label has been replaced by the value of "Label"

        A QA test app (/ICE-11305.jsf) demonstrating these issues was added to:
        http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/maskedEntry
        These issues have been present since 4.0
        1.) The mask becomes the value when ajax is used in the maskedEntry and the field is submit without entering input. See screenshot 1.PNG. Can also be seen in public showcase maskedEntry demos.
        To reproduce:
         - Use the maskedEntry Overview demo at: http://icefaces-showcase.icesoft.org/showcase.jsf?grp=ace:maskedEntry
         - Place focus in each form field and press Enter, the masks become the values in the Entered data section.


        2.) Scenario: ajax is not used and there is an inField label in the maskedEntry. If the form is submit via an h:commandButton or ace:pushButton without ever placing focus on the maskedEntry to render the mask, the label becomes the submitted value. See screenshots 2 and 3.
        Screenshot 2 shows form before submit, inField label displayed properly
        Screenshot 3 shows form that was submit without placing focus on maskedEntry. Note the inField label has been replaced by the value of "Label"

        To reproduce:
         - Use the test app /ICE-11305.jsf found at http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/maskedEntry
         - Use the "MaskedEntry no ajax" form at the top of the page.
         - Change the labelPosition to inField.
         - DO NOT place focus in the maskedEntry
         - Press the Submit button, the label text becomes the value.


        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Fix Version/s EE-4.2.0.GA [ 13071 ]
        Assignee Priority P2 [ 10011 ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Liana Munroe made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: