Re: [Xsltforms-support] No response on the CKEditor forums to question on encoding
Brought to you by:
alain-couthures
|
From: Claudius T. <cla...@ya...> - 2010-03-05 15:55:32
|
At this very moment, as agreed with Alain, I am implementing CKEditor in XSLTForms. I used the nice syntax pointed out by Leigh Klotz, with small modifications. An example is here http://kuberam.ro/webApps/apps/sitKubera/workingTests/ckeditor.xml?_indent=no I have only to solve the binding of data from CKEditor to the initial xf:textarea. As the base control for CKEditor is xf:textarea, which has a Single Node Binding, I am afraid that it would be not possible to sent the data entered through CKEditor as XML fragment (if needed), other than using an extra step for parsing data, as Alain said last night. I guess this can be done by creating a sort of "unserialize" XPath extension function. I take the opportunity of this message to ask for some advice from the community: 1. Leigh used a syntax like this appearance="ext:ckedit". Is this prefix "ext" necessary? If yes, which would be its namespace? 2. Which is the specific event to transfer the data from CKEditor to the initial xf:textarea. By default, CKEditor transfer it on submitting the respective form. Should we use this model, or refine it, namely by making that transfer before submit, so that the respective data node to be constantly updated? Claudius Teodorescu http://kuberam.ro |