Module: alfresco/lists/views/layouts/XhrLayout

alfresco/lists/views/layouts/XhrLayout

This layout widget is intended to be used when rendering search results (or any data set containing minimal node information). The idea is that the initially available data can be rendered but when the user clicks on the item it will asynchronously request all of the information about that that node so that complete metadata and actions, etc can be displayed.
Author:
  • Dave Draper
License:
Source:

Members

cssRequirements :object[]

An array of the CSS files to use with this widget.
Type:
  • object[]
Default Value:
  • [{cssFile:"./css/XhrLayout.css"}]
Source:

templateString :String

The HTML template to use for the widget.
Type:
  • String
Source:

Methods

getXhrData()

Source:

onXhrData(payload)

Handles the processing of the asynchronously requested data. It will attempt to render the returned data item using the attribute "widgetsForXhrData".
Parameters:
Name Type Description
payload object
Source:

postCreate()

Calls processWidgets
Source: