Skip to Content
0
Former Member
Feb 17, 2006 at 02:15 PM

Subscriping WDPortalEventing in 2 views

18 Views

Hi,

1.I have subscriped to a poral event in 2 views(View-A,View-B) in

wdDoinit method.

WDPortalEventing.subscribe(

"urn:/civga/nedg",

"KaartToAob",

wdThis.wdGetKaartEventOntvangenAction());

2.I have also unsubscriped them in wdDoExit method.

WDPortalEventing.unsubscribe(

"urn:/civga/nedg",

"KaartToAob",

wdThis.wdGetKaartEventOntvangenAction());

when my application is in View-A and Portal event is raised working fine.Now i navigate to View-B using(plug) and poral event is raised.Now the application is crashed with error as

View-A is not active .

This behaviour also same if i first go to view-B and portal event is raised then it goes good.Now if i navigate to view-A and event raised crashed saying View-B is not active.

Please explain me what i am i doing wrong ?