public static Resource getSetupPage(I_SetupUiContext context, String name) {

        String path = CmsStringUtil.joinPaths(context.getSetupBean().getContextPath(), CmsSetupBean.FOLDER_SETUP, name);
        Resource resource = new ExternalResource(path);
        return resource;
    }
public static Resource getSetupPage ( I_SetupUiContext context , String name ) { String path = CmsStringUtil . joinPaths ( context . getSetupBean ( ) . getContextPath ( ) , CmsSetupBean . FOLDER_SETUP , name ) ; Resource resource = new ExternalResource ( path ) ; return resource ; }
Gets external resource for an HTML page in the setup-resources folder.

@param context the context
@param name the file name

@return the resource for the HTML page