Hello,
According to this page: http://java.fckeditor.net/java-core/tagreference.html#FCK:config The FCK:config tag sets a config property of the editor and this tag can only be nested within an editor tag. To that end I coded the following:
<FCK:editor instanceName="EditorDefault" width="500px" > <jsp:attribute name="value">This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net">FCKeditor</a>. </jsp:attribute> <FCK:config ToolbarCanCollapse="false" /> </FCK:editor>
But accessing the jsp page results in:
15:11:35,856 ERROR [ContainerBase] Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /WEB-INF/pages/alert.jsp(122,4) Must use jsp:body to specify tag body for <FCK:editor if jsp:attribute is used.
What I'd ultimately like to do is set the Config("CustomConfigurationsPath") to a .js script file containing a custom toolbar and various other configuration options, but I can't even get this basic example to work. Your help would be greatly appreciated.
Thanks in advance,
Paula
Re: Java Integration Configuration via TAGLIB
Kindly ignore, I found the answer by downloading and expanding fckeditor-java-demo-2.4.1.zip. The samples there showed the syntax as:
I'll give that a try tomorrow.
Paula