Re: Session class and Localization
Re: Session class and Localization
- Subject: Re: Session class and Localization
- From: Gilles MATHURIN <email@hidden>
- Date: Thu, 10 Aug 2006 23:37:16 -0400
Hi Jerry,
Unfortunatly, return context().page(); doesn't work where as
pageWithName(context().page().name()) does, even if i don't know why.
Moreover it might be another weird bug i am experiencing today aka
check my WOHyperlink bug in the list.
The last one i encounter today is during building, Xcode tells me
that the different standard packages (foundation/eoacces etc…) do not
exist with the build failing.
I don't know what to do, all my work seem to be lost. it's very
disappointing. I wonder where my system config fails
I develop on Dual 1,8GHz G5 /OS X 10.4.7 / Xcode 2.3 / Java 1.5 & 1.4
(i set my WOApp on java 1.4) and now i am updating to Xcode 2.4 with
the hope to fix some of those weird bugs.
Wish me luck
Regards.
GM
Le 10 août 06 à 23:01, Jerry W. Walker a écrit :
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