I have a trouble making search filter for manytoone relation for example i have to tables: users: id, name, surname, id_state states: id_state, name
they remain in relation manytoone on id_state. tables states contains values like "activated", "removed" etc. "Seam generate entities" creates nice form to view contens of db. i can search table using filter on id, name surname but i can't set it up to show me for ex. only activated users.
i tried to add restrictions in "userslist.java" but it doesn't work