Posting in these forums is disabled. These forums will be available for archive purposes. Please join the new forums at the links below:

  • yui-support - replaces the `YUI 3.x` and `YUI 3 Gallery` forums.
    We have created the following discussion categories within this group to aid discoverability for these most-used topics:
    • Charts for YUI Charts support.
    • DataTable for YUI DataTable support.
    • Gallery for YUI Gallery support, including support for published Gallery components as well as the Gallery process in general.
    • Tools for support of YUI’s suite of developer tools such as selleck, shifter, grover, yogi, etc.
    • Everything Else for questions that don’t fit one of the categories above, we’ve got you covered here.
  • yui-deprecated - replaces the `YUI 2.x` forum and the forums of other deprecated products (`YUI Doc`, `Builder`, `YUI PHP Loader`, etc.).
  [ 1 post ]
New Topic | Post Reply | Print view
Previous topic | Next topic

Brad Kusnir

  • Username: we350z
  • Joined: Tue Mar 06, 2012 5:51 pm
  • Posts: 10
  • GitHub: we350z
  • Gists: we350z
  • IRC: we350z
  • Offline
  • Profile
  • array
  • chrome
  • docs
  • examples
  • list
  • number
  • queue
  • ticket
  • uploader
  • yui3

Help with Uploader File List

Post Posted: Fri Mar 09, 2012 3:30 pm
I am having difficulty working with the built-in Uploader control file list. I am using the 3.5.0pr2 manual test example (uploder.html / uploder.js). I need the ability to do the following:

- perform simple validations (i.e. file extension, file size, total number of files not exceeded) BEFORE a file is added to the queue via the OS file selection dialogue box.
- remove a single file from file list

Any suggestions? I don't see a way to do this with the built in file list and I am not quite sure how to implement it on my own. I assume that I could build some sort of logic to manipulate an array of Y.File instances and then use UploadThese() to send them on their way? ... ploadThese ... ploadThese

Not quite sure how to work with individual Y.File instances (any examples welcome). I did take a look at what the objects look like in the Chrome Javascript Debugger so that gives me some insight into it.

I also opened a couple enhancment request tickets related to this:
  [ 1 post ]
New Topic | Post Reply | Print view
Previous topic | Next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum