Closed schloett closed 9 years ago
Example for illustration: http://rawgit.com/EEXCESS/c4/develop/examples/searchBar_Paragraphs/index.html (Wait until results are retrieved, then open the result pane and change the view to dashboard -> will remain in loading state)
The dashboard should ask for the current result set after its initialization via posting a {event:'currentResults'} message to the parent window, which should in turn respond with a {event:'newResults', data:} message. This is, because it might be loaded on demand and hence have no information about the current result set. Also, it is not possible to trigger a 'newResults' event from the parent container, after the parent container has loaded the Dashboard, because the parent container does not have information about the loading status.