This looks to be exactly what I need. I've added the following code to my
home page class:
public void renderHead(IHeaderResponse response) {
response.renderOnLoadJavascript("mainUrl = '" +
RequestCycle.get().urlFor(new MainPageClass()) + "'; openJSWindow()");
}
Unfortunately, I'm now g
RequestCycle.urlFor(Page) will do what you want
-igor
On 7/19/07, Joel Hill <[EMAIL PROTECTED]> wrote:
>
> My app's home page is nothing more than a blank page which has an onload
> script which opens a new browser window and loads my app's "main" page
> into it. I'm having trouble figuring out
My app's home page is nothing more than a blank page which has an onload
script which opens a new browser window and loads my app's "main" page
into it. I'm having trouble figuring out how to get it to work in
wicket. I don't want to make the page bookmarkable if at all possible,
but I have to fi