<br><font size=2 face="sans-serif">http://mapserver.org/cgi/runsub.html#validation</font>
<br><font size=2 face="sans-serif">Because runtime substitution affects
potentially sensitive areas of your mapfile such as database columns and
filenames, it is </font><font size=4 face="sans-serif">mandatory that you
use pattern validation</font><font size=2 face="sans-serif"> (since version
6.0)<br>
</font>
<br><font size=2 face="sans-serif">Whatever you are trying to do it won't
work until you have a validation block</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Andrea Peri <aperi2007@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">2013-01-22 13:05</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">[mapserver-users] RE runtime-substitution
on GetFeatureInfo request</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><tt><font size=2>Hi,<br>
thx for response.<br>
<br>
No I not define any validation block.<br>
I'm try to test if it work before to apply a validation block.<br>
<br>
I try to apply a FILTER like this:<br>
<br>
FILTER "VOLO_N = 3 and (FILESTAMPE like '%IDTPN%' )"<br>
<br>
the goal is to obtain that on a GetFeatureInfo request where the<br>
response without the filter will return three or four objects,<br>
and identifiables with id001,id002,id003 and id004, passing a<br>
parameter like ..&idtpn=id001<br>
<br>
it will return only one object.<br>
<br>
also I try to apply a default value like this:<br>
<br>
METADATA<br>
'default_idtpn' '%'<br>
<br>
to avoid that when I do noone idtpm parameter it will return an empty recordset.<br>
<br>
Thx<br>
<br>
Andrea.<br>
<br>
<br>
>What kind of trouble exactly?<br>
>Do you have a Validation block in your layer definition?<br>
><br>
><br>
>Andrea Peri <aperi2007 at gmail.com>@lists.osgeo.org<br>
>>Envoyé par : mapserver-users-bounces at lists.osgeo.org<br>
>>2013-01-21 19:26<br>
<br>
<br>
-- <br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . .<br>
qwerty àèìòù<br>
-----------------<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>