Unit 2 - Lesson 2 - Client Fundamental 1 Flashcards

1
Q

Define UIM

A

Curam User Interface Metadata
XML format that describes content and layout of Curam client screens
Best to use XML editor

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

Describe benefits of using interface metadata (UIM)

A

Ease of development
Increased developer productivity
Promotes consistent user interface
Significantly reduces the number of client bugs
Makes it easier to change between different types of a client

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

Describe the UIM elements that control the look of a page

A

m

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

Define the use of the Localisation and externalising strings

A

No hardcoded text in UIM
Localised labels, titles etc stored in .properties file
Each UIM can have more than one .properties file - one per language.
All UIM files have a corresponding properties file.
Set LOCALE_LisT as variable for generators in project’s build.bat. Add locales to the list for another version of pages.
BankAccount_createAccount_en_CA.properties (UIM name + locale)
Generators create all JSPs in locale-specific folder.
URL can be used to specify locale-language version.
Property files are name/value pairs

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

PAGE Element

A

Root element, everything else is nested within it.
Required attribute: PAGE_ID
Must match the file name in which the PAGE is described.
Used to reference the page from LINKs.

Must have at least 1 child.

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

Describe client generation process

A

EJBServer/build generated
webclient/build client

Stage 1:
EJBServer build.bat generated -> model.xml & ServerAccessBeans.xml

Client generator. Model.xml & ServerAccessBeans.xml -> Bean generator -> Searver Access Beans (TextHelper) & Bean doc (index.html)

Stage 2:
XML (ServerAccessBeans) + UIMs + Properties -> UIM Compiler -> XML files (Intermediate XML)
(Extracted to webclient/build)

Stage 3:
Intermediate XML run through the JSP generators to create the complete JSPs.
XML file -> JSP Generator -> JSP files, XML file (Catalogue for the Front Controller - Struts-Config.xml)

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

Describe how to use the generated bean document

A

build beandoc created a HTML version of ServerAccessBeans.xml

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

Connect the client screen to the server side

A

m

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

Define and use common UIM elements:

A

PAGE_TITLE - builds the title for a page
CONNECT - Connects to data
SOURCE/TARGET - Specifies if a field is readable or editable
CLUSTER - Groups related data fields and supports complex page layouts
FIELD - Allows display or data entry
PAGE_PARAMETER - Stores key values that are passed into a page
SERVER_INTERFACE - Connects a page to server-side calls

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

PAGE_TITLE element

A

Display title of the page using Icon, static text and variable text retrieved from the server.

Attributes: DESCRIPTION, STYLE, ICON
Elements: CONNECT

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

CONNECT element

A
Associates parent element to some data
Can have one or more of:
SOURCE - Where the values come from
TARGET - Where the value goes
INITIAL - A display value you can use to hide the real value

Attributes: NONE
Elements: SOURCE TARGET INITIA:

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

SOURCE element

A

NAME attribute - one of the following values:
TEXT - To read a property from the properties file
CONSTANT - To read a property from Constants.properties
PAGE - To read a PAGE_PARAMETER of this page
The name of the SERVER_INTERFACE element
PROPERTY attribute:
Qualified name of the attribute or parameter.

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

TARGET element

A

NAME attribute:
PAGE - To send a PAGE_PARAMETER to another page
The name of the SERVER_INTERFACE element
PROPERTY attribute:
Qualified name of the attribute or parameter.

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

CLUSTER element

A

Defines the layout for a group of logically related fields.
At least on FIELD and options CONTAINERs.
Can add CLUSTER & LISTS to a cluster to display side by side (needs NUM_COLS set).
Has TITLE attribute and TITLE child element.

Attributes:
TITLE, DESCRIPTION, WIDTH, LABEL_WIDTH, SHOW_LABELS, NUM_COLS, STYLE, BEHAVIOUR, LAYOUT_ORDER, SUMMARY, SCROLL_HEIGHT

Elements:
FIELD, CONTAINER, ACTION_SET, CLUSTER, LIST, CONDITION, DESCRIPTION, WIDGET.

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

FIELD element

A

Defines a data entry or display field and its associated label

Generators create appropriate CONTROL based on property type e.g. checkbox for boolean, hidden stars for SEC_PASSWORD, text fields for Strings and Number.

CONTROL attribute can be set to specify whether code table hierarchies are displayed vertically or horizontally.

Have at least one CONNECT element.

Attributes:
LABEL, WIDTH, WIDTH_UNITS, HEIGHT, ALIGNMENT, USE_DEFAULT, USE_BLANK, CONTROL, DESCRIPTION

Elements:
LABEL, LINK, SCRIPT, CONNECT

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

PAGE_PARAMETER element

A

Stores key information on a page.
Can be later passed to Server side or other pages as needed.
Declaration of parameter on the current page.
After a parameter is declared, it can be used as the source of a connection by setting the SOURCE NAME attribute to PAGE.

17
Q

SERVER_INTERFACE Element

A

Element used to access any of the operations or functions described in the ServerAccessBeans.xml.

Attributes:
NAME - a logical name that can be referred to by other elements
CLASS - The Facade Interface
OPERATION - The name of the function
PHASE - The timing of the call to the server. Can be DISPLAY to call it when the page is being loaded, or ACTION to call it when you click a Submit button.

18
Q

CONNECT to pass a value

A