<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Ok, Thanks for your help! I´ll keep trying it<br>
    <br>
    <br>
    <div class="moz-cite-prefix">El 11/09/14 19:50,
      <a class="moz-txt-link-abbreviated" href="mailto:dustin.r.blankenship@accenturefederal.com">dustin.r.blankenship@accenturefederal.com</a> escribió:<br>
    </div>
    <blockquote
      cite="mid:68B39AC2-D423-488F-9F62-92E66760E423@accenturefederal.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div>I'm not sure on different icons we haven't tried that new
        needed to remove them. I would guess there's a way to grab
        what's in there and evaluate. You would probably need to debug
        through the code. <br>
        <br>
        <div>
          <div style="font-family: UICTFontTextStyleBody; font-size:
            14px; -webkit-text-size-adjust: auto;">
            Dustin Blankenship</div>
          <div style="font-family: UICTFontTextStyleBody; font-size:
            14px; -webkit-text-size-adjust: auto;">
            Sr. Software Developer </div>
          <div style="font-family: UICTFontTextStyleBody; font-size:
            14px; -webkit-text-size-adjust: auto;">
            Accenture</div>
          <div style="font-family: UICTFontTextStyleBody; font-size:
            14px; -webkit-text-size-adjust: auto;">
            407 S Pennsylvania Ave</div>
          <div style="font-family: UICTFontTextStyleBody; font-size:
            14px; -webkit-text-size-adjust: auto;">
            Joplin MO 64836</div>
          <div style="font-family: UICTFontTextStyleBody; font-size:
            14px; -webkit-text-size-adjust: auto;">
            417-793-3889</div>
        </div>
        <div style="font-family: UICTFontTextStyleBody; font-size: 14px;
          -webkit-text-size-adjust: auto;">
          <br>
        </div>
        Sent from my iPhone</div>
      <div><br>
        On Sep 11, 2014, at 12:38, "Joaquín Carrasco" &lt;<a
          moz-do-not-send="true" href="mailto:jcarrascog@gmail.com">jcarrascog@gmail.com</a>&gt;
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          <div>Thanks!! Does it show the same icon for all the nodes?
            would it be possible to show differente image for each node?</div>
          <div><br>
          </div>
          <div>Thanks again</div>
          <div><br>
            El 11/09/2014, a las 19:25, &lt;<a moz-do-not-send="true"
              href="mailto:dustin.r.blankenship@accenturefederal.com">dustin.r.blankenship@accenturefederal.com</a>&gt;
            escribió:<br>
            <br>
          </div>
          <blockquote type="cite">
            <div>
              <meta name="Generator" content="Microsoft Word 14
                (filtered medium)">
              <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:UICTFontTextStyleBody;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
              <div class="WordSection1">
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">This
                    is how we’ve done it:<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p> </o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">var
                    layerTreeStore = Ext.create('Ext.data.TreeStore', {<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">           
                    model: 'GeoExt.data.LayerTreeModel',<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">           
                    root: {<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">               
                    expanded: true,<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">               
                    plugins: [{<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">                   
                    ptype: 'gx_layercontainer',<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">                   
                    loader: {<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">                       
                    baseAttrs: {<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">                           
                    iconCls: 'eventNodeIcon'<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">                       
                    },<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">                       
                    store: layerStore<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">                   
                    }<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">               
                    }]<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">           
                    }<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">       
                    });<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p> </o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Where
                    the “eventNodeIcon” is a css class that uses a
                    background image. For us it’s just blank.<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p> </o:p></span></p>
                <div>
                  <div style="border:none;border-top:solid #B5C4DF
                    1.0pt;padding:3.0pt 0in 0in 0in">
                    <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                        <a moz-do-not-send="true"
                          href="mailto:users-bounces@geoext.org">users-bounces@geoext.org</a>
                        [<a moz-do-not-send="true"
                          href="mailto:users-bounces@geoext.org">mailto:users-bounces@geoext.org</a>]
                        <b>On Behalf Of </b><a moz-do-not-send="true"
                          href="mailto:dustin.r.blankenship@accenturefederal.com">dustin.r.blankenship@accenturefederal.com</a><br>
                        <b>Sent:</b> Thursday, September 11, 2014 11:25
                        AM<br>
                        <b>To:</b> <a moz-do-not-send="true"
                          href="mailto:jcarrascog@gmail.com">jcarrascog@gmail.com</a><br>
                        <b>Cc:</b> <a moz-do-not-send="true"
                          href="mailto:users@geoext.org">users@geoext.org</a><br>
                        <b>Subject:</b> Re: [Users] Change Image Icon
                        for layers nodes in TreePanel GeoExt 1.1<o:p></o:p></span></p>
                  </div>
                </div>
                <p class="MsoNormal"><o:p> </o:p></p>
                <div>
                  <p class="MsoNormal" style="margin-bottom:12.0pt">We
                    have done this I will get you a sample in an hour<o:p></o:p></p>
                  <div>
                    <div>
                      <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;UICTFontTextStyleBody&quot;,&quot;serif&quot;">Dustin
                          Blankenship<o:p></o:p></span></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;UICTFontTextStyleBody&quot;,&quot;serif&quot;">Sr.
                          Software Developer <o:p></o:p></span></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;UICTFontTextStyleBody&quot;,&quot;serif&quot;">Accenture<o:p></o:p></span></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;UICTFontTextStyleBody&quot;,&quot;serif&quot;">407
                          S Pennsylvania Ave<o:p></o:p></span></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;UICTFontTextStyleBody&quot;,&quot;serif&quot;">Joplin
                          MO 64836<o:p></o:p></span></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;UICTFontTextStyleBody&quot;,&quot;serif&quot;">417-793-3889<o:p></o:p></span></p>
                    </div>
                  </div>
                  <div>
                    <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;UICTFontTextStyleBody&quot;,&quot;serif&quot;"><o:p> </o:p></span></p>
                  </div>
                  <p class="MsoNormal">Sent from my iPhone<o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
                    On Sep 11, 2014, at 11:23, "Joaquin Carrasco
                    Gallego" &lt;<a moz-do-not-send="true"
                      href="mailto:jcarrascog@gmail.com">jcarrascog@gmail.com</a>&gt;
                    wrote:<o:p></o:p></p>
                </div>
                <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                  <div>
                    <p class="MsoNormal">Hi everyone, I am trying to
                      change the image icon of a layer node in a
                      <br>
                      TreePanel but always shows me the default one of
                      the class <br>
                      ".x-tree-node-leaf .x-tree-node-icon". Searching
                      for Internet  in some <br>
                      pages the createNode function is mention in a
                      loader, but I am trying it <br>
                      and it doesn´t works. Some help is appreciated.
                      Here is my code:<br>
                      <br>
                      <br>
                      var treeConfig = [ {<br>
                                      nodeType :
                      "gx_baselayercontainer",<br>
                                      text : "Ortofotos"<br>
                                  }, {<br>
                                      nodeType :
                      "gx_overlaylayercontainer",<br>
                                      text : "Capas Vectoriales",<br>
                                      expanded : true,<br>
                                      // render the nodes inside this
                      container with a radio <br>
                      button,<br>
                                      // and assign them the group
                      "foo".<br>
                                      loader : {<br>
                                          baseAttrs : {<br>
                                              radioGroup : "foo",<br>
                                              uiProvider :
                      "layernodeui",<br>
                                          },<br>
                                            createNode: function(attr) {<br>
                                             attr.iconCls =
                      "nuevaClase";<br>
                                             return <br>
                       GeoExt.tree.LayerParamLoader.prototype.createNode.apply(this,
                      attr);<br>
                                          }<br>
                                      }<br>
                                  } ];<br>
                      <br>
                      Thanks!!!<br>
                      _______________________________________________<br>
                      Users mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:Users@geoext.org">Users@geoext.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></p>
                  </div>
                </blockquote>
              </div>
            </div>
          </blockquote>
        </div>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>