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

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Aug 24 09:14:18 EDT 2007


Author: pyaschenko
Date: 2007-08-24 09:14:17 -0400 (Fri, 24 Aug 2007)
New Revision: 2471

Modified:
   trunk/ui/calendar/src/main/config/component/calendar.xml
   trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
Log:
RF-649 fixed

Modified: trunk/ui/calendar/src/main/config/component/calendar.xml
===================================================================
--- trunk/ui/calendar/src/main/config/component/calendar.xml	2007-08-24 13:01:53 UTC (rev 2470)
+++ trunk/ui/calendar/src/main/config/component/calendar.xml	2007-08-24 13:14:17 UTC (rev 2471)
@@ -196,7 +196,14 @@
 			<classname>java.lang.String</classname>
 			<description></description>
 		</property>				
-				
+		<property>
+			<name>zindex</name>
+			<classname>int</classname>
+			<description>
+				Attribute is similar to the standard HTML attribute and can specify window placement relative to the content
+			</description>
+			<defaultvalue>3</defaultvalue>
+		</property>				
 		
 	</component>
 </components>

Modified: trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
===================================================================
--- trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx	2007-08-24 13:01:53 UTC (rev 2470)
+++ trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx	2007-08-24 13:14:17 UTC (rev 2471)
@@ -14,7 +14,7 @@
 	<h:styles>/org/richfaces/renderkit/html/css/calendar.xcss</h:styles>
 
 	<div id="#{clientId}"
-		style="#{component.attributes['style']}"
+		style="z-index:#{component.attributes['zindex']}; #{component.attributes['style']}"
 		class="#{component.attributes['styleClass']}"
 		x:passThruWithExclusions="value,name,type,id"><script
 		type="text/javascript">




More information about the richfaces-svn-commits mailing list