cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timur Izhbulatov <...@yxo.ru>
Subject [ CForms ] lookupWidget(path)
Date Mon, 09 Aug 2004 13:50:10 GMT
Hi all! 

When I use v1 flow and the following code, I get the right value of the 
list:
    var form = new Form(cocoon.parameters["form-definition"]);
    var list = form.getModel().list; 

But when I try using v2 and lookupWndget("list") list is undefined. Namely, 
I do the following thing:
    var form = new Form(cocoon.parameters["form-definition"]);
    var list = form.lookupWidget("list"); 

What's wrong? 

Any help is appreciated. 

Timur

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


Mime
View raw message