on 07-22-2008 7:39 AM
Hi All,
I am using Inputfield UI element, UI element is editable only, when its binded to a value Attribute in the root context and
not Editable when bind to a value Attribute under a new value Node? is there any extra setting for that?
Thanks
-
Nagaraju
Hi,
if you want to use a attribute under the "ValueNode" to bind Input Field
go to properties of "ValueNode" you found cardinality property make it to "1...n" or "1..1".
then your problem solves
Thanks,
RameshBabu.V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If we bind an InputfieldElement to the valueattribute of contextnode having cardinality 1..1 or 1..n input field will editable and if cardinality is 0..1 or 0..n then the the inputfield is not editable.
Regards
sowmya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to see your input field just editable then make the value node's cardinality to 1..1. it will be editable.
If one input filed to one attribute then it will work by changing the cardinality of value node. or
If your mapping one attribute to many input fields at runtime you have to create as many input fileds you have as told by Nikil.
PradeeP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No there is no 'settings'
This is since there is no element of type 'Node' at runtime. you can resolve it by creating and adding an element on initialization of view or where you need it.
sol:
in wdDoInit() of your view
wdContext.node<YourNode>().addElement( wdContext.create<YourNode>Element());
this code will create an element runtime thus the input field enabled.
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This is becuse there is by default one element for the attribute inside the root context. But for the node you need to create the element. Hope it is clear.
thanks & regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.