- Timestamp:
- 2008-03-26 21:29:11 (10 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor.Java/branches/2.4/src/site/apt/integration/taglibrary.apt
r1813 r1815 1 --------------------- 2 Tag Library 3 --------------------- 4 5 Integration 6 7 * Tag library 1 --------------------- 2 Tag Library 3 --------------------- 8 4 9 Define the tag extension in each JSP page that uses the FCKeditor.Java taglib. 10 The uri directives must match the URI defined in the tld in the jar file. 11 The prefix identifies the tags in the tag library within the JSP page. 5 Tag library 6 7 Define the tag extension in each JSP page that uses the FCKeditor.Java taglib. 8 The uri directives must match the URI defined in the tld in the jar file. 9 The prefix identifies the tags in the tag library within the JSP page. 12 10 13 11 +--------------------------------------------------------------------+ … … 15 13 +--------------------------------------------------------------------+ 16 14 17 The declaration, if you are using a JSP XML syntax, looks like:15 The declaration, if you are using a JSP XML syntax, looks like: 18 16 19 17 +--------------------------------------------------------------------+ … … 21 19 xmlns:FCK="http://www.fckeditor.net/tags"> 22 20 +--------------------------------------------------------------------+ 23 24 Now you are set to use the taglib. A brief usage would be:25 21 22 Now you are set to use the taglib. A brief usage would be: 23 26 24 +--------------------------------------------------------------------+ 27 25 <FCK:editor instanceName="EditorDefault"> 28 <jsp:attribute name="value">This is some <strong>sample text </strong>. 29 You are using <a href="http://www.fckeditor.net"> FCKeditor</a>.26 <jsp:attribute name="value">This is some <strong>sample text </strong>. 27 You are using <a href="http://www.fckeditor.net"> FCKeditor</a>. 30 28 </jsp:attribute> 31 29 </FCK:editor> 32 30 +--------------------------------------------------------------------+ 33 34 For a more complete overview, take a look at the {{{tagreference.html}tag reference}}.31 32 For a more complete overview, take a look at the {{{../tagreference.html}tag reference}}.