[jboss-user] [JBoss Seam] - a javax.faces.convert.Converter that is a Seam component ?
codelion
do-not-reply at jboss.com
Tue Feb 27 17:58:27 EST 2007
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
More information about the jboss-user
mailing list