<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=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.pln1
        {mso-style-name:pln1;
        color:black;}
span.pun1
        {mso-style-name:pun1;
        color:black;}
span.str1
        {mso-style-name:str1;
        color:maroon;}
span.com1
        {mso-style-name:com1;
        color:gray;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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 lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Good morning all<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></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:<o:p></o:p></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><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></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. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Can anyone point me in the direction of a working example? <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Many thanks<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Antony<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Antony Scott</span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body>
<br><P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'"><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: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'"><FONT color=#000000 size=3 face=Arial><FONT color=#99cc33><B>4,131,800</B> </FONT><FONT color=#000000>lifetime <SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin">tCO<SUB>2</SUB>e </SPAN></FONT>through working with us (June 2011)</FONT></SPAN></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></html>