list

Description
GET - Render the entity's list file

Methods


start( data )

Description
Called at route start
Parameters
Name Type Description
data object
Name Type Attributes Description
req object Request - See expressjs definition
res object Response - See expressjs definition
transaction object <optional>
Database transaction. undefined by default, provide your own when necessary
tableUrl string Url for the ajax datalist
renderFile string Dust file to render

beforeRender( data )

Description
Called before rendering
Parameters
Name Type Description
data object
Name Type Attributes Description
req object Request - See expressjs definition
res object Response - See expressjs definition
transaction object <optional>
Database transaction. undefined by default, provide your own when necessary
tableUrl string Url for the ajax datalist
renderFile string Dust file to render