myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: [Trinidad] setActionListener before actionListener or partialSubmit with action
Date Tue, 15 Apr 2008 22:33:33 GMT
Use action instead of actionListener? Actions are always fired last.

On Tue, Apr 15, 2008 at 3:51 PM, Mathias Walter <mathias.walter@gmx.net> 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
>
>

Mime
View raw message