• 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: Getting Name of previous WOComponent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting Name of previous WOComponent


  • Subject: Re: Getting Name of previous WOComponent
  • From: Ray Ackland <email@hidden>
  • Date: Wed, 17 Dec 2003 08:21:13 +1300

Philipp,

A common problem you are facing. Check the archives for more details, but the trick is to have a variable in the destination component (and a public accessor method) to hold the sending component.

When your destination page is created from your originating page, call that accessor method and store the page (which is just an object) that is doing the calling, before returning the next page.

Returning to the original page is simply a case of returning the page stored in that variable.

Ray.

On 17/12/2003, at 6:22, Philipp Leusmann wrote:

Hi,

is there a built-in way to get the Name of the WOComponent which 'brought' the user to another Component?
In my case I have a page which can be accessed from two different pages.
On that page I want to have a submit-button which saves the data and then returns the user to the previous page. But to do this I need to know which page was viewed before. Is this possible? Or will I have to save the name manually?


Thanks,
Philipp
_______________________________________________
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: 
 >Getting Name of previous WOComponent (From: Philipp Leusmann <email@hidden>)

  • Prev by Date: Re: EOClassDescription not found
  • Next by Date: Xcode and project resources
  • Previous by thread: Re: Getting Name of previous WOComponent
  • Next by thread: RE: Getting Name of previous WOComponent
  • Index(es):
    • Date
    • Thread