Hello
I'm building a java webapp (a lightweight CMS) using FCKeditor as the WYSIWYG editor. I'm using Stripes as the Web framework.
My problem is that the editor isn't showing the content I load using the JSTL <c:out> tag.
Here is the JSP code (I'm using Sitemesh also (a template generator) so its normal that the <html> tags are missing):
*****START JSP CODE*****
<%@ include file="/common/taglibs.jsp"%>
<head>
<title>
<fmt:message key="editor.title"/>
</title>
</head>
<body>
<div class="container">
<h1><fmt:message key="editor.heading"/></h1>
<s:errors globalErrorsOnly="true"/>
<s:form action="noticia.action" focus="first" method="post">
<s:errors/>
<s:wizard-fields/>
<div class="label_container">
<s:label for="editorContent"/>
<FCK:editor
basePath="/FCKeditor/"
id="editorContent"
width="92%"
height="450px"
toolbarSet="Default"
skinPath="/FCKeditor/editor/skins/silver/">
<c:out value="${actionBean.editorContent}"/>
</FCK:editor>
</div>
<s:submit name="irAlPaso3">
<fmt:message key="next"/>
</s:submit>
</s:form>
</div>
</body>
*****END JSP CODE*****
Thanks
I'm building a java webapp (a lightweight CMS) using FCKeditor as the WYSIWYG editor. I'm using Stripes as the Web framework.
My problem is that the editor isn't showing the content I load using the JSTL <c:out> tag.
Here is the JSP code (I'm using Sitemesh also (a template generator) so its normal that the <html> tags are missing):
*****START JSP CODE*****
<%@ include file="/common/taglibs.jsp"%>
<head>
<title>
<fmt:message key="editor.title"/>
</title>
</head>
<body>
<div class="container">
<h1><fmt:message key="editor.heading"/></h1>
<s:errors globalErrorsOnly="true"/>
<s:form action="noticia.action" focus="first" method="post">
<s:errors/>
<s:wizard-fields/>
<div class="label_container">
<s:label for="editorContent"/>
<FCK:editor
basePath="/FCKeditor/"
id="editorContent"
width="92%"
height="450px"
toolbarSet="Default"
skinPath="/FCKeditor/editor/skins/silver/">
<c:out value="${actionBean.editorContent}"/>
</FCK:editor>
</div>
<s:submit name="irAlPaso3">
<fmt:message key="next"/>
</s:submit>
</s:form>
</div>
</body>
*****END JSP CODE*****
Thanks