<?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: multiple widget states, datagrids and scrollers in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/multiple-widget-states-datagrids-and-scrollers/m-p/315581#M7505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe I may have found the problem: some of the .swz files in the bin debug folder are different versions, even though they are both Viewer 2.5.&amp;nbsp; On my test server, for example, i have spark_4.1.0.16076.swz while on my localhost it is spark_4.6.0.23201.swz.&amp;nbsp; I will post if updating these files solves the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2012 13:49:21 GMT</pubDate>
    <dc:creator>ErikMartin</dc:creator>
    <dc:date>2012-04-03T13:49:21Z</dc:date>
    <item>
      <title>multiple widget states, datagrids and scrollers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/multiple-widget-states-datagrids-and-scrollers/m-p/315580#M7504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have am working on developing a custom geoprocessing widget.&amp;nbsp; I have been making good progress, but have hit a couple problems that have me stumped.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first involves datagrids.&amp;nbsp; The widget has 3 states -- an input form, a status update window that adds ArcGIS Server messages (from the python script), and a results datagrid.&amp;nbsp; I have the input form and the status updates working fine and now I am trying to get the datagrid working (and eventaully bound to the results graphicLayer).&amp;nbsp; To emphasize... the geoprocessing functionality and return of a graphicLayer result works -- both when I run it from localhost (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/ViewerCustom/bin-debug/index.html" rel="nofollow" target="_blank"&gt;http://localhost/ViewerCustom/bin-debug/index.html&lt;/A&gt;&lt;SPAN&gt;)) as well as when I run it from my test server.&amp;nbsp; However, when I add a generic sample datagrid using the follow code, it works fine when I am debugging locally (running it localhost) but, when I copy the .swf onto my test server, the widget won't even load up.&amp;nbsp; If I look in Firebug the GET CustomWidget.swf response is blank... nothing happens.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Group id="resultsState" includeIn="Results" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%" height="100%" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y="20"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Panel width="100%" height="100%"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataGrid id="resultGrid" width="100%" height="100%" requestedRowCount="5"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:ArrayCollection&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataItem key="1001" name="Brush" price="110.01" call="true"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataItem key="1002" name="Clamp" price="120.02" call="false"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataItem key="1003" name="Drill" price="130.03" call="true"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataItem key="1005" name="File" price="150.05" call="true"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataItem key="1006" name="Gouge" price="160.06" call="false"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataItem key="1007" name="Hook" price="170.07" call="true"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataItem key="1008" name="Ink" price="180.08" call="false"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataItem key="1009" name="Jack" price="190.09" call="true"/&amp;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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:ArrayCollection&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:DataGrid&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:Panel&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:Group&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I take out the data grid and replace it with a text message, the widget loads fine when I copy the .swf over to my test server, the text is visible in the "Results" state , and the rest of the functionality continues to work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Group id="resultsState" includeIn="Results" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%" height="100%" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y="20"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Panel width="100%" height="100%"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:TextArea text="test test test... this works fine"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:Panel&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:Group&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;The test server is running the Flex Viewer 2.5 that is customized using config files to point to my URLs, change the color scheme, etc.&amp;nbsp; On my localhost, I am running the mostly un-configured Viewer 2.5 source code (I did the minimal amount of configuration necessary to plug in my URL and load my custom widget).&amp;nbsp; In both cases, I am consuming the apps on the same desktop computer with Firefox &amp;amp; the most recent debugger version of Flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my question is: what else might be different between running an app on localhost and a server that could effect how a datagrid is handled?&amp;nbsp; Is there some other setting or option I should look into?&amp;nbsp; Any suggestions would be most welcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A second and mostly unrelated question...&amp;nbsp; In the same widget, if I add scroll bars (by wrapping a S:Scroller around the widget group the Design View in Flash BUilder gets grayed out.&amp;nbsp; This seems odd, but not critical.&amp;nbsp; Again, tahnks in advance for any insight.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; &amp;lt;viewer:WidgetTemplate id="myCustomWidget" includeIn="Params,Processing, Results"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="450" height="600" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; minWidth.Params="415" minHeight.Params="150"&amp;gt; &amp;nbsp; &amp;lt;s:Scroller width="100%" height="100%"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y="25" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; horizontalScrollPolicy="on" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; verticalScrollPolicy="on"&amp;gt; &amp;nbsp;&amp;nbsp; &amp;lt;s:Group id="widgetGrp" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%" height="100%"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Group id="paramsArea" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%" height="100%" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y="-35" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; includeIn="Params"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:TextInput id="filter"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x="68" y="48"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text="&amp;amp;quot;OBJECTID&amp;amp;quot;&amp;amp;lt;200" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="289" height="20"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Button id="submit" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x="190" y="720"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label="Submit"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; click="submit_clickHandler(event)"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Button id="clear" x="270" y="720" label="Clear Results" click="clear_clickHandler(event)"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:Group&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Group id="processArea" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%" height="100%" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; includeIn="Processing"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:TextArea id="statusArea" width="100%" height="100%" y="20" alpha="0.7" verticalScrollPolicy="off"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:Group&amp;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;&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;lt;s:Group id="resultsArea" includeIn="Results" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%" height="100%" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y="20"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Panel width="100%" height="100%"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:TextArea text="test test test... this works fine"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:Panel&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:Group&amp;gt; &amp;nbsp;&amp;nbsp; &amp;lt;/s:Group&amp;gt; &amp;nbsp; &amp;lt;/s:Scroller&amp;gt;&amp;nbsp; &amp;lt;/viewer:WidgetTemplate&amp;gt; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 12:56:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/multiple-widget-states-datagrids-and-scrollers/m-p/315580#M7504</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2012-04-03T12:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: multiple widget states, datagrids and scrollers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/multiple-widget-states-datagrids-and-scrollers/m-p/315581#M7505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe I may have found the problem: some of the .swz files in the bin debug folder are different versions, even though they are both Viewer 2.5.&amp;nbsp; On my test server, for example, i have spark_4.1.0.16076.swz while on my localhost it is spark_4.6.0.23201.swz.&amp;nbsp; I will post if updating these files solves the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 13:49:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/multiple-widget-states-datagrids-and-scrollers/m-p/315581#M7505</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2012-04-03T13:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: multiple widget states, datagrids and scrollers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/multiple-widget-states-datagrids-and-scrollers/m-p/315582#M7506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Erik,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; That sould definetly fix the issue. The 4.1 Swz's on the production machine do not know what a s:DataGrid is as the spark data gird was not around back then.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 13:57:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/multiple-widget-states-datagrids-and-scrollers/m-p/315582#M7506</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-04-03T13:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: multiple widget states, datagrids and scrollers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/multiple-widget-states-datagrids-and-scrollers/m-p/315583#M7507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes-- that did in fact fix the problem.&amp;nbsp; I went through and completely aligned my local debug version (that I run on localhost) and the test server version so that all the library versions, widgets &amp;amp; configuration files are the same.&amp;nbsp; Hopefully I won't run into the same problem again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 15:21:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/multiple-widget-states-datagrids-and-scrollers/m-p/315583#M7507</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2012-04-03T15:21:34Z</dc:date>
    </item>
  </channel>
</rss>

