[richfaces-svn-commits] JBoss Rich Faces SVN: r3152 - in trunk/ui/togglePanel/src/main: templates and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Sep 27 12:21:40 EDT 2007


Author: sergeyhalipov
Date: 2007-09-27 12:21:40 -0400 (Thu, 27 Sep 2007)
New Revision: 3152

Modified:
   trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
   trunk/ui/togglePanel/src/main/templates/togglePanel.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1023

Modified: trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
===================================================================
--- trunk/ui/togglePanel/src/main/config/component/togglePanel.xml	2007-09-27 16:19:32 UTC (rev 3151)
+++ trunk/ui/togglePanel/src/main/config/component/togglePanel.xml	2007-09-27 16:21:40 UTC (rev 3152)
@@ -232,7 +232,8 @@
 			<description>
 				CSS style(s) to be applied when this component is
 				rendered
-			</description>
+			</description>
+			<defaultvalue>""</defaultvalue>
 		</property>
 		<property>
 			<name>styleClass</name>
@@ -242,7 +243,8 @@
 				applied when this element is rendered. This value must
 				be passed through as the "class" attribute on generated
 				markup
-			</description>
+			</description>
+			<defaultvalue>""</defaultvalue>
 		</property>
 
 		<property>

Modified: trunk/ui/togglePanel/src/main/templates/togglePanel.jspx
===================================================================
--- trunk/ui/togglePanel/src/main/templates/togglePanel.jspx	2007-09-27 16:19:32 UTC (rev 3151)
+++ trunk/ui/togglePanel/src/main/templates/togglePanel.jspx	2007-09-27 16:21:40 UTC (rev 3152)
@@ -18,7 +18,8 @@
 		<![CDATA[org.richfaces.component.util.FormUtil.throwEnclFormReqExceptionIfNeed(context,component);]]>
     </jsp:scriptlet>
 	
-	<div id="#{clientId}">
+	<div id="#{clientId}" style="#{component.attributes['style']}"
+			class="#{component.attributes['styleClass']}" >
 		<vcp:body/>
 		<f:call name="handleFacets"/>
 	</div>




More information about the richfaces-svn-commits mailing list