5 Replies Latest reply on Jun 15, 2007 10:24 AM by Jens Weintraut

    Writing a custom converter which wraps EntityConverter

    Jens Weintraut Apprentice

      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