|
Dialog
How to useSee example here: http://wiquery-examples-1-1-x.appspot.com/wicket:bookmarkablePage=:org.odlabs.wiquery.examples.dialog.DialogPage XHTML<div wicket:id="simpleDialog" style="display: none;"> Very very simple </div> JavaDialog simpleDialog = new Dialog("simpleDialog");
add(simpleDialog);OptionsSee http://docs.jquery.com/UI/Dialog TODO | |
► Sign in to add a comment
Examples cannot be downloaded
Not only that, but the examples war does not contain all source code files. Some important example classes, such as "DialogPage?.java" are missing.
How can I remove close button and title panel from dialog? I've tried to add css, but it seems this method do not provide any changes in div's elements?
@mrchia, To browse the sources, go to 'Source' then 'Browse' in the blue bar at the top.
@hodyakov, unfortunately WiQuery? seems to rely on JQuery to remove the close box. See DialogPage.java and scroll down to line 144 where you'll see this:
advancedDialog.setOpenEvent(JsScopeUiEvent.quickScope(new JsStatement(). self().chain("parents", "'.ui-dialog:first'"). chain("find", "'.ui-dialog-titlebar-close'"). chain("hide").render())); // When we open the dialog, we remove the close button // on the title :)