on 07-19-2005 12:39 PM
Hello,
I created a value node in the context for building a table.
One of the table coloumns should be a dropdownbykey,
so I created another value node (under the value node
of the table).Besides, I created value attribues for
regular coloumns.
The hierarchy is:
value node(table) - value attribute
value attribute
value node - value attribute
For some reason, when I create the binding in the table
to the context, I can bind either the two value attributes or only the value node.
(I changed the singleton attribute of the inner value node to false but it didn't help)
Thanks.
Ruthie.
hi Ruthie,
You can use dropDownByIndex instead of dropDownByKey ui element. Then it will work.
Regards,
Jaydeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sravan,
You should have two separated value nodes - one for the table and the other for the dropdownbykey.
In your case- it should look like:
Tab(value node) - attr1(value attribute)
- attr2(value attribute)
- dropdownbykey(value node)
- key(value attribute)
In the outline view - right click with the mouse -
and choose "Create Binding" - and with the wizard you
can bind attr1, attr2 to the table.
Then, in the properties of dropdownbykey(value node)
- choose the property "selectedKey" and from there bind
the dopdownbykey to the context.
Regards,
Ruthie.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi sravan,
can you list your code in a new thread.
regards,
rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi saravan,
i think its not necessary for you to have a seperate node for your dropdownbykey, you can have its attribute under the value node for table itself. that will make things easy.
(note: if possible post your query as a new thread)
regards,
rahul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
The solution is that you can bind the table with the wizard but you have to bind the node inside the table
separately with the node attribute "selectedKey".
(Two different bindings)
Thanks you all.
Ruthie.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
change the celleditor to dropdownbykey and try to by the table. I think you are binding the attribute to the dropdown and later binding it to the table .
If you are using the dropdown bykey you don't need the extra value node inside the table node I suppose.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruthie,
Please do not use Templates while creating the tables.Try creating using "InsertChild" option .
Regards, Anilkumar
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.