cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: Passing flowscript data to a form
Date Mon, 03 Mar 2008 14:16:22 GMT
Johannes

I think your code updates the template display, and
not the form definition...  at any rate, it does not work.

Thanks
Derek

>>> On 2008/03/03 at 03:46, in message <20080303134647.118030@gmx.net>, "Johannes
Textor" <jc.textor@gmx.de> wrote:

> What do I need to change?
>  
[snip]
>
> The flowscript looks like:
>  
>    var tForm = new Form("cocoon:/db/update/form/test", {"foo":"foob"});
>     var tmodel = tForm.getModel(); 
>     tForm.showForm("db/test.uforms");
>  

var tForm = new Form("cocoon:/db/update/form/test");
var tmodel = tForm.getModel(); 
tmodel.foo = "foob";
tForm.showForm("db/test.uforms");


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
For additional commands, e-mail: users-help@cocoon.apache.org 



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice,
and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message