Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: override default view with dynamic navigation

$
0
0

Hi,

 

When system reaches the DEFAULT plug, this is the first point of entry for the application and no views exist at this point of time.

 

I suggest you the below approach:

  • Create a global attributes at component controller and store the required url information / view/plug name to be triggered inside DEFAULT plug
  • Create one MAIN_VIEW which is default in this case
  • Let us say you have other views VIEW_A, VIEW_B, etc
  • As MAIN_VIEW set as default, the WDDOINIT( ) method triggers, now you can navigate to required view based on global attributes values

 

Hope this helps you.

 

Regards,

Rama


Viewing all articles
Browse latest Browse all 9159

Trending Articles