To switch the locale of a page, I need to pass through an intermediate
page, as it is described in chapter 7 of Howard's book, for the change
to take effect.

I want to spend as little time on that other page as possible, so I
tried to do the following:

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?

Thanks.


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

Reply via email to