recently some of the work I've been doing has led me to creating
dictionaries of attributes that I want to be able set essentially as if
they were LzNodes. Right now, the <event> syntax doesn't support this,
even though the runtime allows it.
What we do we think. Are you allowed to do this:
<node name="thing">
<method name="construct" args="p,a">
this.dictionary = {};
this.dictionary.aProp = null;
...
<method name="setDictionaryValue" args="n,v">
this.dictionary[ n ] = v;
if ( this.dictionary[ "on" + n ] )
this.dictionary[ "on" + n ].sendEvent( v );
</method>
...
<view name="thingListener">
<attribute value="${ thing.dictionary.aProp }"/>
A
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev