[jboss-cvs] JBossAS SVN: r100698 - projects/snowdrop/examples/trunk/sportsclub/sportsclub-subscriptions-web/src/main/webapp.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 8 09:13:12 EST 2010


Author: lvlcek at redhat.com
Date: 2010-02-08 09:13:12 -0500 (Mon, 08 Feb 2010)
New Revision: 100698

Modified:
   projects/snowdrop/examples/trunk/sportsclub/sportsclub-subscriptions-web/src/main/webapp/searchForm.xhtml
Log:
added Cancel button

Modified: projects/snowdrop/examples/trunk/sportsclub/sportsclub-subscriptions-web/src/main/webapp/searchForm.xhtml
===================================================================
--- projects/snowdrop/examples/trunk/sportsclub/sportsclub-subscriptions-web/src/main/webapp/searchForm.xhtml	2010-02-08 14:06:37 UTC (rev 100697)
+++ projects/snowdrop/examples/trunk/sportsclub/sportsclub-subscriptions-web/src/main/webapp/searchForm.xhtml	2010-02-08 14:13:12 UTC (rev 100698)
@@ -124,6 +124,9 @@
                                 <f:setPropertyActionListener value="#{true}" target="#{accountSearch.editing}"/>
                             </a4j:commandButton>
 
+                            <a4j:commandButton id="cancelAcctBtn" value="Cancel" rendered="#{accountSearch.editing}" reRender="accountData">
+                                <f:setPropertyActionListener value="#{false}" target="#{accountSearch.editing}"/>
+                            </a4j:commandButton>
                             <a4j:commandButton id="saveAcctBtn" value="Save" action="#{accountSearch.saveCurrent}" reRender="accountData" rendered="#{accountSearch.editing}"/>
 
                         </h:panelGrid>




More information about the jboss-cvs-commits mailing list