0 Replies Latest reply on May 2, 2008 5:23 PM by manuel kallenbach

    Check whether Entity is in List on JSF

    manuel kallenbach Newbie


      is there a way to check, whether an entity is in a List(DataModel) on a JSF page?

      I'm writing something like ebay and want to have a Add To Favorites Button. That button should obviously only be displayed, if the product isn't already in the users favorites. How can I check, whether the List contains a product whith the same id?

      Hope that was understandable. You may have noticed I'm not a native english speaker :-)