IBM
C2170-010 · Question #58
Which two of the following statements about this piece of code are true? [Select 2] Examine the piece of code shown: <SERVER_INTERFACE_OPERATION="insertItem" CLASS="MaintainItem" NAME="insert_SI"…
The correct answer is A. The INITIAL element must be defined within a CONNECT element inside a FIELD element D. A SOURCE element could also be added in the same field that contains the INITIAL element. See the full explanation below for the reasoning.
Question
Which two of the following statements about this piece of code are true? [Select 2]
Examine the piece of code shown:
<SERVER_INTERFACE_OPERATION="insertItem" CLASS="MaintainItem"
NAME="insert_SI" PHASE="ACTION" />
<SERVER_INTERFACE_OPERATION="getItems" CLASS="MaintainItem"
NAME="getitems_SI" PHASE="DISPLAY" />
<CLUSTER_TITLE="Cluster.Title">
...
<FIELD>
<CONNECT>
<INITIAL PROPERTY="first" NAME="getitems_SI"
HIDDEN_PROPERTY="second" />
</CONNECT>
</FIELD>
<FIELD>
<CONNECT>
<TARGET PROPERTY="third" NAME="insert_SI" />
</CONNECT>
</FIELD>
...
</CLUSTER>
Options
- AThe INITIAL element must be defined within a CONNECT element inside a FIELD element
- BThe HIDDEN PROPERTY should have the same name as the TARGET PROPERTY
- CA drop-down list containing the values for first and second is displayed
- DA SOURCE element could also be added in the same field that contains the INITIAL element
- EThe PROPERTY third must be defined as a list
How the community answered
(45 responses)- A78% (35)
- B13% (6)
- C7% (3)
- E2% (1)
Community Discussion
No community discussion yet for this question.