title: Document won't save after selecting value combobox
body: <p>I have an Xpage with 3 comboboxes related to each other.
  In the onchange event of Combobox1 I have a partial refresh of combobox2(since the key of the dblookup of combobox2 is the  value of combobox1). As server option I have "Do not validate or update data"
  Same for combobox2 and 3.
  Then I have a button that will pick up the submitted values of the comboboxes , and saves a document with these values.
  The problem : when I pick up a value for combobox1 and click on the "Save"button a document is saved .
  When I click on the second and also the third button, I can't save a document anymore ...
  I don't get any error message either.
  edit ;
  Simplified version of the code :</p>
  
  <p><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;xp:view xmlns:xp="http://www.ibm.com/xsp/core"&gt;
      &lt;xp:br&gt;&lt;/xp:br&gt;
      &lt;xp:this.data&gt;
          &lt;xp:dominoDocument var="document1" formName="bestelbon"&gt;&lt;/xp :dominoDocument&gt;
      &lt;/xp:this.data&gt;
  </code>    </p>
  
  <pre><code>&lt;xp:table&gt;
      &lt;xp:tr&gt;
          &lt;xp:td&gt;&lt;xp:comboBox id="comboBox1" value="#{sessionScope.item}"&gt;
                                              &lt;xp:selectItem itemLabel="Please select"&gt;
                                              &lt;/xp:selectItem&gt;&lt;xp:selectItems id="selectItems2"&gt;
                                                  &lt;xp:this.value&gt;&lt;![CDATA[#{javascript:@Unique(@DbColumn("product/Bestelbon.nsf","item",1));    
  }]]&gt;&lt;/xp:this.value&gt;
                                              &lt;/xp:selectItems&gt;
                                              &lt;xp:eventHandler event="onchange" submit="true" refreshMode="partial" refreshId="comboBox2" immediate="true"&gt;
                                              &lt;/xp:eventHandler&gt;
  
  
                                          &lt;/xp:comboBox&gt;&lt;/xp:td&gt;
          &lt;xp:td&gt;&lt;xp:comboBox id="comboBox2" value="#{sessionScope.subitem}"&gt;
  
                                              &lt;xp:selectItem itemLabel="Please select"&gt;
                                              &lt;/xp:selectItem&gt;
                                              &lt;xp:selectItems id="selectItems3"&gt;
                                                  &lt;xp:this.value&gt;&lt;![CDATA[#{javascript:var combo1 = getComponent("comboBox1").getSubmittedValue();
  @Unique(@DbLookup("product/Bestelbon.nsf","subitem2",combo1,2));
  }]]&gt;&lt;/xp:this.value&gt;
                                              &lt;/xp:selectItems&gt;
                                              &lt;xp:eventHandler event="onchange" submit="true" refreshMode="partial" refreshId="comboBox3" immediate="true"&gt;
                                              &lt;/xp:eventHandler&gt;
                                          &lt;/xp:comboBox&gt;&lt;/xp:td&gt;
          &lt;xp:td&gt;&lt;xp:comboBox id="comboBox3" value="#{sessionScope.subsubitem}"&gt;
                                              &lt;xp:selectItem itemLabel="Please select"&gt;
                                              &lt;/xp:selectItem&gt;
                                              &lt;xp:selectItems id="selectItems4"&gt;
                                                  &lt;xp:this.value&gt;&lt;![CDATA[#{javascript:var combo1 = getComponent("comboBox2").getSubmittedValue();
  @Unique(@DbLookup("product/Bestelbon.nsf","subsubitem2",combo1,2));
  }]]&gt;&lt;/xp:this.value&gt;
                                              &lt;/xp:selectItems&gt;
                                          &lt;/xp:comboBox&gt;&lt;/xp:td&gt;
          &lt;xp:td&gt;&lt;xp:comboBox id="comboBox4" value="#{sessionScope.optie}" defaultValue="Gratis optie"&gt;
                                          &lt;xp:selectItems&gt;
                                              &lt;xp:this.value&gt;&lt;![CDATA[#{javascript:@Unique(@DbColumn("product/Bestelbon.nsf","mogelijkheid",1));}]]&gt;&lt;/xp:this.value&gt;
                                          &lt;/xp:selectItems&gt;
                                      &lt;/xp:comboBox&gt;&lt;/xp:td&gt;
          &lt;xp:td&gt;&lt;xp:comboBox id="comboBox5" value="#{sessionScope.combinatie}"&gt;
                                          &lt;xp:selectItem itemLabel="Please select"&gt;
                                          &lt;/xp:selectItem&gt;
                                          &lt;xp:selectItems&gt;
                                              &lt;xp:this.value&gt;&lt;![CDATA[#{javascript:@Unique(@DbColumn("product/Bestelbon.nsf","subsubitem",1));}]]&gt;&lt;/xp:this.value&gt;
                                          &lt;/xp:selectItems&gt;
                                      &lt;/xp:comboBox&gt;&lt;/xp:td&gt;
      &lt;/xp:tr&gt;
      &lt;xp:tr&gt;
          &lt;xp:td&gt;&lt;/xp:td&gt;
          &lt;xp:td&gt;&lt;/xp:td&gt;
          &lt;xp:td&gt;&lt;/xp:td&gt;
          &lt;xp:td&gt;&lt;/xp:td&gt;
          &lt;xp:td&gt;&lt;/xp:td&gt;
      &lt;/xp:tr&gt;
  &lt;/xp:table&gt;
  &lt;xp:br&gt;&lt;/xp:br&gt;
  &lt;xp:button id="button1" value="Save"&gt;
      &lt;xp:eventHandler event="onclick" submit="true"
          refreshMode="complete"&gt;
          &lt;xp:this.action&gt;&lt;![CDATA[#{javascript:var combo1 = getComponent("comboBox1")
  var value1= combo1.getSubmittedValue();
  if (null == value1){
  value1 = combo1.getValue();
  }
  var combo2 = getComponent("comboBox2")
  var value2= combo2.getSubmittedValue();
  if (null == value2){
  value2 = combo1.getValue();
  }
  var combo3 = getComponent("comboBox3")
  var value3= combo3.getSubmittedValue();
  if (null == value3){
  value3 = combo3.getValue();
  }
  var combo4 = getComponent("comboBox4")
  var value4= combo4.getSubmittedValue();
  if (null == value4){
  value4 = combo4.getValue();
  }
  var combo5 = getComponent("comboBox5")
  var value5= combo5.getSubmittedValue();
  if (null == value5){
  value5 = combo5.getValue();
  }
  document1.replaceItemValue("bbitem",value1);
  document1.replaceItemValue("bbpsubitem",value2);
  document1.replaceItemValue("bbsubsubitem",value3);
  document1.replaceItemValue("bbmogelijkheid",value4);
  document1.replaceItemValue("bbopmerking",value5);
  document1.replaceItemValue("bbland","VF");
  document1.replaceItemValue("bbproduct","NAVIX");
  document1.save();
  }]]&gt;&lt;/xp:this.action&gt;
      &lt;/xp:eventHandler&gt;&lt;/xp:button&gt;&lt;/xp:view&gt;
  </code></pre>