on 03-09-2018 4:24 AM
Hi Experts,
I have created a context node at the component controller now I am trying to access the context node to set_collection from another component's event handler
lr_component->typed_context->my_context_node->collection_wrapper->set_collection( test ).
but it says my_context_node doesn't exist, I don't get this error when I try adding some of the existing standard context node names here.
Please help!
Thanks.
May I know in which method u r writing ur code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are probably using the wrong reference. Check if your IMPL class has ZTYPED_CONTEXT in class attributes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rituraj,
Thanks for replying
Class has an attiribute ztyped_context already, but when i use it in the statement lr_component->Ztyped_context->my_context_node->collection_wrapper->set_collection( test ). It says Ztyped_context doesn't exist. what could be the issue?. Pls help.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use
lr_component->Ztyped_context->my_context_node->collection_wrapper->set_collection( test ).
If ztyped_context is not their, then create this attribute and assign enhanced class name.
Regards
Rituraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
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.