Hello,
I know this is a long overdue thread, but could you please explain how you
did it?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-send-a-Java-object-to-the-ModalWindow-tp2312589p4675862.html
Sent from the Users forum mailing list archive at Nabble.com.
Thanks Martin,
>modalwindowcontent.setpropervalue(xx);
That's what I have tried first, but for some reason it didn't worked than so
I started to work on some other more complex solution.
Now I turned again to this simple idea and it works.
Zoran
--
View this message in context:
http://apache
Hi!
> I'm using dynamic objects. In the first way based on the some event (e.g.
> tree node selection) I want to setup this MagicObject in home page, and then
> to show panel. Between these two there should be a call of getMagicObject()
> from the panel.
> How can I set this happen in appropriate
Hi Martin,
I'm using dynamic objects. In the first way based on the some event (e.g.
tree node selection) I want to setup this MagicObject in home page, and then
to show panel. Between these two there should be a call of getMagicObject()
from the panel.
How can I set this happen in appropriate m
There are many ways. This is one way:
modalWindow.setContent(new MyPanel(modalWindow.getContentId()) {
@Override
public MagicObject getMagicObject() {
return magicObject;
}
});
Also you can just pass your java object as parameter to myPanel or if
it is dynamic you can wrap it int