See org.apache.wicket.Component.replaceWith(Component) javadoc. It says: Usage: <code>component = component.replaceWith(replacement);</code>
On Wed, Jul 27, 2011 at 1:34 PM, Tejash Tarun <[email protected]> wrote: > Hi Martin, > > It is a panel. > > On Wed, Jul 27, 2011 at 3:45 PM, Martin Grigorov <[email protected]>wrote: > >> What is the type of this DialogBox ? Is it a Panel or a ModalWindow? >> >> On Wed, Jul 27, 2011 at 11:34 AM, Tejash Tarun <[email protected]> >> wrote: >> > Hi, >> > >> > In my page I have two dialog box say D1 and D2. >> > >> > When clicking some link D1 should come, and it is happening. It is a >> > confirmation dialog box. >> > >> > Now when I click ok button in D1 then D2 should be shown by replacing D1. >> > >> > code is >> > >> > D1.replaceWith(D2); >> > ajaxRequestTarget.add(D1); >> > ajaxRequestTarget.add(D2); >> > >> > But nothing is happening on the screen. >> > >> > Looking forward for some suggestions and answer. >> > Thanks in advance. >> > >> > Regards, >> > Tejash >> > >> >> >> >> -- >> Martin Grigorov >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
