• 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
Re: Back Button Issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Back Button Issues


  • Subject: Re: Back Button Issues
  • From: Anjo Krank <email@hidden>
  • Date: Tue, 18 Apr 2006 08:25:45 +0200

Dunno if that is your problem but one of the most likely causes is having the underlying array of a WORepetition change between the time it rendered and the time the link was clicked (object inserted/ deleted, sort order changed, batch size changed etc). You have these options:

- use Direct actions inside of WOReps. Works, but is a lot of code to write.
- warn user when he backtracks. Works, but is very unfriendly
- rewrite WORepetition to use more info than just the index number when the link was generated.


The last part is done in ERXWORepetition in Project Wonder. Instead of the index number we use the System.identityHashCode(item) and if that doesn't match either throw an exception or re-render the page.

Cheers, Anjo

Am 17.04.2006 um 20:34 schrieb Jonathan Miller:

Hi,

I'm following Apple's Guidelines on setting up server side page caching (i.e. setPageRefreshOn... && setPageCacheSize(int)) but it doesn't seem to be working...

e.g. when someone hits the back button and then uses a WOHyperlink w/n the page it performs the wrong action.

Does anyone have some wisdom they can share in regards to this?

Thank you

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


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
References: 
 >Back Button Issues (From: Jonathan Miller <email@hidden>)

  • Prev by Date: Re: Back Button Issues
  • Next by Date: Re: Back Button Issues
  • Previous by thread: Re: Back Button Issues
  • Next by thread: Re: Back Button Issues
  • Index(es):
    • Date
    • Thread