<?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: Use custom PopUpRendererSkin for just one widget in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368035#M10414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Phillip,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private function showHighlight(params:Array):void
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var showHighlightPoint:MapPoint = params[0].point as MapPoint;

&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; popUpRenderer.popUpInfo = configurePopUpInfo(params[0].graphic.attributes.link);
&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; popUpRenderer.graphic = params[0].graphic;
&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; &lt;SPAN style="color:#ff0000;"&gt;popUpRenderer.setStyle("skinClass", widgets.Query.PopUpRendererSkin);&lt;/SPAN&gt;
&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; map.infoWindow.content = popUpRenderer;
&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; map.infoWindow.contentOwner = popUpRenderer.graphic;
&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; map.infoWindow.show(showHighlightPoint);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as the version of Flex Viewer, that is pretty significant for you to know. Look for the readme.txt in the Package Explorer window in Flash Builder, it should be under the license.txt.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 17:04:45 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-11T17:04:45Z</dc:date>
    <item>
      <title>Use custom PopUpRendererSkin for just one widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368032#M10411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an older flex app (maybe 2.2) which utilizes a custom PopUp skin.&amp;nbsp; But now I need to modify a single widget (Query Widget) to use a different custom PopUp.&amp;nbsp; Since...&lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;esri|PopUpRenderer 
{
 skinClass: ClassReference("xxxx.skins.CustomPopup");
}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt;...is already specified in the default.css how can I tell my Query Widget to use a different one?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 12:25:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368032#M10411</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2012-03-06T12:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Use custom PopUpRendererSkin for just one widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368033#M10412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Phillip,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; In your Flex Viewer App right click on the map and see if you see this context menu item:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"About ArcGIS Viewer for Flex" and click it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as specifying that one widget should use a particular PopUp your do that like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;popUpRenderer.setStyle("skinClass", widgets.eSearch.PopUpRendererSkin);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 12:55:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368033#M10412</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-03-06T12:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use custom PopUpRendererSkin for just one widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368034#M10413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your help, Robert!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where exactly would I place the code you posted?&amp;nbsp; I put it in default.css but it caused an error.&amp;nbsp; Then I put it in QueryWidget.mxml but it also caused an error (the first line is already in the code...):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private var popUpRenderer:PopUpRenderer = new PopUpRenderer();
&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;popUpRenderer.setStyle("skinClass", widgets.Query.PopUpRendererSkin);&lt;/STRONG&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as the right click to see the 'About ArcGIS Viewer for Flex' it is not there - but I think it's version 2.2....maybe 2.3&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368034#M10413</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2021-12-11T17:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use custom PopUpRendererSkin for just one widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368035#M10414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Phillip,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private function showHighlight(params:Array):void
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var showHighlightPoint:MapPoint = params[0].point as MapPoint;

&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; popUpRenderer.popUpInfo = configurePopUpInfo(params[0].graphic.attributes.link);
&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; popUpRenderer.graphic = params[0].graphic;
&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; &lt;SPAN style="color:#ff0000;"&gt;popUpRenderer.setStyle("skinClass", widgets.Query.PopUpRendererSkin);&lt;/SPAN&gt;
&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; map.infoWindow.content = popUpRenderer;
&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; map.infoWindow.contentOwner = popUpRenderer.graphic;
&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; map.infoWindow.show(showHighlightPoint);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as the version of Flex Viewer, that is pretty significant for you to know. Look for the readme.txt in the Package Explorer window in Flash Builder, it should be under the license.txt.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368035#M10414</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T17:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Use custom PopUpRendererSkin for just one widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368036#M10415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was wondering how I could find out what version it is - turns out it's 2.3&amp;nbsp; (nice to know! I am modifying someone else's viewer...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I placed the code as you showed but am getting the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;1202:&amp;nbsp; Access of undefined property PopUpRendererSkin in package widgets.Query&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 13:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368036#M10415</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2012-03-06T13:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use custom PopUpRendererSkin for just one widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368037#M10416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;philipp,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; So where is your custom PopUpRendererSkin.mxml that you want the QueryWidget to use than?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 14:04:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368037#M10416</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-03-06T14:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use custom PopUpRendererSkin for just one widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368038#M10417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wow, I should have thought about that a little more.&amp;nbsp; I placed the PopUpRendererSkin into the 'Query' folder and that removed the error.&amp;nbsp; However, there is still an element from the other custom skin showing in the popup.&amp;nbsp; What I am trying to do is actually use the default PopUpRendererSkin for the Query widget (with just a few minor changes - ie, remove the media box border and make the popup larger).&amp;nbsp; Here is the code from the default.css which may be affecting the Query Widget in some way...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;esri|PopUpRenderer 
{
 skinClass: ClassReference("agrg.skins.CustomPopup");
}

eSearch|SearchWidget esri|PopUpRenderer {
 skinClass: ClassReference("com.esri.ags.skins.PopUpRendererSkin");
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and I noticed this code inside the CustomPopup.mxml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; [HostComponent("com.esri.ags.webmap.PopUpRenderer")]&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:04:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368038#M10417</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2021-12-11T17:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Use custom PopUpRendererSkin for just one widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368039#M10418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Phillip,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I don't do any thing in the css for this... I do it all in the actual widgets defining the skinclass right before the popup is shown just like I showed you in the last post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 15:36:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/use-custom-popuprendererskin-for-just-one-widget/m-p/368039#M10418</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-03-06T15:36:47Z</dc:date>
    </item>
  </channel>
</rss>

