Re: Applet + WO
Re: Applet + WO
- Subject: Re: Applet + WO
- From: shravan kumar <email@hidden>
- Date: Sun, 21 Sep 2008 10:23:42 -0700 (PDT)
Thanks for your explanation Stephane. I was aware of those API, but not sure of how exactly I should implement them, such that they do not adversely impact my app.
Could you or anyone else can advise me a more appropriate solution to fight against this devil ;-)
Thanks in advance.
Thank You,
Shravan
------------------
--- 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