[OpenAjaxIDE] Gadgets TF requests restoration of onchangePattern
Jon Ferraiolo
jferrai at us.ibm.com
Thu Aug 21 17:04:35 PDT 2008
> So what’s the argument for having the pattern at all? (other than
> it’s already implemented)
I'm not sure what all of the arguments are, but here are ones that I
remember from today's phone call.
Here is a weak argument: because the widget author prefers to name his
callbacks in a different way
A stronger argument is that some developers will want to offer a single
callback function to cover all properties, such as propertyChangeCallback
(), especially if his widget has many similar properties. Then he could
say:
<properties onchangePattern-"propertyChangeCallback">
<property name="prop1" .../>
<property name="prop2" .../>
etc.
</properties>
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20080821/c25f16d2/attachment-0001.html
More information about the IDE
mailing list