<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT size=2><FONT face=Arial>Hi all,<BR><BR><SPAN
class=923074008-04072007> Can I bind a SLD with a WFS layer, more or less
like that : </SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=923074008-04072007><FONT face=Arial
size=2></FONT></SPAN> </DIV><SPAN class=923074008-04072007>
<P dir=ltr align=left><FONT face=Arial size=2>Layer = new OpenLayers.Layer.WFS(
name, "/geoserver/wfs", </FONT></P>
<P dir=ltr align=left><FONT size=2><FONT face=Arial>{ typename: name, <SPAN
class=923074008-04072007> </SPAN>extractAttributes: true,<SPAN
class=923074008-04072007> </SPAN>SLD : "<SPAN
class=923074008-04072007> <A
href="http://localhost:8080/geoserver/data/styles/Lakes.sld"><FONT
color=#000000>http://localhost:8080</FONT></SPAN><FONT
color=#000000>/geoserver/data/styles/Lakes.sld</FONT></FONT></FONT></A><FONT
face=Arial size=2>"} );</FONT></P>
<DIV dir=ltr align=left><FONT size=2><FONT face=Arial> For the moment, that
doesn't work... Is this possible ?<SPAN
class=923074008-04072007> </SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=923074008-04072007><FONT face=Arial
size=2> </FONT></SPAN></SPAN><BR><BR><FONT size=2><FONT face=Arial>Many
thanks<SPAN class=923074008-04072007> ,</SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=923074008-04072007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=923074008-04072007><FONT face=Arial
size=2>Florian</FONT> </SPAN><BR></DIV>
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;
        mso-font-charset:2;
        mso-generic-font-family:roman;
        mso-font-pitch:variable;
        mso-font-signature:0 268435456 0 0 -2147483648 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.spelle
        {mso-style-name:spelle;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Tableau Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
</head>
<body lang=FR style='tab-interval:35.4pt'>
<div class=Section1>
<p class=MsoNormal><span lang=DE style='font-size:18.0pt;font-family:Webdings;
mso-bidi-font-family:Arial;color:green;mso-ansi-language:DE'>P</span><b><span
lang=DE style='font-size:7.5pt;font-family:Arial;color:black'> </span></b><b><span
style='font-size:10.0pt;font-family:Arial;color:green'>Pensez à
l'environnement avant d'imprimer ce message<o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>
<span class=SpellE><b><i><span style='color:green'>Think</span></i></b></span><b><i><span
style='color:green'> <span class=SpellE>Environment</span> <span class=SpellE>before</span>
printing</span></i></b><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>Le contenu
de ce mél et de ses pièces jointes est destiné à
l'usage exclusif du (des) destinataire(s) désigné(s) comme
tel(s). </span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>En cas de
réception par erreur, le signaler à son expéditeur et ne
pas en divulguer le contenu. <br>
L'absence de virus a été vérifiée à
l'émission, il convient néanmoins de s'assurer de l'absence de
contamination à sa réception.</span></p>
<p class=MsoNormal> </p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>The contents of this email and any attachments are
confidential. They are intended for the named recipient(s) only. </span><span
lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>If you have received this email in error please notify
the system manager or the sender immediately and do not disclose the
contents to <br>
anyone or make copies. </span><span lang=EN-GB
style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>eSafe</span></span><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'> scanned
this email for viruses, vandals and malicious content.</span><span lang=EN-GB
style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><o:p> </o:p></span></p>
</div>
</body>
</html>
</BODY></HTML>