Re: ModalWindow gotcha!

2009-02-02 Thread Daan van Etten


Op 1 feb 2009, om 21:51 heeft Timo Rantalaiho het volgende geschreven:


On Sun, 18 Jan 2009, Phillip Rhodes wrote:

Declaring the ModalWindow from a panel did not work.  The ModalWindow
would appear, but the ModalWindow contents (a panel) would be  
rendered

within the parent panel after the ModalWindow was closed.
If I declare the ModalWindow in a page, everything was fine.  I can
still invoke the ModalWindow from a panel, all is good.  For now, I  
am

going to declare all my ModalWindows at the page level,and pass these
as constructor arguments to my panels.


This sounds very strange, I think that your problem must
have been elsewhere. Please send a quickstart reproducing
the problem if you're interested in finding out more.

Adding a ModalWindow in a panel should be OK.


I can confirm this... we use ModalWindows all over the place.

- Daan

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



Re: ModalWindow gotcha!

2009-02-01 Thread Timo Rantalaiho
On Sun, 18 Jan 2009, Phillip Rhodes wrote:
 Declaring the ModalWindow from a panel did not work.  The ModalWindow  
 would appear, but the ModalWindow contents (a panel) would be rendered  
 within the parent panel after the ModalWindow was closed.
 If I declare the ModalWindow in a page, everything was fine.  I can  
 still invoke the ModalWindow from a panel, all is good.  For now, I am  
 going to declare all my ModalWindows at the page level,and pass these  
 as constructor arguments to my panels.

This sounds very strange, I think that your problem must 
have been elsewhere. Please send a quickstart reproducing 
the problem if you're interested in finding out more.

Adding a ModalWindow in a panel should be OK.

Best wishes,
Timo

-- 
Timo Rantalaiho   
Reaktor Innovations OyURL: http://www.ri.fi/ 

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



ModalWindow gotcha!

2009-01-18 Thread Phillip Rhodes

I have figured out why my ModalWindow was not working.

Declaring the ModalWindow from a panel did not work.  The ModalWindow  
would appear, but the ModalWindow contents (a panel) would be rendered  
within the parent panel after the ModalWindow was closed.
If I declare the ModalWindow in a page, everything was fine.  I can  
still invoke the ModalWindow from a panel, all is good.  For now, I am  
going to declare all my ModalWindows at the page level,and pass these  
as constructor arguments to my panels.


Can we add this as a limitation in the javadocs/faq for the  
ModelWindow?  If I saw this documented, it would have saved me a lot  
of time!


Thanks!






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