[webbeans-commits] Webbeans SVN: r638 - doc/trunk/reference/en/modules.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Sat Dec 20 20:22:48 EST 2008


Author: gavin.king at jboss.com
Date: 2008-12-20 20:22:48 -0500 (Sat, 20 Dec 2008)
New Revision: 638

Modified:
   doc/trunk/reference/en/modules/example.xml
Log:
h:form

Modified: doc/trunk/reference/en/modules/example.xml
===================================================================
--- doc/trunk/reference/en/modules/example.xml	2008-12-21 01:09:41 UTC (rev 637)
+++ doc/trunk/reference/en/modules/example.xml	2008-12-21 01:22:48 UTC (rev 638)
@@ -24,7 +24,7 @@
 
   <para>This Web Bean is bound to the login prompt in the following JSF form:</para>
 
-<programlisting role="JAVA"><![CDATA[<f:form>
+<programlisting role="JAVA"><![CDATA[<h:form>
     <h:panelGrid columns="2" rendered="#{!login.loggedIn}">
         <h:outputLabel for="username">Username:</h:outputLabel>
         <h:inputText id="username" value="#{credentials.username}"/>
@@ -33,7 +33,7 @@
     </h:panelGrid>
     <h:commandButton value="Login" action="#{login.login}" rendered="#{!login.loggedIn}"/>
     <h:commandButton value="Logout" acion="#{login.logout}" rendered="#{login.loggedIn}"/>
-</f:form>]]></programlisting>
+</h:form>]]></programlisting>
 
   <para>The actual work is done by a session scoped Web Bean that maintains 
   information about the currently logged-in user and exposes the <literal>User</literal>




More information about the weld-commits mailing list