[jboss-user] [JBoss Seam] - Navigation Problem

rodrigobarreiros do-not-reply at jboss.com
Fri Jan 19 08:16:46 EST 2007


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




More information about the jboss-user mailing list