Hi
In my project I use htmlarea with cform. I customize the html area calling a js function with onload event
<body onload="initHtmlArea('descrizione'); return true;">
function initHtmlArea(elementId) { // inititalize editor editor = new HTMLArea(elementId); // retrive the config object var config = editor.config; // do custom configuration config.toolbar = [ [ "bold", "italic", "underline", "separator", "undo", "redo", "separator", "justifyleft", "justifycenter", "justifyright", "separator", "insertorderedlist", "insertunorderedlist", "outdent", "indent" ] ]; HTMLArea.replace(elementId, config); }
Where descrizione is the htmlarea's id
<ft:widget id="descrizione"> <fi:styling type="textarea" rows="20" style="width:100%"/> </ft:widget>
All seems to work, I have my htmlarea show in the form.
The problem is thath in the form I have a selection list, with the <fi:styling submit-on-change="true"/>, thath I use to populate another selection list on the form. When i change the selection, in the first selection list, the second is populate as I expect, but the text present in the htmlarea is lost.
Wath's wrong with me?
Nothing :-)
I can confirm that you discovered a bug. I can reproduce the same behaviour. Could you file a bugzilla report so that we don't forget it?
--
Reinhard P�tz Independant Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}web(log): http://www.poetz.cc --------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
