• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
EnhancedFileUploadTools package, questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EnhancedFileUploadTools package, questions


  • Subject: EnhancedFileUploadTools package, questions
  • From: Jon Kleiser <email@hidden>
  • Date: Tue, 23 Apr 2013 12:59:32 +0200
  • Organization: Universitetet i Oslo

Hi,

I have just started to include Jonathan Rochkind's EnhancedFileUploadTools package code (2003) in our old WebObjects project. From what I can see, it works quite well. There is one thing, however, that I would very much like fix. When I run our application on our Linux server (with Apache), the upload status page pops up, and this window seems to be refreshed regularly, but it keeps showing its initial "Upload is starting up" until it closes when the upload is done. Only once or twice have I seen the progression info briefly at the end of the upload.

When I run our application locally on my developer Mac, however, then the progression info replaces the "Upload is starting up" message early on, as it should.

As far as I can see, the problem is that the NBUCriticalCommunication progressInfo doesn't get a real value (soon enough). It's this expression, at the top of the NBUDirectAction.statusPageAction(), that should provide the value:

NBUCriticalCommunication progressInfo =
(NBUCriticalCommunication) uploadSession.objectForKey(transactionCode);

In the code I have, this line is commented out:
//NBUCriticalCommunication progressInfo = NBURequestHandler.store().getObject( uploadSessionID, transactionCode );

I haven't tried that one; it seems the method store() is undefined in NBURequestHandler.

I know it may be a few years since anybody looked at the EnhancedFileUploadTools code, but if you have some idea why the progressInfo takes so long to become available (if at all) when I run on our Linux server, I would be very glad to hear from you.

/Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: EnhancedFileUploadTools package, questions
      • From: Theodore Petrosky <email@hidden>
  • Prev by Date: Re: Creating a WO Maven project
  • Next by Date: Re: EnhancedFileUploadTools package, questions
  • Previous by thread: Re: OT - Share our experience moving from WO
  • Next by thread: Re: EnhancedFileUploadTools package, questions
  • Index(es):
    • Date
    • Thread