on 2014 Apr 03 3:09 PM
Hello
What exactly is the striking difference between these methods? fire_outbound_plug is being called inside call_outbound_plug, as both are the methods of a same class cant we call fire_outbound_plug directly???
Regards
Sanguine
Hi Sanguine,
Fire_outbound_plug method is used in window outbound plug and that to only when you want to navigate between two components which are added in a main component( in which a navigation link is defined for the two components added in the component usage ).
If at all there are two components and the second component is added to the first component component usage and defined a navigation link then in the window outbound plug we directly use view_manager->navigate( ) method.
Regards,
Krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanguine ,
The method call_outbound_plug is responsible for calling a particular implementation method defined for an outbound plug (OP_prefix for O/P , gets created when you create an outbound plug ) .
Whereas the method fire_outbound_plug is responsible for actually triggering the navigation i.e whatever the o/p is destined to call will be called say for instance delegated o/p of window of another component .
Hope this will be helpful .
Thanks ,
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Basically if you will see in the class method fire_output_plug has visibility as protected and call_output_plug has visibility as Public.
So you can call and access fire_outbound_plug method only in the window and on the other side call_outbound_plug can be used and called from anywhere.
Thanks
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanguine,
suppose if you are opening as a popup that time using call_outbound_plug method.
if you want to exit that popup u can use fire_outbound_plug method.
If you want more clarification on this just put a break point in any standard popup then you come to know .
Thanks and Regards,
Santosh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.