• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there a way to insert a JSF/Richfaces component into rich:editor?

 
Boris Golman
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone. I am developing a web-based application, using Richfaces for a front-end, that allows users to create templates for certain documents. For example: the user is presented with a rich:editor component, which, perhaps, has certain text already typed in, but it also has an input for a date, or specific text. The date can be entered in rich:calendar, the text can be entered in rich:inplaceInput, but the main idea is to be able to place those components INSIDE the rich:editor. I was trying to find an example where it's used and couldn't. So, my question is: is it even possible? Can you place RichFaces components into rich:editor? If not, is there a something similar out there that allows the user to do this?

Thanks for your help
 
Tim Holloway
Bartender
Posts: 18417
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't even think about it!

The rich:editor is actually a wrapper around an opensource rich text editing component (whose name I forget) that combines an HTML TEXTAREA control in cahoots with various other friends and a copious amount of JavaScript.

Wading through the JavaScript would be bad enough, but the ultimate limiting factor is that no HTML INPUT control can nest another control inside it, whether the platform is a Java platform (like JSF) or not.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!