When you click on the Advanced button in the Configure Parameters window, you see the Advanced window, where you can open the Find Template window to search for the JSP template user interface you want to assign to the parameter.
In the Advanced window, click Find next to the parameter you want to assign the JSP template to.
In the Find Template window, select JSP from the Type drop-down list, and click Search.
In the Results pane, a list of available JSP templates displays. Highlight the JSP template you want to assign to the parameter, and click Select.
You return to the Configure Parameters window. Click Save.
After saving the changes, the JSP template ID is stored in the application XML as an attribute–template_id–for each <Parameter> element. For example:
<CGIParameters> <Url> <Parameter name="day" default_value="26" auto_fill_adapter="" auto_fill_key="" type="TEXT" kind="search" sequence="1" variable="true" required="true" display_name="day" cgi_mapped="true" template_id="211"/> <Parameter name="month" default_value="01" auto_fill_adapter="" auto_fill_key="" type="TEXT" kind="search" sequence="2" variable="true" required="true" display_name="month" cgi_mapped="true" template_id="221"/> <Parameter name="currency" default_value="USD" auto_fill_adapter="" auto_fill_key="" type="TEXT" kind="search" sequence="4" variable="true" required="true" display_name="currency" cgi_mapped="true" template_id=""/> <Parameter name="year" default_value="2005" auto_fill_adapter="" auto_fill_key="" type="TEXT" kind="search" sequence="3" variable="true" required="true" display_name="year" cgi_mapped="true" template_id=""/> </Url> </CGIParameters>
The XML code above is a fragment of the application definition, which shows the CGI parameter definitions.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |