<br><font size=2 face="sans-serif">http://dev.openlayers.org/docs/files/OpenLayers/Layer/WMS-js.html#OpenLayers.Layer.WMS.mergeNewParams</font>
<br>
<br><font size=2 face="sans-serif">that will add year parameter in your
url</font>
<br><font size=2 face="sans-serif">yourlayer.mergeNewParams(</font>
<br><font size=2 face="sans-serif">        {</font>
<br><font size=2 face="sans-serif">         
              'year':
year</font>
<br><font size=2 face="sans-serif">        });<br>
</font>
<p><font size=3 color=#0066ff><i>Steve Toutant, M. Sc.</i></font><font size=3><br>
Analyste en géomatique<br>
Secteur environnement<br>
Direction de la santé environnementale et de la toxicologie<br>
Institut national de santé publique du Québec<br>
Tél.: 418 646-6777 poste 30015<br>
Téléc.: 418 644-4593</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:steve.toutant@inspq.qc.ca><font size=3 color=blue><u>steve.toutant@inspq.qc.ca</u></font></a><font size=3 color=blue><u><br>
</u></font><a href=http://www.inspq.qc.ca/><font size=3 color=blue><u>http://www.inspq.qc.ca</u></font></a><font size=3 color=blue><u><br>
</u></font><a href=http://www.monclimatmasante.qc.ca/><font size=3 color=blue><u>http://www.monclimatmasante.qc.ca</u></font></a><font size=3>
</font>
<p><font size=3><i>Pour me rejoindre par courrier</i><br>
Service de l'infrastructure et du réseau<br>
Direction des technologies de l'information<br>
Ministère de la Sécurité Publique<br>
2525 boul. Laurier, 2è étage<br>
Tour Laurentides<br>
Québec, G1V 2L2</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>gorank <kirandziskig@gmail.com>@lists.osgeo.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : mapserver-users-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">2014-02-11 17:57</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">mapserver-users@lists.osgeo.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">[Polluriel potentiel]  Re: [mapserver-users]
runtime variable substitution in layer class expression</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><tt><font size=2>I follow your suggestion and I put in the map file
your proposal and in my<br>
.aspx webform with open layers javascript I added dropdownlist with ID<br>
"YEAR" and Values 2010 and 2011. The open layer in the browser
doesn't show<br>
the map. <br>
<br>
Should I put in the open layer javascript some additional code to recognise<br>
the aspx control selected value?<br>
<br>
Goran<br>
<br>
<br>
<br>
--<br>
View this message in context: http://osgeo-org.1560.x6.nabble.com/runtime-variable-substitution-in-layer-class-expression-tp5101318p5103269.html<br>
Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
mapserver-users@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
</font></tt>
<br>
<br>
<br>