From: Thyamad c. <th...@us...> - 2005-09-29 19:50:27
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/_samples/cfm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv563/thywidgets/external/fckeditor/_samples/cfm Modified Files: sample01.cfm sample02_mx.cfm Log Message: Commiting file additions and modification from SVN revision 2028 to 2029... Changes made by frank on 2005-09-29 21:42:57 +0200 (Thu, 29 Sep 2005) corresponding to SVN revision 2029 with message: updating fckeditor in dynapi Index: sample02_mx.cfm =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/_samples/cfm/sample02_mx.cfm,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** sample02_mx.cfm 1 Sep 2005 18:15:39 -0000 1.4 --- sample02_mx.cfm 29 Sep 2005 19:49:16 -0000 1.5 *************** *** 1,37 **** ! <cfsetting enablecfoutputonly="true"> ! <!--- ! * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2004 Frederico Caldeira Knabben ! * ! * Licensed under the terms of the GNU Lesser General Public License: ! * http://www.opensource.org/licenses/lgpl-license.php ! * ! * For further information visit: ! * http://www.fckeditor.net/ ! * ! * File Name: sample02_mx.cfm ! * Sample page for ColdFusion MX. ! * ! * Version: 2.0 RC3 ! * Modified: 2004-12-07 12:24:12 ! * ! * File Authors: ! * Hendrik Kramer (hk...@lw...) ! ---> ! ! <!--- :: ! * You must set the url path to the base directory for your media files (images, flash, files) ! * The best position for this variable is in your Application.cfm file ! * ! * Possible variable scopes are: ! * <cfset APPLICATION.userFilesPath = "/UserFiles/"> ! * OR: ! * <cfset SERVER.userFilesPath = "/UserFiles/"> ! * ! * Note #1: Do _not_ set the physical directory on your server, only a path relative to your current webroot ! * Note #2: Directories will be automatically created ! :: ---> ! <cfset APPLICATION.userFilesPath = "/UserFiles/"> ! <cfoutput> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> --- 1,24 ---- ! <cfsetting enablecfoutputonly="true"> ! <!--- @Packager.Header ! <FileDescription> ! Sample page for ColdFusion MX. ! </FileDescription> ! <Author name="Hendrik Kramer" email="hk...@lw..." /> ! ---> ! ! <!--- :: ! * You must set the url path to the base directory for your media files (images, flash, files) ! * The best position for this variable is in your Application.cfm file ! * ! * Possible variable scopes are: ! * <cfset APPLICATION.userFilesPath = "/UserFiles/"> ! * OR: ! * <cfset SERVER.userFilesPath = "/UserFiles/"> ! * ! * Note #1: Do _not_ set the physical directory on your server, only a path relative to your current webroot ! * Note #2: Directories will be automatically created ! :: ---> ! <cfset APPLICATION.userFilesPath = "/UserFiles/"> ! <cfoutput> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> *************** *** 44,62 **** </head> <body> ! <h1>FCKEditor - ColdFusion Component (CFC) - Sample 2</h1> This sample displays a normal HTML form with a FCKeditor with full features enabled; invoked by a ColdFusion Component.<br> ColdFusion is a registered trademark and product of <a href="http://www.macromedia.com/software/coldfusion/" target="_blank">Macromedia, Inc</a>. ! <hr> <form method="POST" action="#cgi.script_name#"> ! </cfoutput> <cfif listFirst( server.coldFusion.productVersion ) LT 6> ! <cfoutput><br><em style="color: red;">This sample work only with a ColdFusion MX server and higher, because it uses some advantages of this version.<br>Please try our other <a href="sample01.cfm">ColdFusion Sample Integration</a>.</em></cfoutput> <cfabort> </cfif> ! <cfscript> ! fckEditor = createObject("component", "/fckeditor/fckeditor"); fckEditor.instanceName = "myEditor"; fckEditor.value = 'This is some sample text. You are using <a href="http://fckeditor.net/" target="_blank">FCKeditor</a>.'; --- 31,60 ---- </head> <body> ! <h1>FCKeditor - ColdFusion Component (CFC) - Sample 2</h1> This sample displays a normal HTML form with a FCKeditor with full features enabled; invoked by a ColdFusion Component.<br> ColdFusion is a registered trademark and product of <a href="http://www.macromedia.com/software/coldfusion/" target="_blank">Macromedia, Inc</a>. ! <hr> <form method="POST" action="#cgi.script_name#"> ! </cfoutput> <cfif listFirst( server.coldFusion.productVersion ) LT 6> ! <cfoutput><br><em style="color: red;">This sample work only with a ColdFusion MX server and higher, because it uses some advantages of this version.</em></cfoutput> <cfabort> </cfif> ! ! <!--- ! Note: You must first create a mapping in your coldfusion administrator to call the component fckeditor.cfc ! in the root folder of this zip archive. ! A relative path is not allowed. See your coldfusion documentation for more information. ! ---> <cfscript> ! // create a pseudo mapping for this demo only! ! factory = createObject('java','coldfusion.server.ServiceFactory'); ! mappings = factory.runtimeservice.getMappings(); ! mappings['/fckeditor2'] = expandPath("../.."); // fckeditor.cfc resides two paths higher than this sample file. ! // end create a pseudo mapping for this demo only! ! ! fckEditor = createObject("component", "/fckeditor2/fckeditor"); fckEditor.instanceName = "myEditor"; fckEditor.value = 'This is some sample text. You are using <a href="http://fckeditor.net/" target="_blank">FCKeditor</a>.'; *************** *** 66,70 **** fckEditor.create(); // create the editor. </cfscript> ! <cfoutput> <br /> --- 64,68 ---- fckEditor.create(); // create the editor. </cfscript> ! <cfoutput> <br /> *************** *** 73,82 **** </cfoutput> ! <cfdump ! var="#FORM#" ! label="Dump of FORM Variables" > ! ! <cfoutput></form></body></html></cfoutput> <cfsetting enablecfoutputonly="false"> \ No newline at end of file --- 71,80 ---- </cfoutput> ! <cfdump ! var="#FORM#" ! label="Dump of FORM Variables" > ! ! <cfoutput></form></body></html></cfoutput> <cfsetting enablecfoutputonly="false"> \ No newline at end of file Index: sample01.cfm =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/_samples/cfm/sample01.cfm,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** sample01.cfm 1 Sep 2005 18:15:39 -0000 1.4 --- sample01.cfm 29 Sep 2005 19:49:16 -0000 1.5 *************** *** 1,39 **** ! <cfsetting enablecfoutputonly="true" showdebugoutput="false"> ! <!--- ! * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2004 Frederico Caldeira Knabben ! * ! * Licensed under the terms of the GNU Lesser General Public License: ! * http://www.opensource.org/licenses/lgpl-license.php ! * ! * For further information visit: ! * http://www.fckeditor.net/ ! * ! * File Name: sample01.cfm ! * Sample page for ColdFusion. ! * ! * Version: 2.0 RC3 ! * Modified: 2004-12-07 12:24:26 ! * ! * File Authors: ! * Hendrik Kramer (hk...@lw...) ! ---> ! ! <!--- :: ! * You must set the url path to the base directory for your media files (images, flash, files) ! * The best position for this variable is in your Application.cfm file ! * ! * Possible variable scopes are: ! * <cfset APPLICATION.userFilesPath = "/UserFiles/"> ! * OR: ! * <cfset SERVER.userFilesPath = "/UserFiles/"> ! * ! * Note #1: Do _not_ set the physical directory on your server, only a path relative to your current webroot ! * Note #2: Directories will be automatically created ! :: ---> ! <cflock scope="Application" type="exclusive" timeout="5"> ! <cfset APPLICATION.userFilesPath = "/UserFiles/"> ! </cflock> ! <cfoutput> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> --- 1,26 ---- ! <cfsetting enablecfoutputonly="true" showdebugoutput="false"> ! <!--- @Packager.Header ! <FileDescription> ! Sample page for ColdFusion. ! </FileDescription> ! <Author name="Hendrik Kramer" email="hk...@lw..." /> ! ---> ! ! <!--- :: ! * You must set the url path to the base directory for your media files (images, flash, files) ! * The best position for this variable is in your Application.cfm file ! * ! * Possible variable scopes are: ! * <cfset APPLICATION.userFilesPath = "/UserFiles/"> ! * OR: ! * <cfset SERVER.userFilesPath = "/UserFiles/"> ! * ! * Note #1: Do _not_ set the physical directory on your server, only a path relative to your current webroot ! * Note #2: Directories will be automatically created ! :: ---> ! <cflock scope="Application" type="exclusive" timeout="5"> ! <cfset APPLICATION.userFilesPath = "/UserFiles/"> ! </cflock> ! <cfoutput> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> *************** *** 54,64 **** <hr> <form method="POST" action="#cgi.script_name#"> ! </cfoutput> <cfmodule ! template="/fckeditor/fckeditor.cfm" basePath="/fckeditor/" instanceName="myEditor" ! value='This is some sample text. You are using <a href="http://fckeditor.net/" target="_blank">FCKEditor</a>.' width="100%" height="200" --- 41,56 ---- <hr> <form method="POST" action="#cgi.script_name#"> ! </cfoutput> ! ! <cfif listFirst( server.coldFusion.productVersion ) LT 6> ! <cfoutput><br><em style="color: red;">This sample work only with a ColdFusion MX server and higher, because it uses some advantages of this version.</em></cfoutput> ! <cfabort> ! </cfif> <cfmodule ! template="../../fckeditor.cfm" basePath="/fckeditor/" instanceName="myEditor" ! value='This is some sample text. You are using <a href="http://fckeditor.net/" target="_blank">FCKeditor</a>.' width="100%" height="200" *************** *** 68,72 **** <input type="submit" value="Submit"> <br /> ! </form> </cfoutput> --- 60,64 ---- <input type="submit" value="Submit"> <br /> ! </form> </cfoutput> |