You simply append &try=name_of_the_ecoregion to your URL in OL.
In your layer definition, make sure you have set something like:
METADATA
'try_validation_string' '^[0-9]{1,2}$'
END
More info under ‘MapServer runtime substitution’
And in your OL layer options you add mode=map.
I finally gave up using MapServer layers with OL, since these layers are not as
flexible as real WMS layers (no reprojection, no GetFeatureInfo etc).
You may as well request your MS layer as WMS with the extra parameter attached
to the URL. However I haven’t found out yet how to get the GetFeatureInfo
working on a WMS layer with additional parameter.
Best regards
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users