I am really not sure how flexJS internally works. Is the js code (for example the file ViewBaseDataBinding.js in org.apache.flex.binding) generated from the as version (ViewBaseDataBinding.as) from the complier OR is the js file „handwritten“?
Because there is some little difference.
in the ViewBaseDataBinding.js in initCompleteHandler function the following
code is missing:
if (!("_bindings" in this._strand))
return;
before the line
var bindingData = this.strand_._bindings;
This is why I get the following error:
Uncaught TypeError: Cannot read property '0' of undefined
org.apache.flex.binding.ViewBaseDataBinding.initCompleteHandler
goog.events.EventTarget.fireListeners
goog.events.EventTarget.dispatchEventInternal_
goog.events.EventTarget.dispatchEvent
childCtor.base
org.apache.flex.events.EventDispatcher.dispatchEvent
org.apache.flex.core.ContainerBase.addedToParent
childCtor.base
org.apache.flex.core.ViewBase.addedToParent
org.apache.flex.core.Application.addElement
org.apache.flex.core.Application.start
(anonymous function)
Thanks
Marcus
signature.asc
Description: Message signed with OpenPGP using GPGMail
