You could try doing it in script.

In the LPS 3.x world, that would look like

var MyDatapath = Class( "MyDatapath" , LzNode );

MyDatapath.prototype.mynewmethod = function (foo) {
...
}

If you do that, you don't get a new LZX tag to use in XML though, you can only reference the new class
via _javascript_ code.





In our  next Legals preview release that class declaration would look like

class MyDatapath extends LzDatapath {
...
  function mynewmethod ( foo ){ ....
  }

}



On 8/16/06, Ran < [EMAIL PROTECTED]> wrote:
<class name="ReplicatioNotifier" extends="datapath">
    <!-- events methods etc -->
</class>
This dont work.

How do I extend a datapath ?

Thanks,

ran
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to