contentbox.widgets

Class CommentForm

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

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- A cool basic commenting form for ContentBox

Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any messagebox


    • access = public
    • returntype = any
    • inject = messagebox@cbmessagebox
    true false
    Constructor Summary
    init()
          Constructor.
    Method Summary
    any renderIt([any content])
         The main commenting form widget.
     
    Methods inherited from class contentbox.models.ui.BaseWidget
    getAuthor, getAuthorService, getAuthorURL, getCategory, getCategoryService, getCb, getCommentService, getContentService, getContentStoreService, getContentVersionService, getDescription, getEntryService, getForgeBoxSlug, getHtml, getIcon, getMenuService, getName, getPageService, getPublicMethods, getSecurityService, getSite, getSiteService, getVersion, setAuthor, setAuthorService, setAuthorURL, setCategory, setCategoryService, setCb, setCommentService, setContentService, setContentStoreService, setContentVersionService, setDescription, setEntryService, setForgeBoxSlug, setHtml, setIcon, setMenuService, setName, setPageService, setSecurityService, setSiteService, setVersion
     
    Methods inherited from class coldbox.system.FrameworkSupertype
    announce, announceInterception, async, back, externalView, forAttribute, getCache, getCachebox, getColdBoxSetting, getController, getDateTimeHelper, getEnv, getFlash, getFlow, getInstance, getIsoTime, getJsonUtil, getLog, getLogBox, getModuleConfig, getModuleSettings, getRenderer, getRequestCollection, getRequestContext, getRootWireBox, getSetting, getSystemProperty, getSystemSetting, getUserSessionIdentifier, getWirebox, ifNull, ifPresent, inDebugMode, includeUDF, isDevelopment, isProduction, isTesting, layout, listen, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populate, populateModel, relocate, renderExternalView, renderLayout, renderview, runEvent, runRoute, setCachebox, setController, setEnv, setFlash, setFlow, setJsonUtil, setLog, setLogBox, setSetting, setWirebox, settingExists, throwIf, throwUnless, toJson, unless, view, when
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    messagebox

    property any messagebox

    Attributes:
    access - public
    required - false
    returntype - any
    inject - messagebox@cbmessagebox
    serializable - true

    Method Detail

    renderIt

    public any renderIt([any content])

    The main commenting form widget

    Overrides:
    renderIt in class BaseWidget
    Parameters:
    content - The content object to build the comment form or a content slug to load. If empty, we will take the content object from the prc scopes.