[richfaces-svn-commits] JBoss Rich Faces SVN: r2936 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces: inputNumberSlider/examples and 2 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Sep 14 10:26:49 EDT 2007


Author: SergeySmirnov
Date: 2007-09-14 10:26:48 -0400 (Fri, 14 Sep 2007)
New Revision: 2936

Modified:
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSlider/examples/sliderUsage.xhtml
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSpinner.xhtml
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSpinner/examples/spinnerUsage.xhtml
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml
Log:
demo update. forgotten switchType="server", form for inputNumberXXXX for case of ENTER pressed

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSlider/examples/sliderUsage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSlider/examples/sliderUsage.xhtml	2007-09-14 12:53:13 UTC (rev 2935)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSlider/examples/sliderUsage.xhtml	2007-09-14 14:26:48 UTC (rev 2936)
@@ -5,16 +5,18 @@
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich">
 
-	<p>
-		Here is an example of default inputNumberSlider:
-		<rich:inputNumberSlider value="50"/>
-	</p>
-	<p>
-		Here is "minimalistic" input:
-		<rich:inputNumberSlider value="50" showInput="false" enableManualInput="false" showBoundaryValues="false" showToolTip="false"/>
-	</p>
-	<p>
-		Another variation of input:
-		<rich:inputNumberSlider value="500" width="500" maxValue="1000" step="50" showToolTip="false" />
-	</p>
+	<a4j:form ajaxSubmit="true">
+		<p>
+			Here is an example of default inputNumberSlider:
+			<rich:inputNumberSlider value="50"/>
+		</p>
+		<p>
+			Here is "minimalistic" input:
+			<rich:inputNumberSlider value="50" showInput="false" enableManualInput="false" showBoundaryValues="false" showToolTip="false"/>
+		</p>
+		<p>
+			Another variation of input:
+			<rich:inputNumberSlider value="500" width="500" maxValue="1000" step="50" showToolTip="false" />
+		</p>
+	</a4j:form>
 </ui:composition>
\ No newline at end of file

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSpinner/examples/spinnerUsage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSpinner/examples/spinnerUsage.xhtml	2007-09-14 12:53:13 UTC (rev 2935)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSpinner/examples/spinnerUsage.xhtml	2007-09-14 14:26:48 UTC (rev 2936)
@@ -4,7 +4,7 @@
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich">
-
+	<a4j:form ajaxSubmit="true">
 		<p>
 			Here is an example of default inputNumberSpinner:
 			<rich:inputNumberSpinner value="50"/>
@@ -13,5 +13,6 @@
 				Here is one more inputNumberSpinner:
 			<rich:inputNumberSpinner value="50" step="10"/>
 		</p>
+	</a4j:form>
 
 </ui:composition>
\ No newline at end of file

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSpinner.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSpinner.xhtml	2007-09-14 12:53:13 UTC (rev 2935)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/inputNumberSpinner.xhtml	2007-09-14 14:26:48 UTC (rev 2936)
@@ -8,7 +8,7 @@
 <ui:composition template="/templates/main.xhtml">
 	<ui:define name="title">RichFaces - Open Source Rich JSF Components - InputNumberSpinner</ui:define>
 	<ui:define name="body">
-		<rich:tabPanel switchType="ajax" styleClass="top_tab" contentClass="content_tab" headerClass="header_tabs_class"  inactiveTabClass="inactive_tab" activeTabClass="active_tab">
+		<rich:tabPanel switchType="server" styleClass="top_tab" contentClass="content_tab" headerClass="header_tabs_class"  inactiveTabClass="inactive_tab" activeTabClass="active_tab">
 			<rich:tab label="Usage">
 				<ui:include src="/richfaces/inputNumberSpinner/usage.xhtml"/>
 			</rich:tab>		

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml	2007-09-14 12:53:13 UTC (rev 2935)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml	2007-09-14 14:26:48 UTC (rev 2936)
@@ -33,7 +33,7 @@
 			<rich:panelMenuItem label="Item 2.1" action="#{panelMenu.updateCurrent}">
 				<f:param name="current" value="Item 2.1"/>
 			</rich:panelMenuItem>
-			<rich:panelMenuItem label="Item 2.2" action="#{panelMenu.updateCurrent}">
+			<rich:panelMenuItem   label="Item 2.2" action="#{panelMenu.updateCurrent}">
 				<f:param name="current" value="Item 2.2"/>
 			</rich:panelMenuItem>
 			<rich:panelMenuItem label="Item 2.3" action="#{panelMenu.updateCurrent}">




More information about the richfaces-svn-commits mailing list