Re: How to change content in ModalWindow

2010-02-07 Thread Fernando Wermus
Colman [mailto:chr...@stepaheadsoftware.com] Sent: Tuesday, 26 January 2010 3:58 AM To: users@wicket.apache.org Subject: RE: How to change content in ModalWindow I tried that initially but calling modalContentWindow.show when there already is a ModalWindow being displayed creates a new

Re: How to change content in ModalWindow

2010-02-07 Thread Fernando Wermus
@wicket.apache.org Subject: RE: How to change content in ModalWindow I tried that initially but calling modalContentWindow.show when there already is a ModalWindow being displayed creates a new ModalWindow that sits over the top of the original one meaning I now have 2 windows that the user

RE: How to change content in ModalWindow

2010-02-07 Thread Chris Colman
...@stepaheadsoftware.com] Sent: Tuesday, 26 January 2010 3:58 AM To: users@wicket.apache.org Subject: RE: How to change content in ModalWindow I tried that initially but calling modalContentWindow.show when there already is a ModalWindow being displayed creates a new ModalWindow that sits over

Re: How to change content in ModalWindow - minor success!

2010-01-26 Thread Steve Swinsburg
update after show has been called? -Original Message- From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent: Tuesday, 26 January 2010 5:15 AM To: users@wicket.apache.org Subject: RE: How to change content in ModalWindow - minor success! Well I managed to get the panels

RE: How to change content in ModalWindow - minor success!

2010-01-26 Thread Chris Colman
...@stepaheadsoftware.com] Sent: Tuesday, 26 January 2010 5:15 AM To: users@wicket.apache.org Subject: RE: How to change content in ModalWindow - minor success! Well I managed to get the panels to replace without adding a new ModalWindow to the stack each time: replacePanel(Panel existingPanel, Panel

Re: How to change content in ModalWindow - minor success!

2010-01-26 Thread Martin Makundi
Hi! That's how I'm opening them but that's not the problem. The problem is once I have a ModalWindow open I want to switch the contents without the 'flicker' of shutting down the ModalWindow and opening up another one. For us we have done it just by replacing the content panel:

Re: How to change content in ModalWindow - minor success!

2010-01-26 Thread Martin Makundi
Hi! Actually no, we did not use setContent but we used modalWindow.replace(newContent); ** Martin 2010/1/27 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! That's how I'm opening them but that's not the problem. The problem is once I have a ModalWindow open I want to switch the

Re: How to change content in ModalWindow - minor success!

2010-01-26 Thread Steve Swinsburg
To: users@wicket.apache.org Subject: RE: How to change content in ModalWindow - minor success! Well I managed to get the panels to replace without adding a new ModalWindow to the stack each time: replacePanel(Panel existingPanel, Panel newPanel, String title, AjaxRequestTarget target

RE: How to change content in ModalWindow - minor success!

2010-01-26 Thread Chris Colman
. -Original Message- From: Steve Swinsburg [mailto:steve.swinsb...@gmail.com] Sent: Wednesday, 27 January 2010 4:53 PM To: users@wicket.apache.org Subject: Re: How to change content in ModalWindow - minor success! Ah I thought the 'create new account' check box was on the parent page

How to change content in ModalWindow

2010-01-25 Thread Chris Colman
Searching Nable shows this question has been asked before but there none of the solutions proposed there work for me. I have a link in PanelA that, when clicked, should cause PanelB to display in the same ModalWindow (PanelB replaced PanelA). The onClick event handler does something like the

Re: How to change content in ModalWindow

2010-01-25 Thread Olivier Bourgeois
Aren't you missing a : modalContentWindow.show(target) in the onClick callback ? 2010/1/25 Chris Colman chr...@stepaheadsoftware.com Searching Nable shows this question has been asked before but there none of the solutions proposed there work for me. I have a link in PanelA that, when

RE: How to change content in ModalWindow

2010-01-25 Thread Chris Colman
I tried that initially but calling modalContentWindow.show when there already is a ModalWindow being displayed creates a new ModalWindow that sits over the top of the original one meaning I now have 2 windows that the user has to close. My aim is to have only one ModalWindow but just switch its

RE: How to change content in ModalWindow

2010-01-25 Thread Chris Colman
. -Original Message- From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent: Tuesday, 26 January 2010 3:58 AM To: users@wicket.apache.org Subject: RE: How to change content in ModalWindow I tried that initially but calling modalContentWindow.show when there already is a ModalWindow

RE: How to change content in ModalWindow

2010-01-25 Thread Chris Colman
the form and bringing up a new form. -Original Message- From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent: Tuesday, 26 January 2010 3:58 AM To: users@wicket.apache.org Subject: RE: How to change content in ModalWindow I tried that initially but calling

RE: How to change content in ModalWindow - minor success!

2010-01-25 Thread Chris Colman
To: users@wicket.apache.org Subject: RE: How to change content in ModalWindow For this to work can I use Panels for the Modal content or do I need to use Pages for the content and set up a PageCreator? -Original Message- From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent

RE: How to change content in ModalWindow - minor success!

2010-01-25 Thread Chris Colman
January 2010 5:15 AM To: users@wicket.apache.org Subject: RE: How to change content in ModalWindow - minor success! Well I managed to get the panels to replace without adding a new ModalWindow to the stack each time: replacePanel(Panel existingPanel, Panel newPanel, String title