Re: Encoding from flowscript to component

2006-06-13 Thread Sébastien Chauvin
I mean the problem occurs in my component but i don't think it is because of my component. I think that the bean is already corrupted when my component receives it because my component method does nothing except getting an attribute value from the bean. I already wrote multiple components that

RE: Encoding from flowscript to component

2006-06-13 Thread Ard Schrijvers
I mean the problem occurs in my component but i don't think it is because of my component. I think that the bean is already corrupted when my component receives it because my component method does nothing except getting an attribute value from the bean. I already wrote multiple

Re: Encoding from flowscript to component

2006-06-13 Thread Sébastien Chauvin
Well for the moment we don't have the time to test it with another Coccon version. Ard Schrijvers wrote: I mean the problem occurs in my component but i don't think it is because of my component. I think that the bean is already corrupted when my component receives it because my component

RE: Encoding from flowscript to component

2006-06-12 Thread Ard Schrijvers
Think I am lost: I suppose cocoon.getComponent(myComponent.ROLE); gets a component you wrote yourself? I thought you might have made a mistake in there, but now you are saying it is not my component I am seriously confused Regards Ard It's not my component. If I do a myBean.getName() in

Re: Encoding from flowscript to component

2006-06-08 Thread Sébastien Chauvin
It's not my component. If I do a myBean.getName() in the flowscript for exemple, the string is well encoded. But if i do the same call in my component, the string is no more well encoded. I think it's more a problem with the Rhino layer when passing the objects from flowscript to java object.

RE: Encoding from flowscript to component

2006-06-07 Thread Ard Schrijvers
In your web.xml, you have the form-encoding configured correctly?? For example, init-param param-nameform-encoding/param-name param-valueutf8/param-value /init-param Regards Ard Hello, We are using Cocoon 2.1.9 (Windows XP/Tomcat 5.0.30 and Suse 9/Tomcat 5.0) and we have

Re: Encoding from flowscript to component

2006-06-07 Thread Sébastien Chauvin
Yes, the form encoding is well configured. We are able to retrieve correctly the accentuated characters from the form in the flowsript. The problem occurs when we pass the bean from the flowscript to the component. Ard Schrijvers wrote: In your web.xml, you have the form-encoding

RE: Encoding from flowscript to component

2006-06-07 Thread Ard Schrijvers
But is then theproblem not just in your myComponent? What does it do? Ard Yes, the form encoding is well configured.We are able to retrieve correctly the accentuated characters from the form in the flowsript.The problem occurs when we pass the bean from the flowscript to the

Encoding from flowscript to component

2006-06-02 Thread Sébastien Chauvin
Hello, We are using Cocoon 2.1.9 (Windows XP/Tomcat 5.0.30 and Suse 9/Tomcat 5.0) and we have a problem with the encoding when passing Java objects from the fowscript to an Avalon component. Here is a sample of our code: form.save(myBean); try { var myComponent =