On Wed, Oct 2, 2013 at 7:52 PM, Alex Harui <[email protected]> wrote:
>
>
> On 10/2/13 4:55 PM, "OmPrakash Muppirala" <[email protected]> wrote:
> >
> >I am still trying to get the jQuery_Sample app to run. I added
> >'implements
> >IFlexInfo' to the jquery application class.
> > at
> >org.apache.flex.core::SimpleCSSValuesImpl/getValue()[C:\p\flex_os\workspac
> >e\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\SimpleCSSV
> >aluesImpl.as:237]
> >==========================================================================
> >===========================================
> >
> >It seems like the iBeadModel property is not available in the Label
> >instance. I see that in defaults.css, we do set IBeadModel, though:
> >
> >I did spend quite a bit of time figuring out why it is not being set. Any
> >idea what is going on here?
> Hmm. SimpleCSSValuesImpl line 237 is trying to find the global selector.
> I have one in my copy of defaults.css but I'm not synced up. For sure,
> there should be a null check there so that's a bug.
>
>
I added the null checks - will check it in soon. But the real problem is
that no such value exists in global or in * So, at the end a null is
returned by the getValue() function and it fails like this:
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at org.apache.flex.core::UIBase/get
model()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\UIBase.as:173]
at org.apache.flex.html.staticControls::Label/set
text()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\html\staticControls\Label.as:46]
at org.apache.flex.binding::SimpleBinding/set
strand()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\binding\SimpleBinding.as:51]
at
org.apache.flex.core::UIBase/addBead()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\UIBase.as:231]
at
org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLArray()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\utils\MXMLDataInterpreter.as:153]
at
org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLInstances()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\utils\MXMLDataInterpreter.as:224]
at
org.apache.flex.core::ViewBase/addedToParent()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\ViewBase.as:43]
at
org.apache.flex.core::Application/addElement()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\Application.as:133]
at
org.apache.flex.core::Application/initHandler()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\Application.as:63]
> >
> >Also, there seems to be an inconsistent usage of "iSomething" vs.
> >"ISomething" throughout the codebase. Could that be causing these issues?
> >Maybe we should standardize on one naming convention.
> Yeah, that needs to be ironed out. I was planning on waiting until I see
> what it takes to get custom CSS styles to work on the JS side. There was
> some code somewhere that was automatically changing the capital "I" to
> small "i" and so we had to use small "i" in the code, at least for now.
>
Do you have an idea where this piece of code could be in? I can take a
shot at fixing this.
>
> -Alex
>
>