This content has been marked as final. Show 2 replies
Question: What kind of component (with what annotations) would that have to be so it can be used as a javax.faces.convert.Converter and yet have a working @In EntityManager entityManager?
Take a look at the converters component in the seam ui example.
PS: If you didn't figure already, this is meant for a dynamic list in JSF, built from a list of entities that rarely but sometimes changes.
Or, just use the entityconverter (this is heading for Seam, I just need time to work on it a bit) linked off the wiki in combination with s:selectItems