]
Ilya Shaikovsky resolved RF-2451.
---------------------------------
Resolution: Done
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
Assigned To: Ilya Shaikovsky
Fix For: 3.2.0
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: