Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Standalone infocenter home page and locale
Standalone infocenter home page and locale [message #475653] Fri, 19 June 2009 09:30 Go to next message
Marcos Lois Bermúdez is currently offline Marcos Lois BermúdezFriend
Messages: 5
Registered: July 2009
Junior Member
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.
Re: Standalone infocenter home page and locale [message #475656 is a reply to message #475653] Fri, 19 June 2009 18:00 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
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.

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

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.
>
Re: Standalone infocenter home page and locale [message #475657 is a reply to message #475656] Sat, 20 June 2009 18:08 Go to previous messageGo to next message
Marcos Lois Bermúdez is currently offline Marcos Lois BermúdezFriend
Messages: 5
Registered: July 2009
Junior Member
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.
>>
Re: Standalone infocenter home page and locale [message #475677 is a reply to message #475657] Wed, 15 July 2009 15:53 Go to previous message
Mrinal Kanti MahatoFriend
Messages: 11
Registered: July 2009
Junior Member
Marcos Lois Bermúdez wrote:

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

Or simply configure your web server for this. The required configuration
for Apache is discussed in:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=210992
Re: Standalone infocenter home page and locale [message #623420 is a reply to message #475653] Fri, 19 June 2009 18:00 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
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.

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

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.
>
Re: Standalone infocenter home page and locale [message #623421 is a reply to message #475656] Sat, 20 June 2009 18:08 Go to previous message
Marcos Lois Bermúdez is currently offline Marcos Lois BermúdezFriend
Messages: 5
Registered: July 2009
Junior Member
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.
>>
Re: Standalone infocenter home page and locale [message #623431 is a reply to message #475657] Wed, 15 July 2009 15:53 Go to previous message
Mrinal Kanti MahatoFriend
Messages: 11
Registered: July 2009
Junior Member
Marcos Lois Bermúdez wrote:

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

Or simply configure your web server for this. The required configuration
for Apache is discussed in:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=210992
Previous Topic:Eclipse Help System WAR file does not pick up plugin_customization
Next Topic:intro xml - html tags inside text element
Goto Forum:
  


Current Time: Tue Apr 16 13:15:54 GMT 2024

Powered by FUDForum. Page generated in 1.31094 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top