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

        Arturo Zambrano created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Assignee Yip Ng [ yip.ng ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15509 Mon Jan 07 12:17:30 MST 2008 yip.ng ICE-2174
        Added handling of visible and title attributes.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/MessageRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15512 Mon Jan 07 16:12:48 MST 2008 yip.ng ICE-2174
        Added handling of visible and title attributes.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/MessagesRenderer.java
        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.
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.7Beta1 [ 10121 ]
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Priority Major [ 3 ] Minor [ 4 ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Yip Ng [ yip.ng ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: