on 04-02-2005 4:03 AM
Hi,
I have a strange problem, input field is getting disbaled for input if i am assigning it to a value attribute under value node, but if i am assigning it to a independent value attribute it is getting enabled for input..In properties everything is default.Please let me know if anyone has clues for this.
Regards,
Akash
Hi Akash,
When u bind a value attribute under a value node which has a cardinality of 0-n or 0-1 to the input field u should first create a node element and bind it to the node .Check the below code.
iprivate<<ViewName>>.I<<Node>> Element nodeEl = wdcontext.create<<Node>>Element;
wdContext.node<ValueNode>.addElement(nodeEl);
Or just make the value node cardinality 1-1.
For more details about cardinality check the below link.
http://help.sap.com/saphelp_nw04/helpdata/en/21/82a9058fa8de46b1ba7522289345b2/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akash,
You need to place this two lines code (In the above reply) in the wdDoInit() method.
First statement will create an element of contextode type and second line will add that element to the actual node.
Regards, Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This happens if the input field is bound to a node that does not have any node elements (yet).
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.