• 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 languages partially ignored with direct actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Session languages partially ignored with direct actions


  • Subject: Re: Session languages partially ignored with direct actions
  • From: Alexander Spohr <email@hidden>
  • Date: Mon, 12 Jan 2004 12:19:47 +0100

hi groups,

Does anybody knows if I'm doing something wrong ?

Well, I've found a very simple workaround. I've added a call to existingSession in each direct action, and voil`.


public WOActionResults defaultAction ()
{
	this.existingSession (); // workaround

    return pageWithName ("Main");
}

it does not really solve the problem if you want to avoid creating new sessions. my app tries to delay session-creation until the user logs in. but request.browserLanguages() does not really help because it does not deliver the .lproj names.


It's a WebObjects' bug, I think. :)

not a bug. more an inconsistency. the problem is that WOSession works the nextstep way by using English.lproj, German.lproj etc.
a clean/public conversion method would be useful to convert between 'en' and English, 'de' and German etc. there is a list (Languages.plist) in JavaWebObjects.framework but no public api to use it.


did anyone solve the problem to avoid session creation but using templates/stringtables with different languages?

	atze
_______________________________________________
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.

  • Follow-Ups:
    • Re: Session languages partially ignored with direct actions
      • From: Alexander Spohr <email@hidden>
  • Prev by Date: Re: iCal Revisited
  • Next by Date: Re: EOModeler and more
  • Previous by thread: Re: iCal Revisited
  • Next by thread: Re: Session languages partially ignored with direct actions
  • Index(es):
    • Date
    • Thread