Yes, I use this approach in conjunction to an ajax action to refresh/create
UI components in response  to user interaction.


Paolo

On Jan 3, 2008 7:43 AM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote:

> On Wed, 02 Jan 2008, Paolo Di Tommaso wrote:
> > An easy trick to avoid this is to use a Panel/Fragment instantiating
> just a
> > WebMarkupContainer when you don't want to display/create the full
> component.
>
> Ah, you mean something like
>
>  add(new WebmarkupContainer("myComplexComponent"));
>
> at construction and then later on
>
>  replace(new MyComplexComponent("myComplexComponent"))
>
> ?
>
> That's an interesting idea, thanks!
>
> Best wishes,
> Timo
>
> --
> Timo Rantalaiho
> Reaktor Innovations Oy    <URL: http://www.ri.fi/ >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to