2 Replies Latest reply on May 7, 2008 7:53 PM by ashcliffe

    A4J:commandLink action listener

    ashcliffe

      I'm trying to use a listener in the same manner I do with h:commandLink. The problem I have is that actionListener must be a method of the session scope bean. Is this a correct behaviour or my JSF is misconfigured?

        • 1. Re: A4J:commandLink action listener

          It should be no different between h:commandLink and a4j:commandLink from this point. So, look around.

          • 2. Re: A4J:commandLink action listener
            ashcliffe

            I wouldn't do it with h:commandLink because it moves off the page. a4j:commandLink is designed for requests, which will be served by the same jsf page. I would expect a4j:commandListener to be able to access methods of the backing bean with request scope.

            I found it to be a part of the bigger problem. I cannot get requestmaps as well. I'm still using a basic default installation. Would I be missing something important?