RE: repaint content of modalwindow

2010-09-17 Thread Chris Colman
That works really well, thanks! Chris -Original Message- From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Sent: Thursday, 16 September 2010 6:03 PM To: users@wicket.apache.org Subject: Re: repaint content of modalwindow I would use a div. div wicket:id=context div

Re: repaint content of modalwindow

2010-09-16 Thread Ernesto Reinaldo Barreiro
Isn't it enough to: 1-put a the contents of your modal A in a WebMapkupContainer X (with X.setOutputMarkupId(true)) 2-update the contents of X (X.addOrReplace(new content)) 3- and do ajaxRequestTarget.addComponent(X) ? Regards, Ernesto On Thu, Sep 16, 2010 at 4:26 AM, Chris Colman

RE: repaint content of modalwindow

2010-09-16 Thread Chris Colman
] Sent: Thursday, 16 September 2010 4:43 PM To: users@wicket.apache.org Subject: Re: repaint content of modalwindow Isn't it enough to: 1-put a the contents of your modal A in a WebMapkupContainer X (with X.setOutputMarkupId(true)) 2-update the contents of X (X.addOrReplace(new content)) 3- and do

Re: repaint content of modalwindow

2010-09-16 Thread Ernesto Reinaldo Barreiro
? -Original Message- From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Sent: Thursday, 16 September 2010 4:43 PM To: users@wicket.apache.org Subject: Re: repaint content of modalwindow Isn't it enough to: 1-put a the contents of your modal A in a WebMapkupContainer X

RE: repaint content of modalwindow

2010-09-15 Thread Chris Colman
I am using modalwindow its content is a fragment. On ajxaRequest I want to repaint the content of modal window please tell me how can I do this ? I have a similar request: Modal Form A opens Modal Form B. When B is Ok'd and closes I want to repaint the contents of Form A because they can