• 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: Session class and Localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Session class and Localization


  • Subject: Re: Session class and Localization
  • From: "Jerry W. Walker" <email@hidden>
  • Date: Thu, 10 Aug 2006 23:01:27 -0400

Hi, Gilles,

Chuck was suggesting:

     return context().page();

not:

     return  pageWithName(context().page());

Although

     pageWithName(context().page().name())

is functionally equivalent to

      context().page()

the latter is the more appropriate code, if not only because it is expected.

Regards,
Jerry

On Aug 10, 2006, at 4:55 PM, Gilles MATHURIN wrote:

Thanks to you !

It works now

Le 10 août 06 à 15:46, Amedeo Mantica a écrit :

return pageWithName(context().page().name());

should work! (Chuck you suggested me this about one year ago :-) Memory Leaks :-))))

Amedeo


On 10/ago/06, at 18:54, Gilles MATHURIN wrote:

It doesn't work neither :-(

Gilles.
Le 10 août 06 à 12:37, Chuck Hill a écrit :


On Aug 10, 2006, at 9:23 AM, Gilles MATHURIN wrote:

Hi all,

Hope the WWDC Folks enjoying their time.
I deal with a problem with setting the language session of my App.
I explain : i had a method on the Main page who set the language of my app using :
session().setLanguages(aLanguage);
return Main nextPage = (Main)pageWithName("Main"); (i use this because "return null;" doesn't work)


Try return context().page();

Chuck


But as soon as i click on an hyperlink, the App language is set back to the browser language, ignoring my Session setting…

Anyone as a clue to help me deal with that ?

Thanks

Regards.

GM _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden


--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/ practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40macintossicati.com


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden


--
__ Jerry W. Walker,
WebObjects Developer/Instructor for High Performance Industrial Strength Internet Enabled Systems


    email@hidden
    203 278-4085        office



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Session class and Localization
      • From: Gilles MATHURIN <email@hidden>
References: 
 >Session class and Localization (From: Gilles MATHURIN <email@hidden>)
 >Re: Session class and Localization (From: Chuck Hill <email@hidden>)
 >Re: Session class and Localization (From: Gilles MATHURIN <email@hidden>)
 >Re: Session class and Localization (From: Amedeo Mantica <email@hidden>)
 >Re: Session class and Localization (From: Gilles MATHURIN <email@hidden>)

  • Prev by Date: Re: Webobjects-dev Digest, Vol 3, Issue 522
  • Next by Date: Re: A change I noticed in Xcode 2.4
  • Previous by thread: Re: Session class and Localization
  • Next by thread: Re: Session class and Localization
  • Index(es):
    • Date
    • Thread