cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Мария Григорьева <mags...@gmail.com>
Subject how to get size of formMap ?
Date Sun, 27 Jul 2008 14:17:37 GMT
var form = new Form("forms/components.xml");

var formMap = form.asMap();

var repeater = formMap.get("test");

form.showForm("viewform-component-template.html");

 

I need to know the size of formMap. How can I get it?

 

Trying:

 

var repeater_length = formMap.get("test").getSize(); - it doesn't work

 

What should I do to get this size?

 

Thank you! 

 

Grigorieva Maria

 


Mime
View raw message