RE: change view id before render

2007-07-06 Thread William Hoover
fano Panero [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 1:18 PM To: MyFaces Discussion Subject: Re: change view id before render I suppose so... I think It's a little bit weird... IMHO Render phase listener should be fired again... Thanks a lot! Your component will be very useful an

Re: change view id before render

2007-07-06 Thread Stefano Panero
I suppose so... I think It's a little bit weird... IMHO Render phase listener should be fired again... Thanks a lot! Your component will be very useful anyway! 2007/7/6, Andrew Robinson <[EMAIL PROTECTED]>: I doesn't look like it would work right now. The phase listener is only called once, th

Re: change view id before render

2007-07-06 Thread Andrew Robinson
I doesn't look like it would work right now. The phase listener is only called once, the lifecycleimpl doesn't care if the viewId is changed. So to support chaining, I would have to implement it myself in the onload code. On 7/6/07, Andrew Robinson <[EMAIL PROTECTED]> wrote: I'd have to look int

Re: change view id before render

2007-07-06 Thread Andrew Robinson
I'd have to look into it. Since it is a phase listener, it would have to be called before the view is rendered. I am not sure if when a new view is created as a result of navigation, if the lifecycle component re-fires the phase listeners. On 7/6/07, Stefano Panero <[EMAIL PROTECTED]> wrote: Tha

Re: change view id before render

2007-07-06 Thread Stefano Panero
Thank you, your component is really interesting. I take a look at the source and It seems to me I need just one more thing (correct if I'am wrong): Page A -> Page B I can do some initialization before render page B, If, with your component, I add an an action method with an outcome that makes m

Re: change view id before render

2007-07-06 Thread Andrew Robinson
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.