on 10-08-2008 2:52 PM
Hi Friends!
An input Field is disabled when the application runs in the browser.
Although its property enabled has been set true, visibel has been set to visible
and the value property contains an attribute which has been binded with
a Model Node Attribute from the custom controler context.
What can be the reason for this circumstance.
I am not be able to insert a value or type in a search criteria
as it is disabled.
Please help I need urgent help!
Regards
sas
Hi,
Just check what is the cardinality of the node for the attribute binded to the input field. It should be 1:1 or 1:n and if its 0:n or 0:1 then you need to instantiate an object of that node in wdDoInit()
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi the problem is still existing.
I have checked it out it has the cardinality 0..1. (Model Node Cardinality).
The context element hasn't a cardinality.
I have added this code but as mentioned the problem is not solved yet.
Ial_Query_Input input2 = new Ial_Query_Input();
wdContext.node_Ial_Query_Input().bind(input2);
input2.setI_I_Selcrit(new Cciht_Ipeva());
Before doing this modification I have edited the modelbinding (within Customcontroller)
and have bound some additional context elements and the same I did also
within the View Context (edited the Context Mapping and have bound also some additional context elements ).
Later I have bound one of this elements with above mentioned Input Field.
Input Field is still disabled. If I bind this Input Field with another element
which was not added by me (an existing one)
the input field is enabled.
Please help !
Reagrds
sas
Hi I have One Main Model Node and have two Child Nodes below wiith their own
elemets in it. The Child Elements dont allow to change the cardinality.
All what is possible to change is the "selection" from 0.1 to 1.1. ist that OK ?
The cradinality of the main Model Node I cant change it because
the existing on ewhich is not made by me
has 0.1. and it is working well. But second one seems to be like
corrupt.
Regards
sas
hi!
please check the cardinality .
thanks
vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.