on 10-08-2010 6:43 PM
Hi all ,
I ve create a node in the COMPONENTCONTROLLER and i ve mapped this node to a CUSTOMCOTROLLER
Now when i create a method in the CUSTOMCONTROLLER : that SET the node it return an excption Null pointer.
The error occurs when i want to set the node
how can i solve it .. or how can i make possible the set of the node created in the component controller and mapped to a custom controller ?
Best regards !
Hello,
You can try two things:
1. In custom controller also, include the main component controller if it is not done so
2. Below code will instantiate custom controller:
DATA:
lrf_crtl_custom TYPE REF TO ig_crtl_<custom>.
* Verwerking --------------------------------------------------------- *
lrf_crtl_custom = wd_this->get_crtl_<custom>( )
You can call method or set attribute...
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Please check that if you are creating instance component controller...
you can check rhouhg active_component( ) method and create the instance...
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.