Hi All -
I'm using Struts Framework and have FCKeditor successfully integrated in all my jsps.
How do I pass the java beans content to and from the FCKeditor. Does anyone know of any supported libraries that can used for struts?
Thank You,
JM
I'm using Struts Framework and have FCKeditor successfully integrated in all my jsps.
How do I pass the java beans content to and from the FCKeditor. Does anyone know of any supported libraries that can used for struts?
Thank You,
JM

Re: FCKeditor and java beans
The Java TLD for FCKEditor passes in the HTML String to the bean automatically. You just need to make sure you have an appropriately named accessor/mutator to grab it. I forget what the default name is, but the property of the tag is the "id".
So for example:
id="editorDefault"
In my ActionForm I have a getEditorDefault() and a setEditorDefault() method. That's all you need to get the HTML string.
Re: FCKeditor and java beans
That did the work!
Just another questions. If I copy from Word and paste it in the editor i get a pop up dialog asking for confirmation whether to clean the code....can we avoid this and directly clean the code while pasting it.
Thank You,
JM
Re: FCKeditor and java beans
Good luck!