cancel
Showing results for 
Search instead for 
Did you mean: 

UI elements are disabled on the used DC

Former Member
0 Kudos

Hi Experts,

I came across verty wierd problem and require your help on this. I have 2 DC X & Y. DC X is added as used DC in DC Y.

The DC X is also used across multiple other DC. This DC basically contains the Selection criteria which is required to fill in for the successful working of the other DC(where it is used).

Now the issue is IN DC X, there is one container on the View which cantains:

Label_STARTDATE : InputField_DATE1 Label_TO Label_ENDDATE: InputField_DATE2

Now earlier the container is set to invisible in the My current DC that is Y (having X as used DC), which I make it visible as per the new changes.

After making it visible on deploying I found that the whole container is diabled on the screen including Labels, input fields.

Now the Point here is :

1. The same Container on the other of the DC X which is used in other Applications is working fine.

2. I have checked the Porperties of the container and it is enabled.

Please suggest if you can help me on this. AND HOW CAN THESE FIELD GET ENABLED?

Thanks in advance.

Edited by: Shobhit Taggar on Sep 21, 2009 2:58 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Shobhit ,

Check two things for your problem and do let me know if its still unresolved:

Step1:Cardinality of the context node:

For input field we generally use 1:1.But do check all other possible cardinality.

Step2:Interface controller

There is apropert of interface controller IS Element.It should be true while using that dc in other dc.

Check this property in interface controller propert of DC X, is set to true.

I hope you may get some desire results

former_member283828
Participant
0 Kudos

Hi,

In DC 'X', create a attribite in component controller of type VISIBILITY and drag the attribute to your viewcontroller and bind the visibility property of the container to this attribute.

In the wdInit method of the view set this attribute value to 'VISIBLE' so that container is initially visible when you deploy the DC 'X'.

If you want to change the visibility of the container in another DC which is using this DC, drag the attribute to the interface controller and to another dc and change the attribuite value as you require.

Regards,

Kiran Kumar

Former Member
0 Kudos

Thanks Kiran & Nishan for your response

@ Nishan: The cardinality of the node is 1..n and As DC 'X' is already working fine in other DC's which has embedded this one except DC 'Y'. ONly in the DC 'Y' I have embedded DC 'X' then its whole contrainer is coming up diabled (But visisble).

The container contains 3 labels & two date input fields. I have checked the Mappings & cardinality whoch all seems fine.

The Visisblity of container of the view in DC 'X' is binded to the context node which I already made visible in my DC 'Y'.

Second the isInputElement property of the Context node in Interface controller is False ( True is not required as) this Context node only Control the visisblity of All UI elements on that view of DC 'X'. There is another node which actually passes the Date values from DC X to DC 'Y' has this property setted to 'True' so in this cotext everthing seems fine.

Please Suggest.

@ Kiran: Thanks for your response but the problem is not with the visisblity, it is that when i set the UI elements visisble in the DC 'Y' the elements seems ddiable on deploying. Your suggestion for binding the visibility property has already been implemented.

Please Provide your comments.

Thanks

Shobhit Taggar