nando
03-06-2006, 12:58 PM
Was wondering whether if any would there be a way for a developer to extends a component but not via the lzx syntax but via java.
say
<grid inheritsfrom="org.my.components.MyGrid">
And then in java world.
public class MyGrid extends LZGrid {
public void onInit() {
// adding rows from java
}
public void onSelect() {
SelectedRow row = this.getSelection();
//..
}
.. //other getter and setters
}
=========================================
I see this feature to be highly valuable to laszlo
Because at current there is no way to do something like what i mention above right??
say
<grid inheritsfrom="org.my.components.MyGrid">
And then in java world.
public class MyGrid extends LZGrid {
public void onInit() {
// adding rows from java
}
public void onSelect() {
SelectedRow row = this.getSelection();
//..
}
.. //other getter and setters
}
=========================================
I see this feature to be highly valuable to laszlo
Because at current there is no way to do something like what i mention above right??