Have a look at my on-load component:

http://jsf-comp.sourceforge.net/components/onload/index.html

Or use the one from JBoss-Seam or Shale

On 7/6/07, Stefano Panero <[EMAIL PROTECTED]> wrote:
Hi everybody,

I'm pretty sure that the answer is already in the list... but i can't find
it... sorry.

I've to do something like this:

1) click on a commndButton -> outcome -> new page
2) *before render* new page -> some beans' initialization

I knew I can do this either in the constructor of backing bean or  with a
managed setter properties (or maybe a PhaseListener, actually i don't now
how...)
But I need  one more  step:

3) If some conditions are true -> go to another page (another view)

I can't understand how can I do this. In which method?  In which phase?

Thank.
Stefano.




Reply via email to