The following code snippet shows tag use for parameter pick lists.
<!-- Parameter Pick List example --> <% if (targetForm.setParameterInputCond("1")) {%> <SELECT NAME="<%=targetFormParameter.getParameterFieldName()%>"><% targetFormParameter.restParameterPickList(); while(targetFormParameter.processParameterPickListLoop() {%> <OPTION VALUE="<%=targetFormParameter.getParameterPickListValue()%>" <%=targetFormParameter.getParameterPickListValueSelected("select")%>><%=targetFormParameter.getParameterPickListValue()%> </OPTION> }%> </SELECT><% } %>
Custom form can import JSPs and thus become more modular. For example, the standard form example, includes a jsp include tag. The <jsp:include> tag is a standard JSP tag:
<jsp:includpage=”/jsp/shared/form/parameterFormJavaScript.jsp” flush=”true”/>
The preceding example causes the parameterFormJavaScript.jsp file to be imported and executed with the standard form. Custom forms that include context, such as images, must be defined in the required files section.