Apps and Workspaces : Create Workspace Apps with Mashboard : Events and Topics for Wiring Basic and Custom Apps : Publish Topic Messages for Events in Basic Apps
Publish Topic Messages for Events in Basic Apps
Basic apps publish messages to topics for events that are supported by the views included in the app (view-specific events) or by the DataTable containing the results from the mashable or mashups:
*View-Specific Events:
*For built-in Presto views, see documentation for the specific view to find the topics published for events in that view. For links, see Views for Mashups and Mashables.
*For pluggable views, the view must register the topics that it publishes for view-specific events with Presto. Information on view-specific events may be available in help for that view.
Presto developers should see Pluggable View Classes: Triggering and Handling Events for more information.
*DataTable Events:
DataTables, with the results for the mashable or mashup, have a single rowselect event which the app for that DataTable publishes as a rowselect topic. All built-in Presto views that support some type of click event also trigger a rowselect event in the DataTable. See online help for information on the events that publish topics in Presto built-in views.
Pluggable views can also optionally choose to trigger DataTable rowselect events. Presto developers should see Pluggable View Classes: Triggering and Handling Events for more information.
Presto developers should see About DataTable Events for more information on the interaction of DataTable events, views and apps.
Thus a user action can trigger both a view-specific event, such as click, and the rowselect event for the associated DataTable. The message payload for view-specific events typically includes only those fields (columns) that are included in the view. The payload for rowselect, however, includes all fields (columns) in the DataTable for that row.
Copyright © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback