<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Yes, there is a lot. I will look for the answer. :D<br>
<br>
Very appreciated.<br>
<br>
Thanks a lot.<br>
<br>
<div class="moz-cite-prefix">El 11/09/14 20:11, Bart van den Eijnden
escribió:<br>
</div>
<blockquote
cite="mid:C7926E8D-654C-43A1-91FF-65BA77F749E2@boundlessgeo.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
This is a lot of code to look at, but the answer is in there
somewhere ;-)
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/LayerTree.js">https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/LayerTree.js</a><br>
<div apple-content-edited="true">
<div><br>
</div>
<div>Specifically:</div>
<div><a class="moz-txt-link-freetext" href="https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/LayerTree.js#L172">https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/LayerTree.js#L172</a></div>
<div><a class="moz-txt-link-freetext" href="https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/LayerTree.js#L219:L221">https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/LayerTree.js#L219:L221</a></div>
<div><br>
</div>
<div>Best regards,</div>
<div>Bart<br clear="all">
<div>
<div dir="ltr">
<div><br>
</div>
<span style="font-family:arial;font-size:small">Bart van
den Eijnden</span><br
style="font-family:arial;font-size:small">
<span style="font-family:arial;font-size:small">Front
End Software Engineer | <a moz-do-not-send="true"
href="http://boundlessgeo.com/">Boundless</a></span><br
style="font-family:arial;font-size:small">
<a moz-do-not-send="true"
href="mailto:bartvde@boundlessgeo.com" target="_blank"
style="color:rgb(17,85,204);font-family:arial;font-size:small">bartvde@boundlessgeo.com</a><br
style="font-family:arial;font-size:small">
<a moz-do-not-send="true" href="tel:917-460-7207"
value="+19174607207" target="_blank"
style="color:rgb(17,85,204);font-family:arial;font-size:small">1-877-673-6436</a><br
style="font-family:arial;font-size:small">
<a moz-do-not-send="true"
href="http://twitter.com/boundlessgeo/"
style="color:rgb(17,85,204);font-family:arial;font-size:small">@boundlessgeo</a>
<div><br>
<div class="gmail_extra"
style="font-family:arial;font-size:small"><a
moz-do-not-send="true"
href="http://boundlessgeo.com"><img
moz-do-not-send="true"
src="http://boundlessgeo.com/wp-content/uploads/files/boundless_sig.png"></a><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div>
<div>On 11 Sep 2014, at 20:06, Joaquin Carrasco Gallego
<a class="moz-txt-link-rfc2396E" href="mailto:jcarrascog@gmail.com"><jcarrascog@gmail.com></a> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000" style="font-family:
Helvetica; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: auto; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;">Ok, Thanks for your help!
I´ll keep trying it<br>
<br>
<br>
<div class="moz-cite-prefix">El 11/09/14 19:50,<span
class="Apple-converted-space"> </span><a
moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:dustin.r.blankenship@accenturefederal.com"
style="color: purple; text-decoration: underline;">dustin.r.blankenship@accenturefederal.com</a><span
class="Apple-converted-space"> </span>escribió:<br>
</div>
<blockquote
cite="mid:68B39AC2-D423-488F-9F62-92E66760E423@accenturefederal.com"
type="cite">
<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;">Dustin Blankenship</div>
<div style="font-family: UICTFontTextStyleBody;
font-size: 14px;">Sr. Software Developer </div>
<div style="font-family: UICTFontTextStyleBody;
font-size: 14px;">Accenture</div>
<div style="font-family: UICTFontTextStyleBody;
font-size: 14px;">407 S Pennsylvania Ave</div>
<div style="font-family: UICTFontTextStyleBody;
font-size: 14px;">Joplin MO 64836</div>
<div style="font-family: UICTFontTextStyleBody;
font-size: 14px;">417-793-3889</div>
</div>
<div style="font-family: UICTFontTextStyleBody;
font-size: 14px;"><br>
</div>
Sent from my iPhone</div>
<div><br>
On Sep 11, 2014, at 12:38, "Joaquín Carrasco" <<a
moz-do-not-send="true"
href="mailto:jcarrascog@gmail.com" style="color:
purple; text-decoration: underline;">jcarrascog@gmail.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<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, <<a
moz-do-not-send="true"
href="mailto:dustin.r.blankenship@accenturefederal.com"
style="color: purple; text-decoration: underline;">dustin.r.blankenship@accenturefederal.com</a>>
escribió:<br>
<br>
</div>
<blockquote type="cite">
<div class="WordSection1" style="page:
WordSection1;">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);">This is
how we’ve done it:<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> </span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);">var
layerTreeStore =
Ext.create('Ext.data.TreeStore', {<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>model:
'GeoExt.data.LayerTreeModel',<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>root:
{<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>expanded:
true,<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>plugins:
[{<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>ptype:
'gx_layercontainer',<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>loader:
{<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>baseAttrs:
{<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>iconCls:
'eventNodeIcon'<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>},<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>store:
layerStore<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>}<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>}]<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>}<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> <span
class="Apple-converted-space"> </span>});<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> </span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);">Where
the “eventNodeIcon” is a css class that uses a
background image. For us it’s just blank.<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);"> </span></div>
<div>
<div style="border-style: solid none none;
border-top-color: rgb(181, 196, 223);
border-top-width: 1pt; padding: 3pt 0in 0in;">
<div style="margin: 0in 0in 0.0001pt;
font-size: 12pt; font-family: 'Times New
Roman', serif;"><b><span style="font-size:
10pt; font-family: Tahoma, sans-serif;">From:</span></b><span
style="font-size: 10pt; font-family:
Tahoma, sans-serif;"><span
class="Apple-converted-space"> </span><a
moz-do-not-send="true"
href="mailto:users-bounces@geoext.org"
style="color: purple; text-decoration:
underline;">users-bounces@geoext.org</a><span
class="Apple-converted-space"> </span>[<a
moz-do-not-send="true"
href="mailto:users-bounces@geoext.org"
style="color: purple; text-decoration:
underline;">mailto:users-bounces@geoext.org</a>]<span
class="Apple-converted-space"> </span><b>On
Behalf Of<span
class="Apple-converted-space"> </span></b><a
moz-do-not-send="true"
href="mailto:dustin.r.blankenship@accenturefederal.com"
style="color: purple; text-decoration:
underline;">dustin.r.blankenship@accenturefederal.com</a><br>
<b>Sent:</b><span
class="Apple-converted-space"> </span>Thursday,
September 11, 2014 11:25 AM<br>
<b>To:</b><span
class="Apple-converted-space"> </span><a
moz-do-not-send="true"
href="mailto:jcarrascog@gmail.com"
style="color: purple; text-decoration:
underline;">jcarrascog@gmail.com</a><br>
<b>Cc:</b><span
class="Apple-converted-space"> </span><a
moz-do-not-send="true"
href="mailto:users@geoext.org"
style="color: purple; text-decoration:
underline;">users@geoext.org</a><br>
<b>Subject:</b><span
class="Apple-converted-space"> </span>Re:
[Users] Change Image Icon for layers nodes
in TreePanel GeoExt 1.1<o:p></o:p></span></div>
</div>
</div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div>
<div>
<p class="MsoNormal" style="margin: 0in 0in
12pt; font-size: 12pt; font-family: 'Times New
Roman', serif;">We have done this I will get
you a sample in an hour<o:p></o:p></p>
<div>
<div>
<div style="margin: 0in 0in 0.0001pt;
font-size: 12pt; font-family: 'Times New
Roman', serif;"><span style="font-size:
10.5pt; font-family:
UICTFontTextStyleBody, serif;">Dustin
Blankenship<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in 0in 0.0001pt;
font-size: 12pt; font-family: 'Times New
Roman', serif;"><span style="font-size:
10.5pt; font-family:
UICTFontTextStyleBody, serif;">Sr.
Software Developer <o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in 0in 0.0001pt;
font-size: 12pt; font-family: 'Times New
Roman', serif;"><span style="font-size:
10.5pt; font-family:
UICTFontTextStyleBody, serif;">Accenture<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in 0in 0.0001pt;
font-size: 12pt; font-family: 'Times New
Roman', serif;"><span style="font-size:
10.5pt; font-family:
UICTFontTextStyleBody, serif;">407 S
Pennsylvania Ave<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in 0in 0.0001pt;
font-size: 12pt; font-family: 'Times New
Roman', serif;"><span style="font-size:
10.5pt; font-family:
UICTFontTextStyleBody, serif;">Joplin MO
64836<o:p></o:p></span></div>
</div>
<div>
<div style="margin: 0in 0in 0.0001pt;
font-size: 12pt; font-family: 'Times New
Roman', serif;"><span style="font-size:
10.5pt; font-family:
UICTFontTextStyleBody, serif;">417-793-3889<o:p></o:p></span></div>
</div>
</div>
<div>
<div style="margin: 0in 0in 0.0001pt;
font-size: 12pt; font-family: 'Times New
Roman', serif;"><span style="font-size:
10.5pt; font-family:
UICTFontTextStyleBody, serif;"> </span></div>
</div>
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;">Sent
from my iPhone<o:p></o:p></div>
</div>
<div>
<p class="MsoNormal" style="margin: 0in 0in
12pt; font-size: 12pt; font-family: 'Times New
Roman', serif;"><br>
On Sep 11, 2014, at 11:23, "Joaquin Carrasco
Gallego" <<a moz-do-not-send="true"
href="mailto:jcarrascog@gmail.com"
style="color: purple; text-decoration:
underline;">jcarrascog@gmail.com</a>>
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top: 5pt; margin-bottom:
5pt;">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;">Hi
everyone, I am trying to change the image icon
of a layer node in a<span
class="Apple-converted-space"> </span><br>
TreePanel but always shows me the default one
of the class<span
class="Apple-converted-space"> </span><br>
".x-tree-node-leaf .x-tree-node-icon".
Searching for Internet in some<span
class="Apple-converted-space"> </span><br>
pages the createNode function is mention in a
loader, but I am trying it<span
class="Apple-converted-space"> </span><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<span
class="Apple-converted-space"> </span><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<span
class="Apple-converted-space"> </span><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" style="color:
purple; text-decoration: underline;">Users@geoext.org</a><br>
<a moz-do-not-send="true"
href="http://www.geoext.org/cgi-bin/mailman/listinfo/users"
style="color: purple; text-decoration:
underline;">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></div>
</blockquote>
</div>
</blockquote>
</blockquote>
</blockquote>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true" href="mailto:Users@geoext.org"
style="color: purple; text-decoration: underline;">Users@geoext.org</a><br>
<a moz-do-not-send="true"
href="http://www.geoext.org/cgi-bin/mailman/listinfo/users"
style="color: purple; text-decoration: underline;">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>