Hi *,

Sorry for reopening this.  I did all you suggested.


> Then in your page or panels or other components:
> add(HeaderContributor.forJavascript(JavaScript.CENTER_WINDOW));
> 

But how can i execute the javascript in that resource? I tried a
AttributeModifier, but couldn't center the window.

Can someone push me to the right direction (maybe an example)
Thanks
Per
-- 
View this message in context: 
http://www.nabble.com/Howto-center-new-window-on-screen--tf4520337.html#a13587788
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to