Hi.
You must make content visible manually since its done in show(ajaxtarget) method. So override makeVisible() method from modal window or just set getContent().setVisible(true) in onBeforeRender.

W dniu 2010-07-01 20:59, Pierre Goupil pisze:
Good evening,

I tried it but nothing shows. My Firebug gives this error:

either src or element must be set
I did use setContent()! Can anyone help, please?

Regards,

Pierre



On Thu, Jul 1, 2010 at 9:41 AM, Pierre Goupil<goupilpie...@gmail.com>wrote:

I'll give that a try, men. Thank you!

Regards,

Pierre




On Thu, Jul 1, 2010 at 8:21 AM, Stefan Lindner<lind...@visionet.de>wrote:

See ModalWindow.getWindowOpenJavascript() and use it like this

ModalWindow myModalWindow = new ModalWIndow......
someComponent.add(new SimpleAttributeModifier("onclick",
myModalWindow.getWindowOpenJavascript()));

I didn't try I but I think it should work like this.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



--
Les deux règles universelles du bide :

1) on n'explique pas un bide

2) dans le futur, un bide sera toujours un bide.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to