File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Validation for rich:editor using JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Validation for rich:editor using JavaScript" Watch "Validation for rich:editor using JavaScript" New topic

Validation for rich:editor using JavaScript

Raja Pam

Joined: Jan 04, 2011
Posts: 19

I'm using rich:editor for one of the fields.
when i try to perform JS Validation check, its value is always found as undefined.
Please help.
I tried to refer the field as foloows:

Can any one please help ? It is an issue which i need to close asap.
please please
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

I think that there are some rich:editor attributes and/or support methods that will do what you want in a more control-friendly way. The Rich Editor is actually a complex control based on a non-JSF version of a rich text editor, so just treating it like a TextArea control won't work.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Validation for rich:editor using JavaScript
It's not a secret anymore!