Royce,You could get hold of the existing attribute inspector associated with the editor and assign your own "field" inspector to it.Below is the code snippet. Hope this helps.<?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"
initialize="application1_initializeHandler(event)"
pageTitle="Using the Editor component">
<!--
This sample shows you how to use the editor component.
-->
<s:layout>
<s:VerticalLayout/>
</s:layout>
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
@namespace esri "http://www.esri.com/2008/ags";
@namespace components "com.esri.ags.components.*";
@namespace supportClasses "com.esri.ags.components.supportClasses.*";
components|InfoWindow
{
background-color: #FFFFFF;
border-thickness: 2;
}
</fx:Style>
<fx:Script>
<![CDATA[
import com.esri.ags.components.AttributeInspector;
import com.esri.ags.components.supportClasses.FieldInspector;
import component.infoWindow;
import mx.events.FlexEvent;
protected function application1_initializeHandler(event:FlexEvent):void
{
myEditor.featureLayers = [ incidentsAreas ];
var fieldInspector1:FieldInspector = new FieldInspector();
fieldInspector1.featureLayer = incidentsAreas;
fieldInspector1.fieldName = "description";
fieldInspector1.label="DESCRIPTION"
var rendererFactory:ClassFactory = new ClassFactory(MYFieldRenderer);
var fieldInspector2:FieldInspector = new FieldInspector();
fieldInspector2.featureLayer = incidentsAreas;
fieldInspector2.fieldName = "ftype";
fieldInspector2.label="MyCustomComponent"
fieldInspector2.renderer = rendererFactory;
var attributeInspector: AttributeInspector = myEditor.attributeInspector;
attributeInspector.featureLayers = [incidentsAreas]
attributeInspector.fieldInspectors = [fieldInspector2,fieldInspector1]
}
]]>
</fx:Script>
<fx:Declarations>
<esri:GeometryService id="myGeometryService" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"/>
</fx:Declarations>
<esri:Map id="myMap">
<esri:extent>
<esri:Extent id="socal"
xmin="-13471000" ymin="3834000" xmax="-12878000" ymax="4124000">
<esri:SpatialReference wkid="102100"/>
</esri:Extent>
</esri:extent>
<esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
<esri:FeatureLayer id="incidentsAreas"
mode="snapshot"
outFields="[ftype,description]"
url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/FeatureServer/2"/>
</esri:Map>
<esri:Editor id="myEditor"
width="100%" height="200"
geometryService="{myGeometryService}"
map="{myMap}"/>
</s:Application>
Code for MYFieldRenderer: <?xml version="1.0" encoding="utf-8"?>
<s:HGroup xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:esri="http://www.esri.com/2008/ags" width="100%" height="100%">
<s:Button label="Custom Field Renderer"/>
</s:HGroup>