JET – router defaults and parameters by Anirban Mukherjee

image

This is a quick tip on Oracle JET Router configurations. There are a couple of ways through which we can pass parameters while navigating using ojet Router.
1) You can set some global parameters while setting up the router configuration. This parameter is available on the static Router.rootInstance object.
This value can be accessed via the Router’s rootInstance’s current-state.
Using this value I can set the default tab whenever I enter a module.
2) The second option is to set a dynamic value while programmatically navigating to a module using ojet router. We use the store() method to set a parameter, and the retrieve() method to fetch it. The router param gets written to the URL to let you have a bookmark. Read the complete article here.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.