Re: Parsing company id from url

2012-12-27 Thread jchappelle
Sebastian, That makes a lot of sense. I think I like that solution better because it seems simpler and more intuitive. I may write a ServletFilter that does the app lookup part and store it in the session. Thanks a lot! Josh -- View this message in context: http://apache-wicket.1842946.n4.na

RE: Parsing company id from url

2012-12-24 Thread Chris Colman
>Josh, > >We run the same kind of app, and what we did is simply consume the >X-Forwarded-Host in the app server (see >http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-headers). > >That way the url -> website ID lookup is handled in the app itself. > >We have an IP especially for this app, and

Re: Parsing company id from url

2012-12-24 Thread Bas Gooren
Josh, We run the same kind of app, and what we did is simply consume the X-Forwarded-Host in the app server (see http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-headers). That way the url -> website ID lookup is handled in the app itself. We have an IP especially for this app, and have

Re: Parsing company id from url

2012-12-23 Thread Sven Meier
Hi Josh, LocaleFirstMapper from wicket-examples seems like something you're looking for, it reads the locale from the first url segment. Sven On 12/23/2012 10:33 PM, jchappelle wrote: I'm hoping this will be an easy question to answer for the wicket gurus out there. I'm developing an app th