4 Replies Latest reply on Sep 27, 2007 12:42 PM by igx89

    How to use ConverterChain?

    Jonas Buechel Novice

      Can someone tell me how to use the ConverterChain class?

      My intention is to let seams EntityConverter convert my entities. If the entity to convert isn't an ejb entity though, my own Converter should be used.

      Is something like this possible?

      My xhtml code:

      <h:selectOneMenu id="#{fwcLabelMessageKey}"
       styleClass="fwc-input-select" value="#{fwcInputProperty}">
       <s:selectItems value="#{fwcInputDataModel}" var="object"
       noSelectionLabel="#{messages[fwcLabelMessageKeyNoSelection]}" />
       <s:convertEntity />

      I would think of something like this:
      <component name="fwcConverterChain" class="org.jboss.seam.ui.converter.ConverterChain"
       <property name="converters">

      But i know that's not the way it is..

      Can i use the ConverterChain only if i build my own UIComponents?