Programmatically navigate to a new page

Posted by [email protected] on Oracle Blogs See other posts from Oracle Blogs or by [email protected]
Published on Wed, 02 Jun 2010 16:39:42 +0000 Indexed on 2010/06/02 16:56 UTC
Read the original article Hit count: 375

Filed under:

Did you know you can programmatically navigate to a new page via code?  Inside your bean method, you can simply use the NavigationDispatchHelper class to do the work for you.

The invokePageNavigation method of NavigationDispatchHelper takes a String parameter that holds the value of the navigation rule to follow.

 

import oracle.adfnmc.util.NavigationDispatchHelper;

public void MyBeanMethod() {

/'/ Do stuff

NavigationDispatchHelper.invokePageNavigation("patients");

}

© Oracle Blogs or respective owner