> Chris
>
>
> On Thu, Mar 13, 2014 at 9:22 AM, jchappelle wrote:
>
> > We just use a configuration property in our application that is stored in
> > our
> > "properties" database table. So our solution really doesn't involve
> wicket
> > at al
roperties" database table. So our solution really doesn't involve wicket
> at all.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/The-wicket-way-of-getting-application-base-URL-tp4664925p4664938.html
> Sen
We just use a configuration property in our application that is stored in our
"properties" database table. So our solution really doesn't involve wicket
at all.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/The-wicket-way-of-getting-appli
The reason I have implemented the hook:
Our users are using mod_proxy all the time
So port and context are might be changed and I need to get the base URL
after all these modifications (to create emails with links etc.)
On Wed, Mar 12, 2014 at 11:24 PM, Sebastien wrote:
> Hi Maxim,
>
> Maybe y
Hi Maxim,
Maybe you might use something like this:
Url baseUrl = new Url(page.getRequestCycle().getUrlRenderer().getBaseUrl());
I used it to retrieve the relative url:
private static String getUrl(WebPage page)
{
Url pageUrl = Url.parse(page.urlFor(page.getClass(),
null).toString
Hello,
I'm currently using SelfUpdatingAjaxBehavior [1] to get application base
URL used by the end user.
Maybe there is more standard way of doing this?
Or maybe code like this can be added to ClientInfo?
Thanks in advance!
[1]
https://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/src/