You'll need to get your scoping correct here. I would add some manager component, which outjects a new entity query object when you hit search.
The EntityQuery (compare to EntityHome) is much harder to grasp in terms of how it works; in the absence of documentation. Is there any example even if psudo-code which shows how to pass jsf parameters values to EntityQuery, execute and outject it...
I too have a related need. I want to be able to provide a date range search on an Entity that has a due date field. It sounds like this can't be done with EntityQuery? I have to write a session bean and handle it that way?
I haven't reached reached searching by date yet, though perhaps in a week time; I guess I will face the same issue. please post your solution if you figure it out.
At the moment I am trying to workout how to search by parent record using SelectOneMenu for search. eg, selecting a user from the SelectOneMenu to search userActivityLogs.
griffitm - start a new topic for new subjects