class %iKnow.UI.BasicPortal
extends %iKnow.UI.AbstractPortal
This is a sample User Interface built on top of the iKnow query APIs, displaying a browsable overview
of the semantic elements identified by the iKnow Smart Indexing API. Click on an entity in a list
to browse to the elements similar, related or containing the selected entity.
Use the filter button to filter the displayed results based on metadata criteria.
This is a Zen Page class.
parameter PAGENAME = "Basic iKnow Portal";
Optional. This is the display name used for this page.
If not provided, the class name is used.
method DrawMetadataValue(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String)
as %Status
method DrawSource(pSeed As %String)
as %Status
method DrawSummary(pSeed As %String)
as %Status
method GetInfoPaneText()
as %String
Returns the text to be displayed in infoPane. To be overridden by the subclass using it.
method InitPages()
as %Status
This method should to be implemented by subclasses using the paging functions, giving all paged
components a meaningful initial page value (usually 1).
method UpdateSummaryLength(length As %Integer)
as %Status
[ ZenMethod ]
method buildSummaryClient()
[ Language = javascript ]
method displaySourceClient(sourceId)
[ Language = javascript ]
method onUpdateFilterClient()
[ Language = javascript ]
Client-side method subclasses can override to execute additional logic when the user has changed
filter criteria.
method onUpdateSourceClient(source)
[ Language = javascript ]
Client-side method subclasses can override to take additional actions upon a change in the
current source.
method onUpdateTermClient()
[ Language = javascript ]
Client-side method subclasses can override to take additional actions when the user selects
a new term.
method onlayoutHandler(load)
[ Language = javascript ]
This client event, if present, is fired when the page
is first loaded or whenever it is resized.
If this is called at load time, then load will
be true.
method setProperSizes()
[ Language = javascript ]