You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Yehya Mohamad <ye...@fit.fraunhofer.de> on 2006/03/31 09:29:52 UTC
Re: FCKEditor validation
Hi Tim,
I tried to work around the problem of saving of documents with
inside using FRED. Could you please tell more about your temporary
solution and which Javascript files you have changed in order to get it
working.
Regards
Yehya
Tim Hannigan wrote:
> Bob Harner- your work on FCKEditor (Fred) integration is nothing short
> of amazing.
> In my mind, this is a "make or break" for rolling out our pilot
> (Queen's University).
>
> I'm working on attempting to get the validation working - do you have
> any clues as where to look?
>
> As a temporary solution, I've gone into the Javascript paste code in
> FRED and added a text replace for common unsupported entities such as
>
> This is a hacky solution because I'd want to upgrade to future FRED
> versions by simply dropping it in the FCKEditor directory, but it's
> working somewhat well for now.
>
> I'm fairly new to Lenya, and I'm interesting to learn more about the
> underpinnings. In particular, I'd be interested in learning how
> FredSaveAction.java would validate against the schema. Is there a way
> to check for validation and send back to the editor (FRED) with a nice
> error msg?
>
> Thanks,
>
> -Tim
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: FCKEditor validation
Posted by Yehya Mohamad <ye...@fit.fraunhofer.de>.
Hi Tim,
This made my weekend :-) . I used FredSaveAction.java class in FCKeditor
and the save work now much better. thank you
Regards
Yehya
Tim Hannigan wrote:
> Hi Yehya,
>
> I've actually just updated the FredSaveAction.java class.
> As a result, the header of the produced file will contain
> "[<!ENTITY nbsp \" \">] >\n"
>
> Because TinyMCE is outputting character, this effectively
> allows works around that (the XSLT processor doesn't use but
> rather   ).
> In my next update to the implementation, I'll be configuring TinyMCE
> to produce straight   instead of
>
> I forgot to include this on the wiki, but I've updated both the wiki
> and the attachment this morning.
>
>
> -Tim
>
>
>
>
> On 31-Mar-06, at 2:29 AM, Yehya Mohamad wrote:
>
>> Hi Tim,
>>
>> I tried to work around the problem of saving of documents with
>> inside using FRED. Could you please tell more about your
>> temporary solution and which Javascript files you have changed in
>> order to get it working.
>>
>>
>> Regards
>>
>> Yehya
>>
>> Tim Hannigan wrote:
>>> Bob Harner- your work on FCKEditor (Fred) integration is nothing
>>> short of amazing.
>>> In my mind, this is a "make or break" for rolling out our pilot
>>> (Queen's University).
>>>
>>> I'm working on attempting to get the validation working - do you
>>> have any clues as where to look?
>>>
>>> As a temporary solution, I've gone into the Javascript paste code in
>>> FRED and added a text replace for common unsupported entities such
>>> as
>>> This is a hacky solution because I'd want to upgrade to future FRED
>>> versions by simply dropping it in the FCKEditor directory, but it's
>>> working somewhat well for now.
>>>
>>> I'm fairly new to Lenya, and I'm interesting to learn more about the
>>> underpinnings. In particular, I'd be interested in learning how
>>> FredSaveAction.java would validate against the schema. Is there a
>>> way to check for validation and send back to the editor (FRED) with
>>> a nice error msg?
>>>
>>> Thanks,
>>>
>>> -Tim
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: FCKEditor validation
Posted by Tim Hannigan <ti...@queensu.ca>.
Hi Yehya,
I've actually just updated the FredSaveAction.java class.
As a result, the header of the produced file will contain
"[<!ENTITY nbsp \" \">] >\n"
Because TinyMCE is outputting character, this effectively
allows works around that (the XSLT processor doesn't use but
rather   ).
In my next update to the implementation, I'll be configuring TinyMCE
to produce straight   instead of
I forgot to include this on the wiki, but I've updated both the wiki
and the attachment this morning.
-Tim
On 31-Mar-06, at 2:29 AM, Yehya Mohamad wrote:
> Hi Tim,
>
> I tried to work around the problem of saving of documents with
> inside using FRED. Could you please tell more about your
> temporary solution and which Javascript files you have changed in
> order to get it working.
>
>
> Regards
>
> Yehya
>
> Tim Hannigan wrote:
>> Bob Harner- your work on FCKEditor (Fred) integration is nothing
>> short of amazing.
>> In my mind, this is a "make or break" for rolling out our pilot
>> (Queen's University).
>>
>> I'm working on attempting to get the validation working - do you
>> have any clues as where to look?
>>
>> As a temporary solution, I've gone into the Javascript paste code
>> in FRED and added a text replace for common unsupported entities
>> such as
>> This is a hacky solution because I'd want to upgrade to future
>> FRED versions by simply dropping it in the FCKEditor directory,
>> but it's working somewhat well for now.
>>
>> I'm fairly new to Lenya, and I'm interesting to learn more about
>> the underpinnings. In particular, I'd be interested in learning
>> how FredSaveAction.java would validate against the schema. Is
>> there a way to check for validation and send back to the editor
>> (FRED) with a nice error msg?
>>
>> Thanks,
>>
>> -Tim
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org