users@jsf-extensions.java.net

Custom converter problem using dynafaces

From: castellano <c.gonzalezcastellano_at_yahoo.es>
Date: Mon, 21 Jan 2008 06:55:01 -0800 (PST)

Hi, i'm new in dynafaces and ajax and i have the next problem.
I have the next code
   <df:ajaxZone id="zone1" inspectElement="true">
      <h:inputText id="field1" value="#{someBean.field1}"
          onchange="DynaFaces.fireAjaxTransaction(this, { render:
'test:zone2, test:zone1:field1', execute: 'test:zone1:field1'}); return
false;"
>
          <f:validator validatorId="field1Validator"/>
       </h:inputText>
       <h:message id="mensaje-field1" for="field1"/>
    </df:ajaxZone>
    <df:ajaxZone id="zone2" inspectElement="true" >
       <h:inputText id="field2" value="#{someBean.zone2.field2}"
class="field" readonly="true"/>
     </df:ajaxZone>

This code works fine, but if i i define a custom converter for the field 2
as follow
  <converter>
        <converter-for-class>classField2</converter-for-class>
        <converter-class> classConverterField2 </converter-class>
   </converter>

Then the field2 is not refresh anymore when the field1 value is changed. If
the page is refresh the values of the fields are ok and the converter works
propertly.

Anyone has any idea?


-- 
View this message in context: http://www.nabble.com/Custom-converter-problem-using-dynafaces-tp14998760p14998760.html
Sent from the jsf-extensions users mailing list archive at Nabble.com.