flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] MDL List problems
Date Mon, 21 Nov 2016 21:34:52 GMT


On 11/21/16, 1:20 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Hi Alex or Peter,
>
>I'm building a MDL List from js:List
>
>I configured a basic js:List example, and then make a copy to get the MDL
>List with the basic changes. Then the example does not work anymore with
>the following browser error:
>
>dispatchEvent — EventDispatcher.js:70.   TypeError: null is not an object
>(evaluating 'org.apache.flex.utils.Language.as(listView.host,
>org.apache.flex.html.List).labelField')
>

Are you not able to use the debugger?  It should show you what is null.
If your MDL list doesn't extend org.apache.flex.html.List then the
Language.as call will return null.

HTH,
-Alex

Mime
View raw message