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 <ttej...@educator.eu> wrote:
> Hi Martin,
>
> It is a panel.
>
> On Wed, Jul 27, 2011 at 3:45 PM, Martin Grigorov <mgrigo...@apache.org>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 <ttej...@educator.eu>
>> 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: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to