An enum converter is nice, but one step further we'd like to implement a 
javax.faces.convert.Converter that for its getAsObject does a query.  In 
contrast, the getAsString was easy.

Would be nice to use an @In EntityManager entityManager.

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?

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.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023347#4023347

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023347
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to