1 Reply Latest reply on Aug 2, 2007 1:04 PM by Ukie_239

    Clearing content in a repeater

    Ukie_239 Level 1
      I have a cart component that reads an array in the shared object and those items are displayed in a summary cart using a repeater. The objects in the repeater are also a custom component. This occurs when the user clicks the cart button. If I click on a product category and then the cart button again, i want the old items removed and then the cart items in the repeater recreated. Instead, the old items stay and the new items show up as well. Therefore I get duplication each time I click the cart button. I cannot seem to remove those old items.

      When I go in a for in loop, no items show in the repeater.