RichFaces
  1. RichFaces
  2. RF-1320

a4j:commandLink loose styleClass attribute

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Critical Critical
    • Resolution: Done
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.1.3, 3.2.0
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      a4j:commandLink with styleClass doesn't render class attribute in resulting <a> element

        Activity

        Hide
        Sergey Halipov
        added a comment -

        Fixed for trunk. Revision 3850.

        Show
        Sergey Halipov
        added a comment - Fixed for trunk. Revision 3850.
        Hide
        Ilya Shaikovsky
        added a comment -

        Fix for 3.1.x. Do not forget to set resolution version

        Show
        Ilya Shaikovsky
        added a comment - Fix for 3.1.x. Do not forget to set resolution version
        Hide
        Sergey Halipov
        added a comment -

        Done. Committed revision 3858.

        Show
        Sergey Halipov
        added a comment - Done. Committed revision 3858.
        Hide
        Tsikhon Kuprevich
        added a comment -

        It's ok in trunk, but in branch the same class name is inserted twice:

        <style>
        .test1

        { text-decoration:line-through; }

        </style>
        <a4j:commandLink action="fixes" styleClass="test1">erte</a4j:commandLink>

        renders as:

        <a class="test1" href="#" id="j_id8:j_id10" name="j_id8:j_id10" onclick="A4J.AJAX.Submit('_viewRoot','j_id8',event,{'parameters':

        {'j_id8:j_id10':'j_id8:j_id10'}

        ,'actionUrl':'/rich1/pages/fixes.jsf'} );return false;" class="test1">erte</a>

        Which causes parsiing error in FireFox 2.x

        Show
        Tsikhon Kuprevich
        added a comment - It's ok in trunk, but in branch the same class name is inserted twice: <style> .test1 { text-decoration:line-through; } </style> <a4j:commandLink action="fixes" styleClass="test1">erte</a4j:commandLink> renders as: <a class="test1" href="#" id="j_id8:j_id10" name="j_id8:j_id10" onclick="A4J.AJAX.Submit('_viewRoot','j_id8',event,{'parameters': {'j_id8:j_id10':'j_id8:j_id10'} ,'actionUrl':'/rich1/pages/fixes.jsf'} );return false;" class="test1">erte</a> Which causes parsiing error in FireFox 2.x
        Hide
        Sergey Halipov
        added a comment -

        Done. Committed revision 4044.

        Show
        Sergey Halipov
        added a comment - Done. Committed revision 4044.
        Hide
        Tsikhon Kuprevich
        added a comment -

        verified, fixed

        Show
        Tsikhon Kuprevich
        added a comment - verified, fixed
        Hide
        Jay Balunas
        added a comment -

        Part of a bulk update, all resolutions changed to done, please review history to original resolution type

        Show
        Jay Balunas
        added a comment - Part of a bulk update, all resolutions changed to done, please review history to original resolution type

          People

          • Assignee:
            Nick Belaevski
            Reporter:
            Denis Morozov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: