Hello,
I’m trying to do an automatic redirect in Nav7 to an address which includes a parameter:
new ExternalResource(“#ProjectView/P10001”);
I’ve been able to redirect using a page class by adding this to my AppLevelWindow implementation:
public static PiAppLevelWindow instance = null;
public void redirect(Class pageClass) {
this.navigator.navigateTo(pageClass);
}
then passing in
MyAppLevelWindow.instance.redirect(ProjectViewPage.class);
But I’m not sure how to do this with an ExternalResource. It looks like you can’t cast it to a PageResource(one of the other possible parameters for navigator.navigateTo() )
How can I do this?
Also, is there a javadoc page for Nav7?
Thanks!