cancel
Showing results for 
Search instead for 
Did you mean: 

enable input fields in a view container

Former Member
0 Kudos

Hi,

I have inserted a view in another view's view container.

But the input fields are disabled.

can anybody tell me how to enable them?

readonly property is set to false...

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi..

This situation may arise when the attributes (mapped to the input field in the view) are mapped to the interface controller via the component controler and the IsInputElement property of the node in the interface controller is set to True.

In this case you cannot change the cardinality of the node from the component controller also.

If this is the case, try by removing the interface controller and component controller binding.

Regards,

Sayan Ghosh

Former Member
0 Kudos

Lavanya,

If your controller context's model context is mapped to model you created, then change the cardinality for the model classes. You can edit the cardinality under relations tab after double clicking a model class. If the cardinality is 0..n or 0..1, make sure you are providing a an instance for that object under controller's init method and if it is 1..n or 1..1, you no need to attach any instance in that case.

Kiran

Former Member
0 Kudos

Hi,

Check the cardinality of the node bound to this input field

if its a value node change the cardinality from 0..1/n to 1..n.

If its a model node try to execute and model and see their are any results

Create an element to this node .

Regards

Ayyapparaj

Former Member
0 Kudos

Hi,

cardinality is 0..n and , it is not allowing to change...

Former Member
0 Kudos

Hi,

Is this a model node?

if its a mapped node you have to change it from the source.

Controller->View

Then you have to change in the controller

Regards

Ayyapparaj

Former Member
0 Kudos

Hi,

its a mapped node. Iis not allowing to change the cardinality both in the source and controller context

Former Member
0 Kudos

Hi,

Make sure that you have bound all input fields to their context.

Regards

LakshmiNarayana