[weld-commits] Weld SVN: r5322 - examples/trunk/jsf/login/src/main/webapp.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Dec 17 09:35:36 EST 2009


Author: kpiwko at redhat.com
Date: 2009-12-17 09:35:36 -0500 (Thu, 17 Dec 2009)
New Revision: 5322

Modified:
   examples/trunk/jsf/login/src/main/webapp/home.xhtml
Log:
WELD-346

Modified: examples/trunk/jsf/login/src/main/webapp/home.xhtml
===================================================================
--- examples/trunk/jsf/login/src/main/webapp/home.xhtml	2009-12-17 14:21:11 UTC (rev 5321)
+++ examples/trunk/jsf/login/src/main/webapp/home.xhtml	2009-12-17 14:35:36 UTC (rev 5322)
@@ -7,15 +7,15 @@
   <ui:composition template="template.xhtml">
     <ui:define name="content">
       <h:messages/>
-      <h:form> 
+      <h:form id="loginForm"> 
         <h:panelGrid columns="2" rendered="#{!login.loggedIn}"> 
           <h:outputLabel for="username">Username:</h:outputLabel> 
           <h:inputText id="username" value="#{credentials.username}"/> 
           <h:outputLabel for="password">Password:</h:outputLabel> 
           <h:inputText id="password" value="#{credentials.password}"/> 
         </h:panelGrid> 
-        <h:commandButton value="Login" action="#{login.login}" rendered="#{!login.loggedIn}"/> 
-        <h:commandButton value="Logout" action="#{login.logout}" rendered="#{login.loggedIn}"/> 
+        <h:commandButton id="login" value="Login" action="#{login.login}" rendered="#{!login.loggedIn}"/> 
+        <h:commandButton id="logout" value="Logout" action="#{login.logout}" rendered="#{login.loggedIn}"/> 
       </h:form> 
     </ui:define>
   </ui:composition>



More information about the weld-commits mailing list