cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <...@apache.org>
Subject Re: Using htmlArea 'output' with SVG
Date Fri, 26 Nov 2004 11:14:33 GMT
Il giorno 26/nov/04, alle 10:47, Derek Hohls ha scritto:

> Ugo
>
> In your point 3, surely the alterations take place
> *before* the model is saved i.e.
>
> form.load(model);
> form.showForm("uri");
> //do the DOM manipulation of the form/model(?)
> form.save(model);

No. If you do that, everything you have done before calling form.save() 
will be overwritten and discarded. form.save() does not "save the 
model", it updates the model following what is written in the binding 
spec which does *NOT* include the HTMLArea field.

	Ugo

-- 
Ugo Cei - http://beblogging.com/

Mime
View raw message