I've looked through some of the examples and tried some things myself, but I can't seem to get it working exactly the way I want... Ideally, I want this:
<fck:editor instanceName="fckEditor" value="#{news.content}" />
where news.content would reference the getContent() method of my news bean. When I do this, it literally gives me the text "#{news.content}" in the editor. Doh! Is there any way I can get this EL expression to evaluate (and then set the bean property when I submit the page)? If not, can I extend the tag lib and backing object and contrib back to the project? Or was this an intentional design decision?
<fck:editor instanceName="fckEditor" value="#{news.content}" />
where news.content would reference the getContent() method of my news bean. When I do this, it literally gives me the text "#{news.content}" in the editor. Doh! Is there any way I can get this EL expression to evaluate (and then set the bean property when I submit the page)? If not, can I extend the tag lib and backing object and contrib back to the project? Or was this an intentional design decision?
Re: Java (JSP) tags
<fck:editor instanceName="fckEditor" value="<%=news.getContent()%>" />,
and use <jsp:setProperty name="news" property="fckEditor" /> to retrieve the contents?
Regard my comment as SPAM, if it is absolutely rubbish, I don't have that much experience with jsp.
Re: Java (JSP) tags
this is a JSP tag not a JSF tag. I.e., only JSP EL is supported, not JSF EL. You have to set a JSP property with you JSF content and then you are able to refer to with ${someVariable}.
This workaround has been already discussed earlier, please search for.