[mapserver-users] Multi template
Lime, Steve D (MNIT)
steve.lime at state.mn.us
Wed Aug 23 12:06:07 PDT 2017
I'll have to setup a quick test to satisfy my own curiosity and report back.
-----Original Message-----
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of pe_lord
Sent: Wednesday, August 23, 2017 12:31 PM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Multi template
I understand but I cannot get the same behavior.
Here some mapfile sample:
OUTPUTFORMAT
NAME 'html'
DRIVER 'TEMPLATE'
MIMETYPE 'text/html'
FORMATOPTION "FILE=../templates/html.tmpl"
FORMATOPTION 'ATTACHMENT=info.html'
END
LAYER
NAME A
...
TEMPLATE 'another_template_html.html'
...
END
LAYER
NAME B
...
TEMPLATE 'void' # redirect to template-driven output filtered by the
resultset tag [resultset layer="B"]
...
END
At this time, with this configuration, I cannot alternate between the 2
methods. I get a correct template from layer B but nothing from LAYER A...
Is it correct? Something wrong?
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Multi-template-tp5317599p5332287.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list