You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by james yong <i_...@yahoo.com.sg> on 2010/08/09 18:18:51 UTC
link in absolute path
Hi,
is it possible to have the path to the javascript and css files, rendered as
absolute
Regards,
James
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/link-in-absolute-path-tp2318739p2318739.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: link in absolute path
Posted by james yong <i_...@yahoo.com.sg>.
Hi Igor,
Thanks for quick reply. I will probably look at 1.5
Regards,
James
Igor Vaynberg-2 wrote:
>
> no. everything in wicket is rendered in relative urls because absolute
> urls cause trouble behind proxies. in 1.4 that code is all over the
> place so its not easy to swap out.
>
> in 1.5 the code is centralized so there its possible, but 1.5 is far
> from production.
>
> if you really really need this done then you can use a servlet filter
> to rewrite bits of html
>
> -igor
>
>
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/link-in-absolute-path-tp2318739p2318780.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: link in absolute path
Posted by Igor Vaynberg <ig...@gmail.com>.
no. everything in wicket is rendered in relative urls because absolute
urls cause trouble behind proxies. in 1.4 that code is all over the
place so its not easy to swap out.
in 1.5 the code is centralized so there its possible, but 1.5 is far
from production.
if you really really need this done then you can use a servlet filter
to rewrite bits of html
-igor
On Mon, Aug 9, 2010 at 9:18 AM, james yong <i_...@yahoo.com.sg> wrote:
>
> Hi,
>
> is it possible to have the path to the javascript and css files, rendered as
> absolute
>
> Regards,
> James
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/link-in-absolute-path-tp2318739p2318739.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org