<?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 API 2.3 InfoWindowRenderer, in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-2-3-infowindowrenderer/m-p/22159#M485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: odoe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, API 2.3 growing pains with my InfoWindows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;InfoWindow seems to have gotten an overhaul and been sparked with 2.3, which is awesome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/components/supportClasses/infowindow.html&amp;amp;com/esri/ags/components/supportClasses/class-list.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/components/supportClasses/infowindow.html&amp;amp;com/esri/ags/components/supportClasses/class-list.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Up to this point, the way I have handled InfoWindows was to create a class like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;public class FeatureInfoWindowRenderer extends SkinnableComponent implements IGraphicRenderer&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I set the InfoWindowRenderer as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
featureLayer.infoWindowRenderer = new ClassFactory(FeatureInfoWindowRenderer);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then to make it play nice with the InfoWindow, I added my own data getter/setters for the data object and set it in my graphic setter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
public function set graphic(value:Graphic):void
{
 data = value.attributes;
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My InfoWindows can get a little complex, so I actually needed the skinnable comp to add my own custom content that could also be skinned. I set my styles via CSS and the world was a happy place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since InfoWindow was updated with Spark and now has a Skin, I figured it should impact what I'm doing too much, but I have attached before and after images of the devastation to my InfoWindow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I figured I'd start fresh, removed all references to ESRI in my CSS and followed one ofthe new 2.3 samples which uses a LabelDataRenderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I made a new Renderer&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;public class MyFeatureInfoWindowRenderer extends LabelDataRenderer implements IGraphicRenderer&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And set the data via the graphic setter as before, as well the label in LabelDataRenderer and what I get is shown in the 3rd image I attached(oops.jpg).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So at this point, I'm just confused.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Should I be extending the InfoWindowSkin to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll keep experimenting, but the samples are a little simple and none show if I need to do something special now when using the ClassFactory method of setting the InfoWindow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 20:54:13 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-12-10T20:54:13Z</dc:date>
    <item>
      <title>API 2.3 InfoWindowRenderer,</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-2-3-infowindowrenderer/m-p/22159#M485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: odoe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, API 2.3 growing pains with my InfoWindows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;InfoWindow seems to have gotten an overhaul and been sparked with 2.3, which is awesome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/components/supportClasses/infowindow.html&amp;amp;com/esri/ags/components/supportClasses/class-list.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/components/supportClasses/infowindow.html&amp;amp;com/esri/ags/components/supportClasses/class-list.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Up to this point, the way I have handled InfoWindows was to create a class like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;public class FeatureInfoWindowRenderer extends SkinnableComponent implements IGraphicRenderer&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I set the InfoWindowRenderer as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
featureLayer.infoWindowRenderer = new ClassFactory(FeatureInfoWindowRenderer);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then to make it play nice with the InfoWindow, I added my own data getter/setters for the data object and set it in my graphic setter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
public function set graphic(value:Graphic):void
{
 data = value.attributes;
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My InfoWindows can get a little complex, so I actually needed the skinnable comp to add my own custom content that could also be skinned. I set my styles via CSS and the world was a happy place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since InfoWindow was updated with Spark and now has a Skin, I figured it should impact what I'm doing too much, but I have attached before and after images of the devastation to my InfoWindow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I figured I'd start fresh, removed all references to ESRI in my CSS and followed one ofthe new 2.3 samples which uses a LabelDataRenderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I made a new Renderer&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;public class MyFeatureInfoWindowRenderer extends LabelDataRenderer implements IGraphicRenderer&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And set the data via the graphic setter as before, as well the label in LabelDataRenderer and what I get is shown in the 3rd image I attached(oops.jpg).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So at this point, I'm just confused.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Should I be extending the InfoWindowSkin to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll keep experimenting, but the samples are a little simple and none show if I need to do something special now when using the ClassFactory method of setting the InfoWindow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:54:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-2-3-infowindowrenderer/m-p/22159#M485</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-10T20:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: API 2.3 InfoWindowRenderer,</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-2-3-infowindowrenderer/m-p/22160#M486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: odoe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Realized I no longer have to set the data in graphic setter, but still I use graphic for other stuff.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 21:09:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-2-3-infowindowrenderer/m-p/22160#M486</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-04-15T21:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: API 2.3 InfoWindowRenderer,</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-2-3-infowindowrenderer/m-p/22161#M487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Scratch this. I think it has to do with SVN failing to delete 2.2 from a library project. 2.2 refs still floating around. Can verify Monday. Thanks. My bad.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 21:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-2-3-infowindowrenderer/m-p/22161#M487</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2011-04-15T21:50:07Z</dc:date>
    </item>
  </channel>
</rss>

