我的新闻设计思路:使用fck生成一条新闻,新闻的内容content使用velocity模板生成了newsid.shtml页面,这个页面保存在/news/content/**.shtml里面。
现在新闻可以正常访问,不过想要修改新闻内容的话新闻内容需要回显在fckeditor中,这点不知道怎么实现,如果有哪位高手碰到过这个问题,又刚好解决了,还请多多赐教!
新闻修改页面引用fckeditor方式是通过标签引用<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %><tr bgcolor="f5f5f5">
<td width="25%" valign="top"> <div align="right">新闻内容<font color="#FF0000">*</font> :</div></td>
<td width="75%">
<FCK:editor instanceName="content" basePath="/fckeditor" value=" " height="500" width="800">
</FCK:editor></td>
</tr>
现在新闻可以正常访问,不过想要修改新闻内容的话新闻内容需要回显在fckeditor中,这点不知道怎么实现,如果有哪位高手碰到过这个问题,又刚好解决了,还请多多赐教!
新闻修改页面引用fckeditor方式是通过标签引用<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %><tr bgcolor="f5f5f5">
<td width="25%" valign="top"> <div align="right">新闻内容<font color="#FF0000">*</font> :</div></td>
<td width="75%">
<FCK:editor instanceName="content" basePath="/fckeditor" value=" " height="500" width="800">
</FCK:editor></td>
</tr>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货