Java Doc for HtmlFileUpload.java in » J2EE » Sofia » com » salmonllc » html » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Constructs a new File Upload.
Parameters: name - Each component on a page must have a unique name. Parameters: p - A Page object that will be used to initialize any properties in the object.
Constructs a new File Upload.
Parameters: name - Each component on a page must have a unique name. Parameters: theme - The theme to use for loading properties. Parameters: p - A Page object that will be used to initialize any properties in the object.
public boolean executeEvent(int eventType) throws Exception(Code)
This method should be implemented by subclasses of this component that will events. This method should notify each of the component's listeners that an event occured.
Parameters: eventType - valid Types are EVENT_SUBMIT and EVENT_OTHER
Use this method to bind the component to columns in a DataStore.
Parameters: ds - The datastore to bind to. Parameters: fileNameColumn - The column in the datastore to put the filename Parameters: shortFileNameColumn - The column in the datastore to put the short filename Parameters: mimeTypeColumn - The column in the datastore to put the mimetype Parameters: contentColumn - The column in the datastore to put the content
Use this method to bind the component to columns in a DataStore.
Parameters: ds - The datastore to bind to. Parameters: fileNameColumn - The column in the datastore to put the filename Parameters: mimeTypeColumn - The column in the datastore to put the mimetype Parameters: contentColumn - The column in the datastore to put the content
Parameters: sets - the tab index html attribute. You can also pass TAB_INDEX_DEFAULT to use the default tab index for the component or TAB_INDEX_NONE to keep this component from being tabbed to