XPages Extension Library - onShow event for xe:djxmHeading

Posted by Martin Perrie on Stack Overflow See other posts from Stack Overflow or by Martin Perrie
Published on 2012-06-28T15:14:16Z Indexed on 2012/06/28 15:15 UTC
Read the original article Hit count: 334

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about xpages

Related posts about xpages-extlib