[jboss-user] [JBoss Seam] - Writing a custom converter which wraps EntityConverter

Newlukai do-not-reply at jboss.com
Thu May 31 08:01:42 EDT 2007


Hi,

I can't find any hint about this issue: I want to write a custom converter which wraps Seam's EntityConverter.

I've a drop-down list which should display several entities. Additionally it should contain some "custom entities" which describe a set of the real entities. Image these entities were priorities from 1 to 7. The custom entities should provide values "priorities < 3" and "priorities > 3". Those custom entities aren't persisted in the database so the EntityConverter isn't applicable here.

I had the idea to write a custom converter which delegates the noSelectionLabel and the real entities to EntityConverter and handles the custom entities itself.

But I can't find a document or somewhat that describes how I can do this. Could anyone help me?

Thanks in advance
Newlukai

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050110



More information about the jboss-user mailing list