Hi, i'm with a little problem using fckeditor.
I have a form and one of the fields is the fckeditor and it's used to add a new register and to edit an old one.
When I'm adding a new one, the form opens blank and after I add the fields content I submit the form and my J2EE application saves it to a database.
When I want to edit an old register, my J2EE application retrive the register from the database and add the fck field content filling it dinamically with the javascript code "oFCKEditor.Value='content'".
Obs: The content value is filled like an php "echo" or "print";
The problem is, when I save the form, it's saved with the html that fckeditor generates. but when I retrieve it, fckeditor shows it as plain text it doesn't parse the html... and its kind of strange right?
Can somebody help me with this problem?
Thanks.
Guilherme Antunes
I have a form and one of the fields is the fckeditor and it's used to add a new register and to edit an old one.
When I'm adding a new one, the form opens blank and after I add the fields content I submit the form and my J2EE application saves it to a database.
When I want to edit an old register, my J2EE application retrive the register from the database and add the fck field content filling it dinamically with the javascript code "oFCKEditor.Value='content'".
Obs: The content value is filled like an php "echo" or "print";
The problem is, when I save the form, it's saved with the html that fckeditor generates. but when I retrieve it, fckeditor shows it as plain text it doesn't parse the html... and its kind of strange right?
Can somebody help me with this problem?
Thanks.
Guilherme Antunes