ICEfaces
  1. ICEfaces
  2. ICE-10913

ace:maskedEntry, special characters in inField label interpreted as part of the mask

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.2.0.GA
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any
    • Assignee Priority:
      P2

      Description

      When testing ICE-10114, it was found that special mask characters, like the asterisk and brackets, that are part of an inField label (or of an indicator that appears beside an inField label) don't appear on ace:maskedEntry under certain conditions, since they are interpreted as part of the mask.

      For example, with the following markup, the indicator doesn't appear because the mask is all alphanumeric characters, and the askterisk and brackets are special characters used to define masks.

      <ace:maskedEntry id="maskedEntry1" mask="***********"
                      value="#{pushButtonResetBean.value2}" label="maskedEntry"
                      labelPosition="inField" optionalIndicator="(*)" indicatorPosition="labelLeft" />

        Activity

        Hide
        Mircea Toma added a comment - - edited

        I cannot reproduce this issue. I can still see the indicator (defined by optionlaIndicator attribute) even when the mask attribute is set to "**********".

        Show
        Mircea Toma added a comment - - edited I cannot reproduce this issue. I can still see the indicator (defined by optionlaIndicator attribute) even when the mask attribute is set to "**********".
        Hide
        Arturo Zambrano added a comment -

        I can't reproduce this issue any more either. It seems it was indirectly fixed.

        However, I found another issue while testing this. When using an inField label, the mask is applied to the label. So, if you have, for example, mask="***" and label="abcde", you will only see 'abc' in the label, instead of 'abcde'. I created ICE-11298 to document this other issue.

        Show
        Arturo Zambrano added a comment - I can't reproduce this issue any more either. It seems it was indirectly fixed. However, I found another issue while testing this. When using an inField label, the mask is applied to the label. So, if you have, for example, mask="***" and label="abcde", you will only see 'abc' in the label, instead of 'abcde'. I created ICE-11298 to document this other issue.
        Hide
        Mircea Toma added a comment -

        Cannot reproduce anymore.

        Show
        Mircea Toma added a comment - Cannot reproduce anymore.
        Hide
        Liana Munroe added a comment -

        Verified could not reproduce ICEfaces 4 trunk r51503

        Show
        Liana Munroe added a comment - Verified could not reproduce ICEfaces 4 trunk r51503

          People

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

            Dates

            • Created:
              Updated:
              Resolved: