Whoa.  I see now that form.save(model) saves
the data back to the DOM, following which a
saveDocument(document, documentID)
does the actual file writing.  Does this mean the
DOM can be safely manipulated *after* the
  form.save()
but before the
  savedocument() 
function?

[getting the feeling that coding on friday afternoon
is a Bad Idea  ;-]

>>> [EMAIL PROTECTED] 2004/11/26 01:51:17 PM >>>
OK.  Perhaps the terms used are confusing

form.save(model) in fact equates to "form.update(model)"

But the idea is still to try and alter some fragment
of the data *before* the update goes through...
why is it not possible to alter only one part, and why 
should "everything be discarded" by making such a partial
change?

>>> [EMAIL PROTECTED] 2004/11/26 01:14:33 PM >>>
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/ 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to