This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mthroutine name(ShowView) | |
define_map for(*INPUT) class(#PRIM_ALPH) name(#pViewId) | |
define_com class(#PRIM_ALPH) name(#lPreviousViewId) | |
if (#mViews<#pViewId> *Is *NULL) | |
#SYS_WEB.Alert( ("Missing &1").Substitute( #pViewId ) ) | |
return | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* copy known query parameters to the navigation parameters | |
for each(#lParameter) in(#SYS_WEB.URLParameters) | |
case of_field(#lParameter.Name.UpperCase) | |
when (= TRACE) | |
#mParameters<#lParameter.Name> := #lParameter.Value | |
when (= DEVELOPER) | |
#mParameters<#lParameter.Name> := #lParameter.Value | |
when (= DEBUG) | |
#mParameters<#lParameter.Name> := #lParameter.Value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
evtroutine handling(#SYS_WEB.URLChanged) | |
define_com class(#PRIM_ALPH) name(#lViewId) | |
#lViewId := #ApplicationController.GetURLParameter( VIEW ).UpperCase | |
#SYS_APPLN.TraceMessageText( ("URL Changed. View: &1").Substitute( #lViewId ) ) | |
if (#lViewId = *BLANKS) | |
#lViewId := TOHDSHP01 | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* ===================================================================================== | |
* VIEW PANELS | |
* ===================================================================================== | |
define_com class(#DashboardViewPanel2) name(#DashboardPanel) parent(#ViewContainerPanel) visible(False) displayposition(2) tabposition(2) | |
define_com class(#HeroesViewPanel2) name(#HeroesPanel) parent(#ViewContainerPanel) visible(False) | |
define_com class(#HeroDetailViewPanel2) name(#HeroDetailPanel) displayposition(3) parent(#ViewContainerPanel) visible(False) tabposition(3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
evtroutine handling(#COM_OWNER.CreateInstance) | |
#mViews<TOHDSHP01> <= #DashboardPanel | |
#mViews<TOHHROP01> <= #HeroesPanel | |
#mViews<TOHHROP03> <= #HeroDetailPanel | |
endroutine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function options(*DIRECT) | |
begin_com role(*EXTENDS #ViewPanel) style(#Style1) layoutmanager(#Layout1) | |
define_com class(#PRIM_VS.Style) name(#Style1) borderbottom(1) borderbrush(#Brush1) borderleft(1) borderright(1) bordertop(1) | |
define_com class(#PRIM_VS.SolidBrush) name(#Brush1) color(0:255:58) | |
define_com class(#PRIM_TBLO) name(#Layout1) | |
define_com class(#PRIM_TBLO.Row) name(#LayoutRow1) displayposition(1) parent(#Layout1) | |
define_com class(#PRIM_TBLO.Column) name(#LayoutColumn1) displayposition(1) parent(#Layout1) | |
define_com class(#PRIM_TBLO.Item) name(#LayoutItem1) alignment(TopLeft) column(#LayoutColumn1) manage(#Label1) parent(#Layout1) row(#LayoutRow1) sizing(None) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin_com role(*EXTENDS #PRIM_WEB) layoutmanager(#MainPanelLayout) theme(#PrimaryTheme) | |
* ===================================================================================== | |
* STYLES | |
* ===================================================================================== | |
define_com class(#PRIM_VS.Style) name(#Style1) borderbottom(1) borderbrush(#Brush1) borderleft(1) borderright(1) bordertop(1) | |
define_com class(#PRIM_VS.SolidBrush) name(#Brush1) color(2:255:30) | |
* ===================================================================================== | |
* LAYOUTS | |
* ===================================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function options(*DIRECT) | |
begin_com role(*EXTENDS #ViewPanel) style(#Style1) layoutmanager(#Layout1) | |
define_com class(#PRIM_VS.Style) name(#Style1) borderbottom(1) borderbrush(#Brush1) borderleft(1) borderright(1) bordertop(1) | |
define_com class(#PRIM_VS.SolidBrush) name(#Brush1) color(0:15:255) | |
define_com class(#PRIM_TBLO) name(#Layout1) | |
define_com class(#PRIM_TBLO.Row) name(#LayoutRow1) displayposition(1) parent(#Layout1) | |
define_com class(#PRIM_TBLO.Column) name(#LayoutColumn1) displayposition(1) parent(#Layout1) | |
define_com class(#PRIM_TBLO.Item) name(#LayoutItem1) alignment(TopLeft) column(#LayoutColumn1) manage(#Label1) parent(#Layout1) row(#LayoutRow1) sizing(None) |
NewerOlder