Please take a look at the examples. They are usually a good source for
informaton. As far as I can tell, in Wicket you don't need it, at
least I didn't.

Juergen

On 11/19/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
> * Carfield Yim:
>
> > As    the    user    will   deploy    the    application    with
> > difference  web  application  name,  like  http://host1/app1  or
> > http://host2/app2. The  URL  will  be  /app1/images/icon.jpg  or
> > /app2/images/icon.jpg  .  How  can  I  set  the  image  path  to
> > something  like $baseurl/images/icon.jpg  ?  I've  try to  setup
> > <base  href="/baseurl"> at  <head> but  the rendered  HTML don't
> > contain that elements.
>
> I  have the  same  problem and  Wicket does  not  seem to  address
> that.   Seems   like  we  have   to  use  a  template   for  that,
> like   wicket.extensions.util.resource.TextTemplate   to   replace
> $contextPath
>
> You don't  need to specify  the full  URL with host  name however,
> using an absolute path is sufficient.
> --
>      Jean-Baptiste Quenot
> aka  John Banana Qwerty
> http://caraldi.com/jbq/
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to