cancel
Showing results for 
Search instead for 
Did you mean: 

Flow of a webdynpro application

Former Member
0 Kudos

Hi All,

Can you explain me about the flow of a webdynpro application,I mean when we deploy and run it ,where does the execution flow start,how does it proceed?

If two views are there and any thing is not taken as default view ,then what happens?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member197348
Active Contributor
0 Kudos

Hi Bharath,

The Control flows in the following way.

wdDoInit() [controller] -> wdDoInit() [first view] -> wdDoInit() [second view] -> wdDoModifyView [first view] -> outBoundPlug method [first view] -> onPlugFrom method() [second view] ->wdDoModifyView [second view] -> wdDoExit [active View] ->wdDoExit [inactive View]->wdDoExit [controller]

*wdDoModifyView() of a view is called whenever view is refreshed.

*custom methods are executed whenever you call.

There must be one default view in WD Application.The first created view is taken default view automatically. If you change this automatically second view becomes as default view.

regards,

Siva

Former Member
0 Kudos

Hi,

This is the Execution Flow

1: Component will be loaded

2:Window will be instantiated

3:Default View is instantiated

4:View Executes

5:Navigates to other Views if specified

Regards

LakshmiNarayana

Former Member
0 Kudos

Hi ,

If there are two windows ,which window will be instantiated first?

Former Member
0 Kudos

Hi,

Both windows will be instantiated at the same step. after component is loaded

But we define the usage based on our requirement. Using

wdComponentAPI.getComponentInfo().findInWindows(<window Name>);

Ragards

LakshmiNarayana