[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.ua] Re: Standalone infocenter home page and locale

Chris Goldthorpe escribió:
I'll answer the second question first. This is not so easy to implement, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=268568 for something which almost works, you may be able to to tweak the solution so it works completely.

Hi, thanks for the reply, i read the discusion on bug and related ones, and get conclusion to create a servlet and define a extension point for it, this servlet will make the redirection, i try it soon as posible, i'm very sorprising that the web.xml descriptor are ignored for welcome pages, i will surf a bit more in equinox servlet bridge to figure what this happen.



I did not completely understand the first question - are you talking about the parameter which is passed in when you start the infocenter?

Excuse my litle description, i mean the ?locale=es parameter that can be added to infocenter URL to switch it locale, for example i'm a spanish guy my browser locale is es_ES, but documentation not always is avaliable or is out of date in spanish, and i fall back to english, so let the users to change this easy will be great for centric infocenter, so i try to implement it on upper banner with a locale selection based on locales configured in eclipse help base.


A lot of thanks for your reply, this stupid think tell me more headdache, and i can't realy fin it on bug serarch.


Marcos Lois Bermúdez wrote:
Hello,

After some tests i finally have a standalone infocenter so i created a war and it works nicely, but i have some problems with it.

- The first problem that i have is with locales, when the infocenter is run, i think that the only manner to change the locale is pass the locale URL parameter, of course configuring valid locales in properties of infocenter, so can i display the list of supported locales in the top banner?

- The second problem, the most important to me, so i can understand how eclipse servlet bridge works is that when i access the http://infocenter/help i see a blank page, only the help is show when i put ../help/index.jsp y try to configure it on web.xml but seems that tomcat (i use it for test the war) is ignoring my welcome page. Is posible to define the default page to show when no jsp is in URL?

Regards.