contentbox.widgets

Class Renderview

lucee.Component
    extended by coldbox.system.FrameworkSupertype
      extended by contentbox.models.ui.BaseWidget
        extended by contentbox.widgets.Renderview

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Renders any view in your ColdBox application

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init()
    Method Summary
    any renderIt(string view, [boolean cache='false'], [any cacheTimeout], [any cacheLastAccessTimeout], [any cacheSuffix], [any module], [string args=''])
         Render the widget out.
     
    Methods inherited from class contentbox.models.ui.BaseWidget
    getAuthor, getAuthorService, getAuthorURL, getCategory, getCategoryService, getCb, getCommentService, getContentService, getContentStoreService, getContentVersionService, getDescription, getEntryService, getForgeBoxSlug, getHtml, getIcon, getLog, getMenuService, getName, getPageService, getPublicMethods, getSecurityService, getVersion, setAuthor, setAuthorService, setAuthorURL, setCategory, setCategoryService, setCb, setCommentService, setContentService, setContentStoreService, setContentVersionService, setDescription, setEntryService, setForgeBoxSlug, setHtml, setIcon, setLog, setMenuService, setName, setPageService, setSecurityService, setVersion
     
    Methods inherited from class coldbox.system.FrameworkSupertype
    addAsset, announceInterception, getCache, getController, getInstance, getInterceptor, getModel, getModuleConfig, getModuleSettings, getMyPlugin, getPlugin, getRenderer, getRequestCollection, getRequestContext, getSetting, getSettingStructure, includeUDF, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populateModel, relocate, renderExternalView, renderLayout, renderView, runEvent, setController, setNextEvent, setSetting, settingExists
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Method Detail

    renderIt

    public any renderIt(string view, [boolean cache='false'], [any cacheTimeout], [any cacheLastAccessTimeout], [any cacheSuffix], [any module], [string args=''])

    Render the widget out

    Overrides:
    renderIt in class BaseWidget
    Parameters:
    view - The named path of the view to render
    cache - Cache the contents of the render view or not, by default it is false
    cacheTimeout - The cache timeout in minutes
    cacheLastAccessTimeout - The cache idle timeout in minutes
    cacheSuffix - A suffix for the cache entry
    module - The name of the module to render the view from
    args - The arguments to pass to the view, this should be a comma delimitted list of name value pairs. Ex: widget=true,name=Test