/** * Reads the editor configuration file valid for the current user and caches the result in a Map.<p> * * The configuration settings of the found file are stored in a Map holding the loaded configuration * with the configuration file name as key.<p> * * The configuration file name to use for the current user is stored in another Map with the user name * as key.<p> * * @param jsp the JSP action element to access the VFS and current user information * @return the display options to use for the current user or null if no display options were found */ public Properties getDisplayOptions(CmsJspActionElement jsp) { return getDisplayOptions(jsp.getCmsObject()); }
/** * Reads the editor configuration file valid for the current user and caches the result in a Map.<p> * * The configuration settings of the found file are stored in a Map holding the loaded configuration * with the configuration file name as key.<p> * * The configuration file name to use for the current user is stored in another Map with the user name * as key.<p> * * @param jsp the JSP action element to access the VFS and current user information * @return the display options to use for the current user or null if no display options were found */ public Properties getDisplayOptions(CmsJspActionElement jsp) { return getDisplayOptions(jsp.getCmsObject()); }
Properties displayOptions = options.getDisplayOptions(cms); try { if (options.showElement("gallery.enhancedoptions", displayOptions)) {