2 Replies Latest reply on Sep 5, 2011 3:30 PM by gebuh

    Query (date in the past,future)

    Michał M. Newbie

      Hello all,


      I'a a newbie in Seam. I've generated project with seam-gen (entities from DB). The scaffold is working (searching, adding new records etc.).
      Now I want do make a new pages: listing all records from DB, but filtered by date - i.e. the entity has a startDate property. I want to make 2 pages, the first one with records filtered by the date in the past, and the second with that date set in the future.


      Should I add that condiotion to the RESTRICTIONS string? I've tried 'gt' but it doesn't work, additionally all examples covers only 'like' condition...


      Could you give me any hints?


      Regards,
      Michal