Re: Using pageWithName method problem
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.