• 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: Using pageWithName method problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using pageWithName method problem


  • Subject: Re: Using pageWithName method problem
  • From: Kevin Xiaowen Ren <email@hidden>
  • Date: Wed, 21 Jul 2004 17:10:52 +1200

In the common page, you setup one Object variable returnPage, and string nicePageName.

When you call this common page from others, you setup these variables.

 public WOComponent callCommon(){
        WOComponent nextPage = this.pageWithName("CommonPage");
        nextPage.takeValueForKey(this, "returnPage");
        nextPage.takeValueForKey("Other Name","nicePageName");
        return nextPage;
    }

it's done.

Kevin Xiaowen Ren
Programmer
Black Albatross
64-3- 479 5468
www.blackalbatross.com
_______________________________________________
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.


  • Prev by Date: Using pageWithName method problem
  • Next by Date: Re: Using pageWithName method problem
  • Previous by thread: Using pageWithName method problem
  • Next by thread: Re: Using pageWithName method problem
  • Index(es):
    • Date
    • Thread