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
[email protected]

I.Y. tim d.o.o.
Nova cesta 171a, HR-10000 Zagreb
www.iytim.hr
[email protected]


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

Reply via email to