[richfaces-svn-commits] JBoss Rich Faces SVN: r3042 - 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 Sep 21 07:41:55 EDT 2007


Author: akushunin
Date: 2007-09-21 07:41:55 -0400 (Fri, 21 Sep 2007)
New Revision: 3042

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

Modified: trunk/ui/calendar/src/main/config/component/calendar.xml
===================================================================
--- trunk/ui/calendar/src/main/config/component/calendar.xml	2007-09-21 10:39:25 UTC (rev 3041)
+++ trunk/ui/calendar/src/main/config/component/calendar.xml	2007-09-21 11:41:55 UTC (rev 3042)
@@ -466,6 +466,24 @@
 			<description>Valid values = ajax or client</description>
 		</property>
 		
+		<property>
+            <name>horizontalOffset</name>
+            <classname>int</classname>
+            <description>
+                Sets the horizontal offset between button and calendar element conjunction point
+            </description>
+            <defaultvalue>0</defaultvalue>
+        </property>
+
+        <property>
+            <name>verticalOffset</name>
+            <classname>int</classname>
+            <description>
+                     Sets the vertical offset between button and calendar element conjunction point
+            </description>
+            <defaultvalue>0</defaultvalue>
+        </property>
+		
 	</component>
 		&listeners;
 </components>

Modified: trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
===================================================================
--- trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx	2007-09-21 10:39:25 UTC (rev 3041)
+++ trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx	2007-09-21 11:41:55 UTC (rev 3042)
@@ -46,6 +46,9 @@
 				enableManualInput: #{component.attributes['enableManualInput']},
 				showInput: #{component.attributes['showInput']},
 				disabled: #{component.disabled},
+				ajaxSingle: #{component.attributes['ajaxSingle']},
+				verticalOffset:'#{component.verticalOffset}',
+				horizontalOffset: '#{component.horizontalOffset}',
 				<f:call name="writeSymbols" />,
 				firstWeekDay: #{this:getFirstWeekDay(context, component)}, 
 				minDaysInFirstWeek: #{this:getMinDaysInFirstWeek(context, component)}




More information about the richfaces-svn-commits mailing list