2 Replies Latest reply on Jul 10, 2009 12:21 AM by Flo Gle

    Newbie question: Re-using EntityQuery based seam components

    Flo Gle Newbie


      i wonder how i can re-use a EntityQuery based component. I have one seam-gen generated component to list the content of a table in a paginated way. The constructor of the component calls:

      public CommandList() {

      That's OK, but somewhere else i need the same but the full table content. Without the setMaxResults(25). Can i set this value without having a html form interaction? I know, i could create a action button that sets the value, but i don't want the user have to do another klick.

      I could also create another class without the setMaxResults(25); but that would cause my brain to explode :-)