replace it with dummy one that renders nothing

2011/1/10 Altuğ Bilgin Altıntaş <alt...@gmail.com>

> Thanks. Also i want to know if i remove an component from Java side
>
> final WebMarkupContainer delete = new WebMarkupContainer("delete");
> add (delete )
>
> after than
>
> remove(delete );
>
> gives error because on html side tag is still there.
>
> How to remove a component without markup error.
>
> Thanks.
>
>
> 2011/1/10 Martin Grigorov <mgrigo...@apache.org>
>
> > Component#remove(behavior)
> > you need to keep a reference to the behavior or you may iterate over the
> > behavior and remove the one that match your criteria
> >
> > 2011/1/10 Altuğ Bilgin Altıntaş <alt...@gmail.com>
> >
> > > Hi,
> > >
> > > Java code:
> > >
> > > final WebMarkupContainer delete = new WebMarkupContainer("delete");
> > > delete.setOutputMarkupPlaceholderTag(true);
> > > delete.add(new SimpleAttributeModifier("filter", "false"));
> > >
> > > html :
> > >
> > > <th wicket:id="delete"> </th>
> > >
> > > then after i want to remove SimpleAttributeModifier - filter" from
> > > WebMarkupContainer - delete,
> > >
> > > Are there any way to to this ?
> > >
> > > Thanks.
> > >
> > > --
> > > *Altuğ*
> > > ** <http://www.kodcu.com>
> > >
> >
>
>
>
> --
> *Altuğ*
> *www.kodcu.com* <http://www.kodcu.com>**
>

Reply via email to