Unit 2 - Lesson 3 - Inserting Data and Linking Pages Flashcards

1
Q

Describe the use of ACTION_SET

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe the use of ACTION_SET

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the use of ACTION_CONTROL

A

Represents buttons or Links

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

List steps in a typical Curam development process

A

x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to make field editable

A

With CONNECT element that includes TARGET element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain SERVER_INTERFACE PHASE attribute

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe the use of LINK

A

Linking from one page to another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ACTION_CONTROL display criteria

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

explain TYPE in ACTION_CONTROL

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe the use of ACTION_CONTROL

A

Represents a control, such as a button or hyperlink, that can be used to execute a command or link

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

List steps in a typical Curam development process

A

x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How to make field editable

A

With CONNECT element that includes TARGET element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain SERVER_INTERFACE PHASE attribute

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe the use of LINK

A

Linking from one page to another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

ACTION_CONTROL display criteria

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

ACTION_CONTROL example

A
17
Q

explain TYPE in ACTION_CONTROL

A

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

18
Q

LINK element

A

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

19
Q

List PAGE execution steps

A
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
20
Q

Typical Server development process

A
[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
21
Q

Typical Client development process

A
[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