Hello, Is http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs final or a work in progress? Greetings, Lilianne E. Blaze
Hi Lilianne, The methods there are functional. I tried them a few weeks ago. I've never tried to change the servlet mapping name though, but I've been told it works just fine.
Hello, Is http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs final or a work in progress?
Greetings, Lilianne E. Blaze
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
I think some of the recipes which are described there are working on http://i2geo.net/ paul Le 12-juin-08 à 06:05, Lilianne E. Blaze a écrit :
Hello, Is http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs final or a work in progress?
Paul Libbrecht wrote:
I think some of the recipes which are described there are working on http://i2geo.net/
Tip: the only problem I see is that the initial redirect contains a long URL. You should modify com.xpn.xwiki.web.HomePageRedirectServlet, recompile it and put it in WEB-INF/classes/com/xpn/xwiki/web/ -- Sergiu Dumitriu http://purl.org/net/sergiu/
Sergiu Dumitriu wrote:
Paul Libbrecht wrote:
I think some of the recipes which are described there are working on http://i2geo.net/
Tip: the only problem I see is that the initial redirect contains a long URL. You should modify com.xpn.xwiki.web.HomePageRedirectServlet, recompile it and put it in WEB-INF/classes/com/xpn/xwiki/web/
Why not have it configurable in web.xml? Greetings, Lilianne
Lilianne E. Blaze wrote:
Sergiu Dumitriu wrote:
Paul Libbrecht wrote:
I think some of the recipes which are described there are working on http://i2geo.net/ Tip: the only problem I see is that the initial redirect contains a long URL. You should modify com.xpn.xwiki.web.HomePageRedirectServlet, recompile it and put it in WEB-INF/classes/com/xpn/xwiki/web/
Why not have it configurable in web.xml?
Good idea! -- Sergiu Dumitriu http://purl.org/net/sergiu/
Sergiu Dumitriu wrote:
Lilianne E. Blaze wrote:
Sergiu Dumitriu wrote:
Paul Libbrecht wrote:
I think some of the recipes which are described there are working on http://i2geo.net/ Tip: the only problem I see is that the initial redirect contains a long URL. You should modify com.xpn.xwiki.web.HomePageRedirectServlet, recompile it and put it in WEB-INF/classes/com/xpn/xwiki/web/
Why not have it configurable in web.xml?
Good idea!
Done: http://jira.xwiki.org/jira/browse/XWIKI-2466 -- Sergiu Dumitriu http://purl.org/net/sergiu/
Sergiu Dumitriu wrote:
Sergiu Dumitriu wrote:
Lilianne E. Blaze wrote:
Sergiu Dumitriu wrote:
Paul Libbrecht wrote:
I think some of the recipes which are described there are working on http://i2geo.net/ Tip: the only problem I see is that the initial redirect contains a long URL. You should modify com.xpn.xwiki.web.HomePageRedirectServlet, recompile it and put it in WEB-INF/classes/com/xpn/xwiki/web/ Why not have it configurable in web.xml? Good idea!
Why in doGet instead of init? It'll work either way, but init-parameters can't get changed at runtime so there's no point in checking it more than once. Also, shouldn't it be "home = "/bin/view/Main/";" instead of "home = "bin/view/Main/";"? Greetings, Lilianne
Lilianne E. Blaze wrote:
Sergiu Dumitriu wrote:
Sergiu Dumitriu wrote:
Lilianne E. Blaze wrote:
Sergiu Dumitriu wrote:
Paul Libbrecht wrote:
I think some of the recipes which are described there are working on http://i2geo.net/ Tip: the only problem I see is that the initial redirect contains a long URL. You should modify com.xpn.xwiki.web.HomePageRedirectServlet, recompile it and put it in WEB-INF/classes/com/xpn/xwiki/web/ Why not have it configurable in web.xml? Good idea! Done: http://jira.xwiki.org/jira/browse/XWIKI-2466
Why in doGet instead of init? It'll work either way, but init-parameters can't get changed at runtime so there's no point in checking it more than once.
Yes, improved now.
Also, shouldn't it be "home = "/bin/view/Main/";" instead of "home = "bin/view/Main/";"?
No, because it allows the context name to be changed. If it starts with /, then it should be an absolute URL, including the application context path. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (4)
-
cristian.vrabie@xwiki.com -
Lilianne E. Blaze -
Paul Libbrecht -
Sergiu Dumitriu