<?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: Search Widget error Flex 2.4 in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/search-widget-error-flex-2-4/m-p/729773#M16182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You guys are posting to the wrong forum as this is a flex viewer/widget question and should be in the flex viewer forum. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex"&gt;http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But have you not seen the Enhanced Search widget that handles exactly what you are trying to do plus a boat load more features:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e"&gt;http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2011 16:08:42 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2011-11-30T16:08:42Z</dc:date>
    <item>
      <title>Search Widget error Flex 2.4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/search-widget-error-flex-2-4/m-p/729771#M16180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've customized the search widget to use a drop down list of values instead of the the text entry that comes out of the box. I hit search and the results appear on the map and in the search results grid but when I hover over a result I receive the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArgumentError: Error #2004: One of the parameters is invalid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at ObjectOutput/writeObject()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.collections::ArrayList/writeExternal()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.collections::ArrayCollection/writeExternal()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.utils::ByteArray/writeObject()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.utils::ObjectUtil$/copy()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.webmap::PopUpRenderer/commitProperties()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::UIComponent/validateProperties()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.managers::LayoutManager/validateProperties()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.managers::LayoutManager/doPhasedInstantiation()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.managers::LayoutManager/doPhasedInstantiationCallback()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone encountered this before? Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 12:22:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/search-widget-error-flex-2-4/m-p/729771#M16180</guid>
      <dc:creator>StephenThornton</dc:creator>
      <dc:date>2011-08-29T12:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget error Flex 2.4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/search-widget-error-flex-2-4/m-p/729772#M16181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just encountered the same issue. Were you able to identify the cause?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 14:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/search-widget-error-flex-2-4/m-p/729772#M16181</guid>
      <dc:creator>JayBoyd</dc:creator>
      <dc:date>2011-11-30T14:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget error Flex 2.4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/search-widget-error-flex-2-4/m-p/729773#M16182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You guys are posting to the wrong forum as this is a flex viewer/widget question and should be in the flex viewer forum. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex"&gt;http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But have you not seen the Enhanced Search widget that handles exactly what you are trying to do plus a boat load more features:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e"&gt;http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/search-widget-error-flex-2-4/m-p/729773#M16182</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-11-30T16:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget error Flex 2.4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/search-widget-error-flex-2-4/m-p/729774#M16183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the link to the Enhanced Search widget. Unfortunately, the search function is just one piece of functionality that I needed in the widget I am creating. The other functional requirements were a call to a WCF service and a feature creation workflow&amp;nbsp; both of which were very specific to the application (and already complete). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did discover that the exception was related to the WCF service declaration in my .mxml page. I had originally declared an instance of the service inside of the &amp;lt;fx:Declarations&amp;gt;&amp;lt;/fx:Declarations&amp;gt; tags as I had seen in several examples.When I changed the approach to declare an instance of the service inside of a function in the script portion of my widget I no longer encountered the exception. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unless the exception is related to the scope of variable that holds my service instance, I am not sure why this is fixing my problem. In any case, it seems to be working well now so I will continue with this approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 18:33:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/search-widget-error-flex-2-4/m-p/729774#M16183</guid>
      <dc:creator>JayBoyd</dc:creator>
      <dc:date>2011-12-01T18:33:36Z</dc:date>
    </item>
  </channel>
</rss>

