nerdexam
IBM

C2170-010 · Question #25

The Curam page shown here is configured to allow the developer to identify which action control was selected when the user clicks either button. Which of the following pieces of UIM could be used to…

The correct answer is C. <xml version="1.0" encoding="UTF-8"?> <PAGE PAGE_ID="PersonDemo_agree" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file://Curam/UIMSchema.xsd"> <PAGE_TITLE> <CONNECT> <SOURCE NAME="TEXT" PROPERTY="PageTitle.StaticText"/> </CONNECT> </PAGE_TITLE> <SERVER_INTERFACE OPERATION="checkAgreement" CLASS="MaintainPerson" NAME="CheckAgreementBean" PHASE="ACTION" /> <CLUSTER TITLE="Cluster.Title.Agreement"> <ACTION_SET TOP="false" ALIGNMENT="CENTER"> <ACTION_CONTROL LABEL="ActionControl.Label.Yes" TYPE="SUBMIT" ACTION_ID="agree"/> <ACTION_CONTROL LABEL="ActionControl.Label.No" TYPE="SUBMIT" ACTION_ID="disagree"/> </ACTION_SET> </CLUSTER> </PAGE>. See the full explanation below for the reasoning.

Question

The Curam page shown here is configured to allow the developer to identify which action control was selected when the user clicks either button. Which of the following pieces of UIM could be used to do this?

Options

  • A<xml version="1.0" encoding="UTF-8"?> <PAGE PAGE_ID="PersonDemo_agree" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file://Curam/UIMSchema.xsd"> <PAGE_TITLE> <CONNECT> <SOURCE NAME="TEXT" PROPERTY="PageTitle.StaticText"/> </CONNECT> </PAGE_TITLE> <SERVER_INTERFACE OPERATION="checkAgreement" CLASS="MaintainPerson" NAME="CheckAgreementYesN" PHASE="ACTION" ACTION_ID_PROPERTY="selection"/> <CLUSTER TITLE="Cluster.Title.Agreement"> <ACTION_SET TOP="false" ALIGNMENT="CENTER"> <ACTION_CONTROL LABEL="ActionControl.Label.Yes" TYPE="SUBMIT" ACTION_ID="agree"/> <ACTION_CONTROL LABEL="ActionControl.Label.No" TYPE="SUBMIT" ACTION_ID="disagree"/> </ACTION_SET> </CLUSTER> </PAGE>
  • B<xml version="1.0" encoding="UTF-8"?> <PAGE PAGE_ID="PersonDemo_agree" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file://Curam/UIMSchema.xsd"> <PAGE_TITLE> <CONNECT> <SOURCE NAME="TEXT" PROPERTY="PageTitle.StaticText"/> </CONNECT> </PAGE_TITLE> <SERVER_INTERFACE OPERATION="checkAgreement" CLASS="MaintainPerson" NAME="CheckAgreementMean" PHASE="ACTION" ACTION_ID_PROPERTY="selection"/> <CLUSTER TITLE="Cluster.Title.Agreement"> <ACTION_SET TOP="false" ALIGNMENT="CENTER"> <ACTION_CONTROL LABEL="ActionControl.Label.Yes" TYPE="SUBMIT" ACTION_ID="agree"/> <ACTION_CONTROL LABEL="ActionControl.Label.No" TYPE="SUBMIT" ACTION_ID="disagree"/> </ACTION_SET> </CLUSTER> </PAGE>
  • C<xml version="1.0" encoding="UTF-8"?> <PAGE PAGE_ID="PersonDemo_agree" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file://Curam/UIMSchema.xsd"> <PAGE_TITLE> <CONNECT> <SOURCE NAME="TEXT" PROPERTY="PageTitle.StaticText"/> </CONNECT> </PAGE_TITLE> <SERVER_INTERFACE OPERATION="checkAgreement" CLASS="MaintainPerson" NAME="CheckAgreementBean" PHASE="ACTION" /> <CLUSTER TITLE="Cluster.Title.Agreement"> <ACTION_SET TOP="false" ALIGNMENT="CENTER"> <ACTION_CONTROL LABEL="ActionControl.Label.Yes" TYPE="SUBMIT" ACTION_ID="agree"/> <ACTION_CONTROL LABEL="ActionControl.Label.No" TYPE="SUBMIT" ACTION_ID="disagree"/> </ACTION_SET> </CLUSTER> </PAGE>
  • D<xml version="1.0" encoding="UTF-8"?> <PAGE PAGE_ID="PersonDemo_agree" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file://Curam/UIMSchema.xsd"> <PAGE_TITLE> <CONNECT> <SOURCE NAME="TEXT" PROPERTY="PageTitle.StaticText"/> </CONNECT> </PAGE_TITLE> <SERVER_INTERFACE OPERATION="checkAgreement" CLASS="MaintainPerson" NAME="CheckAgreementMean" PHASE="ACTION" ACTION_ID_PROPERTY="Property.Yes" NAME="CheckAgreementBean" PHASE="ACTION" ACTION_ID_PROPERTY="No"/> <CLUSTER TITLE="Cluster.Title.Agreement"> <ACTION_SET TOP="false" ALIGNMENT="CENTER"> <ACTION_CONTROL LABEL="ActionControl.Label.Yes" TYPE="SUBMIT" ACTION_ID="agree"/> <ACTION_CONTROL LABEL="ActionControl.Label.No" TYPE="SUBMIT" ACTION_ID="disagree"/> </ACTION_SET> </CLUSTER> </PAGE>

How the community answered

(49 responses)
  • A
    6% (3)
  • B
    2% (1)
  • C
    82% (40)
  • D
    10% (5)

Community Discussion

No community discussion yet for this question.

Full C2170-010 Practice