users@jsf-extensions.java.net

Re: Custom converter problem using dynafaces

From: castellano <c.gonzalezcastellano_at_yahoo.es>
Date: Fri, 25 Jan 2008 00:40:24 -0800 (PST)

Hello,

sorry, my fault. The problem is in the converter when i use the € character.

Thanks for your time.


Roger Kitain wrote:
>
> Any chance you can send the jsp or facelets page, faces-config.xml,
> converter, etc?
>
> castellano wrote:
>> Hi, i'm new in dynafaces and ajax and i have the next problem.
>> I have the next code
>> <jsfExt: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"/>
>> </jsfExt:ajaxZone>
>> <jsfExt:ajaxZone id="zone2" inspectElement="true" >
>> <h:inputText id="field2" value="#{someBean.zone2.field2}"
>> class="field" readonly="true"/>
>> </jsfExt: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?
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsf-extensions.dev.java.net
> For additional commands, e-mail: users-help_at_jsf-extensions.dev.java.net
>
>
>

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