on 03-23-2011 9:09 PM
Hi all,
i have created one table with dropdownby Index field .
In DISPLAY....i am able to get all values corresponding to the selection.In debugging i am getting all entries for dropdown field but while display i am getting first DD value.
And in CREATE ....when i am selecting first value in DD field for 1st row and then selecting another value for 2nd row it is taking second value for all rows.means whatever i select...same value is populated in all DD field of rows.
Thanks
Kiran
normally for your case i would choose to have a DROPDOWNBYKEY UI element and the property key is binded to a attribute of data element having domain values.
If there is no domain value then i would just bind a value set to the attribute.
If your business case is absolutely to have DDBI, then you need to make sure that every row have a node with data to be appeared in DDBI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Sorry..i did not get you..so how can i set values for DDBI.I mean to say what i need to add in my code.Any specific statement to set index values??
>
> Thanks
> Kiran
nope, it has to be arranged in the context level. I suspect that you have problem there.
See for example the context structure.
node_sflight
carrid
connid
node_booking (cardinality 0..n)
sconnid
sdate
stext
node_sflight is binded to the tabple datasource property of the table.
you have a column booking with DDBI as cell_editor, bind this source property to the node_booking.
bind the text property to the one of the attribute in node_booking like stext.
You need to fill the data node_booking for every row in the node_sflight.
To my understanding , with your context structure ,if you want to have dropdownby index then it is not going to work for you.
It will work as DDBK as suggested by bruce.
is DD_SELECTION a node with 0..n cardinality? in that case you need to bind this as data source for the DDBI and the text sould point to a attribute inside.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.