cancel
Showing results for 
Search instead for 
Did you mean: 

Not Trigering WDDOINIT( ) in view?

KiranJ
Active Participant
0 Kudos

Hai Expets,

In my Component i Hav the ContextualPanel for that i hav Views. using that contextual Panel Navigate the

view first time only trigering the INIT() method of the View then next time onwards its not trigering the in that INIT() method

i write the Visibility that is not trigering on second time onwards any reson behind that .

thanks in adv.

Accepted Solutions (0)

Answers (5)

Answers (5)

kmoore007
Active Contributor
0 Kudos

You can put the logic of the WDDOINIT into a custom method.  Call the method in the WDDOINIT.  Also, call the method in the HANDLEIN.  So each time your view is "fired", the initialization will take place.

KiranJ
Active Participant
0 Kudos

thanks for ur replys,

i write code in Modify() also its not show visibilty in that mehod my requirement is not working for that i

write the code in Inbound plug now its fine working.

thanks /.

Former Member
0 Kudos

Sounds gud.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You could also go to the Properties tab of the View in question and change the Lifetime DDLB from Framework Controlled to When Visible. Then the View instance will be destroyed whenever it isn't visible and it will fire the WDDOINIT when it is shown again.

Former Member
0 Kudos

The type of functionlity u want is possible with WDDOMODIFY, this will trigger every time when view is refreshed. WDDOINIT will only trigger for the first time when view is logged and WDDOEXIT is trigger at the last when we leave that view and go to other view or window

KiranJ
Active Participant
0 Kudos

hai mahi,

for the component INIT( ) method of the view only one time is trigerred next time navigate the same the

view INIT () method of that view not trigering. why that 'll happen.

plz help.

Former Member
0 Kudos

You can write your Code for visibility in the WDDOMODIFY method. It will trigger every time, when some changes or event there on the screen.

WDDOINIT will trigger only for first time when Screen initialized.

Former Member
0 Kudos

Hi

As per my knowlege WDDOINIT will only triger only when the first time the view is logged not after that.

Regards,

mihir sharma