Peter Ent created FLEX-33917:
--------------------------------

             Summary: Fully qualified class missing
                 Key: FLEX-33917
                 URL: https://issues.apache.org/jira/browse/FLEX-33917
             Project: Apache Flex
          Issue Type: Bug
          Components: FalconJX
         Environment: Mac OS X
            Reporter: Peter Ent


My ActionScript code reads:

import org.apache.flex.core.IBeadModel;

…

var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as 
IDataGridModel;


I get this error while compiling:

/Users/pent/Documents/Apache 
Flex/DataGridXcompile/bin/js-debug/org/apache/flex/html/staticControls/beads/DataGridView.js:84:
 ERROR - variable IBeadModel is undeclared

  var /** @type {org.apache.flex.core.IDataGridModel} */ sharedModel = 
org.apache.flex.utils.Language.as(this._strand.getBeadByType(IBeadModel), 
org.apache.flex.core.IDataGridModel);

IBeadModel has an import statement. IBeadModel should be fully qualified, I 
think.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to