Re: inferring locale from URL in 1.5

2012-03-26 Thread armhold
Try clicking the source code links from wicket-library.com. Always times out for me. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inferring-locale-from-URL-in-1-5-tp4497412p4505742.html Sent from the Users forum mailing list archive at Nabble.com.

Re: inferring locale from URL in 1.5

2012-03-26 Thread Martijn Dashorst
You could try http://wicket-examples.herokuapp.com but that is not an officially supported deployment. Martijn On Mon, Mar 26, 2012 at 3:17 PM, armhold armh...@gmail.com wrote: Try clicking the source code links from wicket-library.com. Always times out for me. -- View this message in

Re: inferring locale from URL in 1.5

2012-03-26 Thread Martin Grigorov
Nice! It is just RequestMappers application. Somehow it extracts the internal port of Tomcat instead of using the external (Apache HTTPD) port. Viewing sources of any other demo app works OK. On Mon, Mar 26, 2012 at 3:17 PM, armhold armh...@gmail.com wrote: Try clicking the source code links

Re: inferring locale from URL in 1.5

2012-03-26 Thread armhold
Hmm, I was actually planning to use that code (LazyHttpsConfig) myself. Looked like a nice way to avoid hard-coding port numbers for dev vs prod use. Maybe not now. :-) -- View this message in context:

Re: inferring locale from URL in 1.5

2012-03-25 Thread armhold
Martin, The wicket-examples site rarely works for me (server under-resourced?) but I found the code in the examples section of the Wicket source from git. LocaleFirstMapper was a huge help; I'm fairly sure I wouldn't have gotten it working without that reference, so thank you very much. Here's

Re: inferring locale from URL in 1.5

2012-03-25 Thread Martin Grigorov
wicketstuff.org is the one that is down most of the time. wicket-library.com is OK, I've never had problems with it. On Sun, Mar 25, 2012 at 7:39 PM, armhold armh...@gmail.com wrote: Martin, The wicket-examples site rarely works for me (server under-resourced?) but I found the code in the

Re: inferring locale from URL in 1.5

2012-03-23 Thread Martin Grigorov
Hi, Check http://www.wicket-library.com/wicket-examples/mappers/ - LocaleFirstMapper On Fri, Mar 23, 2012 at 2:04 AM, armhold armh...@gmail.com wrote: What's the cleanest way to set a user's locale based on the domainname of the URL of the request in 1.5?

inferring locale from URL in 1.5

2012-03-22 Thread armhold
What's the cleanest way to set a user's locale based on the domainname of the URL of the request in 1.5? https://cwiki.apache.org/WICKET/wicket-and-localized-urls.html This guide relies on overriding newRequestCycleProcessor(). Would a proper 1.5 analog be to add a custom