Okey, some more info.

I have followed the steps from Tassel.
- I have added tha library to my .application like this:
  <library id="fckEditor"
specification-path="classpath:/man/library/ManSH.library"/>

- I have unzipped the js.zip to my application...

- I have created a html file like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" 
/>
        <title raw="true" jwcid="titleTag">Web Admin</title>
        <link href="/default/css/default.css" rel="stylesheet" type="text/css" 
/>
        <script type="text/javascript" src="js/FCKeditor/fckeditor.js"/>
        <link rel="stylesheet" type="text/css"
href="js/FCKeditor/editor/css/fck_editorarea.css"/>
</head>
<body jwcid="@Body">
        <textarea textAreaId="MyTextArea" toolbar="Default"
jwcid="@fckEditor:FCKeditorTA" rows="10" cols="40"></textarea>
</body>
</html>

and when I run it I get a page source that look like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" 
/>
        <title>Default Web Site</title>
        <link href="/default/css/default.css" rel="stylesheet" type="text/css" 
/>
        <script type="text/javascript" src="js/FCKeditor/fckeditor.js"/>
        <link rel="stylesheet" type="text/css"
href="js/FCKeditor/editor/css/fck_editorarea.css"/>
</head>
<body>
<script language="JavaScript" type="text/javascript"><!--
   var oFCKeditor_MyTextArea = new FCKeditor( 'MyTextArea') ;
       oFCKeditor_MyTextArea.BasePath = "js/FCKeditor/" ;
           oFCKeditor_MyTextArea.Height = "200";
           oFCKeditor_MyTextArea.Width = "100%";                       
       oFCKeditor_MyTextArea.ToolbarSet  = "Default";         
       oFCKeditor_MyTextArea.ReplaceTextarea() ;
// --></script></body>
</html>

My problem is that the page is empty, nothing is showing in the page. No
textarea, no editor with toolbars... nothing. Does anybody know how to fix
this?

Thanks,
Jacob
-- 
View this message in context: 
http://www.nabble.com/How-to-use-the-FCKEditor-tf2590543.html#a7225983
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to