[richfaces-svn-commits] JBoss Rich Faces SVN: r4521 - in branches/3.1.x/ui/orderingList/src/main: templates/org/richfaces and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Dec 5 19:29:49 EST 2007


Author: nbelaevski
Date: 2007-12-05 19:29:49 -0500 (Wed, 05 Dec 2007)
New Revision: 4521

Modified:
   branches/3.1.x/ui/orderingList/src/main/config/component/orderinglist.xml
   branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx
Log:
style attributes added

Modified: branches/3.1.x/ui/orderingList/src/main/config/component/orderinglist.xml
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/config/component/orderinglist.xml	2007-12-06 00:04:59 UTC (rev 4520)
+++ branches/3.1.x/ui/orderingList/src/main/config/component/orderinglist.xml	2007-12-06 00:29:49 UTC (rev 4521)
@@ -232,18 +232,8 @@
             </description>
             <defaultvalue><![CDATA[""]]></defaultvalue>
         </property>
-        <property>
-	    	<name>style</name>
-	    	<classname>java.lang.String</classname>
-	    	<description>CSS style(s) is/are to be applied when this component is rendered</description>
-	    	<defaultvalue><![CDATA[""]]></defaultvalue>
-	    </property> 
-	    <property>
-	    	<name>styleClass</name>
-	    	<classname>java.lang.String</classname>
-	    	<description>Corresponds to the HTML class attribute</description>
-	    	<defaultvalue><![CDATA[""]]></defaultvalue>
-	    </property> 
+       
+       	&html_style_attributes;
 
 	    <property>
 	    	<name>onclick</name>

Modified: branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx	2007-12-06 00:04:59 UTC (rev 4520)
+++ branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx	2007-12-06 00:29:49 UTC (rev 4521)
@@ -28,7 +28,7 @@
 	
 	<f:clientId var="clientId"/>
 	
-    <div id="#{clientId}" class="rich-ordering-list-ds" x:passThruWithExclusions="id,class">
+    <div id="#{clientId}" class="rich-ordering-list-ds #{component.attributes['styleClass']}" x:passThruWithExclusions="id,class,styleClass">
     	<input id="#{clientId}focusKeeper" type="button" value="" name="focusKeeper"
     		style="width: 1px; position: absolute; left: -32767px;" />
 		




More information about the richfaces-svn-commits mailing list