Raju,

I do not normally use rerunxpath, but I will have to remember that in
the future (I had forgotten all about that attribute).  As it happens,
I figured out what the problem was:

My text was part of a grid, and I had a dataset that looked something like this:

<result>
<item listName="item1" date="2012-06-28" note="This is a note"/>
<item listName="item 2" date="2012-06-29" note="This is also a note/>
<layout listName="" note=""/>
</result>

Then I set the grid datapath to "dsData:/result/layout" and the
contentdatapath to "../item".  This allowed me to read only the
attributes I want into the grid, instead of all of the attributes
contained in each <item> entry.  Apparently, going back a level (the
".." in the contentdatapath) is what was breaking this.  I changed the
dataset to this:

<result listName="" note="">
<item listName="item1" date="2012-06-28" note="This is a note"/>
<item listName="item 2" date="2012-06-29" note="This is also a note/>
</result>

And then set the grid datapath to "dsData:/result" and the grid's
contentdatapath to "item", and then everything started working as
expected once again.

I do not know why going back a level in the contentdatapath was
breaking it, but I am happy I figured out how to get it working again.


On Fri, Jun 29, 2012 at 6:49 PM, Raju Bitter
<[email protected]> wrote:
> Do you use the rerunxpath attribute?
> http://www.openlaszlo.org/lps4.9/docs/reference/lz.datapointer.html#LzDatapointer.__ivars__.rerunxpath



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

Reply via email to