I read the new doc on inheritsFrom feature and wondered how should i implement it correctly.
Lets assume that i have a db table that has a fk to another table,
how should i use this feature in order to display, edit and add new records on ListGrid (for example)?
My real scenario has multiple tables pointing to others and so on, but i think that it would really help me to find the way for the basic one.
Right now, i copy the entire fields declaration from the pointed ds and adds a tableName attribute for each one. beyond that i add to the fetch operation binding a table clause and a join where clause.
This makes only the display works.
I wish that it would have been more wise and elegant, any idea?
Lets assume that i have a db table that has a fk to another table,
how should i use this feature in order to display, edit and add new records on ListGrid (for example)?
My real scenario has multiple tables pointing to others and so on, but i think that it would really help me to find the way for the basic one.
Right now, i copy the entire fields declaration from the pointed ds and adds a tableName attribute for each one. beyond that i add to the fetch operation binding a table clause and a join where clause.
This makes only the display works.
I wish that it would have been more wise and elegant, any idea?
Comment