Template Action Elements
D
Action elements are namespace-qualified elements in a template document that are used for simple
logic control or are used to create HTML elements for HTML forms. The namespace used to qualify
the elements is http://www.novell.com/dirxml/manualtask/form. In this document and in the sample
templates supplied with the Manual Task Service driver the prefix used is form.
Any action element not specifically covered in this section is stripped from the output document by
the template-processing style sheet (unless the style sheet is customized). This behavior allows, for
example, the use of a <form:input> element to enclose the data for a plain text e-mail message,
thereby making the template valid XML.
Section D.1, "<form:input>," on page 49
Section D.2, "<form:if-item-exists>," on page 50
Section D.3, "<form:if-multiple-items>," on page 50
Section D.4, "<form:if-single-item>," on page 50
Section D.5, "<form:menu>," on page 51
D.1 <form:input>
The
element is used to generate one or more HTML INPUT elements based on the
<form:input>
presence of one or more replacement data items. The number of INPUT elements created
corresponds with the number of replacement data items with the name specified by the
element's name attribute.
<form:input>
Attributes
Name: Specifies the name of the replacement data items that are used to create the INPUT elements.
The attribute value is used as the value of the name attribute of the created INPUT elements.
type or TYPE: Specifies the value of the type attribute of the created INPUT elements.
value: If the value attribute's value is equal to "yes," then a value attribute is added to the created
INPUT elements whose value is the string value of the replacement data item. If the value attribute's
value is other than "yes," the content of the created INPUT elements is set to the string value of the
replacement data item.
Example
<form:input name="responder-dn" TYPE="hidden" value="yes"/>
creates one or more INPUT elements similar to
<INPUT name="responder-dn" TYPE="hidden" value="\PERIN-TAO\novell\phb"/>
D
Template Action Elements
49
Need help?
Do you have a question about the IDENTITY MANAGER 3.6.1 - MANUAL TASK SERVICE DRIVER and is the answer not in the manual?