I'm using fckeditor with struts, I have accomplished display it in my page and have salved his content through of property "id" from struts. However, at the time to download the datebase's content in the editor, nothing appear.
Here is my code:
In the page. "Id" is my property from struts
Excuse me by my inglesh, I'm learning it yet...
Thanks for help...
Here is my code:
In the page. "Id" is my property from struts
<script type="text/javascript"> function setEditorValue( instanceName, text ) { // Get the editor instance that we want to interact with. var oEditor = FCKeditorAPI.GetInstance( 'instanceName' ) ; // Set the editor contents. oEditor.SetHTML( text ) ; } function getEditorValue( instanceName ) { // Get the editor instance that we want to interact with. var oEditor = FCKeditorAPI.GetInstance( 'instanceName' ) ; // Get the editor contents as XHTML. return oEditor.GetXHTML( true ) ; // "true" means you want it formatted. } </script>
<FCK:editor id="resumo" basePath="/portal/FCKeditor/" height="300" width="95%" toolbarSet="EditorPortal" imageBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector" linkBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector"> </FCK:editor><
Excuse me by my inglesh, I'm learning it yet...
Thanks for help...