Monday, May 9, 2011

Re: RichTextArea, SafeHtml, and general rich text best practices

I have tried to use the attached example but I am struggling with the
usage. First of all there is the class URLValidator used without any
import-statement, I guessed it could be the
org.apache.commons.validator.UrlValidator and I have imported this
one. This class can only be used at the server side, thus I can use
the sanitizer only at the server.
If I try to use it at the server I am having trouble with the
SafeHtmlBuilder, it is just throwing an exception out of the blue,
telling me that the class definition for the ParseException wasn't
found.

Any ideas?

On 5 Apr., 14:58, Patrice De Saint Steban
<patou.de.saint.ste...@gmail.com> wrote:
> Hello,
>
> I'm doing the same thing, and I write a new Sanitize class to accept more
> tags and parameters.
> I use this sanitizer before and after the setHtml() and getHtml() of the
> RichTextArea.
> I share the file in attachment, If there are some issues thanks to inform
> me.
>
> Patrice
>
>  ComplexeHtmlSanitizer.java
> 15KAnzeigenHerunterladen

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate