Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9311977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T01:30:53+00:00 2026-06-19T01:30:53+00:00

I use gwtupload ( http://code.google.com/p/gwtupload/ ) and I need add on start files to

  • 0

I use gwtupload (http://code.google.com/p/gwtupload/) and I need add on start files to this. Someone know how can I do it ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T01:30:54+00:00Added an answer on June 19, 2026 at 1:30 am

    I can deduce that you want to add previously uploaded files to the multiuploader list.
    There is no way with the current MultiUploader although you can open a ticket at the project site, and I will implement it on a next release.

    But you can extend the MultiUploader and code a workaround, this example works:

    public class GwtTestApp implements EntryPoint {
    
      public void onModuleLoad() {
        MyMultiUploader uploader = new MyMultiUploader("file1.txt", "file2.doc");
        RootPanel.get().add(uploader);
      }
    
      public static class MyMultiUploader extends MultiUploader {
    
        private VerticalPanel panel;
        private Widget multiuploader;
    
        @Override
        protected void initWidget(Widget widget) {
          panel = new VerticalPanel();
          super.initWidget(panel);
          multiuploader = widget;
        }
    
        public MyMultiUploader(String ...files) {
    
          for (String f : files ) {
            Uploader u = (Uploader)getUploaderInstance();
            IFileInput i = u.getFileInput();
            IUploadStatus s = u.getStatusWidget();
    
            i.setVisible(false);
            s.setVisible(true);
            u.getForm().removeFromParent();
    
            u.setServletPath("whatever");
            s.setFileName(f);
            s.setStatus(Status.SUCCESS);
    
            final String name = f;
            s.addCancelHandler(new UploadCancelHandler() {
              public void onCancel() {
                Window.alert("Cancel " + name);
              }
            });
    
            panel.add(u);
          }
    
          panel.add(multiuploader);
        }
    
      }
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use this http://code.google.com/p/gwtupload/ to upload files to my app. But I have problem
Use http://jobs.sitesixteen.com/ for reference. I'm using YQL for the city, state auto-complete. IF you
use level1\level2\level3; Can someone explain with a simple demo ?
use C#,want to upload excel file on google doc. bellow syntax use to upload
How can I run a servlet (UploadAction from GWTUpload project) under grails? I've successfully
Use case example: Client A comes to request sales information, enters their zip code
Use case: You have 2-3 files displayed in your MacVim window(s). You press ctrl+Q
use strict; use Time::HiRes qw[gettimeofday tv_interval]; my $start_index = int(rand(50))+100;#this value is arbitrary for
use PHP and MySQL and want to use SELECT statement which date_post(datetime variable) start
Use of || (or) I got so many values which I need to compare

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.