<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><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:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Courier New \; color\: red\;";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Courier New \;";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.E-MailFormatvorlage20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.E-MailFormatvorlage21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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]--></head><body bgcolor=white lang=DE-AT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Hello Alexandre, hi GeoExt users,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I tried your WMSBrowser. Very good work!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Like other Users I don’t understand to adapt the path to the xml file. I can’t show my own xml-file or the direct request (</span><u><span lang=EN-US style='color:windowtext'><a href="http://localhost:8080/geoserver/wms?request=getcapabilities&namespace=myWorkspace">http://localhost:8080/geoserver/wms?request=getcapabilities&namespace=myWorkspace</a></span></u><span lang=EN-US style='color:#1F497D'>).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>The only example loading WMSCapabilities, that runs in my environment, is the <b>WMSCapabilitiesStore</b> that loads the layers from my Geoserver to a gridpanel.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>What I want:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>A combobox with several paths to Geoservers, when selected one Geoserver, loading the layers into a LayerTree (LayerTreeBuilder).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Now I am able to load my geoserver-layers (which are staying in a certain namespace) to a gridpanel. From the gridpanel I can add them to the LayerTreeBuilder.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I manage the parent and children nodes (groups) by adding some keywords to the layers in the geoserver.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'>var array = grid.getStore().getRange(); <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'>for(var i = 0 ; i < array.length ;i++){<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> var record = array[i];<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> var copy = record.copy();<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> copy.data["layer"] = record.getLayer();<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> copy.getLayer().mergeNewParams({<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> format: "image/png",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> transparent: "true",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> tiled: "true"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> });<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> copy.getLayer().visibility = false;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> </span><span lang=EN-US style='font-family:"Courier New";color:#00B050'>// adding only layers with a keyword (=group in LayerTreeBuilder)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#00B050'> // e.g. keywords=“Test area 1/Parcels”<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> if(record.get("keywords").length !== 0){<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> var keywords = record.get("keywords")[0];<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> copy.getLayer().options.group = keywords;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> var firstKeyword = keywords.split("/")[0];<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;text-indent:35.4pt'><span lang=EN-US style='font-family:"Courier New";color:#00B050'>//tag = test area to show<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> if (firstKeyword == tag){<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> mapPanel.layers.add(copy); <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'> }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";color:#1F497D'>}<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>But I don’t like to use the gridpanel, my users won’t select single layers, but all layers within a namespace of a geoserver, that is the path to a Geoserver. The layers to add is managed by keywords.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>How to bypass the gridpanel?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>How to make run the other examples with wmscap.xml files as url? E.g. the WMSCapabilitiesLoader or your WMSBrowser? Something to do with Proxy?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Any suggestions are appreciated!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Lucia<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal style='margin-bottom:1.0pt'><b><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#365F91;mso-fareast-language:DE-AT'>Dipl.-Geogr. Lucia Morper-Busch</span></b><b><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#1F497D;mso-fareast-language:DE-AT'> | </span></b><b><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#C00000;mso-fareast-language:DE-AT'>Researcher</span></b><b><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#1F497D;mso-fareast-language:DE-AT'><o:p></o:p></span></b></p><p class=MsoNormal style='margin-bottom:1.0pt'><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:DE-AT'>University of Salzburg | Centre for Geoinformatics - Z_GIS<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:1.0pt'><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:DE-AT'>Schillerstr.30 | Techno-Z, Block 15, 3rd floor | 5020 Salzburg, Austria<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:DE-AT'>Phone +43 (0)662 8044 5298 | Fax +43 (0)662 8044 5260<o:p></o:p></span></p><p class=MsoNormal><b><i><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:DE-AT'>> <a href="http://www.zgis.at/research"><span style='color:gray;text-decoration:none'>Z_GIS…experts for the spatial view</span></a><o:p></o:p></span></i></b></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:DE-AT'>Von:</span></b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:DE-AT'> Morper-Busch, Lucia <br><b>Gesendet:</b> Donnerstag, 31. März 2011 12:30<br><b>An:</b> 'Alexandre Dube'<br><b>Betreff:</b> WMSCapabilitiesLoader with LayerTreeBuilder<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Hi Alexandre,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>thank you for your remarks.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>A question: Did you ever think about a combination of your LayerTreeBuilder and the WMSCapabilitiesLoader?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>This would be very nice. I’d like to refer to my Geoserver (one workspace/namespace) and load automaticly all layers to the LayerTree with legends… (I’m not able to manage it in a short time)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Best regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Lucia<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal style='margin-bottom:1.0pt'><b><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#365F91;mso-fareast-language:DE-AT'>Dipl.-Geogr. Lucia Morper-Busch</span></b><b><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#1F497D;mso-fareast-language:DE-AT'> | </span></b><b><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#C00000;mso-fareast-language:DE-AT'>Researcher</span></b><b><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#1F497D;mso-fareast-language:DE-AT'><o:p></o:p></span></b></p><p class=MsoNormal style='margin-bottom:1.0pt'><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:DE-AT'>University of Salzburg | Centre for Geoinformatics - Z_GIS<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:1.0pt'><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:DE-AT'>Schillerstr.30 | Techno-Z, Block 15, 3rd floor | 5020 Salzburg, Austria<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:DE-AT'>Phone +43 (0)662 8044 5298 | Fax +43 (0)662 8044 5260<o:p></o:p></span></p><p class=MsoNormal><b><i><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:DE-AT'>> <a href="http://www.zgis.at/research"><span style='color:gray;text-decoration:none'>Z_GIS…experts for the spatial view</span></a><o:p></o:p></span></i></b></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:DE-AT'>Von:</span></b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:DE-AT'> Alexandre Dube [mailto:adube@mapgears.com] <br><b>Gesendet:</b> Mittwoch, 30. März 2011 14:20<br><b>An:</b> Morper-Busch, Lucia<br><b>Betreff:</b> Re: OpacitySlider in LayerTreeBuilder<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Lucia,<br><br> Thanks a lot for your interest in the LayerTreeBuilder tool.<br><br><br>== ContextMenuPlugin ==<br><br> Regarding the ContextMenuPlugin, you could also add it when creating your object like this :<br><br> tree = new GeoExt.ux.tree.LayerTreeBuilder({<br> width: 250,<br> autoScroll: true,<br> enableDD: true,<br> rootVisible: false,<br> lines: false,<br> plugins: [<span lang=EN-US style='font-family:"Courier New";color:red'>new GeoExt.tree.ContextMenuPlugin({ </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> sliderOptions:{</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> aggressive: true,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> plugins: new GeoExt.LayerOpacitySliderTip()</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> }</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> }</span>]<o:p></o:p></p><p class=MsoNormal> });<br><br> You're right that it would be nice to have a boolean option for that. I took a note, but a patch with this fix would also be welcomed. <br><br><br>== Components are hard to find ==<br><br>You should raise this comment on the GeoExt-dev mailing list, but I'd also say that patches with new examples and documentation are also welcomed.<br><br><br>== Error in ext-all.js ==<br><br>Do you know about Firebug ? If not, it's a javascript debugger add-on you can add to Firefox. Load "ext-all-debug.js" instead of "ext-all.js" and put some break points in Firebug in order to help you find out why the code doesn't work.<br><br>You could also try to make a very small sample (minimized version of your code) of what you're trying to do and make it live on the web so that you could post a message on the GeoExt-users mailing list and show exactly what's wrong.<br><br><br>Thanks again for your interest.<br><br>Best regards,<br><br>Alexandre<br><br>== More about "How come I create UX" ? ==<br><br>I developed the LayerTreeBuilder widget for a particular client for one of his web mapping application. Most of the time, I try to make a "ux" out of what I do so that others can enjoy the work I do, but that also means that when the fundings for the development of the tool is depleted, if I want to continue upgrading it, I have to wait for more fundings from new projects / clients, free time of my own or contribution from other devs. For the upcoming weeks, I won't have much free time. Like I said earlier, I took note of your comments and when I have some free time, I'll work on it. Patches are welcomed too ;) <br><br><br><br>On 11-03-30 06:22 AM, Morper-Busch, Lucia wrote: <o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Hi Alexandre,</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>your LayerTreeBuilder is great.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Recently I looked for a Opacity Slider to put it into each layer node.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>First I tried to integrate a toolbar as component (like GeoExt Tree Tools: <a href="http://dev.geoext.org/sandbox/elemoine/playground/geoext/examples/tree-tools.html">http://dev.geoext.org/sandbox/elemoine/playground/geoext/examples/tree-tools.html</a>)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>But either it appears the Legend symbology or the Opacity Slider, not both.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Then I tried this:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>After long searching for a solution I found the <b>OpacitySliderPlugin</b>, now renamed to <b>ContextMenuPlugin</b> to integrate into a LayerTree.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I inserted the <b>ContextMenuPlugin</b> with a <b>LayerOpacitySliderTip</b>-Plugin in the LayerTreeBuilder.js and now it does what I want: </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Code snippet of LayerTreeBuilder.js:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'>initComponent: function(){</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> this.addEvents(this.CUSTOM_EVENTS);</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> this.plugins = this.plugins || [];</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> this.plugins.push({ptype: "gx_treenodecomponent"});</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> this.plugins.push(new GeoExt.ux.plugins.LayerTreeBuilderNodeAgent());</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> //Context menu with opacity slider, added by Lucia:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> this.plugins.push(new GeoExt.tree.ContextMenuPlugin({ </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> sliderOptions:{</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> aggressive: true,</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> plugins: new GeoExt.LayerOpacitySliderTip()</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> }</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> })</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ; color: red;","serif"'> ); </span><span lang=EN-US style='font-family:"Courier New"'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> GeoExt.ux.tree.LayerTreeBuilder.superclass.initComponent.call(this);</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> if(!this.layerStore) {</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> this.layerStore = GeoExt.MapPanel.guess().layers;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> }</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> this.layerStore.on({</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> "add": this.onLayerAdded,</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> "remove": this.onLayerRemoved,</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> scope: this</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> });</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'> this.layerStore.treeBuilder = this;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New ;","serif"'>},</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><u><span lang=EN-US style='color:#1F497D'>Three remarks: </span></u><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>1. It’s hard to find new developments. I’m searching always with key words like “opacity slider” “layertree” and similar. In my opinion there is a lack of finding the latest improvements. The code examples are not linked to these key words, isn’t it?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>2.It would be nice for a <b>boolean option</b> of the <b>LayerTreeBuilder</b> to set “ContextMenu: true/false”, without manipulating the code of the LayerTreeBuilder.js itself. Maybe also with <b>SliderOptions</b> for a possible integrating of the very useful <b>LayerOpacitySliderTip</b>.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>3. There is a Error executing the new code: <b>"this.dom.style is null or not an object"</b> referring to ext-all.js.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Do you know how to fix it?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thanks <br>Lucia</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='margin-bottom:1.0pt'><b><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif"'>Dipl.-Geogr. Lucia Morper-Busch | </span></b><b><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#C00000'>Researcher</span></b><o:p></o:p></p><p class=MsoNormal style='margin-bottom:1.0pt'><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray'>University of Salzburg | Centre for Geoinformatics - Z_GIS</span><o:p></o:p></p><p class=MsoNormal style='margin-bottom:1.0pt'><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray'>Schillerstr.30 | Techno-Z, Block 15, 3rd floor | 5020 Salzburg, Austria</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray'>Phone +43 (0)662 8044 5298 | Fax +43 (0)662 8044 5260</span><o:p></o:p></p><p class=MsoNormal><b><i><span lang=EN-US style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray'>> <a href="http://www.zgis.at/research"><span style='color:gray;text-decoration:none'>Z_GIS…experts for the spatial view</span></a></span></i></b><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:DE-AT'><br><br><o:p></o:p></span></p><pre>-- <o:p></o:p></pre><pre>Alexandre Dubé<o:p></o:p></pre><pre>Mapgears<o:p></o:p></pre><pre><a href="http://www.mapgears.com">www.mapgears.com</a><o:p></o:p></pre></div></body></html>