cancel
Showing results for 
Search instead for 
Did you mean: 

Elements getting disabled by default

Former Member
0 Kudos

Hello

I am creating a view with certain input fields and binding the same with one Value Node and value attributes. When I try to run the sample application all my input fields are input disabled. Infact I have noticed that if i bind my inputfield to value attribute which is not a part of the node it renders it as input enabled but else input disabled.

We can't bind inputfields to value attributes with value nodes?

Thanks in advance.

Regards

Rajeev

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check the cardinality of the value node. If it's 0...n change it to 1...n.

Regards,

Satyajit.

Answers (4)

Answers (4)

former_member189631
Active Contributor
0 Kudos

Hai Raajeev,

Check this .

1)I guess Even if u r not Initialize any value to an attribute in a node should be enabled so Check ur Node Binding with ur Input Field.

2)Ensure that Ur node have the Cardinality 1..n.

3)Or Set some Value to ur Node and check It.

Thankyou,

Ramganesh.

former_member186016
Active Contributor
0 Kudos

Hi Rajeev,

If a input field is binded to some attribute or node and that node is not initiailized the UI element is always disabled. Please check if you are initializing the node and attribute at right time.

Regards,

Ashwani

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi,

To enable this field is necessary binding the inputfield to a attribute context. If this attribute context is inside a node value, the node value has to set the cardinality 1..1, where you have one node to one view.

Regards, Suresh KB

Former Member
0 Kudos

Hi Rajeev,

You can bind the inputfields to a valueattribute inside a valuenode.

But check the cardinality of the node. Make it as 1..n so that inputfields will enabled at runtime.

If the cardinality is 0..n then you need to create the elements of the node in your code,

Regards, ANilkumar