title: How do I create a vector for XPages REST service startKeys?
body: <p>I have a view sorted on the first column by noteid</p>
  
  <p>I want to use the ExtLib REST service startKeys parameter to match specific values from that list.</p>
  
  <p>I see from the description that a vector is required, but the following code does not work - why not?</p>
  
  <pre><code>&lt;xe:this.startKeys&gt;
      &lt;![CDATA[#{javascript:
          var vec:java.util.Vector = new java.util.Vector();
          var temp = 'NT0000BD22'
          vec.add(temp);                      
          temp = 'NT0000BD29'
          vec.add(temp);                      
          return vec
      }]]&gt;
  &lt;/xe:this.startKeys&gt;
  </code></pre>
  
  <p>The error returned form the server states: 
  {
      "code":400,
      "text":"Bad Request",
      "message":"Unknown or unsupported object type in Vector",
      "type":"text",
      "data":"com.ibm.domino.services.ServiceException: \r\n\tat </p>