-------------------------------------------------
FCKeditor - JSP Integration Pack ver 2.1
-------------------------------------------------
---------------
Contents:
---------------
1 - Preface
2 - Installation
3 - Usage
4 - Building
5 - Future plans
6 - Further information and support
7 - History
--------------------
1 - Preface
--------------------
This is the JSP Integration Pack for using FCKeditor inside a java server page without
the complexity of using a Java scriptlets or the javascript api.
I hope you find it usefull.
This package contains just the integration library. To setup a full working environment
you need to download the latest version of FCKEditor
(http://sourceforge.net/project/showfiles.php?group_id=75348&package_id=75845)
--------------------
2 - Installation
--------------------
Installing FCKeditor in a JSP environment is quite easy:
- Unzip the Java Integration Library in a directory named "FCKeditor"
- Unzip the content of the FCKEditor release of your choise inside the "FCKeditor\web" folder
- then you have to create in tomcat (or any servlet container) a new context named "FCKeditor"
that points to the previously created "FCKeditor\web" folder
- point your browser to http://domainName.ext/FCKeditor/_samples/default.jsp for the list of
the samples
--------------------
3 - Usage
--------------------
Take a look at the test files and in the javadoc api provided in the distribution.
Anyway, for the lazy ones, here is a simple example
First put this taglib definiton at the top of the JSP page
<%@ taglib uri="http://fckeditor.net/tags-fckeditor" prefix="FCK" %>
then the tag:
<FCK:editor
id="EditorAccessibility" //Unique name of the editor
width="80%" //Width
height="120" //Height
toolbarSet="Accessibility" //Toolbar name
>This is another test. <BR><B>The "Second" row.</B></FCK:editor>
A more advance example, that show how to use the inner tags to overrides any of the settings specified in
the config.js file
<FCK:editor id="EditorDefault" basePath="/FCKeditor/"
styleNames=";Style 1;Style 2; Style 3"
fontNames=";Arial;Courier New;Times New Roman;Verdana" >
This is some <B>sample text</B>.
</FCK:editor>
--------------------
4 - Building
--------------------
Inside the files there is the source files for the tags (/src) and the ant build file (build.xml)
The ant build file provides the following tasks:
- all: Clean build and dist directories, then compile
- clean: Delete old build and dist directories
- compile: Compile Java sources
- dist: Create binary distribution
- javadoc: Create Javadoc API documentation
- release: Create Release Distribution
Plus some Tomcat managing tasks (to make this tasks work you need to copy inside the "web" folder the FCKeditor package):
- install: Create a web application pointing to the build directory
- reload: Recompiles and reload the web application
- remove: remove the web application
To start building the class you first need to modify the "catalina.home" property inside the build.xml,
then type "ant dist" to compile, create the javadoc API description and generate the jar library to be copied in the WEB-INF.
Or more easily, type "ant install" after setting the right username and password for the tomcat manager application.
--------------------
5 - Future plans
--------------------
* Integrate with Struts (so that FCKeditor can retrive and pass informations from Form Beans)
--------------------
6 - Further informations and support
--------------------
For further informations refers to http://www.fckeditor.net/
For support specific with this JSP integration taglib send an email to simo@users.sourceforge.net
--------------------
7 - History
--------------------
2.2 - 2005/06/21 - Summer Edition
TAGLIB:
- Fixes the following bugs:
[ 1200635 ] TLD fails when running under Resin app server
[ 1200085 ] Opera Browser is detected incorrectly
[ 1190264 ] NullPointerException in FCKeditor.isCompatible()
[ 1190239 ] calling FCKeditor.create() multiple times corrupts content
2.1 - 2005/03/29
- Changed naming of the package
- Provides just the jsp files, without the full editor as the previous versions
TAGLIB:
- Made the taglib similar to the .NET custom tag, so:
* Added all attributes available for the .NET integration package
(almost all custom config)
* Removed the "config" tag
CONNECTOR:
- Added "debug" init-parameter for the connector
SAMPLES:
- Implemented all sample files provided by the javascript version
- Samples now work out-of-the-box, since the connector configuration is set inside the tag
2.0b2 (1.0 beta 2 for 2.0b2) - 2004/11/03
- Fixes the following bugs:
[ 1058945 ] user-agent parsing exception
[ 1032971 ] Browserversion of Mozilla: StringIndexOutOfBoundsException
2.0b1 (1.0 beta 1 for 2.0b2) - 2004/09/13
- New stand alone package
- Fixes the following bugs:
[ 970740 ] ConnectorServlet not working
[ 991489 ] getNameWithoutExtension
[ 1025909 ] [Firefox 0.9.2] Resource browser works partially
- Uploaded files and images are now shown with a absolute path (starting from the root of the site) and not as relatives from the editor directory
1.0 - 2004/05/09
Available just with the 1.6 release of FCKeditor.
This is the 1.x compatible taglib
没有合适的资源?快使用搜索试试~ 我知道了~
jsp版fck完整小例子,精简版,原创,eclipse工程
共384个文件
gif:109个
js:83个
html:77个
2星 需积分: 10 118 下载量 86 浏览量
2008-09-25
09:30:00
上传
评论
收藏 2.23MB RAR 举报
温馨提示
jsp版fck完整小例子,精简版,原创 使得fck完全支持jsp,java开发 提升了fck的响应速度
资源推荐
资源详情
资源评论
收起资源包目录
jsp版fck完整小例子,精简版,原创,eclipse工程 (384个子文件)
config.ascx 5KB
class_upload.asp 10KB
io.asp 6KB
commands.asp 6KB
config.asp 6KB
connector.asp 2KB
basexml.asp 2KB
upload.asp 2KB
util.asp 1KB
connector.aspx 1KB
upload.aspx 1KB
image.cfc 46KB
ImageObject.cfc 12KB
cf5_upload.cfm 10KB
cf5_connector.cfm 10KB
cf_io.cfm 10KB
cf_commands.cfm 8KB
config.cfm 8KB
spellchecker.cfm 5KB
cf_util.cfm 4KB
cf_connector.cfm 3KB
cf_basexml.cfm 3KB
cf_upload.cfm 2KB
connector.cfm 992B
upload.cfm 991B
connector.cgi 4KB
upload.cgi 3KB
.classpath 823B
fck_editor.css 8KB
fck_internal.css 4KB
fck_dialog.css 2KB
fck_editorarea.css 2KB
browser.css 2KB
fck_dialog_common.css 2KB
fck_showtableborders_gecko.css 1KB
stylesheet.css 1KB
spellerStyle.css 888B
sample.css 424B
fck_strip.gif 5KB
logo_fckeditor.gif 2KB
htm.gif 1KB
html.gif 1KB
rdp.gif 1KB
ai.gif 1KB
embaressed_smile.gif 1KB
teeth_smile.gif 1KB
shades_smile.gif 1KB
tounge_smile.gif 1KB
wink_smile.gif 1KB
sad_smile.gif 1KB
regular_smile.gif 1KB
whatchutalkingabout_smile.gif 1KB
envelope.gif 1KB
heart.gif 1012B
thumbs_down.gif 992B
thumbs_up.gif 989B
kiss.gif 978B
fla.gif 946B
logo_fredck.gif 920B
swf.gif 725B
swt.gif 724B
bmp.gif 709B
gif.gif 704B
htm.gif 621B
html.gif 621B
rdp.gif 606B
fck_flashlogo.gif 599B
pdf.gif 567B
cry_smile.gif 473B
png.gif 464B
jpg.gif 463B
mp3.gif 454B
avi.gif 454B
cake.gif 453B
angry_smile.gif 453B
angel_smile.gif 445B
devil_smile.gif 444B
broken_heart.gif 423B
template3.gif 422B
xml.gif 408B
ai.gif 403B
swf.gif 388B
swt.gif 388B
fla.gif 382B
template1.gif 375B
zip.gif 368B
omg_smile.gif 342B
template2.gif 333B
confused_smile.gif 322B
lightbulb.gif 303B
Folder32.gif 281B
vsd.gif 277B
js.gif 274B
mdb.gif 274B
xls.gif 271B
FolderOpened32.gif 264B
doc.gif 260B
dll.gif 258B
ppt.gif 254B
avi.gif 249B
共 384 条
- 1
- 2
- 3
- 4
资源评论
- xiao_xiaojun2012-06-11没跑起来,报错!
- i7896782012-07-19有缺陷,没跑起来
fei_6666
- 粉丝: 14
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功