title: Not executing SSJS code in eventHandler with complete refreshMode in XPages
body: <p>It's been 3 weeks since I've been struggling with this problem</p>
  
  <p>onClick eventHandler rejects to show any signs of being working properly when it goes hand in hand with  <code>refreshMode="complete"</code></p>
  
  <p>The code is below:</p>
  
  <pre><code>&lt;xp:button id="begginYOU"
              style="float: right; margin-right:20px;"
              value="Send"&gt;
  
              &lt;xp:eventHandler event="onclick" refreshMode="complete"
                    submit="true"&gt;
  
                  &lt;xp:this.action&gt;&lt;![CDATA[#{javascript:
                  print("I will never get this message printed with complete refreshMode");
  
              }]]&gt;
                  &lt;/xp:this.action&gt;
  
              &lt;/xp:eventHandler&gt;
  
  &lt;/xp:button&gt;
  </code></pre>
  
  <p>I've tried everything - setting properties of <code>id</code> (on eventHandler itself), adding CSJS code  which returns true (the message which I've added to console.log was always printed btw), setting <code>disableValidators</code> to <code>true</code></p>
  
  <p>I've even tried to remove all the inputs and just leave this one button on the entire page - nothing helped</p>
  
  <p>Whenever I click the button - all I get is just a <code>loading</code> next to the tab's icon in the browser for just half a second and nothing, literally NOTHING happens</p>
  
  <p>It ONLY works with refreshMode and execMode set to <code>partial</code> (provided that I provide ids respectively) but I have no idea why</p>
  
  <p>It really drives me around the bend</p>
  
  <p>But anyway I hope to receive experts' opinion on that problem, because I've run out of ideas</p>
  
  <p>Many thanks in advance</p>