Skip to Content
0
Former Member
Aug 04, 2008 at 09:02 AM

How can I set a context root attribute?

24 Views

Hi,

I have created an attribute (type: string) called "ACTION" directly under the context root node which I want to set dynamically. But all my tries failed and now I don't know if it is possible at all.

My current solution is

lo_el_context = wd_context->get_element(  ).

  lo_el_context->set_attribute(
      name =  `ACTION`
      value = lv_action ).

It has a default value which I try to change by this code.

Any ideas?

Best regards, Steffen

Edited by: Steffen Weber on Aug 4, 2008 11:03 AM