Hi Rami,
Thanks for your response. My replies are interspersed below.
It would be a mess if you would keep the both approaches side-by-side.
I wasn't very clear in my original email. I would only proposed to
maintain both side-by-side for a limited period of time while the old
way was being deprecated. Since this is an incubator component, it may
not be necessary to go through such a formal process to change the API.
However they could be kept side-by-side by making the events all
lowercase like oncancel etc. (that seems to be laszlo standard)
That's definitely possible - albeit prone to confusion.
This brings up a good question: For new OpenLaszlo classes (and changes
moving forward) is the coding standard for attributes and events still
all lowercase? I only ask because for our projects (including Webtop) at
Laszlo Systems, we now do camel case for attributes and events, and
camel case with a capital first letter for class names. We implement
this on all *new* classes. I'm happy to follow whatever the official
recommendation is for OpenLaszlo though.
Also I am not sure but do event names and method names collide?
Aren't events kept in their own array or something?
Yes, they collide. This code throws a compilation error:
<class name="MyClass">
<event name="onChange" />
<method name="onChange">
Debug.write("HI");
</method>
</class>
Take care,
Antun