myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Walter Mourão <walter.mou...@gmail.com>
Subject Re: f:setPropertyActionListener executed after action
Date Sun, 15 May 2011 10:15:29 GMT
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 <jschrod@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
> > luka@iytim.hr
> >
> > I.Y. tim d.o.o.
> > Nova cesta 171a, HR-10000 Zagreb
> > www.iytim.hr
> > info@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: jschrod@acm.org
> Roedermark, Germany
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message