Hi Andrea, Thanks for replying. But if I add only parent to the target then D1 goes but D2 is not appearing.
On Wed, Jul 27, 2011 at 2:28 PM, Andrea Del Bene <adelb...@ciseonweb.it>wrote: > Hi, > > try adding to ajaxRequestTarget the parent component instead of D1 and D2. > > > 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 >> >> > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@wicket.**apache.org<users-unsubscr...@wicket.apache.org> > For additional commands, e-mail: users-h...@wicket.apache.org > >