Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sava a page in session



You can save your previous page in your next page. In the action (not a direct action), you create your next page, and set a propriety that store a WOComponent which is the page that holds the action. So, you don't need to store your page in the session.

A -> action: goToB() {
	B = new B();
	B.setPreviousA(this);
	return B;
}

to return to A from B:
B -> action: comeBack() {
	return previousA;
}

Frederic

Le 25 nov. 03, ` 16:13, Kranthi Sagar Borra a icrit :

Hi ,

I have a page A in which I enter few fields but will not save, instead I will click on a button which will take me to a page B.I shall do some transactions here which will load another page C and finally come back to page B.Now I need to go from page B to page A on click of a button/link.But now I cannot load page A by calling the method "pageWithName("A");" , this will reload my entire page "A" again and I will loose any information that I entered in "A" before.So is there any way by which I can store the page "A" in some session/cache and reload it again when i click on the link.Thanks in advance.

Regards,
Kranthi Sagar
_______________________________________________
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.
_______________________________________________
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: 
 >Sava a page in session (From: "Kranthi Sagar Borra" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.