Author: Alex.Kolonitsky
Date: 2011-03-04 09:05:49 -0500 (Fri, 04 Mar 2011)
New Revision: 22062
Modified:
branches/4.0.X/ui/input/ui/src/main/templates/inplaceInput.template.xml
Log:
RF-10691 Inplace Input - @styleClass doesn't work
- reviewed by Anton Belevich
Modified: branches/4.0.X/ui/input/ui/src/main/templates/inplaceInput.template.xml
===================================================================
--- branches/4.0.X/ui/input/ui/src/main/templates/inplaceInput.template.xml 2011-03-04
13:55:31 UTC (rev 22061)
+++ branches/4.0.X/ui/input/ui/src/main/templates/inplaceInput.template.xml 2011-03-04
14:05:49 UTC (rev 22062)
@@ -42,7 +42,8 @@
<cdk:object type="org.richfaces.component.InplaceState"
name="inplaceState" value="#{getInplaceState(component)}" />
<cdk:object type="java.lang.String" name="inplaceValue"
value="#{getValue(facesContext, component)}" />
- <span id="#{clientId}" class="#{getStateStyleClass(component,
inplaceState)}" cdk:passThroughWithExclusions="id class">
+ <span id="#{clientId}" cdk:passThroughWithExclusions="id class"
+ class="#{concatClasses(getStateStyleClass(component, inplaceState),
component.attributes['styleClass'])}">
<span id="#{clientId}Label" class="rf-ii-lbl#{inplaceValue ==
component.attributes['defaultLabel'] ? ' rf-ii-dflt-lbl' :
''}">
#{inplaceValue}
</span>
Show replies by date