Project

General

Profile

« Previous | Next » 

Revision 3733

include contextURL and cgi-prefix as parameters in all the transforms (initially used for nceas skin to remove ant tokens in the XSL files....but will be used by other skins as they are converted away from at tokens)

View differences:

src/edu/ucsb/nceas/metacat/DBTransform.java
303 303
          transformer.setParameter("sessid", sessionid);
304 304
        }
305 305
        
306
        //set up the default params (can be overridden by the passed in params)
307
        String cgiPrefix = MetaCatUtil.getOption("cgi-prefix");
308
        transformer.setParameter("cgi-prefix", cgiPrefix);
309
        transformer.setParameter("contextURL", contextURL);
310
        
306 311
        // Set up parameter for transformation
307 312
        if ( param != null) {
308 313
          en = param.keys();

Also available in: Unified diff