OK, As usual, the best method in debugging is to post to the list and then give it one last try...
At 6.X, you can't change the name properties of classes, layers, etc. Steve Lime documents this pretty clearly in this email message: http://lists.osgeo.org/pipermail/mapserver-users/2011-April/068560.html The TITLE property is now accessible though. I had tried this, but not apparently at the same time that I was applying a validation pattern. This URL works: http://myserver/cgi-bin/mapserv?mode=legend&map=mymap.map&map.layer[0].class[1]=TITLE+%27fitger%27 I have a layer-level validation block. The expression is a little more generous than my test case needs, but fits the real data. VALIDATION 'title' '^[a-zA-Z0-9\, ]+$' END David. -----Original Message----- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Fawcett, David (MPCA) Sent: Tuesday, August 16, 2011 3:05 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] runtime substitution - class name Is it still possible to runtime-sub a class name in 6.0.1? I used to do it like this in 4.x: http://myserver/cgi-bin/mapserv?mode=legend&map=mymap.map&map_basemap_class_0_name=fitger I am trying to do it like this in 6.0.1: http://myserver/cgi-bin/mapserv?mode=map&map=/web/mymap.map&map.layer[0].class[1]=NAME+%27fitger%27 I get this error message: loadClass(): Unknown identifier. Parsing error near (NAME):(line 1) I have attempted to use a validation block also, but can't find an example of what key name to use for map objects (e.g. class name) Thanks, David. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users