Hi all, I've recently started using wicket. I'm still examining the various ways to do things in order to decide how to go about and implement the UI.
I've noticed (trial and error) that if you have a modal window with a page content, it's not possible to pass values between the originating and the modal page by passing page objects around. It seems that you can do it by using PageReferences though. Could someone explain what is the different between passing a page object and a PageReference and when one should use a PageReference? On a related note, I tried to extend a ModalWindow so that the subclass contains an extra field (result), but this does not seem to be accessible in the close handler (actually it can be accessed but its value has been reset). Any ideas? Thanks Marios