ICEfaces
  1. ICEfaces
  2. ICE-2170

disabled="true" not working as expected for <ice:commandLink>

    Details

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

      Description

      Using disabled="true" in <ice:commandLink> doesn't disable the link in any way. It renders a 'disabled' attribute in the <a> element in the markup, but 'disabled' is not a valid attribute for <a> according to the HTML 4.01 specification or the XHTML 1.0 Transitional DTD (http://www.w3.org/TR/html4/loose.dtd and http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd respectively). The link is still clickable on both FF and IE.

      Notice the case of <ice:outputLink>. When using disabled="true", the 'href' attribute is not included in the <a> element, which makes the value of this component appear as plain text.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: