Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: v2.1
    • Fix Version/s: 4.0
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Linux

      Description

      Hi...

      I have a JSF page in which I set the styleClass for a commandLink. However, the
      generated page does not rendered the stylized link.

      Here is the excerpt from my stylesheet:
      .commandLink {

      font-weight: bold;
      text-decoration: none;

      color: #661A0E;

      margin: 0px 0px 0px 0px;
      padding: 5px 15px 5px 15px;

      }

      .commandLink:hover {
      background: #F5F0DA;
      }

      Here is the commandLink tag:
      <h:commandLink sytleClass="commandLink" value="Logout"
      action="#

      {AuthenticationBean.logout}

      "/>

      And here is the generated link when the page is rendered:
      <a href="#" onclick="if(typeof jsfcljs ==
      'function')

      {jsfcljs(document.forms['wondercart'],'wondercart:j_id7,wondercart:j_id7','');}

      return
      false">Logout</a>

      Notice that the "class" attribute is not rendered as described in the tag lib in
      http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/tlddocs/index.html

      I don't want to set the stylesheet with the a and a:hover definitions globally
      (which would then render the links properly) because I have different kinds of
      links that should be stylized differently.

        Activity

        Hide
        jluehe added a comment -

        I'll have Ryan take a look.

        Show
        jluehe added a comment - I'll have Ryan take a look.
        Hide
        sanandal added a comment -

        "Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
        release whose primary release driver is SailFin.
        This issue will be scrubbed after this release and will be given the right
        priority for the next release."

        Show
        sanandal added a comment - "Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1 release whose primary release driver is SailFin. This issue will be scrubbed after this release and will be given the right priority for the next release."
        Hide
        kumara added a comment -

        Changing version from 9.1.1 to v2.1 to reflect new name/version.

        Show
        kumara added a comment - Changing version from 9.1.1 to v2.1 to reflect new name/version.
        Hide
        Ryan Lubke added a comment -

        Passing to Ed.

        Show
        Ryan Lubke added a comment - Passing to Ed.
        Hide
        Ed Burns added a comment -

        Not planned for 3.2. Not high enough priority.

        Show
        Ed Burns added a comment - Not planned for 3.2. Not high enough priority.

          People

          • Assignee:
            Ed Burns
            Reporter:
            dhcavalcanti
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: