debugging context nodes
how can I see the values of the attribues of the context nodes on the debbuging mode?
Is it possible?
Sure it is possible..
all you have to do is find a point may be the WDDOMODIFY method where you call the following code to get all the attributes of the node. the code may look like
DATA lo_nd_source TYPE REF TO if_wd_context_node. DATA lo_el_source TYPE REF TO if_wd_context_element. DATA ls_source TYPE wd_this->element_source. DATA lt_source TYPE wd_this->elements_source. * navigate from <CONTEXT> to <SOURCE> via lead selection lo_nd_source = wd_context->get_child_node( name = wd_this->wdctx_source ). CALL METHOD lo_nd_source->get_static_attributes_table IMPORTING table = lt_source.
Here Source is the node and lt_source has all the attributes.
Set a break point at call method and after the method is executed you can check all the attributes for this node.