0 Replies Latest reply on May 13, 2009 4:18 PM by peter irmstadt

    how to realize selection list

    peter irmstadt Newbie


      I have two Entity Beans, Article and ArticleList. The ArticleList contains a list of Article elements (what means that beween 0 and all Article elements are assigned to a ArticleList). An Article can be assigned to any ArticleList.

      My problem is the realizing of the user interface. I want to display a table that lists all Article elements. One column should be a checkbox that indicated whether the realted Article is assigned to the current list or not. It should be possible to (un)select several Articles at once.

      I don't know how to realize that. I could create two queries - one with the assigned and one with the not assigned Articles. But doesn't seem to be a good way. Additionally I don't know how to update the selection but to update every selection by its own.

      What would you propose how to design that?

      Thank you in advance!