I am trying to use variable substitution with chameleon, but I have not
achieved that it works.
Someone might indicate how to do that.
In mapfile I introduce this sentences
DATA "select * from localidad inner join base on
localidad.localidad=base.localidad where base.pack='%pack%'"
and, into de index.html, theese
$oApp->CWCInitialize( $szTemplate, $szMapFile, $szContext );
*$oLayer = $oApp->moMapSession->oMap->getLayerByName('layer name');*
*$oApp->setVar('pack', 'variable value' );*
$oApp->CWCExecute(array(dirname(__FILE__)."/widgets"));
thanks
Alejandro Narváez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20100220/ce192101/attachment.htm