• 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
Override default WOHyperlink methods (was Re: Universal change for link URLs?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Override default WOHyperlink methods (was Re: Universal change for link URLs?)


  • Subject: Override default WOHyperlink methods (was Re: Universal change for link URLs?)
  • From: Nathan Dumar <email@hidden>
  • Date: Wed, 12 May 2004 15:39:05 -0400

Dave, this is a great idea.  Best I've heard yet.

Does anyone know how to override the default behavior of a WOHyperlink to also produce the window.location.replace() text for each link, as WO parses the <WEBOBJECT> tag? This is the only thing I can think of to truly disable the back button. If no history is made in the browser, there is nothing to go back to.

Thanks,
Nathan


On May 11, 2004, at 7:18 PM, David Elsner wrote:

Nathan,

I use this on my pages body tag
onload="javascript:window.history.forward(1); to disable the back
button.
Not the best solution but it works for my purposes.

Dave

On 12/05/2004, at 4:55 AM, Nathan Dumar wrote:

Does anyone know ...

Is it possible to make a change at the application level so that
instead of a link's standard url it would be inserted into a
javascript line something like this:

location.replace("http://<link>")

This would be to disable the back button by not creating a history to
go through.  Is there another way to do this ONCE at the application
level without rewriting ALL of my links?

Thank you to anyone who can help,
Nathan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Universal change for link URLs? (From: Nathan Dumar <email@hidden>)
 >Re: Universal change for link URLs? (From: David Elsner <email@hidden>)

  • Prev by Date: Re: Creating a data-dynamic link in a WORepetition?
  • Next by Date: Re: batch navigation for wotable + worepetition
  • Previous by thread: Re: Universal change for link URLs?
  • Next by thread: DatabaseAccess
  • Index(es):
    • Date
    • Thread