On 2006-03-25 11:02 EST, P T Withington wrote:

> To add attributes to a dataset or dataset instance,
> you put them in a trait and then inherit the trait.  This lets you
> have tags whose body is special, but still extend those tags.

So let me make a strawman illustration (just thinking out loud):

<trait name="datasetMethods">
   <handler name="ondata">
     ...
   </handler>
</trait>

<dataset name="myData" extends="datasetMethods">
     <items><item>A</item></items>
</dataset>

[Using extends in an instance implies the instance is an instance of  
the tag but with the traits listed in extends.  This is certainly  
heavier that the data/model idea that Jim/Oliver proposed.]
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to