Re: ModalWindow - full screen

2014-10-21 Thread Martin Grigorov
Hi, I see two ways to do it then: 1) ModalWindow#setMarkupId("myFullscreenId"); $("#myFullscreenId") 2) $(".OWN_CLASS_NAME").closest("div) both gives you a reference to the div.modal-window. >From there on you can manipulate it to make it fullscreen. Martin Grigorov Wicket Training and Consu

Re: ModalWindow - full screen

2014-10-21 Thread Marieke Vandamme
Hi, We've tried your proposal, but it doesn't work, because the setCssClassName doesn't apply to the div that needs to be resized. In code underneath you can see the structure. The class should be place on the div that now has wicket-modal, but this is not possible, or is it? - cannot depend on el

Re: ModalWindow - full screen

2014-10-14 Thread Martin Grigorov
Hi, With #setCssClassName() ( https://github.com/apache/wicket/blob/master/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.java#L513) you can set your custom CSS class that should be applied on the main modal window element. In your own .css file yo

ModalWindow - full screen

2014-10-14 Thread Marieke Vandamme
Hi, I know you can set initial width and height for a modalwindow, but we now get the requirement to open it full screen. Is this something built in already, or has somebody done this before? Thanks ! Kind Regards, Marieke Vandamme -- DISCLAIMER http://www.tvh.com/glob/en/email-dis