[Laszlo-user] Dataset as an Attribute and Tag Error
David Buckler
db at intuvo.com
Thu Nov 29 15:53:09 PST 2007
I do stuff like this in a many places in our application:
<hbCol height="${parent.height}" datapath="ds_gridData:/grid/column">
<datapath pooling="true"/>
</hbCol>
As you can see there is a datapath definatition as an attribute but I
also want to have pooling which means I have to also have a datapath
tag. Now this used to work in 3.x.x and it worked in 4.0.3 but in
recent versions(4.0.5, 4.0.6, and 4.0.7) I have confirmed this no longer
works. When you go to the debugger in 4.0.7, and look at the datapath
of hbCol for example, all you see is the attribute pooling set to true
and nothing about ds_gridData. Can anyone confirm or deny that they see
similar behavior?
On what I believe is a similar note, I was trying to fix a datapath with
a tree and the original code was:
<tree datapath="*" text="$path{'@name'}"
isleaf="${this.datapath.getNodeName() != 'category'}" x="${(this.isleaf)
? -32 : 0}" >
However I needed to latch onto the onclone event of the replication
manager so I went:
<tree text="$path{'@name'}" isleaf="${this.datapath.getNodeName() !=
'category'}" x="${(this.isleaf) ? -32 : 0}" >
<datapath xpath="*">
<method event="onclones">
The strangest thing happen in that the tree then duplicated all the leaf
nodes. Any ideas?
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20071129/c42616a9/attachment.html
More information about the Laszlo-user
mailing list