aspose file tools*
The moose likes JSF and the fly likes Working WYISWYG Editor for RichFaces 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Working WYISWYG Editor for RichFaces 4" Watch "Working WYISWYG Editor for RichFaces 4" New topic
Author

Working WYISWYG Editor for RichFaces 4

Hemant Gupta Hg
Greenhorn

Joined: Jan 23, 2011
Posts: 11
Hi

Can anyone tell me which WYISWYG editor can be used with RichFaces 4 and JSF 2? I am using TinyMCE but having problem updating text.

<h:inputTextarea id="content" style="width: 100%; height: 400px" value="#{someBean.saveData}" />

I am using this line with TinyMCE. The editor displays the content well, but when I try to edit and save the data, the updated data is not saved. Instead, the old data is saved again and again.

Please anyone help me out.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

There is a rich:editor tag in the current production release of RichFaces. It has built-in tinyMCE functionality and is a lot easier than attempting to manually add tinyMCE to the core JSF inputTextArea control.


Customer surveys are for companies who didn't pay proper attention to begin with.
Hemant Gupta Hg
Greenhorn

Joined: Jan 23, 2011
Posts: 11
I think they are not including the support for Rich:editor tag in RichFaces 4 as they did in 3.3 version.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Working WYISWYG Editor for RichFaces 4