[OpenAjaxIDE] Spec and schema updated for factory method feature (paramName, paramValue, etc.)
Bertrand Le Roy
Bertrand.Le.Roy at microsoft.com
Fri Sep 12 12:34:49 PDT 2008
It looks good except I don't think you made explicit that in the case of a generic factory, the parameter value can be a string or a function. Maybe we could have a second example:
<parameter name="classToInstantiate" datatype="Function"/>
At runtime this method can be invoked as follows: myShape = classFactory(acme.graphtools.circleClass) or myShape = classFactory(acme.graphtools.rectClass).
From: ide-bounces at openajax.org [mailto:ide-bounces at openajax.org] On Behalf Of Jon Ferraiolo
Sent: Friday, September 12, 2008 12:13 PM
To: ide at openajax.org
Subject: [OpenAjaxIDE] Spec and schema updated for factory method feature (paramName, paramValue, etc.)
Could people please take a look at the write-up that I have added to the spec on the new factory method features that we decided on during Tuesday's phone call? Here is the URL:
We still haven't decided whether the tag names should be:
We'll probably have to make that decision on Tuesday.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IDE