on 07-08-2005 5:07 AM
Hi,
I have three component A,B,C,
component A has windows A-1 with View A
component B have windows B-1 with View B and windows B-2 with View A include from component A and View B
component C have windows C-1 with view A include from component A, View B include from component B, View C
Componet A's interface send value aValue, component B's View B and Componet C's View C all need the value.
When my WebDynpro application start from component windows B-2, View B can get the value. But when application start from component C windows C-1, then ViewB can't get the value, only ViewC can get the value?
what happen? what i should do, let ViewB and ViewC get the value in the same time.
please help me...
What do you use as communication channel? Events? Plugs? Context mapping?
If events, then make sure that you "touch" all necessary controllers before firing events -- most of WD controllers are lazy initialized, and they not receive events before initialization.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear VS, vilish
It's my code.
in CompA
Method: SendValueAFireEvent parameter valueA
Event: ValueAInnerEvent parameter valueA
in CompB and CompC
Event: React To Component_GetValueA
EventSource: AComp
Subscribed Event: ValueAInnerEvent
When only compA and compB, CompB is body, I can get the value from compA,
but three comp, CompC is body, CompC can get the value from compA, but CompB can't get the value.
best regard,
youxuan
hi du,
I understand your scenario.
I think in the wdDOInit() of component C, you haven't defined component usage of B. Check whether in C's wdDoInit have u defined it as you have defined for A.
wdThis.wdGet<BComp>ComponentUsage().createComponent();
Rgds,
Vilish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.