Thanks for your response.
I'm now able to get the selected value using 'var' and 'href'
I have the following code in href:
sessionScope.v01 = vView.getName();
print("Selected view = " + vView.getName());
"xHome.xsp"
I'm trying to open my xHome.xsp XPage which has a dynamicViewPanel with v01 (sessionScope) as viewName.
The problem is that sessionScope variable is not being set when user selects the option from Navigator.
If I check the Log I can see that only is executed when page loads:
Selected view = All Documents
Selected view = By City
The result of this is that v01is always set with the value of my last node (By City)
How can set a scoped variable instead of adding the value to the URL?
Thanks in advance