About the original question, it was a bug in my code. No problem with
f:setPropertyActionListener.

Walter Mourão
http://waltermourao.com.br
http://arcadian.com.br
http://oriens.com.br



On Sat, May 14, 2011 at 11:48 AM, Joachim Schrod <jsch...@acm.org> wrote:

>
> Could you please elaborate on that?
>
> Which facelets version executes the actionListener after the action?
>
> TIA for an answer,
>
>        Joachim
>
> Luka Surija wrote:
> > f:setPropertyActionListener is executed before action,
> > but If you are using facelets depending on version
> > it is executed before or after actionListener
> >
> > Luka Surija
> >
> > +385 1 61 99 140
> > +385 91 61 99 140
> > l...@iytim.hr
> >
> > I.Y. tim d.o.o.
> > Nova cesta 171a, HR-10000 Zagreb
> > www.iytim.hr
> > i...@iytim.hr
> >
> >
> > On 05/05/2011 05:18 PM, Walter Mourão wrote:
> >> Hi folks,
> >> I'm 99% sure the f:setPropertyActionListener is being executed after the
> >> action, in the following code:
> >>
> >>          <tr:commandLink
> >>
> action="#{visualizarRelatorioController.visualizandoRelatorioMudarPagina}"
> >>
> >>
> disabled="#{visualizarRelatorioVisualizandoRelatorioMudarPaginaForm.paginaAtual
> >>
> >> le 1}">
> >>              <tr:image source="/images/arrow-previous.gif"
> >> shortDesc="#{messages['pagina.anterior']}"
> >> inlineStyle="border-style:none"
> >> />
> >>              <f:setPropertyActionListener
> >>
> value="#{visualizarRelatorioVisualizandoRelatorioMudarPaginaForm.paginaAtual
> >>
> >> - 1}"
> >>
> target="#{visualizarRelatorioVisualizandoRelatorioMudarPaginaForm.paginaAtual}"
> >>
> >> />
> >>          </tr:commandLink>
> >>
> >>
> >> Does it make sense ?
> >>
> >> I'm using Myfaces 1.2.9 + Trinidad 1.2.14
> >>
> >> Thanks,
> >>
> >> Walter Mourão
> >> http://waltermourao.com.br
> >> http://arcadian.com.br
> >> http://oriens.com.br
> >>
> >
>
>
>
>         Joachim
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Joachim Schrod                          Email: jsch...@acm.org
> Roedermark, Germany
>
>

Reply via email to