I am trying to add an onShow event to a Mobile Page Heading as per p. 326 oF the XPages Extension Library book.
My code is as follows :-
<xe:djxmHeading id="djxmHeading1" back="All Areas" moveTo="byArea">
<xe:this.label><![CDATA[#{javascript:param.get("Rep")}]]></xe:this.label>
<xp:this.onShow>
<![CDATA[#{javascript:sessionScope.put("RepName", param.get("Rep"))}]]>
</xp:this.onShow>
</xe:djxmHeading>
which looks similar to the example in the book. But I'm getting the following error:
Unknown property this.onShow. It is not defined on tag xe:djxmHeading.
Any ideas what I'm doing wrong?
Thanks