my dog learned polymorphism*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 15632
    
  15

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Working WYISWYG Editor for RichFaces 4
 
Similar Threads
Portlet getting log off
Access is Denied error in IE 6, but works fine in Firefox 3.0.11
POST only sending first line of data
display richtext html entered with tinymce in table
Submit formatted text with JSP and TinyMCE