1 Reply Latest reply on Oct 18, 2009 5:23 PM by Nicklas Karlsson

    Error setting value 'vati' for 'null Converter'

    valerio de minico Newbie

      Hi,
      I'm using a suggestion-box component related to a inputText one. When a submit the form jsf engine returns a converter error:



      sourceId=registrationForm:LocalitaDecoration:localita[severity=(ERROR 2), summary=(Conversion Error setting value 'vati' for 'null Converter'. ), detail=(Conversion Error setting value 'vati' for 'null Converter'. )]



      The xhtml code is:



      <s:decorate id="LocalitaDecoration"     template="layout/edit.xhtml">
                <ui:define name="label">Localita'</ui:define>
                  <h:inputText id="localita" value="#{attivita.localita}" converter="#{nullTextConverter}"/>
                    <rich:suggestionbox id="suggestionBoxLocalita" for="localita" var="loc"
                fetchValue="#{loc.nome}"      suggestionAction="#{regioneAction.selectLocalitaDinamically}" minChars="2">
                    <h:column>
                           <h:outputText value="#{loc.nome}" />
                    </h:column>
                </rich:suggestionbox>
           </s:decorate>
      



      I have defined the converter nullTextConverter but it is never called.


      Which could the problem????


      Thanks,
      Valerio.