Re: A problem with localization
Re: A problem with localization
- Subject: Re: A problem with localization
- From: Chuck Hill <email@hidden>
- Date: Sat, 8 Oct 2005 10:33:12 -0700
Sorry, typing too fast.
return pageWithName(context().page().name());
On Oct 8, 2005, at 10:30 AM, Amedeo Mantica wrote:
Thanks, the method works, but there is another problem (maybe the
main problem)
The three hyperlinks that invoke the actions that set language anre
in a WOSwitchComponent...
Then using "return pageWithName(name());" returns only the
WOSwitchComponent page.
Any suggestion?
Thanks
On 08/ott/05, at 19:03, Chuck Hill wrote:
return pageWithName(name());
Chuck
On Oct 8, 2005, at 9:59 AM, Amedeo Mantica wrote:
I have a small problem...
My web App is localized in three languages: Italian, German, and
English...
I choosed the apple standard way to localize the app, so i have
localized my components, i hace created a component containing
these three actions:
public WOComponent setLangITA()
{
Object[] tempArray = new Object[]{"Italian"};
NSArray languages = new NSArray(tempArray);
session().setLanguages(languages);
WOComponent nextPage = context().page();
return nextPage;
}
public WOComponent setLangENG()
{
Object[] tempArray = new Object[]{"English"};
NSArray languages = new NSArray(tempArray);
session().setLanguages(languages);
WOComponent nextPage = context().page();
return nextPage;
}
public WOComponent setLangGER()
{
Object[] tempArray = new Object[]{"German"};
NSArray languages = new NSArray(tempArray);
session().setLanguages(languages);
WOComponent nextPage = context().page();
return nextPage;
}
these methods change the language in the session but there is a
trouble... When I click an HyperLink bount to one of these
actions the page reloads unchanged, to get the localized page i
must navigate to another page. There is a way to force the
component reloading?
Thanks
Amedeo
_______________________________________________
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
--
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:
This email sent to email@hidden