[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example

henrik.lindberg do-not-reply at jboss.com
Tue Jan 30 21:12:02 EST 2007


And here is the register.xhtml (Sorry for all the {} instead of normal lt/gt 'XML brackets' - the forum software choked on this otherwise - I hope you can read it - it is truly boiler-plate code (I chopped off the standard stuff at the beginning of the file.


{ui:define name="body"}

     {f:view}
      {h:form}{fieldset}
        {table border="0" class="formTable"}
        {col class="labelCol"/}
        {col class="inputCol"/}
          {s:validateAll}
            {tr}
              {td}{h:outputLabel for="login"}Username (login):{/h:outputLabel}{/td}
              {td}{h:inputText id="login" value="#{user.login}" required="true"/}{/td}
            {/tr}
            {tr}
              {td}{h:outputLabel for="realName"}Real Name:{/h:outputLabel}{/td}
              {td}{h:inputText id="realName" value="#{user.realName}" required="true"/}{/td}
            {/tr}
            {tr}
              {td}{h:outputLabel for="password"}Password:{/h:outputLabel}{/td}
              {td}{h:inputSecret id="password" value="#{user.password}" required="true"/}{/td}
            {/tr}
            {tr}
              {td}{h:outputLabel for="verify"}Verify Password:{/h:outputLabel}{/td}
              {td}{h:inputSecret id="verify" value="#{register.verify}" required="true"/}{/td}
            {/tr}
            {tr}
              {td}{h:outputLabel for="email"}Email:{/h:outputLabel}{/td}
              {td}{h:inputText id="email" value="#{user.email}" required="true"/}{/td}
            {/tr}
          {/s:validateAll}
        {/table}
        {h:messages/}
        {h:commandButton type="submit" value="Register" action="#{register.register}"/}
      {/fieldset}
      {/h:form}
    {/f:view}
    
{/ui:define}


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008599#4008599

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008599



More information about the jboss-user mailing list