Use action instead of actionListener? Actions are always fired last.
On Tue, Apr 15, 2008 at 3:51 PM, Mathias Walter <[EMAIL PROTECTED]> wrote: > Hi, > > is it possible to use partialSubmit without an actionListener and only with > an action on a tr:commandLink? I tried it, but the whole page is refreshed > not only the relevant part. > > I'd like to use actionListener, but unfortunatelly a tr:setActionListener > will be executed after actionListener. In such case, it's impossibel to set > a pageFlowScope variable with setActionListener. > > Example: > > <tr:commandLink actionListener="#{backingBean.add}" text="Neu" > partialSubmit="true" immediate="true"> > <tr:setActionListener from="${entity}" to="#{pageFlowScope.data}" /> > </tr:commandLink> > > This does not work, because backingBean.add is fired before the > setActionListener. > > -- > Kind regards, > Mathias > >