<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Hi,</div><div><br></div><div>I would be very interested in seeing your result to this issue. I have been planning on doing something for metadata for while. The best I could come up with were static html pages loaded through a context menu on the treenode.</div><div><br></div><div>A more elegant interactive/automatic solution would be more suitable for keeping the metadata up to scratch.</div><div><br></div><div><br></div><div>cheers,</div><div><br></div><div>Rob</div><div><br></div><div>( I´m a Brissle man myself!)</div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">Von:</span></b> Antony Scott
<Antony.Scott@sustain.co.uk><br><b><span style="font-weight: bold;">An:</span></b> "users@geoext.org" <users@geoext.org><br><b><span style="font-weight: bold;">Gesendet:</span></b> Mittwoch, den 3. August 2011, 10:34:35 Uhr<br><b><span style="font-weight: bold;">Betreff:</span></b> [Users] Accessing Layer Metadata<br></font><br><style><!--
_filtered {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
_filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"sans-serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
span.EmailStyle17
        {font-family:"sans-serif";color:windowtext;}
span.pln1
        {color:black;}
span.pun1
        {color:black;}
span.str1
        {color:maroon;}
span.com1
        {color:gray;}
.MsoChpDefault
        {}
_filtered {margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {}
--></style><div class="WordSection1"><p class="MsoNormal">Good morning all</p><p class="MsoNormal"> </p><p class="MsoNormal">I’ve been trying to find a simple way of displaying the metadata for the layers I am using in a layer tree. I’ve managed to list all the layers in an ExtJS gridPanel, but have not been able to successfully apply a filter to the store – this, for example, seems to have no effect on the list, which displays all my GeoServer layers:</p><p class="MsoNormal"><span class="pln1"><span style="background:#EEEEEE;">store</span></span><span class="pun1"><span style="background:#EEEEEE;">.</span></span><span class="pln1"><span style="background:#EEEEEE;">filter</span></span><span class="pun1"><span style="background:#EEEEEE;">([</span></span><span class="pln1"><span style="background:#EEEEEE;"> </span></span><span class="pun1"><span style="background:#EEEEEE;">{</span></span><span class="pln1"><span
style="background:#EEEEEE;"> </span></span><span style="color:black;background:#EEEEEE;"><br><span class="pln1"> property </span><span class="pun1">:</span><span class="pln1"> </span></span><span class="str1"><span style="background:#EEEEEE;">'keywords'</span></span><span class="pun1"><span style="background:#EEEEEE;">,</span></span><span class="pln1"><span style="background:#EEEEEE;"> </span></span><span style="color:black;background:#EEEEEE;"><br><span class="pln1"> value </span><span class="pun1">:</span><span class="pln1"> </span></span><span class="str1"><span style="background:#EEEEEE;">'test'}]);</span></span></p><p class="MsoNormal"> </p><p
class="MsoNormal"> Ideally in fact I would like to display – either in a grid, or in the tree itself – metadata for only the layers which are shown in the tree.</p><p class="MsoNormal"> </p><p class="MsoNormal">The other option I have looked at is storing the metadata in the SLD, though as it relates to the layer rather than the style I would prefer not to do this. </p><p class="MsoNormal"> </p><p class="MsoNormal">Can anyone point me in the direction of a working example? </p><p class="MsoNormal"> </p><p class="MsoNormal">Many thanks</p><p class="MsoNormal"> </p><p class="MsoNormal">Antony</p><p class="MsoNormal"> </p><p class="MsoNormal" style=""><span style="font-size:10.0pt;font-family:"sans-serif";">Antony Scott</span></p><p class="MsoNormal"> </p></div>
<br><p><span style="FONT-FAMILY:'sans-serif';FONT-SIZE:11pt;"><font color="#000000" size="3" face="Arial">Sustain is a leading carbon reduction company. Our clients have saved</font></span></p>
<p><span style="FONT-FAMILY:'sans-serif';FONT-SIZE:11pt;"><font color="#000000" size="3" face="Arial"><font color="#99cc33"><b>4,131,800</b> </font><font color="#000000">lifetime <span style="FONT-FAMILY:'sans-serif';COLOR:black;FONT-SIZE:10pt;">tCO<sub>2</sub>e </span></font>through working with us (June 2011)</font></span></p>
<p>
</p><hr align="left" color="#000000" size="1" width="500" noshade="">
<p></p>
<p><font size="2">Sustain Ltd. Registered in England No. 3384793 <br>Barley Wood Stables, Long Lane, Wrington, Bristol BS40 5SA, UK</font></p>
<hr align="left" color="#000000" size="1" width="500" noshade="">
<p><font size="2">This e-mail and any attachments are strictly confidential and intended solely for the <br>addressee. If you are not the intended recipient of this document then you must <br>immediately inform the sender and delete this e-mail and any attachments from <br>your system.</font></p>
<p><font size="2">E-mail transmissions cannot be guaranteed to be secure or error free as information <br>could be intercepted, corrupted, lost, destroyed, arrive late or incomplete. The sender <br>does not accept liability for any errors or omissions in the content of this message <br>which arise as a result of e-mail transmission.</font></p>
<hr align="left" color="#000000" size="1" width="500" noshade="">
<br></div></div><div style="position:fixed"></div>
</div></body></html>