Thanks Ruth.

I added allow-html="safe" to the attribute element and that resolved the
issue.

Regards

Gavin

-----Original Message-----
From: Ruth Hoffman [mailto:[email protected]] 
Sent: 10 September 2011 09:33 PM
To: [email protected]
Subject: Re: Whizzywig

Hi Gavin:
Not sure if this is your problem or not, but I had a similar issue with 
email message content. The solution was to change the attribute(s) on 
the Service(s) used from something like:

<attribute name="textArea" type="String" mode="IN" optional="true" 
allow-html="safe"/>
to:
<attribute name="textArea" type="String" mode="IN" optional="true" 
allow-html="any"/>

There was something in the pasted text (a hidden character or something 
that the OFBiz HTML Service validation didn't like.)

Of course, this assumes that you are calling a Service on the backend 
and not processing the form some other way :-)

So, to make this change you have to figure out which Service is being 
called when your form's textarea is being processed on the backend.

Best of luck.
Ruth

On 9/10/11 12:53 PM, Gavin Mabie wrote:
> Hi
>
>
>
> I am trying to attac a visual-editor (Whizzywig from Unverse) to a
textArea
> field.  It works fine when I type directly into the input box.  The
problem
> starts when I try to paste text from any other editor (including Notepad
> unformatted) into it.  Ofbiz throws an error "<  greater and less-than>"
> symbols not allowed when it tries to validate the field.  I have tried
> various clean it tools - but it does not work.  The Unverse website is not
> helpful either.  Any ideas?
>
>
>
> Regards
>
>
>
> Gavin
>
>

Reply via email to