Hi all,

I have a text object whose datapath points to an attribute on a
subnode (or group of subnodes) in my dataset.  Everything was working
fine, but now, when I change the attribute that the text is pointing
to, the text does not update.  if my dataset data looks like:
<result>
<item id="1" listName="First Item"/>
<item id="2" listName="Second Item"/>
</result>

And I have a text object whose datapath is "result/item/@listName".  I
can go in and change the first item's listName to "New Item Listname",
and my text object will not update (it will still display "First
Item").  Additionally, if I add another subnode to my dataset, "<item
id="3" listName="Third Item"/>", a new text object does not appear!

if I have say, only one item node (so a replicationmanager is not
created), the text will still not update when I change the attribute,
but if I reset the text object's datapath to the same that it was,
then it will update itself and show the new attribute string.

This was all working fine before, and then I formatted my data
slightly differently, making absolutely no changes in the code except
to point the datapath in the right place, and all of a sudden
everything broke.

Is there some kind of method I can call in the text object and/or in
the resulting replication manager to force it to go back, look at the
data, and update itself? Additionally, does anyone have any idea as to
why this stopped working all of a sudden?

-- 
Justin Ellis
646-783-9387
Fax: 866-448-6503
[email protected]
www.LightBulbLaw.com

Reply via email to