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ș" wrote:
> This is not the java script nor the jQ
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 AjaxFall
So what's stopping you from doing so again?
You simply keep the same conditions, if not logged you show the modal pop-up
with the authentication form. User clicks submit on the login form and inside
the onSubmit() of the form/button you run your authentication and if it passes
you post the data
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-tp4660
Paul -
That is how I am doing it. But I want the buttons to always appear even if not
logged in. Then when clicked a modal is shown to login through a form and then
the button action is finally executed.
On Sunday, July 14, 2013 at 1:15 AM, Paul Bors wrote:
> Keep a flag in your customized