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

2010-01-26 Thread Chris Colman
rk either for some reason. > -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 &#

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

2010-01-26 Thread Steve Swinsburg
t; the initial ModalWindow.show has been called. >>> >>> Is there any way to trigger a title update after show has been > called? >>> >>>> -Original Message- >>>> From: Chris Colman [mailto:chr...@stepaheadsoftware.com] >>

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 : > 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'

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: modalWindow

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

2010-01-26 Thread Chris Colman
rigger a title 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 c

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

2010-01-26 Thread Steve Swinsburg
o trigger a title 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 ModalWi

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

2010-01-25 Thread Chris Colman
: 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

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

2010-01-25 Thread Chris Colman
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) { existingPanel.replaceWith(newPanel); newPanel.setOutputMarkupId(true); modalCont