Please see the issue I post in http://issues.apache.org/jira/browse/COCOON-1900

it's fix in 2.1.10, If you use early version, please fix it by yourself.(by fixing the form-field-styling.xsl).

Best Regards

johnson hsu

Derek Hohls ??:
Cocoon 2.1.8
I'm using flowscript to create a form, that consists of variable
number
of checkboxes:
var theForm = new Form("cocoon:/myform-create.xml"); theForm.showForm("rep/myform-display"); var nmodel = theForm.getModel();
    var theValues = Array();
Now I need to process all the checkboxes and do the following:
* test if the ID matches a certain pattern AND checkbox is checked
* extract the value of the checkbox name
* store the result in the "theValues" array
I'd appreciate any pointers to sample code on how to do this.

Thanks
Derek



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

Reply via email to