Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - faces messages problems

scott.stark@jboss.org

2007-07-20


Hi,

I have a login page like this:

| <h:form>
|    <div class="login-box">
|      <table>
|        <tr>
|          <td colspan="2" class="login-head">Login SIG</td>
|        </tr>
|        <tr>
|          <td class="label">Usu??rio:</td>
|          <td>
|            <h:inputText class="input" id="login" name="login" value="#{identity.username}"/>
|          </td>
|        </tr>
|        <tr>
|          <td class="label">Senha:</td>
|          <td>
|            <h:inputSecret id="password" class="input" value="#{identity.password}"/>
|          </td>
|        </tr>
|        <tr>
|          <td colspan="2" align="right">
|            <h:commandButton value="Login" id="btLogin" class="large-button" action="#{identity.login}"/>
|            <input type="button" value="Cancelar" id="btCancel" class="large-button"/>
|          </td>
|        </tr>
|      </table>
| </div>
|    <div id="errors">
|        <h:messages/>
|      </div>??    
|  </h:form>
|

And when the page is first loaded, some question marks are displayed on the <h:messages/> and no error is displayed.

Can anybody help?

Thanks


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

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

_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.