[richfaces-issues] [JBoss JIRA] Reopened: (RF-1320) a4j:commandLink loose styleClass attribute

Tsikhon Kuprevich (JIRA) jira-events at lists.jboss.org
Fri Nov 16 08:50:19 EST 2007


     [ http://jira.jboss.com/jira/browse/RF-1320?page=all ]

Tsikhon Kuprevich reopened RF-1320:
-----------------------------------

             
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

> a4j:commandLink loose styleClass attribute
> ------------------------------------------
>
>                 Key: RF-1320
>                 URL: http://jira.jboss.com/jira/browse/RF-1320
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Denis Morozov
>         Assigned To: Tsikhon Kuprevich
>            Priority: Critical
>             Fix For: 3.2.0, 3.1.3
>
>
> a4j:commandLink with styleClass doesn't render class attribute in resulting <a> element

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list