## make sure we have access to demo resources #if( !$demo ) #set( $demo = $text.demo ) #end ## look for a full demo in the params #set( $fullDemo = $params.fullDemo ) #if( !$fullDemo ) ## see if one was set in the parent template #if( $toolDemo ) #set( $fullDemo = $toolDemo ) #else ## ok, try looking for one in the resources #set( $fullDemo = $text.get("${toolname}.fullDemo") ) #if( !$fullDemo.exists ) ## give up and hide the full demo #set( $fullDemo = false ) #end #end #end #if( $fullDemo ) #set( $dims = $display.measure($fullDemo) )
$render.eval($params.fullDemo)#end