property detailsWidth
as %ZEN.Datatype.integer(MAXVAL=80,MINVAL=5) [ InitialExpression = 30 ];
Value to indicate the percentage of the horizontal screen which should be devoted to the
details panel (if it is visible). This is exposed as a client-side property for the layout
code to use the value.
property pageNumberId
as %ZEN.Datatype.id [ InitialExpression = "pageTotal" ];
Id of the page number field
property pageSizeId
as %ZEN.Datatype.id [ InitialExpression = "PageSize" ];
Id of the page size field
property resultsTableId
as %ZEN.Datatype.id [ InitialExpression = "table" ];
Method called from %OnAfterCreatePage to get defaults and build up the initial display
method GetColumnsAndFrom(timeFormat As %String)
as %String
For tablePanes which require a constructed SQL query when paging, this
callback supplies the columns and FROM portions of the query.
classmethod GetDisplayValue(pValue As %String = "", pDataType As %String = "")
as %String
classmethod GetHyperEventResources(pMethod As %String = "")
as %String
Callback to return a list of resources required for a specific HyperEvent.
The user must have sufficient privileges on one of the resource/permission pairs
to be permitted to execute the hyperevent. An empty string implies the user already
has sufficient privileges for the ZenMethod specified in pMethod.
Server-side callback to provide localized string introducing the details table
method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List)
as %Status
Helper method to construct a query on the server when paging.
This method should be invoked from onChangeResultsPage()
for tablePanes which use the whereClause, orderbyClause and columns properties
to construct queries. next is true for Next, false for Previous;
pageSize is the page size; wherePlus gives the ID < or ID > string;
idVal gives the id value to compare with ID,
outer is either ASC or DESC depending on the current display order.
method SaveSearchCriteria()
as %String
[ ZenMethod ]
method changeRefresh()
[ Language = javascript ]
User chose a new Auto-Refresh value; set a new timeout value and start the timer
method enterKey()
[ Language = javascript ]
Use with certain fields so user can hit Enter to indicate that an entry in the field is done and ready to use
method formReset()
[ Language = javascript ]
Reset the "Search Events By..." form fields to blank, reset other fields to defaults
method getDetailHTML(detailHTML)
[ Language = javascript ]
method onAfterPageChange()
[ Language = javascript ]
Callback invoked after the next/previous page has been loaded.
method onChangeResultsPage(next, pageSize, currentPage)
[ Language = javascript ]
Callback to set up the resultset/query for paging.
method onSearchHandler()
[ Language = javascript ]
User clicked the Search button, user changed a Quick Search or Event Type criterion,
or we have completed a non-zero Purge.
method onSelectItem()
[ Language = javascript ]
toggle detailTable for a selected row.
method onlayoutHandler(load)
[ Language = javascript ]
Adjust sizes of components on the page.
Do this differently for Event Log than for other children of EnsPortal.Template.viewerPage (hence the override).
In this case the details pane does NOT get large when the search pane is minimized.
method onloadHandler()
[ Language = javascript ]
This client event, if present, is fired when the page is loaded.
method timeout(timer)
[ Language = javascript ]
If auto-refresh is still on, refresh table and restart the timer