Unit 2 - Lesson 3 - Inserting Data and Linking Pages Flashcards
Describe the use of ACTION_SET
Groups buttons or links (ACTION_CONTROLs)
Style depends on the location on the page.
Page one or two, page three or more, cluster, list, modal dialog.
Describe the use of ACTION_SET
Groups buttons or links (ACTION_CONTROLs)
Style depends on the location on the page.
Page one or two, page three or more, cluster, list, modal dialog.
Describe the use of ACTION_CONTROL
Represents buttons or Links
List steps in a typical Curam development process
x
How to make field editable
With CONNECT element that includes TARGET element
Explain SERVER_INTERFACE PHASE attribute
PHASE
DISPLAY: The server interface is called when the page loads
ACTION: The server interface is called when a button on the page is pressed
If the PHASE attribute is omitted, the server interface defaults to DISPLAY
Describe the use of LINK
Linking from one page to another
ACTION_CONTROL display criteria
Page level - upper right of the page. 1-2 - icon, 3+ drop down list.
Cluster - left top and bottom of the cluster default. Customise with TOP, BOTTOM and ALIGNMENT attributes.
List - if LIST with TYPE=”LIST_ROW_MENU” - action controls displayed as drop down list. Else as button before and after the list.
Modal - as buttons on the bottom right.
Drop down actions can be disabled via conditional evaluation and the HIDE_CONDITIONAL_LINKS attribute in curam-config.xml set to FALSE.
Attributes: TYPE, TOP, BOTTOM, ALIGNMENT
Elements: ACTION_CONTROL, CONDITION, SEPARATOR
explain TYPE in ACTION_CONTROL
ACTION - used to create a link to another page
SUBMIT -used to create a button that calls any ACTION phase server interfaces on this page
DISMISS - used to create a button that closes a popup page
SUBMIT_AND_DISMISS submit with closing of a pop up page
FILE_DOWNLOAD download file stored as evidence on a case
CLIPBOARD - copy information into system clipboard
Must have LABEL and/or IMAGE attribute. IMAGE refer entry in Image.properties
Optional: STYLE, CONFIRM, DEFAULT action (only on submit type), ACTION_ID (only on submit type) informs server side which action control
LINK element can be added to ACTION_CONTROL to link to a specific page.
SCRIPT element to call JAVASCRIPT
CONNECT for type CLIPBOARD
CONDITION to determine to display or not
Attributes: LABEL, IMAGE, STYLE, CONFIRM, TYPE, DEFAULT, ACTION_ID
Elements: LINK, CONNECT, SCRIPT, CONDITION
Describe the use of ACTION_CONTROL
Represents a control, such as a button or hyperlink, that can be used to execute a command or link
List steps in a typical Curam development process
x
How to make field editable
With CONNECT element that includes TARGET element
Explain SERVER_INTERFACE PHASE attribute
PHASE
DISPLAY: The server interface is called when the page loads
ACTION: The server interface is called when a button on the page is pressed
If the PHASE attribute is omitted, the server interface defaults to DISPLAY
Describe the use of LINK
Linking from one page to another
ACTION_CONTROL display criteria
Page level - upper right of the page. 1-2 - icon, 3+ drop down list.
Cluster - left top and bottom of the cluster default. Customise with TOP, BOTTOM and ALIGNMENT attributes.
List - if LIST with TYPE=”LIST_ROW_MENU” - action controls displayed as drop down list. Else as button before and after the list.
Modal - as buttons on the bottom right.
Drop down actions can be disabled via conditional evaluation and the HIDE_CONDITIONAL_LINKS attribute in curam-config.xml set to FALSE.
Attributes: TYPE, TOP, BOTTOM, ALIGNMENT
Elements: ACTION_CONTROL, CONDITION, SEPARATOR
ACTION_CONTROL example
explain TYPE in ACTION_CONTROL
ACTION - used to create a link to another page
SUBMIT -used to create a button that calls any ACTION phase server interfaces on this page
LINK element
Mainly used to connect to another page
Normally a child of ACTION_CONTROL
Can be used within a FIELD (FIELD value displays as hyperlink)
Invoked after call to SERVER_INTERFACE. Value returned from server interface can be passed as a page parameter to the PAGE_PARAMETER on the target page.
Typically has one attribute - PAGE_ID and optional CONNECT element. PAGE_ID is target page. To call server function and return to the same page set PAGE_ID to THIS.
To avoid setting PAGE_ID - externalise it to CuramLinks.properties via PAGE_ID_REF. Also can link external page via URL.
Attributes: PAGE_ID, PAGE_ID_REF, URL, URI, URI_REF, URI_SOURCE_NAME, URI_SOURCE_PROPERTY, SAVE_LINK, SET_HIERARCHY_RETURN_PAGE, USE_HIERARCHY_RETURN_PAGE, HOME_PAGE, OPEN-MODAL, DISMISS_MODAL, WINDOW_OPTIONS
Elements: CONNECT, CONDITION
List PAGE execution steps
Load page parameters Execute DISPLAY phase server interface Populate fields and render page The user performs a task and clicks a button Execute ACTION phase server interface Execute LINK to connect to another page Dismiss page
Typical Server development process
[H2] Start the H2 Server [Model] Use RSA to perform modeling Save model [Build] build [clean] generated (or sub target msggen, ctgen, etc) build database (if necessary) [Code] Refresh server project in Eclipse Write code [Start server] Start the transient naming server and RMIServer
Typical Client development process
[Build] build beandoc [Client devel.] Create UIMs and other client artefacts [Build] build [clean] client [Refresh] Refresh client project in Eclipse [Tomcat] Start Tomcat [Test] Start browser and test