The onComplete for a button contained in the XPages extlib mobile controls does not fire on mobile devices but works fine in any desktop browser. I tested on both iPhone and Android phones. Here is the source for my buttonClear butto which clears the search fields (tied to the scope properties) and then "clicks" the buttonFilterSearch button in its onComplete.
<xp:button id="buttonClear" value="Clear/Reset"
styleClass="buttonMarginBottom" style="width:200.0px;height:30.0px" icon="/undo-4-24.png">
<xp:eventHandler event="onclick" submit="true" refreshMode="partial" id="eventHandler1"
refreshId="panelOppSearch">
<xp:this.action><![CDATA[#{javascript:
sessionScope.query2 = "" ;
sessionScope.query2Location = "" ;
sessionScope.query2Activity = "" ;
sessionScope.query2FromDate = "";
sessionScope.query2ToDate = "";
sessionScope.query2searchbox = "" ;
sessionScope.query2AssignmentStatus = "Needed";
}]]></xp:this.action>
<xp:this.onComplete><![CDATA[dojo.byId("#{id:buttonFilterSearch}").click();]]></xp:this.onComplete>
</xp:eventHandler>
</xp:button>
</xp:td>
</xp:tr>
</xp:table>
</xe:djxmRoundRectList>
... more ...
... more ...
</xe:appPage>
The complete xe:appPage mobile page is contained in a custom control which is one of many mobile pages (all via CCs) contained in the xe:singlePageApp on my mobileXPage.
Any ideas appreciated.