[Laszlo-dev] Does anyone depend on the xpath being nulled out when you advance a datapointer, or is it just a bug?
Henry Minsky
hminsky at laszlosystems.com
Tue Jun 24 08:16:56 PDT 2008
I'm looking at a broken data example in the docs, the last example in
the page http://labs.openlaszlo.org/trunk-nightly/docs/developers/databinding.html.
It has some example code (broken now) which is supposed to work around the
behavior of datapath, where if you call selectNext() or selectPrev(),
the datapath's xpath is set to null.
I am wondering if anyone is depending on this behavior, or if it would
be a good idea to
try to make the selector functions (selectNext, selectPrev, etc)
update the xpath
to be correct. That would mean for example if you were pointing to
people/person[1], and
you called selectNext, the xpath would be updates to be "people/person[2]".
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
More information about the Laszlo-dev
mailing list