Re: Resources relative to application context

2008-07-16 Thread Ayodeji Aladejebi
sheet not image. Does that mean I need to write a similar component to accomplish that? -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Sunday, March 30, 2008 3:48 PM To: users@wicket.apache.org Subject: Re: Resources relative to application context

Re: Resources relative to application context

2008-03-31 Thread Al Maw
that mean I need to write a similar component to accomplish that? -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Sunday, March 30, 2008 3:48 PM To: users@wicket.apache.org Subject: Re: Resources relative to application context see source of ContextImage

RE: Resources relative to application context

2008-03-31 Thread Zheng, Xiahong
Yes, on tomcat 6.0. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Al Maw Sent: Monday, March 31, 2008 10:12 AM To: users@wicket.apache.org Subject: Re: Resources relative to application context Actually, this should Just Work (tm). Are you running

Resources relative to application context

2008-03-30 Thread Zheng, Xiahong
How does wicket find such resource, e.g. as follows? link href=style/my.css type=text/css rel=stylesheet / I found this only works if I mount my pages with mount(/pages, PackageName.forClass(Home.class)); Otherwise, I need to specify absolute URL. This is fine. However, the subsequent

Re: Resources relative to application context

2008-03-30 Thread Igor Vaynberg
see source of ContextImage for details -igor On Sun, Mar 30, 2008 at 11:50 AM, Zheng, Xiahong [EMAIL PROTECTED] wrote: How does wicket find such resource, e.g. as follows? link href=style/my.css type=text/css rel=stylesheet / I found this only works if I mount my pages with

RE: Resources relative to application context

2008-03-30 Thread Zheng, Xiahong
: Resources relative to application context see source of ContextImage for details -igor On Sun, Mar 30, 2008 at 11:50 AM, Zheng, Xiahong [EMAIL PROTECTED] wrote: How does wicket find such resource, e.g. as follows? link href=style/my.css type=text/css rel=stylesheet / I found this only works