Buff, I was really puzzled as I had used that approach several times successfully... :-) I thought that you were answering to me and not to Rogerio's question. This is the kind of things that can happen when your native language is not the english and you read mails in diagonal....
Regards, Bruno 2005/6/16, Martin Marinschek <[EMAIL PROTECTED]>: > Well, Bruno, you don't have to apologize, your approach works as well, > of course! > > regards, > > Martin > > > On 6/16/05, alex <[EMAIL PROTECTED]> wrote: > > Martin Marinschek wrote: > > > > >No, it is not. > > > > > >there is no return string from an action-listener. > > > > > > > > That's true, however there is a very simple way to do navigation from > > the action-listener ;) > > > > Do it like that: > > > > FacesContext fc = FacesContext.getCurrentInstance(); > > fc.getApplication().getNavigationHandler().handleNavigation(fc, > > fromAction, outCome); > > > > Rgds > > Alex > > >