intra-mart Accel Kaiden! / Programming Guide

«  Gadget/Gadget Block/Tmtable/Dialog   ::   Contents   ::   Setting File  »

Client Side JSP Structure and Inter-gadget Communication

JSP Structure and inter-gadget communication when creating by general structure in intra-mart Accel Kaiden! are described here.

Master Maintenance Function

JSP Structure

Master maintenance function is structured by some gadget functions as below.

../../../_images/client_mastermainte_structure.png

Notes

Above picture shows the master maintenance structure which is the standard in  intra-mart Accel Kaiden!.
It does not have to be this structure.

Notes

In case of the non term setting master, [Generic Master Term List (genericMasterTermList.jsp)] is not necessary.

Notes

Written above are all made into gadget and it passes and receives the information by inter-gadget communication.

Inter-gadget communication which can be received by master maintenance

Initialization

Event Key initialize
Event Occurence Timing When screen loading
Event Type push
Parameter
Event Issuer Master maintenance (masterMaintenance.jsp)
Contents which should be processed Necessary processes in each gadget

New Registration Screen  Display Instruction

Event Key trunsNewEntry
Event Occurrence Timing
Click new registration button
Event Type push
Parameter Main key of target data (JSON format)
Event Issuer Master maintenance (masterMaintenance.jsp)
Contents which should be processed Setting for initialization or initial value of input items to display the new registration screen.

Update Screen  Display Instruction

Event Key trunsRenewEntry
Event Occurrence Timing
Click a line in the search list
Event Type push
Parameter Main key of target data (JSON format)
Event Issuer Generic master list (genericMasterList.jsp)
Contents which should be processed Initialization of input item to display update screen

Notes

Event is delivered in order of data loading instruction and update screen  display instruction.

Data Loading Instruction

Event Key loadData
Event Occurrence Timing
Click a line in search list
*Update Screen  Display Instruction
Event Type push
Parameter Main key of target data (JSON format)
Event Issuer Master maintenance (masterMaintenance.jsp)
Contents which should be processed Data loading to display update screen

Notes

Event is delivered in order of data loading instruction and update screen display instruction.

Request Main Key of Displaying Data

Event Key claimCurrentDataPk
Event Occurrence Timing
  • When validation icon is pressed
  • When invalidation icon is pressed
  • When delete button is pressed
Event Type pull
Parameter
Event Issuer
  • Generic master term list (genericMasterTermList.jsp)
  • Generic operation button (genericMasterOperationButton.jsp)
Contents which should be processed Return the main key, which is currently displayed, in JSON format

Validation Check Pre-process

Event Key preSingleValidate
Event Contents Generic event that is issued before validation check when registration/update button is pressed
Event Type push
Parameter
Event Issuer Generic operation button (genericMasterOperationButton.jsp)
Contents which should be processed
Necessary process in each gadget
If it returns false, the process is canceled.
true should be returned if you continue processing.

Application Format Function

JSP Structure

In application format function, JSP of each gadget is included according to the setting contents of [Application Master Maintenance].

../../../_images/client_app_structure.png

Inter-gadget Communication which can be received by gadget (JSP)

When Screen Loading

Inter-gadget communication is performed by following order when screen loading.
Initialization
Event Key initialize
Event Type push
Parameter
  • imwSystemMatterId
  • imwUserDataId
  • searchCriteriaCompany
  • searchCriteriaDate
  • imwAuthUserCode
  • pageType
Event Issuer Application form [1]
Contents which should be processed Necessary process for each gadget理
Pre-warning Display
Event Key showPreWarning
Event Type push
Parameter
  • imwSystemMatterId
  • imwUserDataId
  • searchCriteriaCompany
  • searchCriteriaDate
  • imwAuthUserCode
  • pageType
Event Issuer Application form [1]
Contents which should be processed
Warning display process when screen is displayed.
* The data is not loaded at this point.
Data Loading Pre-process
Event Key preLoadData
Event Type push
Parameter
  • imwSystemMatterId
  • imwUserDataId
  • searchCriteriaCompany
  • searchCriteriaDate
  • imwAuthUserCode
  • pageType
Event Issuer Application form [1]
Contents should be processed Necessary process before data loading理
Data Loading
Event Key loadData
Event Type push
Parameter
  • imwSystemMatterId
  • imwUserDataId
  • searchCriteriaCompany
  • searchCriteriaDate
  • imwAuthUserCode
  • pageType
Event Issuer Application form [1]
Contents should be processed Settings for data loading and screen items
Data Loading After-process
Event Key postLoadData
Event Type push
Parameter
  • imwSystemMatterId
  • imwUserDataId
  • searchCriteriaCompany
  • searchCriteriaDate
  • imwAuthUserCode
  • pageType
Event Issuer Application form [1]
Contents should be processed Necessary process after data loading

Notes

In the inter-gadget communication, after instructing [Initialization] to all gadgets, next inter-gadget communiation is processed only after all gadget processes such as instructing [Advance Warning Display] to all gadgets are completed.

When Application Copying

When application copy button is pressed and if user selects an application form to be copied, following inter-gadget communication will be processed.
Application Form Copy
Event Key loadData4Copy
Event Type push
Parameter
  • imwSystemMatterId
  • imwUserDataId
  • searchCriteriaCompany
  • searchCriteriaDate
Event Issuer Application form [1]
Contents should be processed Load the copy origin application form data and copy to the screen item.
Application Form Copy After-process
Event Key postLoadData4Copy
Event Type push
Parameter
  • imwSystemMatterId
  • imwUserDataId
  • searchCriteriaCompany
  • searchCriteriaDate
Event Issuer Application form [1]
Contents should be processed Necessary process after application form copy

Bottom Note

[1](1, 2, 3, 4, 5, 6, 7)
It specifies the parent JSP which includes gadget JSP

«  Gadget/Gadget Block/Tmtable/Dialog   ::   Contents   ::   Setting File  »