Thank you so much Sebastien and Sven!  Sebastien I altered my actual code to
put the panel on the LDM and it didn't work on the initial try.  The problem
with the illegal state exception I was having seems to happen if you
construct your components in the panel constructor instead of the
onInitialize method.  Once I made sure everything was using the onInitialize
method the panel.getPage() method started working presumably because the
onInitialize of the panel triggers the LDM load after the panel is
officially added to the page.

Next I'm going to try to phase out the panel member variable on the LDM by
using MyPanel.this.getPage() instead.  This should work and then I can be
sure that I'm not serializing the panel with the LDM.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Access-to-Page-from-LoadableDetachableModel-tp4649586p4649601.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to