cancel
Showing results for 
Search instead for 
Did you mean: 

Using One Context Node's Info in the Setter of Another

mike_mcinerney
Participant
0 Kudos

I am very new to WebUI.

I have a view. In its context, it already uses context node BUILHeader . I need to create a field based on BP_NUMBER info in BUILHeader and place the derived information on the screen.

I created a new context node that has a field DerivedValue in it. I think I am supposed to populate it in it's P_Setter. How do I make he information from BUILHeader available to my setter.

I think this is simple, but I'm new. so I need a good code example here.

Thank you .

...Mike

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Like Amar pointed out if it is possible pleae make sure that the field is also in BUILHeader context nide itself.

If you want it to be in different context node then

you can use me->typed_context -> "<context_node name >"

create an attribute "typed_context" pointing to the context class.

"<context_node name >" --- Here you can replace the any of the context node which is present in your view!! you can use

this anywhere inside the view. Hence you will be able to access other context nodes as well within the purview of the view.

Thanks

Abishek

amarnath_kathi
Active Contributor
0 Kudos

Mike,

/..I need to create a field based on BP_NUMBER info in BUILHeader and place the derived information on the screen.../

You should have created the new field as well in BUILHeader unless your requirement is something drastically different. Then you could have called one field from another within context node BUILHeader.