Skip to Content
author's profile photo Former Member
Former Member

Z Component Usaage -Enable/Disable custom fields.

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2011 at 03:00 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.