Hi, In addition, wicket-jquery-ui provides a confirmation button (ConfirmButton / ConfirmAjaxButton) which already handles a confirmation jQuery UI dialog. http://www.7thweb.net/wicket-jquery-ui/button/ConfirmButtonPage
If you need inspiration on how jQuery UI dialog's buttons are handled, you can have a look at: https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui/src/main/java/com/googlecode/wicket/jquery/ui/widget/dialog/DialogBehavior.java Best regards, Sebastien. On Mon, Jul 15, 2013 at 5:51 AM, Paul Borș <p...@bors.ws> wrote: > Sorry my mail client just caught your original post too. > For the dialog, you want a modal window. Example at: > http://www.wicket-library.com/wicket-examples/ajax/modal-window > > Have a great day, > Paul Bors > > On Jul 14, 2013, at 11:48 PM, "Paul Borș" <p...@bors.ws> wrote: > > > This is not the java script nor the jQuery mailing list. If you use > those technologies then you should pick up a book or two on them and get > familiar with them. > > > > In the mid time, Wicket is awesome in that it makes things simple for > the developer. Try using an AjaxButton or better yet an AjaxFallbackButton. > See the java doc at: > > > http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/ajax/markup/html/form/AjaxButton.html > > > > > http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/ajax/markup/html/form/AjaxFallbackButton.html > > > > For examples see Wicket's website or direct link: > > http://www.wicket-library.com/wicket-examples/ajax/form > > > > And if you Google this will pop-up too: > > http://www.7thweb.net/wicket-jquery-ui/button/AjaxButtonPage > > > > Have a great day, > > Paul Bors > > > > On Jul 14, 2013, at 6:29 PM, fachhoch <fachh...@gmail.com> wrote: > > > >> I am not java script expert please advice is there anything wrong > with the > >> script ? sdimilar script works for ajax link but for submit buttons > its > >> not please advice . > >> Thanks > >> > >> > >> > >> > >> -- > >> View this message in context: > http://apache-wicket.1842946.n4.nabble.com/jquery-dialog-onclick-AjaxButton-tp4660124p4660262.html > >> Sent from the Users forum mailing list archive at Nabble.com. > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> >