You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by im...@apache.org on 2007/03/04 16:52:59 UTC

svn commit: r514415 - /myfaces/fusion/trunk/examples/src/main/webapp/ballot/Topic.jsp

Author: imario
Date: Sun Mar  4 07:52:59 2007
New Revision: 514415

URL: http://svn.apache.org/viewvc?view=rev&rev=514415
Log:
set default button

Modified:
    myfaces/fusion/trunk/examples/src/main/webapp/ballot/Topic.jsp

Modified: myfaces/fusion/trunk/examples/src/main/webapp/ballot/Topic.jsp
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/examples/src/main/webapp/ballot/Topic.jsp?view=diff&rev=514415&r1=514414&r2=514415
==============================================================================
--- myfaces/fusion/trunk/examples/src/main/webapp/ballot/Topic.jsp (original)
+++ myfaces/fusion/trunk/examples/src/main/webapp/ballot/Topic.jsp Sun Mar  4 07:52:59 2007
@@ -51,7 +51,9 @@
 					<h:commandButton
 						value="Save"
 						action="#{ballotTopic.saveAction}"
-						rendered="#{ballotTopic.topicEditable && ballotState.authenticated}"/>
+						rendered="#{ballotTopic.topicEditable && ballotState.authenticated}">
+						<s:submitOnEvent />
+					</h:commandButton>
 
 				</h:panelGrid>
 			</f:facet>