public Page getRelativePage ( String relativePath ) { String path = getRootPath ( ) ; if ( path == null ) { return null ; } StringBuilder sb = new StringBuilder ( path ) ; if ( ! relativePath . startsWith ( "/" ) ) { sb . append ( "/" ) ; } sb . append ( relativePath ) ; return pageManager . getPage ( sb . toString ( ) ) ; }
Get page relative to site root .