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
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 Consulting
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 div element.
In your own .css