Hi,
I noticed this code:

     <fd:datatype base="string">
<fd:convertor type="htmlcleaner" config="resource://org/apache/cocoon/forms/datatype/convertor/HtmlCleanerConfiguration.xml"/>
     </fd:datatype>

in the examples, what is it doing, is it doing what Peter was talking about or something else?

Cheers.
I had the same poblem some time ago and received the following reply from Jasha Joachimsthal (03/09/2007 19:09)

"The XMLSerializer closes all elements which leads to an unwanted result in case of textarea, script and some other elements that browsers can't handle when closed. You can make your own XSL that imports the cforms XSLs and override the template of the textarea. An other option is to use org.apache.cocoon.components.serializers.XHTMLSerializer. You may have to use the latest 2.1 branch code of this block, some issues have been fixed in the code the last few months."

I used the org.apache.cocoon.components.serializers.XHTMLSerializer from 2.1.10 and that fixed the problem

Regards

Peter



--
Kamal Bhatt


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to