on 04-09-2008 5:46 AM
I am working on web dynpro Dc . In my project 2 webdynpro componets are communicaiton through interface controller. Suppose webdynpro component 1 is firing plug to webdynpro component 2. In webdynpro component 2 , onPlugBullkProcessIN() in interfaceview of 2 some value is set to context attribute. When firing plug form 1 to 2 , onPlugBullkProcessIN() method in interfacevIew of 2 is getting called and value is set to tht contextAttribute , but when i am trying to get tht value its returning null in viewcontroller of webdynpro component 2 .
also while compiling i am getting following warning
[wdgen] [Warning] com.apl.dyncomp.BulkProcessing --> NavigationTargetReference com.apl.dyncomp.BulkProcessUsage1_ProcessStepOUT_1: Target Inbound Plug ProcessStepInterfaceView.BullkProcessIN of Link has Type startup. Do not navigate to Inbound Plugs with type startup. The behaviour of this plug type will change.
How can i resolve this issue??????
Hi Kavita,
The plug in interface view of 2nd Component, BullkProcessIN, is of type startup. Make it a standard plug.
While creating a inbound plug in interface view it gives type of plug to be made. The options are Standard, Startup and Resume. I think you may have chosen type Startup while creating inbound plug BullkProcessIN.
Regards,
Gopal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kavita,
I had given answer to resolve the warning
com.apl.dyncomp.BulkProcessing --> NavigationTargetReference com.apl.dyncomp.BulkProcessUsage1_ProcessStepOUT_1: Target Inbound Plug ProcessStepInterfaceView.BullkProcessIN of Link has Type startup. Do not navigate to Inbound Plugs with type startup. The behaviour of this plug type will change.
I created a project with two components. I tried with both startup plug and standard plug. In both case context attribute was set successfully and was displaying. Don't know why you are facing the problem. Have you bind the viewcontroller's context attribute to component controller's context attribute in component2.
Regards,
Gopal
yes , binding is fine. Even i changed type for plug to standard , but still i am not able to get value tht has been set in inBound() method. Even print statments wtitten in side inbound() method of interface view are getting printed i.e. value is set to ocntext attribute but not able to retrievie in view. ,retruning null value.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.