hello there,
i'm doing a very simple group management thing with openlaszlo and i'm
stuck on a little problem with databinding:
let's say i have a dataset, like
<dataset name="users">
<user id="1" name="me" ismember="true" />
<user id="2" name="you" ismember="true" />
<user id="3" name="him" ismember="false" />
<user id="4" name="her" ismember="false" />
</dataset>
and two <list>s with <textlistitem>s replicated from the <dataset>. as
you would have guessed, one's <datapath> is set to
"users:/[EMAIL PROTECTED]'true']" and the other one's <datapath> is set to
"users:/[EMAIL PROTECTED]'false']" - when i click on one of the
<textlistitems> a method is called that changes the attribute in the
<dataset> in the respective user row. shouldn't the views bound to that
<dataset>, in this case the <list>s with their <textlistitem>s, update
then too?
when i change this simple example so that each <list> uses a separate
<dataset>, with the method deleting the node from one <dataset> and
adding it to the other one, then the first <list> gets updated (the item
disappears) but not the second one (the item does not reappear in the
second <list>).
any idea what i'm doing wrong? tried setting the datapath's rerunxpath
attribute to true, also tried resetting the complete datapath, but to no
avail.
greetings & thanks
- mo
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user