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.
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Extends
Mixes In
- external:dojo/_TemplatedMixin
- module:alfresco/lists/views/layouts/_MultiItemRendererMixin
- module:alfresco/core/Core
- module:alfresco/core/CoreWidgetProcessing
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: