Communications/Transactions Guide and Reference
After you have fully specified the settings of the
procedure dialog part, you can use it in your application as you would any
part, without regard for the fact that it accesses logic located across a
network. To connect to a procedure dialog, do the following:
- Make attribute-to-attribute or event-to-attribute connections to set the
input values for the record that is passed between the VisualAge application
and the remote server. The record appears as an attribute on the public
interface of the procedure dialog part.
To access the individual fields and set input values or retrieve output
field values from the record, tear off the attribute representing the
record. The record then appears as a stand-alone part on the free-form
surface, and its fields appear as attributes on its public interface.
You can now make connections to these attributes to set the values of input
fields or retrieve the values of output fields.
- Make a connection from the part you want to trigger the function to the
execute action of the procedure dialog part. When the
execute action is triggered by a connection, the input values
determined by the connection to the part's attributes are passed to the
server.
- Make connections from the attributes representing the results of the
output fields to the parts to retrieve the results of the function
call.
To look at some sample programs, refer to the VisualAge Smalltalk
Communications/Transactions Guide.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]