Skip to Content
0
Former Member
Jun 02, 2008 at 01:34 PM

Navigation service: Navigate to specific page??

31 Views

Hi Experts,

i have a Abstract Portal Component that validates userID & password . i call the Navigation service inside it

...
..some code for user validation/logging here
                
 INavigationService navSrv = (INavigationService)PortalRuntime.getRuntimeResources().getService(INavigationService.KEY );
 Hashtable  environment = new Hashtable();
 IUserContext userContext = request.getUser();
 if(userContext!=null)
 {
 	environment.put( INavigationConstants.ENV_PRINCIPAL, userContext );
 	     
 }
 
 INavigationNode node = navSrv.getFirstNode(environment);

now i wish to navigate to a PAGE at pcd location ROLES://pcd:portal_content/my.org/myorg.ab.eview1

how can i do it ??