On 11/21/16, 1:20 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
<carlos.rov...@gmail.com on behalf of carlosrov...@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

Reply via email to