ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bakker <mailingl...@antwebsystems.com>
Subject RE: Whizzywig
Date Sun, 11 Sep 2011 05:25:43 GMT
Have a look at the solution from Jacques....there the ofbiz selected
editor is used...why add something which is already there?

On Sun, 2011-09-11 at 06:27 +0200, Gavin Mabie wrote:
> Thanks Ruth.
> 
> I added allow-html="safe" to the attribute element and that resolved the
> issue.
> 
> Regards
> 
> Gavin
> 
> -----Original Message-----
> From: Ruth Hoffman [mailto:rhoffman@aesolves.com] 
> Sent: 10 September 2011 09:33 PM
> To: user@ofbiz.apache.org
> 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
> >
> >
> 

-- 
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Alternative ofbiz website: http://www.ofbiz.info
http://www.antwebsystems.com : Quality services for competitive rates.


Mime
View raw message