This would be a great benefit for mee too. I have the same problem and I 
currently use a self updateing Timer to trigger an AjaxRequestTarget to open 
the modal window.

Stefan

-----Ursprüngliche Nachricht-----
Von: Matej Knopp [mailto:[EMAIL PROTECTED] 
Gesendet: Samstag, 17. November 2007 19:48
An: users@wicket.apache.org
Betreff: Re: ModalWindow: open on page construction

No, there is no such thing as having ajax request target during page load. What 
would it do, anyway?

What we could do is making ModalWindow.getWindowOpenJavascript public, so that 
you could use the resuling javascript in 
IHeaderResponse.renderOnDomReadyJavascript().

-Matej

On Nov 16, 2007 7:50 PM, Kirk Israel <[EMAIL PROTECTED]> wrote:
> So my back up plans didn't work out as well as I had hoped.
>
> Is there any answer to this?
>
> Obviously, it would be lovely if there was some equivalent of the 
> javascript body onLoad command (and maybe tied in with that) that 
> could give the user an AjaxRequestTarget to play with... Is there 
> anything like that around?
>
>
>
> On Nov 16, 2007 11:49 AM, Kirk Israel <[EMAIL PROTECTED]> wrote:
> > (Sorry, I should have added I found the September discussion, I 
> > wondered if there was a more elegant solution in the meanwhile...)
> >
> >
> > On Nov 16, 2007 11:45 AM, Kirk Israel <[EMAIL PROTECTED]> wrote:
> > > Is there a way to get a ModalWindow to open up along with its 
> > > underlying page? The usual show() takes an AjaxRequestTarget ...  
> > > I have at least one work around in mind (ripping out the 
> > > ModalWindow into a separate object so the launching page could 
> > > show it too) but it would be more elegant to just modify the 
> > > constructor so that it takes a boolean causing the page to start with the 
> > > dialog...
> > >
> > > Thanks!
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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


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

Reply via email to