CGI parameters  @OP parameters

Chapter 3: Developing Applications

Assigning JSP templates

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.

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. @OP parameters

View this book as PDF