Caravan Business Server>Help>Objects>Form Object>
Properties
Property
|
Name
|
Property
|
Text
|
To specify the property that needs to be set to the form.
|
Syntax
|
<caravan> <formObject>(propertyName)="Value" </caravan>
|
Sample
|
<caravan> myform(contacts)="Add contacts" </caravan>
|
|
Caravan Business Server>Help>Objects>Form Object>
Properties>
_server
|
Name
|
_server
|
Text
|
To specify the server address where the form needs to be submitted
|
Syntax
|
<caravan> <formObject>(_server)="address" </caravan>
|
Sample
|
<caravan> myform(_server)="10.100.2.10" </caravan>
|
|
Caravan Business Server>Help>Objects>Form Object>
Properties>
_port
|
Name
|
_port
|
Text
|
To specify the server port where the form needs to be submitted
|
Syntax
|
<caravan> <formObject>(_port)=port number </caravan>
|
Sample
|
<caravan> myform(_port)="8555" </caravan>
|
|
Caravan Business Server>Help>Objects>Form Object>
Properties>
_serverport
|
Name
|
_serverport
|
Text
|
Same as the property _port. To specify the server port where the form needs to be submitted.
|
Syntax
|
<caravan> <formObject>(_serverport)=port number </caravan>
|
Sample
|
<caravan> myform(_serverport)="8555" </caravan>
|
|
Caravan Business Server>Help>Objects>Form Object>
Properties>
_action
|
Name
|
_action
|
Text
|
To specify the file which needs to be invoked after submitting the form
|
Syntax
|
<caravan> <formObject>(_action)="responsefile" </caravan>
|
Sample
|
<caravan> myform(_action)="test.html" </caravan>
|
|
Caravan Business Server>Help>Objects>Form Object>
Properties>
post
|
Name
|
post
|
Text
|
Method used to post the form
|
Syntax
|
<caravan> <formObject>(post) </caravan>
|
Sample
|
<caravan> myform(post) </caravan>
|
|
Caravan Business Server>Help>Objects>Form Object>
Properties>
put
|
Name
|
put
|
Text
|
Method Used to Send files using HTTP. Payload (a single file) has to be assigned to 'content'. Multiple files cannot be send using 'PUT'. In addition, other properties are send in the http request header.
|
Syntax
|
<caravan> <formObject>(put) </caravan>
|
Sample
|
<caravan> myform(put) </caravan>
|
|
Caravan Business Server>Help>Objects>Form Object>
Properties>
_reply()
|
Name
|
_reply()
|
Text
|
An object with name '_reply' is created by the post/put operation. This can be examined to see the status of the operation and the reply from the server, if any. _reply(content) gives the remote server's response. _reply(error) gives the remote server's errors if any.
|
Syntax
|
<caravan> _reply(<propertyname>) </caravan>
|
Sample
|
<caravan> if _reply(error) "Could not send because of ";_reply(error); "ERROR" else "Remote server says:";_reply(content); endif </caravan>
|
|
Home
Back
|