[mapserver-users] Multi template

pe_lord pe_lord at yahoo.ca
Wed Aug 23 10:31:25 PDT 2017


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.


More information about the mapserver-users mailing list