Modify a prompt
The format of the <method>
element
for modifying a prompt is:
<method methodName="prompt.modifyPrompt">
Use
this method to modify an existing prompt. The <method>
elements
contains one or more <prompt:prompt>
elements
each of which defines the characteristics of a new prompt. The <prompt:prompt>
element
contains an optional <prompt:parameters>
element
followed by an optional <prompt:choice>
element.
For more information, see <prompt:prompt>,
and for more information about how to use the <prompt:prompt>
element
and its subelements, see Usage notes.
Example
This example modifies the prompt
named testFixedChoice
.
<methodCall xmlns:prompt="http://www.ibm.com/tivoli/netcool/webtop/prompts/2.2">
<method methodName="prompt.modifyPrompt">
<prompt:prompt type="FixedChoice" name="testFixedChoice">
<prompt:parameters label="Select a fixed option" order="160"
localized="false" defaultValue="fixed6"/>
<prompt:choice>
<prompt:item value="fixed4" label="Fixed Four"/>
<prompt:item value="fixed5" label="Fixed Five"/>
<prompt:item value="fixed6" label="Fixed Six"/>
</prompt:choice>
</prompt:prompt>
</method>
</methodCall>