on 07-31-2008 6:13 PM
Hi All,
I have table UI and it has a tree intergrated in it, so the context for my table looks like this
---NodeBlock3
-
RecursiveNodeBlock3
-
elem1
-
elem2
-
elem3
-
etc....
root node - Nodeblock3 (Cardinality - 0..n and it is Singleton)
elem 3 is an input field
my requirement is as follows: at runtime I input something in input field (elem 3) and hit enter. Elem 2 (TextView) has to get populated automatically at runtime with the value I entered in Input field (elem 3)
please let me know if this is possible and how can I go about doing this.
Thanks
Neeraja
Its working!
I had to loop through and set the attributes properly in the recursion node
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why don't you just bind the TextView against attribute "NodeBlock3/@elem3"?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin,
Both the input field and the text view are bound to the appropriate context.
but when I put in some value in elem3 and hit enter it does not populate elem 2.
I also added code in theOnActionEnter method of the input field.
wdContext.nodeBlock3Node().currentBlock3NodeElement()
.setElem2(wdContext.nodeBlock3Node().currentBlock3NodeElement().getElem3());
I think it is got to do with dynamically assigning the value to elem 2. Any Inputs?
Regards,
Neeraja
Edited by: Neeraja Jagannath on Aug 1, 2008 3:43 PM
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
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.