Hi,

On Mon, May 11, 2015 at 11:49 AM, Andreas <[email protected]> wrote:

> Can't refresh a repeater component after removing an item.
> Error:
> /Last cause: Component com.shop.ShoppingCartPanel$1 has been added to the
> target. This component is a repeater and cannot be repainted via ajax
> directly. Instead add its parent or another markup container higher in the
> hierarchy./
>
> Who is the parent for the cartcomponent? A *Panel*? But using
> *target.add(this)*; is also giving an error.
>

You might need to qualify this with a name: MyPanel.this and also make sure
your panel call setOutputMarkupId(true)

>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Refreshing-a-repeater-component-via-ajax-tp4670710.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Regards - Ernesto Reinaldo Barreiro

Reply via email to