Tuesday, May 29, 2018

Banner 9: Tabs UI

Banner 9: Tabs UI


Banner 9: Tabs UI

- Windows
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="urn:schemas:morphis:frames:view" xmlns:xl="urn:schemas:morphis:frames:logic" layout="horizontal" name="MAIN_WINDOW" title="mainWindow.title">
    <include src="net/hedtech/banner/student/..../views/PanelKeyBlockCanvas"/>
    <tabpanel style="ui-panel-view-container ui-notabs" width="100%">
        <tab label="main">
            <!--
            <include src="net/hedtech/banner/student/...../views/PanelMainCanvas"/>
             -->
            <include src="net/hedtech/general/common/libraries/Goqolib/views/PanelGWelcomeCanvas"/>
            <include src="net/hedtech/banner/student/...../views/Panel.....TabCanvas"/>
        </tab>
    </tabpanel>
 
</window>

- Create Tab canvas from Task Outline

- Create Page when creating tab canvas

- Tab change event in Tab canvas xvc


<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="urn:schemas:morphis:frames:view" xmlns:xl="urn:schemas:morphis:frames:logic" layout="positional">
<tabpanel name="xxxx_TAB_CANVAS" width="100%" height="100%"  >
<xl:event action="WHEN-TAB-PAGE-CHANGED" name="change"/>
<tab id="page_AREA" name="AREA" label="AREA" >
<include src="net/hedtech/banner/student/xxxx/views/TabxxxxxTabCanvasArea" />
</tab>
<tab id="page_CLASSIFICATION" name="CLASSIFICATION" label="CLASSIFICATION" >
<include src="net/hedtech/banner/student/xxxx/views/TabxxxxTabCanvasClassification" />
</tab>
<tab id="page_ADVISOR" name="ADVISOR" label="ADVISOR" >
<include src="net/hedtech/banner/student/xxxx/views/TabxxxxTabCanvasAdvisor" />
</tab>
</tabpanel>
</config>

- Form Controller

@ActionTrigger(action="WHEN-TAB-PAGE-CHANGED")
public void XXXX_tabChange()
{

{
NString tabTopmost = getCanvasTopMostTabPage("XXX_TAB_CANVAS");

// F2J_WARNING : Please validate if you need to surround the message level manipulation with a try/finally block
try{
MessageServices.setMessageLevel(FormsMessageLevel.decodeMessageLevel("5"));
if ( tabTopmost.equals("AREA") )
{

goBlock(toStr("XXX"));
executeQuery();

}

else {

}
}finally{
// F2J_WARNING : Please validate if you need to surround the message level manipulation with a try/finally block
MessageServices.setMessageLevel(FormsMessageLevel.decodeMessageLevel("0"));
}
}
}



No comments:

Post a Comment

AWS how to delete VPC when it has error with Network interface , Gateway decencies

   how to delete VPC when it has error with Network interface , Gateway decencies  in AWS 1. Check if it is running on EC2 instance then Sto...