<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 2 Editors one map in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/2-editors-one-map/m-p/72332#M1603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Still need help, can someone from Esri answer this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the idea for now to program my own templatepickers, images with events on click and all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I'd really appreciated to know if it's possible to have 2 templatepickers, one in each widget in my case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jun 2012 11:12:45 GMT</pubDate>
    <dc:creator>SachaTousignant</dc:creator>
    <dc:date>2012-06-29T11:12:45Z</dc:date>
    <item>
      <title>2 Editors one map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/2-editors-one-map/m-p/72330#M1601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been working on my flex app and I'm trying to resolve the following problem :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 2 widgets, they both have one editor in them and whenever I open either one and open the 2nd one, then it crashed with the following error message :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: Error #1034: Failure of the type constraint: conversion from com.esri.ags.components::TemplatePicker@c5550b1 to com.esri.ags.components.TemplatePicker impossible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to use my own skin for both of my editors, one skin per editor ( I took the skin from the api and only renamed it). Same problem but the error message is different : TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried to catch the event when I get the error messages but it doesn't work either. I used :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;esri:Editor id="editorFatalities"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService="{myGeometryService}" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map="{map}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayers="{[incidentsPoints]}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; toolbarVisible="true"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; skinClass="com.esri.solutions.flexviewer.themes.surete.AccidentsEditorSkin"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fault="editor_OnFault(event)"/&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I could have throw an alert and tell the user to shut the other widget..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be really appreciated since I got no other ideas what to do with this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 14:59:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/2-editors-one-map/m-p/72330#M1601</guid>
      <dc:creator>SachaTousignant</dc:creator>
      <dc:date>2012-06-26T14:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Editors one map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/2-editors-one-map/m-p/72331#M1602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried a different approach, instead of using editors, I tried to use templatepicker as this sample recommands : &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/samples/index.html#//01nq00000043000000"&gt;http://resources.arcgis.com/en/help/flex-api/samples/index.html#//01nq00000043000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, I just noticed that the same problem is happening, once I open one of my widget, when I try to open the other one, it crashes. Even with 2 differents skinclass. So, does it mean it is not possible to have 2 editors or 2 templatepickers at the same time open or there's a workaround?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx alot!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 16:19:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/2-editors-one-map/m-p/72331#M1602</guid>
      <dc:creator>SachaTousignant</dc:creator>
      <dc:date>2012-06-27T16:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Editors one map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/2-editors-one-map/m-p/72332#M1603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Still need help, can someone from Esri answer this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the idea for now to program my own templatepickers, images with events on click and all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I'd really appreciated to know if it's possible to have 2 templatepickers, one in each widget in my case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 11:12:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/2-editors-one-map/m-p/72332#M1603</guid>
      <dc:creator>SachaTousignant</dc:creator>
      <dc:date>2012-06-29T11:12:45Z</dc:date>
    </item>
  </channel>
</rss>

