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 on Tomcat?

Regards,

Alastair

On Mon, Mar 31, 2008 at 4:34 AM, <[EMAIL PROTECTED]> wrote:

> You got it
>
> -igor
>
>
> On 3/30/08, Zheng, Xiahong <[EMAIL PROTECTED]> wrote:
> > Thanks Igor. But my resource in this case is style 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
> >
> > 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
> > >
> > > mount("/pages", PackageName.forClass(Home.class));
> > >
> > > Otherwise, I need to specify absolute URL. This is fine. However,
the
> > > subsequent problem I ran into is wicket failed to load resources
> > after a
> > > form submit which is probably caused by the resulting URL not
being
> > > mounted. So my question is,
> > >
> > > How do I mount the resulting URL after a form submit or other
event?
> > Is
> > > HybridUrlCodingStrategy designed for this purpose?
> > >
> > >
> > > Thanks,
> > > Xiaohong
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to