I am having a problem with navigation in my application. If I use the following 
code, every thing works fine.


  | <h:commandButton id="login" action="login" value="Login"/>
  | 

But if I use the code below, the navigation doesn't works. The action listener 
is called but the redirect doesn´s happen.


  | <h:commandButton id="login" action="#{login.login}" value="Login"/>
  | ...
  | @Stateless
  | @Name("login")
  | public class LoginAction implements Login {
  |     
  |    public String login() {
  |        return "painelGerencial";
  |    }
  | 
  | }
  | 

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

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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to