cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Menant" <>
Subject form.getChild() function problem
Date Wed, 01 Aug 2007 13:58:25 GMT

I'm trying to get all widgets from a form with the getChildren function :

var form = new Form(myForm.xml);
var myWidgets = form.getChildren();

But I get an error message telling getChildren() is not function (
form.getChild('xxx') works fine). I saw the function in Cocoon 2.1.10 API
but I'm using Cocoon 2.2 (I got the same error with Cocoon 2.1.9).

May this useful function have been removed ?


View raw message