yishayw opened a new issue #79: itemRenderer can't be specified mxml class 
definition
URL: https://github.com/apache/royale-compiler/issues/79
 
 
   This works:
   
                        <local:RequestList id="requestList" 
itemRenderer="dashboard.view.royale.UserItemRenderer" height="100%"/>
   
   
   But this doen't (in RequestList.mxml)
   
   <j:List xmlns:fx="http://ns.adobe.com/mxml/2009";
           itemRenderer="dashboard.view.royale.UserItemRenderer"
           implements="dashboard.core.as3.interfaces.IRequestList"
           xmlns:j="library://ns.apache.org/royale/jewel"
           xmlns:form="forms.view.royale.*"
           xmlns:local="dashboard.view.royale.*"
   >
   
   
   I get a run-time error:
   
   RequestList.js:38 Uncaught TypeError: this.generateMXMLAttributes is not a 
function
       at new dashboard.view.royale.RequestList (RequestList.js:38)
       at 
Function.org.apache.royale.utils.MXMLDataInterpreter.generateMXMLArray 
(MXMLDataInterpreter.js:124)
       at 
Function.org.apache.royale.utils.MXMLDataInterpreter.generateMXMLInstances 
(MXMLDataInterpreter.js:266)
       at 
org.apache.royale.jewel.supportClasses.drawer.DrawerContent.org.apache.royale.html.Group.addedToParent
 (Group.js:76)
       at 
org.apache.royale.jewel.Drawer.org.apache.royale.jewel.supportClasses.drawer.DrawerBase.addElement
 (DrawerBase.js:78)
       at 
Function.org.apache.royale.utils.MXMLDataInterpreter.initializeStrandBasedObject
 (MXMLDataInterpreter.js:236)
       at 
Function.org.apache.royale.utils.MXMLDataInterpreter.generateMXMLArray 
(MXMLDataInterpreter.js:125)
       at 
Function.org.apache.royale.utils.MXMLDataInterpreter.generateMXMLInstances 
(MXMLDataInterpreter.js:266)
       at 
org.apache.royale.jewel.Drawer.org.apache.royale.html.Group.addedToParent 
(Group.js:76)
       at 
dashboard.view.royale.Dashboard.org.apache.royale.core.UIBase.addElement 
(UIBase.js:414)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to