Description Usage Arguments Value Note Examples
This renders a file selection form within a small panel widget. There are two steps needed to transfer a file: a) select a file through a dialog, b) save the file to the server by clicking the upload button.
1 2 3 |
text |
Instructional text. |
type |
only "open" implemented |
filter |
ignored |
handler |
optional means (to |
action |
Passed to handler to parameterize a call |
container |
A parent container. In gWidgetsWWW2 a
parent container is not optional (though it can be substituted
with the |
... |
Used to pass along argument to the parent container's
|
width |
width in pixels of component. Sizing in
gWidgetsWWW2 is sometimes necessary as the arguments
|
height |
height in pixels of the component. |
ext.args |
The contructors of gWidgetsWWW2 ultimately
call an Ext constructor. The options passed to the Ext constructor
may be added to or overridden by use of this argument. Values are
passed in as named list components and with values converted into JavaScript
objects by |
a GFile
instance
the svalue
method returns the temporary filename of
the uploaded file, or a value of NA
. The property
filename
holds the original filename.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.