## Strip the filename off the path. We don't seem to have access to PathUtilities in here. #set ( $editingPath = $context.getRequestParameter( 'path' ) ) #if( $editingPath.indexOf(".") > -1 ) #set ( $slashPos = $editingPath.lastIndexOf( '/' ) ) #if ( $slashPos != -1 ) #set( $basePath = $editingPath.substring( 0, $slashPos ) ) #else #set( $basePath = "" ) #end #else #set( $basePath = "$!{editingPath}" ) #end
$context.getPageProperty('text.addpage')

[[Enter Location]]
$context.getPageProperty('text.enteraddress'): #set ( $forceddest = $context.getRequestParameter("forcedDestinationPath") ) #if( $forceddest ) #end

[[Note]]