Alexander Kolesnikov <ak <at> galactica.ru> writes:

> public class ChangeLocale extends BasePage implements PageRenderListener
> {     
>   public void pageBeginRender(PageEvent event) {
>       IRequestCycle cycle = event.getRequestCycle();
>       cycle.activate("Home");
>   }
> }
> 
> But this doesn't work. Why?

Try calling cycle.cleanUp() and then activate the original page.

I have an detailed example on this in chapter 6 of my book and
you can download and check the source code too 
(http://www.agileskills2.org/EWDT).



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to