Inserting a MessageFileUpload

Note: On the form, set the attribute usesUpload true for the form to support file uploads.

To insert a messageFileUpload component:

  1. In the Design Structure Window of the desired file, locate the node in which you wish to insert a messageFileUpload component.
  2. In the Component Palette, select Form Components from the dropdown list, and then drag and drop the messageFileUpload component to the parent node of your choice.

    The messageFileUpload node is inserted and highlighted under the expanded parent node.

  3. In the Property Inspector, set the following attributes for the messageFileUpload component:

Note: To use data binding, see Data Binding a Component Attribute.

For information about message attributes, see Setting the Message Attributes for a Message Form Component. For information about other general attributes of message form components, see Setting the General Attributes for a Message Form Component.

Example (UIX XML)


...
<form name="myform"
      usesUpload="true"
      destination="fileupload">
  <contents>
    <messageFileUpload prompt="Step 1: Click 'Attach File'"
                   name="file"
                   tip="Only one file per upload"/>
  </contents>
</form>
...    

About MessageFileUpload
About Message Form Components and Attributes

Inserting an End Named Child for a Message Form Component
Working with Form Components

 

Copyright © 1997, 2004, Oracle. All rights reserved.