[richfaces-issues] [JBoss JIRA] Created: (RF-2451) RF 3.2.0.CR2: a4j:commandButton loses styleClass attribute

Michael Haug (JIRA) jira-events at lists.jboss.org
Tue Mar 11 06:35:58 EDT 2008


RF 3.2.0.CR2: a4j:commandButton loses styleClass attribute
----------------------------------------------------------

                 Key: RF-2451
                 URL: http://jira.jboss.com/jira/browse/RF-2451
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.0
         Environment: JBoss 4.2.0, FF2, IE6
            Reporter: Michael Haug


The value of the styleClass attribute is not rendered as class attribute.

Facelet page:
<a4j:commandButton styleClass="button" action="#{finderAnalyse.validate}" onclick="setTarget('_top', 'finderForm', 'finderForm:searchTarget');" bypassUpdates="true" value="#{aba:translate('b_search')}" data="#{facesContext.maximumSeverity}" oncomplete="if (typeof data == 'undefined') search('finderForm:button1');" />

Resulting HTML page:
<input id="finderForm:j_id1491" name="finderForm:j_id1491" onclick="setTarget('_top', 'finderForm', 'finderForm:searchTarget');;A4J.AJAX.Submit('_viewRoot','finderForm',event,{'parameters':{'finderForm:j_id1491':'finderForm:j_id1491'} ,'actionUrl':'/ABATech-Web/Finder.faces?javax.portlet.faces.DirectLink=true','oncomplete':function(request,event,data){if (typeof data == 'undefined') search('finderForm:button1');}} );return false;" value="Suchen" type="button" />

The same code works with RichFaces 3.1.2.GA

-- 
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