ICEfaces
  1. ICEfaces
  2. ICE-2174

visible="false", 'title' and 'tooltip' not working for <ice:message> and <ice:messages>

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7DR#1
    • Fix Version/s: 1.7Beta1, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      1. Messages from <ice:message> or <ice:messages> are still displayed when using visible="false".

              <ice:form>
                  <ice:inputText id="x">
                      <f:validateLength maximum="1" />
                  </ice:inputText>
                  <ice:message for="x" visible="false"/>
              </ice:form>

      Using the code above, when more than one characters where entered in the input field, the validation message still appeared.

      2. When using the 'title' attribute in these components, the attribute and the value are just not passed to the markup (in the <span> element).

      3. Using tooltip="true" didn't show any tooltips when hovering over the message or the input field, even when including the showDetail="true" attribute.

        Activity

        Hide
        yip.ng added a comment -

        Note that according to the Sun RI source code, the rendered tooltip content is determined by the title, tooltip, showSummary and showDetail attributes. If title is specified, then it is rendered as the tooltip and the error message is ignored. Otherwise, the summary is rendered as tooltip if BOTH tooltip AND showSummary are true. Otherwise, the detail is rendered as tooltip if BOTH tooltip AND showDetail are true. Otherwise, no tooltip is rendered.

        Show
        yip.ng added a comment - Note that according to the Sun RI source code, the rendered tooltip content is determined by the title, tooltip, showSummary and showDetail attributes. If title is specified, then it is rendered as the tooltip and the error message is ignored. Otherwise, the summary is rendered as tooltip if BOTH tooltip AND showSummary are true. Otherwise, the detail is rendered as tooltip if BOTH tooltip AND showDetail are true. Otherwise, no tooltip is rendered.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: