8.5.4 Application Directives
The Application Directives control the look and feel of the application. They also allow the file to be read and sent automatically without use prompting.
Keyword |
Comments |
tab.placement |
Controls the placement of the source and response panel tabs. |
source.send |
Controls the automatic sending of the loaded source. If no source.send entry is present or it has been commented out the application will stop after the source file has been loaded. If the source.send entry has a value of *prompt, then the loaded source will be sent and the normal send message dialog box will appear confirming the request to send. If the source.send entry has a value of *noprompt, then the loaded source will be sent. If URL associated with the source file extension contains a *prompt keyword value, then keyword/value prompt dialog will still appear. |
source.open |
Controls the automatic loading of a source file. If no source.open entry is present or it has been commented out the application will not load a source file. If the source.open entry has a value of *prompt, the user will be prompted with an open source file dialog. If the source.open entry contains a file then this source file will be loaded. |
source.xml.validation |
Validate XML content. |
source.convert.yen |
Convert backlash characters to yen symbols. |
response.convert.yen |
Convert backlash characters to yen symbols. |
source.filter.extension |
Controls the file name extensions types of the open source dialog. |
source.filter.description |
Controls the filter description used by the open source dialog for all extensions. |
source.chooser.description |
Controls the filter description used by the open source dialog for each individual extension. |
response.filter.extension |
Controls the file name extensions types of the save response dialog. |
response.filter.description |
Controls the filter description used by the save response dialog for all extensions. |
response.chooser.description |
Controls the filter description used by the save response dialog for each individual extension. |
Example
# tab.placement=*top | *bottom | *left | *right
tab.placement=*bottom
#
# source.send=*prompt
# source.send=*noprompt
source.open=*prompt
# source.open=order.csv
# source.xml.validation=*yes | *no
# source.convert.yen=*yes
source.filter.extension=xml,csv,tsv,xls,gif,jpg,edi,x12
source.filter.description=All Sources
source.chooser.description=XML Documents,Comma Separated Values,Tab Separated Values,Excel Documents,GIF Images,JPG Images,EDIFACT Interchanges,X12 Interchanges
#
response.filter.extension=xml,csv,tsv,xls,gif,jpg,edi,x12
response.filter.description=All Responses
response.chooser.description=XML Documents,Comma Separated Values,Tab Separated Values,Excel Documents,GIF Images,JPG Images,EDIFACT Interchanges,X12 Interchanges
#