i have a question: how can i comunicate between panels in wicket?

my application contains a frameset of 2 pages, each of these has a
tabbedPanel containing many panels:
----------------structure--------------

                         APP
       PAGE1                         PAG2
panel panel panel        panel panel panel

---------------------------------------

what is a good solution?
MY solution is to:

1)extends WicketSession and implements get/set methods to retrieve insances
of these panels
2)use it:

   Panel donald = ( (MySession) panel.getSession() ).getPanel('donaldduck');

so i can retrieve insance of foo panel everywhere and use its public
methods.

IS A CORRECT SOLUTION?
and then... PUTTING PANELS INSTANCES IN SESSION is a bad implementation
about MEMORY AND wicket SERIALIZATION ?

There is a BEST SOLUTION? that i don't know
Thanks.

-- 
View this message in context: 
http://www.nabble.com/comunication-between-panels-tp15542127p15542127.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to