Re: Applet + WO
Re: Applet + WO
- Subject: Re: Applet + WO
- From: shravan kumar <email@hidden>
- Date: Sun, 21 Sep 2008 11:52:11 -0700 (PDT)
Hello Stephane,
In our app, we have limit the page cache size to be 10. As a result not more than 10 files I was able to upload per click. I have tried increasing this size to 20, then I was able to upload not more than 20 files per click.
However, I do not see this as option for solution, as in our app, we do not have any upload limit, i.e., no limit on how many number of files can be uploaded per click.
I imagine some vague solution of replacing contextID in the URL of the final request with the new one. But was not sure of how to implement this/ is this the solution?
Thank You,
Shravan Kumar. M
-------------------------
--- On Sun, 9/21/08, Stephane Guyot <email@hidden> wrote:
> From: Stephane Guyot <email@hidden>
> Subject: Re: Applet + WO
> To: "webobjects Development" <email@hidden>
> Cc: email@hidden
> Date: Sunday, September 21, 2008, 8:33 PM
> Hi Shravan,
>
> as far as I remember, "You Bactrack too far"
> occurs when you have a
> cachePageSize too small in your Application.
> Default is 30, did you try to increase the size ?
> You can try 100 ? 200 ...
> Did you a limit for the upload ? How many files the user
> may upload
> in one click ?
>
> Each time you upload a file with your component, a new
> entry is put
> in the cache with a new contextID, but it's the same
> instance,
>
> > Only after all the photos are uploaded, then it
> invokes another
> > action and then refreshes main page...
> >
> when you try to refresh the main page, it's contextID
> is no more in
> the cache , and then backtrack too far :-(
>
> For better solution, implement your own caching management
> via
> session's api, like restorePageForContextID, savePage
> ...,
> but the way to do that , is not clear in my mind anymore.
>
> HTH,
> Stephane
>
>
> Le 21 sept. 08 à 06:40, shravan kumar a écrit :
>
> >
> > Hello Group,
> >
> > I have integrated a third party Applet tool called
> Image Uploader
> > to our app. Integration was good and ImageUploader is
> also designed
> > and functioning great.
> >
> >
> > This tool basically uploads files of different formats
> at ease.
> >
> > Lets say you have selected 20 files and clicked on
> upload, app is
> > just uploading 10 files and then I receive "You
> Have Backtracked
> > Too Far" error.
> > This tool basically, submits each file you are
> uploading to the
> > server one by one ( based on config ), i.e., it
> invokes the
> > WOComponent action processing this upload 20 times...
> and during
> > these invocations the applet does not refresh the main
> page where
> > this applet is embedded. Only after all the photos are
> uploaded,
> > then it invokes another action and then refreshes main
> page...
> >
> > So, can any one suggest me, how to overcome this issue
> in best
> > manner asap.
> >
> > Thanks in advance.
> >
> > Thank You,
> > Shravan
> >
> >
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be
> ignored.
> > Webobjects-dev mailing list
> (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
>
> > email@hidden
> >
> > This email sent to email@hidden
> >
_______________________________________________
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