[Xsltforms-support] Question on how index() function changes after insert and deletes
Brought to you by:
alain-couthures
From: Dan M. <dan...@gm...> - 2011-07-28 18:09:35
|
Hi all, We are working on a queue management user interface and we have the basics of it working here: http://en.wikibooks.org/wiki/XForms/Queue_Management There is a working demo here: http://demo.danmccreary.com/rest/db/dma/apps/xforms-examples/data/15-patterns/08-queue-management/edit-queue.xq You will note you can move items up, down or to the top of the queue. Although the basic operations for moving items up and down the queue seem to work, we are getting some odd behavior about the index() not staying on the selected row. This is very understandable since we are doing inserts and deletes on the rows. But we were just wondering if there is some way to keep the index() function on the selected trigger which seems to stay selected correctly but the index() function does not.. Thanks! - Dan -- Dan McCreary Semantic Solutions Architect office: (952) 931-9198 cell: (612) 986-1552 |