cancel
Showing results for 
Search instead for 
Did you mean: 

Z Component Usaage -Enable/Disable custom fields.

Former Member
0 Kudos

Hello Friends,

This is continuation to my first thread using the same subject.

I have a component usage of my Z component in std component.

I have some custom fields in my z component which i have to control in the std component.

Othe click of a button in the std component(which i have enhanced and placed a button), I need to ENABLE or DISABLE

the custom fields which are on my z component view.

I have declared an attribute(WDY_BOOLEAN) and binded it to the custom field in my z component.

Added this attribute as part of the interface node and used it my std component.

On the click of a button in std component's view, i have set the attribute to disable, based on some conditions..and show the z component view as a pop up, but it is not getting disabled.

Is my approach incorrect? If yes.. how to control the UI elements on a z comp view which i have used in my std compnent.

Regards,

Vinay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Your approach seems to me okay. Only suggestion to debug and see where this context attribute value is changed.

You also need to check the context mapping between the controllers and view elements once again.

Former Member
0 Kudos

Solved by myself..

I have actually binded the Element and the variable incorrectly..

i used the option of "Bind directly to the variable" option while binding to enable property of an element.

Then the code worked.

Regards,

Vinay