My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Dialog  
Updated Nov 14, 2010 by roche....@gmail.com

How to use

See 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>

Java

Dialog simpleDialog = new Dialog("simpleDialog");
add(simpleDialog);

Options

See http://docs.jquery.com/UI/Dialog

TODO

Comment by ascheti...@gmail.com, Mar 17, 2010

Examples cannot be downloaded

Comment by mrc...@gmail.com, Apr 20, 2010

Not only that, but the examples war does not contain all source code files. Some important example classes, such as "DialogPage?.java" are missing.

Comment by hodya...@gmail.com, Jun 11, 2010

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?

Comment by spelud...@gmail.com, Sep 29, 2010

@mrchia, To browse the sources, go to 'Source' then 'Browse' in the blue bar at the top.

Comment by spelud...@gmail.com, Sep 29, 2010

@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 :)

Sign in to add a comment
Powered by Google Project Hosting