[richfaces-svn-commits] JBoss Rich Faces SVN: r4765 - in branches/3.1.x/test-applications/facelets/src/main/webapp: ContextMenu and 3 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Dec 12 06:01:23 EST 2007


Author: ayanul
Date: 2007-12-12 06:01:23 -0500 (Wed, 12 Dec 2007)
New Revision: 4765

Modified:
   branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenuProperty.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingList.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListStraightforward.xhtml
Log:
-fix bug
-add time for calendar

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml	2007-12-12 11:00:23 UTC (rev 4764)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml	2007-12-12 11:01:23 UTC (rev 4765)
@@ -42,13 +42,15 @@
 				</h:selectOneRadio>
 
 				<h:outputText value="Select Date Pattern:" />
-				<h:selectOneMenu value="MMM d, yyyy" onchange="submit()">
+				<h:selectOneMenu value="#{calendarBean.pattern}" onchange="submit()">
 					<f:selectItem itemLabel="d/M/yy" itemValue="d/M/yy" />
 					<f:selectItem itemLabel="dd/M/yy" itemValue="dd/M/yy" />
 					<f:selectItem itemLabel="d/MMM/y" itemValue="d/MMM/y" />
 					<f:selectItem itemLabel="dd.MM.yyyy" itemValue="dd.MM.yyyy" />
 					<f:selectItem itemLabel="MMM d, yyyy" itemValue="MMM d, yyyy" />
 					<f:selectItem itemLabel="dd-MM-yyyy" itemValue="dd-MM-yyyy" />
+					<f:selectItem itemLabel="dd/M/yy HH:mm" itemValue="dd/M/yy HH:mm"/>	
+					<f:selectItem itemLabel="MMM d, yyyy h:mm a" itemValue="MMM d, yyyy h:mm a"/>	
 				</h:selectOneMenu>
 
 				<h:outputText value="Preload date range begin(d.m.y)" />

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenuProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenuProperty.xhtml	2007-12-12 11:00:23 UTC (rev 4764)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenuProperty.xhtml	2007-12-12 11:01:23 UTC (rev 4765)
@@ -2,7 +2,6 @@
 	xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" xmlns:ui="http://java.sun.com/jsf/facelets">
 
 	<a4j:commandButton value="reRender" reRender="cmInfoID"></a4j:commandButton>
-	<a4j:commandButton action="submit();" value="a4j submit();"></a4j:commandButton>
 	<a4j:commandButton action="submit();" immediate="true" value="immediate submit(); (a4j)"></a4j:commandButton>
 	<h:commandButton action="submit();" value="submit();" />
 	<h:commandButton action="submit();" immediate="true" value="immediate submit();" />

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml	2007-12-12 11:00:23 UTC (rev 4764)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml	2007-12-12 11:01:23 UTC (rev 4765)
@@ -30,7 +30,7 @@
 				<f:selectItem itemValue="/Insert/Insert.xhtml" itemLabel="XHTML" />
 				<f:selectItem itemValue="/Insert/src/test.lzx" itemLabel="LZX" />
 				<f:selectItem itemValue="/Insert/src/test.cpp" itemLabel="CPP,CXX" />
-				<a4j:support event="onclick" action="submit();" reRender="panelID,insertID"></a4j:support>
+				<a4j:support event="onclick" reRender="panelID,insertID"></a4j:support>
 			</h:selectOneMenu>
 			
 			<h:outputText value="Rendered" />

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml	2007-12-12 11:00:23 UTC (rev 4764)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml	2007-12-12 11:01:23 UTC (rev 4765)
@@ -59,7 +59,7 @@
 					<f:selectItem itemLabel="select2" itemValue="select2" />
 					<f:selectItem itemLabel="select3" itemValue="select3" />
 					<f:selectItem itemLabel="select4" itemValue="select4" />
-					<a4j:support event="onclick" action="submit();"></a4j:support>
+					<a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
 				</h:selectOneMenu>
 			</h:column>
 

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml	2007-12-12 11:00:23 UTC (rev 4764)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml	2007-12-12 11:01:23 UTC (rev 4765)
@@ -4,7 +4,6 @@
 		<h:column></h:column>
 		<h:panelGroup>
 			<a4j:commandButton value="reRender" reRender="listShuttleID"></a4j:commandButton>
-			<a4j:commandButton action="submit();" value="a4j submit();"></a4j:commandButton>
 			<a4j:commandButton action="submit();" immediate="true" value="immediate submit(); (a4j)"></a4j:commandButton>
 			<h:commandButton action="submit();" value="submit();" />
 			<h:commandButton action="submit();" immediate="true" value="immediate submit();" />

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingList.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingList.xhtml	2007-12-12 11:00:23 UTC (rev 4764)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingList.xhtml	2007-12-12 11:01:23 UTC (rev 4765)
@@ -55,7 +55,7 @@
 			<f:facet name="header">
 				<h:outputText value="Link" />
 			</f:facet>
-			<a4j:commandLink action="#{orderingList.clAction}" onclick="submit()" value="#{item.str1} submit()" reRender="orderingListID"></a4j:commandLink>
+			<a4j:commandLink action="#{orderingList.clAction}" value="#{item.str1} submit()" reRender="orderingListID"></a4j:commandLink>
 		</h:column>
 
 		<h:column>
@@ -68,7 +68,7 @@
 				<f:selectItem itemLabel="select2" itemValue="select2" />
 				<f:selectItem itemLabel="select3" itemValue="select3" />
 				<f:selectItem itemLabel="select4" itemValue="select4" />
-				<a4j:support event="onclick" action="submit();"></a4j:support>
+				<a4j:support event="onclick" reRender="orderingListID"></a4j:support>
 			</h:selectOneMenu>
 		</h:column>
 

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListStraightforward.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListStraightforward.xhtml	2007-12-12 11:00:23 UTC (rev 4764)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListStraightforward.xhtml	2007-12-12 11:01:23 UTC (rev 4765)
@@ -100,7 +100,6 @@
 
 			<h:panelGroup>
 				<a4j:commandButton value="reRender" reRender="orderingListID"></a4j:commandButton>
-				<a4j:commandButton action="submit();" value="a4j submit();"></a4j:commandButton>
 				<a4j:commandButton action="submit();" immediate="true" value="immediate submit(); (a4j)"></a4j:commandButton>
 				<h:commandButton action="submit();" value="submit();" />
 				<h:commandButton action="submit();" immediate="true" value="immediate submit();" />




More information about the richfaces-svn-commits mailing list