title: XPages SSJS add options to combo
body: <p>In SSJS I'm looping through document in a view and I want to add a new option to a hidden combo for each document and once finished then show that hidden combo.</p>
  
  <p>I've tried building an array with value|string and adding that to the <code>getComponent("apm").setValue(myArray)</code>, but no luck and how do I grab the combo and make it visible because <code>dojo.byId("#{id:apm}").setRendered(true);</code> gives error about dojo not found, so do I need to include something?</p>
  
  <p>Any ideas?</p>