OpenNTF.org - XPages Extension Library
XPages Extension LibraryOpenDocument[/projects/pmt.nsf/ProjectView?ReadForm&Query=XPages%20Extension%20Library~Discussion]

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: XPages Extension Library (Managed by Philippe Riand, Niklas Heidloff, Dave Delay, Akihiro Kosugi, Maire Kehoe, Tony McGuckin, John Piermarini, Martin Donnelly, James Quill, Darin Egan, Padraic Edwards, Andrejus Chaliapinas, Lorcan McDonald, Simon McLoughlin, Paul Hannan)
Actions:


Subject
 How to set SSJS scope variables using the Page Navigator control
Categories
 Feedback
Posted by
 Pieter JD Malan on 01/24/2011 at 06:57 AM
Details

Hello,

Is there a way to configure a tree node in a page navigator to set a SSJS scope variable and do a partial refresh without using a URL?

For example, the following works in a xp link control :
<xp:link escape="true" text="All listings" id="link5">
<xp:eventHandler event="onclick" submit="true" refreshMode="partial" refreshId="body" execMode="partial">
<xp:this.action><![CDATA[#{javascript:viewScope.put("Selection", 20);
clearSearchCriteria();}]]>
</xp:this.action>
</xp:eventHandler>
</xp:link>

I have spent a considerable amount of time to recreate this functionality using a page navigator and am not sure if I am missing something obvious.

Any ideas would be appreciated!

Regards,
Pieter
Modification history
Entered 24-Jan-2011 6:57 by Pieter JD Malan. Last Modified <none> by <none>.


Anonymous