<esri:Map id="map"> </esri:Map>
<fx:Component id="dateField"> <!--<fieldClasses:CalendarField dateFormat="shortDate" useUTC="false"/>--> <fieldClasses:TextField minWidth="200"/> </fx:Component>
@namespace esri "http://www.esri.com/2008/ags"; esri|AttributeInspector, esri|RelationshipInspector #attributeInspector { skinClass: ClassReference("skins.AttributeInspectorSkin"); }
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:esri="http://www.esri.com/2008/ags" applicationDPI="160"> <esri:Map id="map"> </esri:Map> </s:Application>
<fx:Component id="memoField"> <fieldClasses:MemoField minWidth="200"/> </fx:Component>
<fx:Component id="memoField"> <fieldClasses:TextField minWidth="200"/> </fx:Component>
That was it. I used "default" instead of "defaults". Renaming it and running a clean made it all work. Thanks for all of your help with this. It is very appreciated.
<fx:Component id="dateField"> <!--<fieldClasses:CalendarField/> --> <fieldClasses:TextField minWidth="200"/> </fx:Component>
<ns:Map id="map"> </ns:Map>
The other option mentioned at the bottom of that link is to remove references to the RelationshipInspector in the PopUpRendererSkin. The RelationshipInspector uses the AttributeInspector which by default, uses mx components like DateField. This has been an issue since 3.1, but now with 3.4, you're getting the error right away.
You'll need to add a reference to the mx.swc. See:https://developers.arcgis.com/en/flex/guide/mobile-flex.htm
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.