I discovered today that DropDownList.js was broken. I made some quick changes to it to get it to work for the DataBindingTest demo. We'll take a harder look at it next week. I think things got a bit mixed up as Peter was trying out the itemrenderer capability.
Thanks for trying FlexJS, -Alex ________________________________________ From: Sharma, Pratyoosh [pratyoosh.sha...@jpmorgan.com] Sent: Friday, October 11, 2013 1:57 PM To: dev@flex.apache.org Subject: RE: [FlexJS] FLEX-33778 Combobox & DropdownList ListBase.js throws a NPE Started to look at FlexJS again, so let me try to understand what was intention of implementation ListBase should define the model & comboBox etc should set the dataprovider on the model of their superclass Is this what was intended but ListBase never added the model bead for whatever reason Thanks, Pratyoosh -----Original Message----- From: Peter Ent [mailto:p...@adobe.com] Sent: Wednesday, September 25, 2013 2:08 PM To: dev@flex.apache.org Subject: Re: [FlexJS] FLEX-33778 Combobox & DropdownList ListBase.js throws a NPE I'm taking a look now. I did make some changes to the list code recently, so maybe I hit this already. --peter On 9/25/13 12:17 PM, "Alex Harui" <aha...@adobe.com> wrote: >Hi Pratyoosh, > >One of us will take a look. In theory the model gets assigned early in >the lifecycle (and pulled from the CSS iBeadModel style. Maybe you've >found a way to run code before that happens? > >-Alex > >On 9/25/13 9:03 AM, "Sharma, Pratyoosh" <pratyoosh.sha...@jpmorgan.com> >wrote: > >>It seems like It seems like ListBase.js throws a Null pointer >>exception since the model is never initialized for Dropdown & ComboBox >>classes on FlexJS. >>Not sure why the examples work since the latest code doesn't seems to >>have anything that initializes the model bead for these components >> >>Cross referenced by https://issues.apache.org/jira/browse/FLEX-33778 >> >>Thanks, >>Pratyoosh >> >> >>This email is confidential and subject to important disclaimers and >>conditions including on offers for the purchase or sale of securities, >>accuracy and completeness of information, viruses, confidentiality, >>legal privilege, and legal entity disclaimers, available at >>http://www.jpmorgan.com/pages/disclosures/email. > This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.