renderDelayedViewletTag()

Overview

public string function renderDelayedViewletTag(
      required string  event        
    , required struct  args         
    ,          boolean private       = true
    ,          boolean prePostExempt = true
)

Takes event name and args that would be passed to renderViewlet() and returns the special tag that can be parsed later in the request

Arguments

NameTypeRequiredDescription
eventstringYesThe viewlet event name
argsstructYesStruct of args to be passed to the viewlet
privatebooleanNo (default=true)Whether or not the viewlet action is a private method
prePostExemptbooleanNo (default=true)Whether or not the viewlet should skip pre/post event handlers and interception points