Posted by msreekanth
on March 10, 2009 at 1:26 AM PDT
I have a page which contains 2 tables.In one table if I select a row, then the 2nd table should be updated correspondingly.But what happens is when I publish to /table/clear, both the tables are getting cleared.
So how can I write the code such that basing on a topic published, the contents of this table should be cleared and new data should be populated in the table with the other table with out getting effected.
What I have in code is , a dojo table widget publishes to a topic.Correspondingly in glue.js , there is function which subscribes to above topic and then publishes to another topic which should contain code to populate data in other table.
What I am seing when I try to do this is seeing the warning dojo_table5 : Warning. Attempt to add record to dojo.table. with duplicate row id: undefined. Autogenerating new id.