6 Replies Latest reply on Aug 21, 2007 8:13 AM by Pete Muir

    h:selectManyCheckbox replaces PersistentBag with Arrays.Arra

    Gena Newbie

      Hi

      During em.merge( ) operation i'm getting an exception, because the Arrays.ArrayList doesn't provide the AbstractList.remove functionality.

      As the collection was retrieved from DB, it was an instance of PersistentBag. After form submission it becomes Arrays.ArrayList. So someone (h:selectManyCheckbox ?) did replace the collection! Is it a known issue? Does someone have a workaround or its simple (as usual) my mistake?

      Thanks, Gena

      PS. I'm using JSF 1.2_04 P01 + latest facelets (from seam-cvs)