Hi!
> Yeah, but then I would create new panel for every single click on that
> link. I know it's a bit edge-case, but still... So I can't achieve this
> without some own initialization logic?
You don't need to create new panel, just use lazy initialization.
modalWidnow.setContent(getContentPanel());
getContentPanel() {
if (contentPanel == null) {
contentpanel = new ...
}
return contentPanel;
}
**
Martin
>
> Thanks for your replies.
>
> Regards,
> Peter
>
> 2010-10-30 16:48 keltezéssel, Alexander Morozov írta:
>>
>> You can set content for modal within onClick method.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]