From e44a7e37b6c7b5961adaffc62b9042b8d442938e Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 13 Nov 2008 09:49:11 +0000 Subject: New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dojox/widget/tests/test_FileInput.html | 115 +++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 includes/js/dojox/widget/tests/test_FileInput.html (limited to 'includes/js/dojox/widget/tests/test_FileInput.html') diff --git a/includes/js/dojox/widget/tests/test_FileInput.html b/includes/js/dojox/widget/tests/test_FileInput.html new file mode 100644 index 0000000..caccd0f --- /dev/null +++ b/includes/js/dojox/widget/tests/test_FileInput.html @@ -0,0 +1,115 @@ + + + + dojox.widget.FileInput | The Dojo Toolkit + + + + + + + + + +

dojox FileInput widget:

+

This is a prototype of a dojo input type="file" with a FormWidget mixin, to be styled to match tundra and soria themes

+

The API is up for discussion, nor is it known to drop into forms and "just work" yet

+

FileInputAuto API is up for discussion, as well, though by use of the url="" attrib, you can basically + do all your file-processing server side, and just use the filename sent that remains in the form input

+

There are two parts. dojo.require("dojox.widget.FileInput") for just the base class, or dojo.require("dojox.widget.FileInputAuto"); + to provide the Auto Uploading widget (on blur), and the Blind Auto Upload widget.

+

Both themes are defined in the FileInput.css file, as well as basic styling needed to run

+ +

A standard file input:

+ + +

The default dojox.widget.FileInput:

+

+ +

+ +

default dojox.widget.FileInput, tundra:

+

+ +

+ +

dojox.widget.FileInputAuto, soria theme:

+

+ +

+ +

another one, tundra theme (with callback)

+

+ +

+ +

a blind auto upload widget, tundra:

+

+ +

+ +

dojox.widget.FileInputBlind - soria

+

+ +

+ +

dynamic, tundra, dojox.widget.FileInputAuto:

+ +

+
+ + + -- cgit v1.2.3