cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Schmitz <>
Subject flowscript and select with multiple options
Date Fri, 10 Oct 2008 14:36:49 GMT
   I have a page with the following select/option list in a form:

<select id="listImportExportUsers" size="5" multiple="multiple"  
   <option value="jeff">jeff jones</option>
   <option value="john">john smith</option>

When this is submitted, how can I get a hold of the entire option list  
from within flowscript?  I tried the following, but nothing in my loop  
below runs, even making sure both options were selected:

   var modellerArray  = cocoon.request.get("listImportExportUsers");

   for (var i=0; i<modellerArray.length; i++) {
     var uri = "ssp/ivhm/" + secIntegrator + "/ModelRole-" +  
modellerArray + "-" + neutralInstModel + "-modeller/" +  
neutralInstModel + "/ivhmrbac:modeller/" + "saveModelPermissions.jx";
     var os = new;
     cocoon.processPipelineTo(uri, null, os);

Note that


View raw message