0 Replies Latest reply on Nov 4, 2011 1:45 PM by ginni

    a:visited not working in h:commandLink in rich:column

    ginni

      I have a simple scenario. A rich:dataTable in my JSF with a column containing an h:commandLink.

      I have styles declared inline:

       

      <style>
      a:visited {color: red;}
      a:hover {color: red; text-decoration: underline;}
      a:visited:hover {color: red; text-decoration: underline;}
      </style>

       

      and nothing special in the link:

      <h:commandLink
      immediate="true"
      requestDelay="2000"
      value="#{record.requestNumber}"
      action="#{requestListManager.editRequest(record)}"
      </h:commandLink>

       

      the hover style works fine. But when I visit the link and return to the page, the visited style is not applied.


      What might I be missing?

       

      Thanks!

      Ginni