greg-dove opened a new issue #211:
URL: https://github.com/apache/royale-compiler/issues/211


   ```
   <mx:Something implements="ITest">
   
      <mx:DataGridColumn>
        <mx:itemRenderer>
                <fx:Component>
                        <mx:HBox width="100%" x="5" 
implements="mx.controls.listClasses.IDropInListItemRenderer">
                                <fx:Script>
                                        <![CDATA[
                                        private var _listData:Object;
                                        public function get listData():Object{
                                                return _listData;
                                        }
   
                                        public function set 
listData(value:Object):void{
                                                _listData = value;
                                        }
   
                                        ]]>
                                        </fx:Script>
                                <mx:Image source="{data}" />
                        </mx:HBox>
                </fx:Component>
        </mx:itemRenderer>
      </mx:DataGridColumn>
   
   </mx:Something>
   ```
   The above is not actual code, but is intended to be representative only. 
DataGridColumn would normally be used with a DataGrid, obviously.
   The above will currently create javascript output with 
`interfaces:[mx.controls.listClasses.IDropInListItemRenderer]` for the 
'Something' class **as well as** the subcomponent class (the subcomponent 
output obliterates the `ITest `interface on the containing mxml document class, 
and substitutes the interface from the fx:Component).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to