So I think I managed to do it, by passing as a parameter of the panel's
constructor the object taking the data.
Thank you every one :)
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsub
The data is in the form's model.
I guess the easiest way to pass it to the rest of the Page is by using
Wicket events:
in YourModalWindowForm#onSubmit(AjaxRequestTarget) do:
MyDomainObject pojo = getModelObject();
send(getPage(). Broadcast.DEPTH, new YourSpecialEventPayload(target, pojo));
This
I see. Thank you. I did that.
But as I understand it, the content of my modalWindow is another page :
modalWindow.setContent(new
AjouterArticle(modalWindow.getContentId());
But then how do I get the data from this modal window ?
I'm sorry if my questions are stupid. But I don't u
Hi,
Use a modal window that is backed by a Panel.
Wicket-Extensions ModalWindow, Wicket-Bootstrap's Modal and
Wicket-JQuery-UI Dialog work this way.
A (modal) dialog is just a in the page that is positioned on top of
the other HTML elements via CSS.
Wicket-extensions' ModalWindow can also be ba
Hi!
Sorry, I'm not very clear.
What I wish to do :
a page with a button that opens a pop up window. In this pop up window, i
would like to have a form. The informations in this form (from the pop up)
will have to go back to the original page to be treated.
So I'm looking for the most efficient wa
Hi,
I'm afraid I didn't understand what count of classes you want to minimize.
Perhaps you want to collect inputs without a matching data class?
You can use a CompoundPropertyModel with a backing map for that.
Let us know more details.
Have fun
Sven
Am 31.08.2018 um 14:47 schrieb JavaTravele
Well, or does anyone know how to retrieve the data from the inputs of a panel
?
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
Right sorry.
A wicket modal window.
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wick
reff: Form in a modal window in only one class
>
> Hello everyone,
>
> I wanted to add a modal window with a form inside it on a page.
> But I'd like to do it in juste one class. Describe the modal window and then
> call it in one class.
>
> I can do it with two cl
Hello everyone,
I wanted to add a modal window with a form inside it on a page.
But I'd like to do it in juste one class. Describe the modal window and then
call it in one class.
I can do it with two classes, but I'm not satsfied by this solution.
Is there any way ?
Thanks in advance. And have
10 matches
Mail list logo