[Mapserver-users] Dynamic Templates in v4.0
Van Ulden, Joost
jvanulde at nrcan.gc.ca
Mon Dec 15 13:00:33 PST 2003
Ok, I just figured it out.
In the MAP object (in the mapfile) I specified:
TEMPLATEPATTERN "java_template.html|html_template.html" and removed the
TEMPLATE parameter from the WEB object.
In my initializing page I specified:
<INPUT type="hidden" name="map_web_template" value="html_template.html">
And finally in my html template I specified:
<INPUT type="hidden" name="map_web_template" value="[map_web_template]">
Cheers,
============================================
Joost van Ulden
Programmer/Analyst
Natural Resources Canada / Ressources naturelles Canada
Geological Survey of Canada / Commission geologique du Canada
101 - 605 Robson Street / 101 - 605 rue Robson
Vancouver, B.C. / Vancouver (C.-B.)
V6B 5J3
Office/Bureau: 604.666.7525
fax/telecopieur: 604.666.1124
jvanulde at nrcan.gc.ca
============================================
> -----Original Message-----
> From: Van Ulden, Joost [mailto:jvanulde at nrcan.gc.ca]
> Sent: Monday, December 15, 2003 12:46 PM
> To: Mapserver-Users at Lists. Gis. Umn. Edu
> (mapserver-users at lists.gis.umn.edu)
> Subject: [Mapserver-users] Dynamic Templates in v4.0
>
>
> Hi all,
>
> I am somewhat confused about how templates are handled in
> 4.0. In 3.6 it was fairly straight forward to specify a
> template in the URL. For some reason, I can not get this to
> work in 4.0. Any suggestions? I have looked in the
> history.txt and the latest documentation and have not been
> able to find a concrete example. Could someone provide an example?
>
> Once again, thank you in advance!
>
> ============================================
> Joost van Ulden
> Programmer/Analyst
> Natural Resources Canada / Ressources naturelles Canada
> Geological Survey of Canada / Commission geologique du Canada
> 101 - 605 Robson Street / 101 - 605 rue Robson Vancouver,
> B.C. / Vancouver (C.-B.) V6B 5J3
> Office/Bureau: 604.666.7525
> fax/telecopieur: 604.666.1124
> jvanulde at nrcan.gc.ca ============================================
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users
>
More information about the MapServer-users
mailing list