This content has been marked as final.
Show 3 replies
-
1. Re: Rich input
meetoblivion Sep 27, 2008 6:10 AM (in response to bashan)if you use icefaces, they have a tag
inputRichText
that is FCK editor wrapped in a JSF control. Richfaces has it coming in 3.3 (whenever that comes out...) -
2. Re: Rich input
meetoblivion Sep 28, 2008 11:06 PM (in response to bashan)Not sure if you're still looking, but you can in fact embed tiny mce in the current iterations of richfaces, by doing something like this:
Javascript:
<script stype="text/javascript" src="/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
editor_selector : "mceAdvanced"
});
</script>Control definition:
<h:inputTextarea id="bodyText" value="#{post.bodyText}" class="mceAdvanced" required="true" width="100%" />I was surprised it worked so easily.
-
3. Re: Rich input
bashan Oct 2, 2008 3:41 PM (in response to bashan)Thanks,
I embeded it very easily. Looks nice and neat.