It's that simple!

Do you know if this documented anywhere on the C2.2 website?

Thanks,

Robin

On 2 Jun 2008, at 21:01, Luca Morandini wrote:

Robin Wyles wrote:
Is it possible to use configuration properties defined in /META- INF/cocoon/properties within a sitemap?

Yes.


Is there an input module that does this, or can the new expression language block be used?

No input modules needed for this. It would be fine to use expressions across the board (from JXTemplates to sitemaps) but this has not yet been implemented.

Here's sample properties file and sitemap fragments:

mapserver.wms-path=/geoserver/wms
mapserver.wfs-path=/geoserver/wfs
mapserver.map-format=image/png
mapserver.cache.expiry-time=3600
mapserver.map-transparent=false
mapserver.map-bgcolor=0xffffff
app.mapserver2appserver=localhost:8080
app.appserver2mapserver=localhost:8080
app.path=/geoid-samples

<map:reader name="wmsmcsld" src="org.cocoondev.geoid.reading.WMSSLDReader" logger="geoid" mime-type="${mapserver.map-format}" path="${mapserver.wms- path}" server="${app.appserver2mapserver}" sld-path="http://$ {app.mapserver2appserver}${app.path}/" wfs-path="http://${app.appserver2mapserver}${mapserver.wfs-path}"; version="1.0.0"
        expires-seconds="${mapserver.cache.expiry-time}"/>

Regards,

--------------------
   Luca Morandini
www.lucamorandini.it
--------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to