<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments for </title>
	<atom:link href="http://gisprog.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://gisprog.wordpress.com</link>
	<description></description>
	<pubDate>Fri, 16 May 2008 02:51:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
		<item>
		<title>Comment on MapObjects and Visual Studio compatability by Paul</title>
		<link>http://gisprog.wordpress.com/2008/04/10/mapobjects-and-visual-studio-compatability/#comment-222</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 14 May 2008 16:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://gisprog.wordpress.com/?p=96#comment-222</guid>
		<description>Hola
estoy utilizando la aplicacion MoView2 de visual basic 6 pero necesito migrarlo a vb.net y no encuentro reemplazo para la instruccion
For Each aField In curRec.Fields
  Next aField

para que me funcione en vb.net ya que esta instruccion solo funciona en vb6
Si me pudieran ayudar con una alternativa para ejecutar esta instruccion me ayudarian mucho

Gracias
saludos
Paul</description>
		<content:encoded><![CDATA[<p>Hola<br />
estoy utilizando la aplicacion MoView2 de visual basic 6 pero necesito migrarlo a vb.net y no encuentro reemplazo para la instruccion<br />
For Each aField In curRec.Fields<br />
  Next aField</p>
<p>para que me funcione en vb.net ya que esta instruccion solo funciona en vb6<br />
Si me pudieran ayudar con una alternativa para ejecutar esta instruccion me ayudarian mucho</p>
<p>Gracias<br />
saludos<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ESRI MVP by iamlaksh1</title>
		<link>http://gisprog.wordpress.com/2008/05/05/esri-mvp/#comment-218</link>
		<dc:creator>iamlaksh1</dc:creator>
		<pubDate>Fri, 09 May 2008 04:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://gisprog.wordpress.com/?p=117#comment-218</guid>
		<description>Thanks Tom!</description>
		<content:encoded><![CDATA[<p>Thanks Tom!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About Blog &#38; Author by iamlaksh1</title>
		<link>http://gisprog.wordpress.com/about/#comment-217</link>
		<dc:creator>iamlaksh1</dc:creator>
		<pubDate>Fri, 09 May 2008 03:16:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-217</guid>
		<description>Thank you Sen!</description>
		<content:encoded><![CDATA[<p>Thank you Sen!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About Blog &#38; Author by sen</title>
		<link>http://gisprog.wordpress.com/about/#comment-216</link>
		<dc:creator>sen</dc:creator>
		<pubDate>Thu, 08 May 2008 18:07:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-216</guid>
		<description>hi  friend...*

           first i would like to thank you for opening such a nice blog on GIS programming.your article and link on OMD was very much helpfull for me.

sen...</description>
		<content:encoded><![CDATA[<p>hi  friend&#8230;*</p>
<p>           first i would like to thank you for opening such a nice blog on GIS programming.your article and link on OMD was very much helpfull for me.</p>
<p>sen&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ESRI MVP by Schuller Tom</title>
		<link>http://gisprog.wordpress.com/2008/05/05/esri-mvp/#comment-214</link>
		<dc:creator>Schuller Tom</dc:creator>
		<pubDate>Wed, 07 May 2008 18:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://gisprog.wordpress.com/?p=117#comment-214</guid>
		<description>Congratulations and Thanks for your great forum postings.
It's a great help for the whole ESRI developer community.</description>
		<content:encoded><![CDATA[<p>Congratulations and Thanks for your great forum postings.<br />
It&#8217;s a great help for the whole ESRI developer community.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ESRI 2008 Developer Summit Videos by iamlaksh1</title>
		<link>http://gisprog.wordpress.com/2008/04/18/esri-2008-developer-summit-videos/#comment-196</link>
		<dc:creator>iamlaksh1</dc:creator>
		<pubDate>Sat, 19 Apr 2008 09:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://gisprog.wordpress.com/?p=106#comment-196</guid>
		<description>Thanks Dev!. Will try and let you know.</description>
		<content:encoded><![CDATA[<p>Thanks Dev!. Will try and let you know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ESRI 2008 Developer Summit Videos by Dev</title>
		<link>http://gisprog.wordpress.com/2008/04/18/esri-2008-developer-summit-videos/#comment-193</link>
		<dc:creator>Dev</dc:creator>
		<pubDate>Fri, 18 Apr 2008 13:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://gisprog.wordpress.com/?p=106#comment-193</guid>
		<description>Hey Laxman, 
The videos in the 2008 Dev summit are flash videos. if you use Firefox, you can use the downloadhelper addon, and then download these videos in .flv format.
The older videos are in Quicktime, and they are harder to download, since they are streaming media, but that can be done as well.
Do mail me back if you have any questions</description>
		<content:encoded><![CDATA[<p>Hey Laxman,<br />
The videos in the 2008 Dev summit are flash videos. if you use Firefox, you can use the downloadhelper addon, and then download these videos in .flv format.<br />
The older videos are in Quicktime, and they are harder to download, since they are streaming media, but that can be done as well.<br />
Do mail me back if you have any questions</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Chart Renderering using Web ADF by iamlaksh1</title>
		<link>http://gisprog.wordpress.com/2008/04/08/chart-renderering-using-web-adf/#comment-190</link>
		<dc:creator>iamlaksh1</dc:creator>
		<pubDate>Wed, 16 Apr 2008 04:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://gisprog.wordpress.com/?p=93#comment-190</guid>
		<description>Expanding TOC dynamically calls MapService, hence we default renderer is seen even after chart renderer is applied. This could be solved using workaround , by default you keep the TOC nodes expanded( you can use the expandLevel property - ContextAttributes). And remove the submit event from the rendererNode function in esri_toc.js file . Hope you agree with me</description>
		<content:encoded><![CDATA[<p>Expanding TOC dynamically calls MapService, hence we default renderer is seen even after chart renderer is applied. This could be solved using workaround , by default you keep the TOC nodes expanded( you can use the expandLevel property - ContextAttributes). And remove the submit event from the rendererNode function in esri_toc.js file . Hope you agree with me</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Chart Renderering using Web ADF by iamlaksh1</title>
		<link>http://gisprog.wordpress.com/2008/04/08/chart-renderering-using-web-adf/#comment-189</link>
		<dc:creator>iamlaksh1</dc:creator>
		<pubDate>Tue, 15 Apr 2008 08:44:13 +0000</pubDate>
		<guid isPermaLink="false">http://gisprog.wordpress.com/?p=93#comment-189</guid>
		<description>Thanks for your answers. Your idea is good. I'll try this one. Once again thanks for your time!</description>
		<content:encoded><![CDATA[<p>Thanks for your answers. Your idea is good. I&#8217;ll try this one. Once again thanks for your time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Chart Renderering using Web ADF by David García</title>
		<link>http://gisprog.wordpress.com/2008/04/08/chart-renderering-using-web-adf/#comment-185</link>
		<dc:creator>David García</dc:creator>
		<pubDate>Tue, 15 Apr 2008 08:39:29 +0000</pubDate>
		<guid isPermaLink="false">http://gisprog.wordpress.com/?p=93#comment-185</guid>
		<description>Hi,

Thanks to answer me. 

When I say that you will have to override all the defaults tasks and operations I meant that all the default tasks that gives you a map ( zoom in, zoom out, zoom to extent, etc..) will render this new image with the original render of the layer that we have changed for our session. 

If you make a class that extends com.esri.adf.web.tasks.MapToolsTask, reference it in the faces-config.xml flie, and overrides all the methods that have a ADFEvent (TaskEvent or MapEvent) as parameter, in these methods call the parent method (super.method(event);) and then replace the original render for ours, call the refresh method and then replace our render for the original. It will avoid that when we navigate in the map through a tool of the MapToolsTask the layer returns an image with the original render.

A better way to do this, is to use a class that extends of com.esri.adf.web.data.WebContext and overrides the refresh (Object object) method like this:

public class AGSExtendedWebContext extends WebContext
{
    protected IFeatureRenderer renderer;
    protected int layerId;


      public int getLayerId() {
          return layerId;
      }

      public void setLayerId(int layerId) {
          this.layerId = layerId;
      }

      public IFeatureRenderer getRenderer() {
          return renderer;
      }

      public void setRenderer(IFeatureRenderer renderer) {
          this.renderer = renderer;
      }

    public void refresh()
    {
        super.refresh();
    }

    public void refresh(Object object)
    {
        Map resources = this.getResources();
        AGSLocalMapResource agsResource = (AGSLocalMapResource)resources.get("ags0");
        IFeatureRenderer oldRenderer = null;
        if ( this.renderer != null)
        {
            try
            {
                oldRenderer = ((IGeoFeatureLayer)agsResource.getLocalMapServer().getLayer(agsResource.getMapName(),layerId)).getRenderer();
                ((IGeoFeatureLayer)agsResource.getLocalMapServer().getLayer(agsResource.getMapName(),layerId)).setRendererByRef(renderer);
            }
            catch(Exception ex)
            {
                ex.printStackTrace();
            }
        }        
        super.refresh(object);
        if ( this.renderer != null)
        {
            try
            {
                ((IGeoFeatureLayer)agsResource.getLocalMapServer().getLayer(agsResource.getMapName(),layerId)).setRendererByRef(oldRenderer);
            }
            catch(Exception ex)
            {
                ex.printStackTrace();
            }
        }

    }
}

Well, the only problem that I found now is the webTOC. when I click in the cross to deploy the layer render legend, it shows me the original render. I think that it makes a request to the Gis Server to do this. I will try to extend the webTOC to control this.

Thanks for your help, if I discover something I notice you.

Sorry for my english,

Regards,

David García</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks to answer me. </p>
<p>When I say that you will have to override all the defaults tasks and operations I meant that all the default tasks that gives you a map ( zoom in, zoom out, zoom to extent, etc..) will render this new image with the original render of the layer that we have changed for our session. </p>
<p>If you make a class that extends com.esri.adf.web.tasks.MapToolsTask, reference it in the faces-config.xml flie, and overrides all the methods that have a ADFEvent (TaskEvent or MapEvent) as parameter, in these methods call the parent method (super.method(event) <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> and then replace the original render for ours, call the refresh method and then replace our render for the original. It will avoid that when we navigate in the map through a tool of the MapToolsTask the layer returns an image with the original render.</p>
<p>A better way to do this, is to use a class that extends of com.esri.adf.web.data.WebContext and overrides the refresh (Object object) method like this:</p>
<p>public class AGSExtendedWebContext extends WebContext<br />
{<br />
    protected IFeatureRenderer renderer;<br />
    protected int layerId;</p>
<p>      public int getLayerId() {<br />
          return layerId;<br />
      }</p>
<p>      public void setLayerId(int layerId) {<br />
          this.layerId = layerId;<br />
      }</p>
<p>      public IFeatureRenderer getRenderer() {<br />
          return renderer;<br />
      }</p>
<p>      public void setRenderer(IFeatureRenderer renderer) {<br />
          this.renderer = renderer;<br />
      }</p>
<p>    public void refresh()<br />
    {<br />
        super.refresh();<br />
    }</p>
<p>    public void refresh(Object object)<br />
    {<br />
        Map resources = this.getResources();<br />
        AGSLocalMapResource agsResource = (AGSLocalMapResource)resources.get(&#8221;ags0&#8243;);<br />
        IFeatureRenderer oldRenderer = null;<br />
        if ( this.renderer != null)<br />
        {<br />
            try<br />
            {<br />
                oldRenderer = ((IGeoFeatureLayer)agsResource.getLocalMapServer().getLayer(agsResource.getMapName(),layerId)).getRenderer();<br />
                ((IGeoFeatureLayer)agsResource.getLocalMapServer().getLayer(agsResource.getMapName(),layerId)).setRendererByRef(renderer);<br />
            }<br />
            catch(Exception ex)<br />
            {<br />
                ex.printStackTrace();<br />
            }<br />
        }<br />
        super.refresh(object);<br />
        if ( this.renderer != null)<br />
        {<br />
            try<br />
            {<br />
                ((IGeoFeatureLayer)agsResource.getLocalMapServer().getLayer(agsResource.getMapName(),layerId)).setRendererByRef(oldRenderer);<br />
            }<br />
            catch(Exception ex)<br />
            {<br />
                ex.printStackTrace();<br />
            }<br />
        }</p>
<p>    }<br />
}</p>
<p>Well, the only problem that I found now is the webTOC. when I click in the cross to deploy the layer render legend, it shows me the original render. I think that it makes a request to the Gis Server to do this. I will try to extend the webTOC to control this.</p>
<p>Thanks for your help, if I discover something I notice you.</p>
<p>Sorry for my english,</p>
<p>Regards,</p>
<p>David García</p>
]]></content:encoded>
	</item>
</channel>
</rss>
