
|
Links to images and .css
Hi all.
My application, as with all applications, uses stylesheets and images. Those files are stored under $TOMCAT_HOME/webapps/my_app/resources, but when I launch my wicket application I see an error on my logs saying that the file can't be found, even though I can see it on the filesystem.
How can I make my files appear on the application?
-- Cumprimentos, Rui Pacheco
|

|
Re: Links to images and .css
how are you referring to those files inside your css? -Igor On 4/27/06, Rui Pacheco <rui.pacheco@...> wrote:Hi all.
My application, as with all applications, uses stylesheets and images. Those files are stored under $TOMCAT_HOME/webapps/my_app/resources, but when I launch my wicket application I see an error on my logs saying that the file can't be found, even though I can see it on the filesystem.
How can I make my files appear on the application?
-- Cumprimentos,
Rui Pacheco
|

|
Re: Links to images and .css
My problem is, the images and css files can't be found by the html pages. I am calling them as if I was using a static page: <link href="universal.css" rel="stylesheet" type="text/css">
Images follow a similar pattern. On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:
how are you referring to those files inside your css?
-Igor
On 4/27/06, Rui Pacheco
<rui.pacheco@...> wrote:Hi all.
My application, as with all applications, uses stylesheets and images. Those files are stored under $TOMCAT_HOME/webapps/my_app/resources, but when I launch my wicket application I see an error on my logs saying that the file can't be found, even though I can see it on the filesystem.
How can I make my files appear on the application?
-- Cumprimentos,
Rui Pacheco
-- Cumprimentos, Rui Pacheco
|

|
Re: Links to images and .css
I'm afraid /resources/ is a reserved path with Wicket. I guess it's
not the best name we choose, as it's kind of an obvious path to use
for people. Maybe we should use another path, like
'/wicket-shared-resources/' or something.
Eelco
On 4/27/06, Rui Pacheco < rui.pacheco@...> wrote:
> My problem is, the images and css files can't be found by the html pages.
> I am calling them as if I was using a static page:
> <link href="universal.css" rel="stylesheet" type="text/css">
>
> Images follow a similar pattern.
>
>
> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> wrote:
> >
> > how are you referring to those files inside your css?
> >
> > -Igor
> >
> >
> >
> >
> > On 4/27/06, Rui Pacheco < rui.pacheco@... > wrote:
> > >
> > > Hi all.
> > >
> > > My application, as with all applications, uses stylesheets and images.
> Those files are stored under
> $TOMCAT_HOME/webapps/my_app/resources, but when I launch my
> wicket application I see an error on my logs saying that the file can't be
> found, even though I can see it on the filesystem.
> > >
> > > How can I make my files appear on the application?
> > >
> > > --
> > > Cumprimentos,
> > >
> > > Rui Pacheco
> >
> >
>
>
>
> --
> Cumprimentos,
> Rui Pacheco
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user
|

|
Re: Links to images and .css
Personally, I dislike how Wicket prevents the use of "reserved paths"
such as /resources. There should be a better way, somehow.
Why not let users bind whatever resources they want to /resources and
if Wicket (or another user-call) tries binding to that same path you
throw an exception? It would be up to the user to ensure he doesn't
produce conflicts (which I think are extremely rare in the first place).
Anyway, just food for thought.
Gili
Eelco Hillenius wrote:
> I'm afraid /resources/ is a reserved path with Wicket. I guess it's
> not the best name we choose, as it's kind of an obvious path to use
> for people. Maybe we should use another path, like
> '/wicket-shared-resources/' or something.
>
> Eelco
>
>
> On 4/27/06, Rui Pacheco < rui.pacheco@...> wrote:
>> My problem is, the images and css files can't be found by the html pages.
>> I am calling them as if I was using a static page:
>> <link href="universal.css" rel="stylesheet" type="text/css">
>>
>> Images follow a similar pattern.
>>
>>
>> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> wrote:
>>> how are you referring to those files inside your css?
>>>
>>> -Igor
>>>
>>>
>>>
>>>
>>> On 4/27/06, Rui Pacheco < rui.pacheco@... > wrote:
>>>> Hi all.
>>>>
>>>> My application, as with all applications, uses stylesheets and images.
>> Those files are stored under
>> $TOMCAT_HOME/webapps/my_app/resources, but when I launch my
>> wicket application I see an error on my logs saying that the file can't be
>> found, even though I can see it on the filesystem.
>>>> How can I make my files appear on the application?
>>>>
>>>> --
>>>> Cumprimentos,
>>>>
>>>> Rui Pacheco
>>>
>>
>>
>> --
>> Cumprimentos,
>> Rui Pacheco
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> _______________________________________________
> Wicket-user mailing list
> Wicket-user@...
> https://lists.sourceforge.net/lists/listinfo/wicket-user
|

|
Re: Links to images and .css
there is already a plan to namespace that directory for v2, or so i thought. -Igor On 4/27/06, cowwoc <cowwoc@...> wrote: Personally, I dislike how Wicket prevents the use of "reserved paths"
such as /resources. There should be a better way, somehow.
Why not let users bind whatever resources they want to /resources and if Wicket (or another user-call) tries binding to that same path you
throw an exception? It would be up to the user to ensure he doesn't produce conflicts (which I think are extremely rare in the first place).
Anyway, just food for thought.
Gili
Eelco Hillenius wrote:
> I'm afraid /resources/ is a reserved path with Wicket. I guess it's > not the best name we choose, as it's kind of an obvious path to use > for people. Maybe we should use another path, like > '/wicket-shared-resources/' or something.
> > Eelco > > > On 4/27/06, Rui Pacheco < rui.pacheco@...> wrote: >> My problem is, the images and css files can't be found by the html pages.
>> I am calling them as if I was using a static page: >> <link href="universal.css" rel="stylesheet" type="text/css"> >> >> Images follow a similar pattern.
>> >> >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> wrote: >>> how are you referring to those files inside your css? >>>
>>> -Igor >>> >>> >>> >>> >>> On 4/27/06, Rui Pacheco < rui.pacheco@... > wrote: >>>> Hi all.
>>>> >>>> My application, as with all applications, uses stylesheets and images. >> Those files are stored under >> $TOMCAT_HOME/webapps/my_app/resources, but when I launch my
>> wicket application I see an error on my logs saying that the file can't be >> found, even though I can see it on the filesystem. >>>> How can I make my files appear on the application?
>>>> >>>> -- >>>> Cumprimentos, >>>> >>>> Rui Pacheco >>> >> >> >> -- >> Cumprimentos, >> Rui Pacheco
> > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
> _______________________________________________ > Wicket-user mailing list > Wicket-user@...>
https://lists.sourceforge.net/lists/listinfo/wicket-user
|

|
Re: Links to images and .css
What does it mean to namespace it in the context of Wicket?
Gili
Igor Vaynberg wrote:
> there is already a plan to namespace that directory for v2, or so i thought.
>
> -Igor
>
>
> On 4/27/06, *cowwoc* < cowwoc@...
> <mailto: cowwoc@...>> wrote:
>
>
> Personally, I dislike how Wicket prevents the use of
> "reserved paths"
> such as /resources. There should be a better way, somehow.
>
> Why not let users bind whatever resources they want to
> /resources and
> if Wicket (or another user-call) tries binding to that same path you
> throw an exception? It would be up to the user to ensure he doesn't
> produce conflicts (which I think are extremely rare in the first place).
>
> Anyway, just food for thought.
>
> Gili
>
> Eelco Hillenius wrote:
> > I'm afraid /resources/ is a reserved path with Wicket. I guess it's
> > not the best name we choose, as it's kind of an obvious path to use
> > for people. Maybe we should use another path, like
> > '/wicket-shared-resources/' or something.
> >
> > Eelco
> >
> >
> > On 4/27/06, Rui Pacheco < rui.pacheco@...
> <mailto: rui.pacheco@...>> wrote:
> >> My problem is, the images and css files can't be found by the
> html pages.
> >> I am calling them as if I was using a static page:
> >> <link href="universal.css" rel="stylesheet" type="text/css">
> >>
> >> Images follow a similar pattern.
> >>
> >>
> >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...
> <mailto: igor.vaynberg@...>> wrote:
> >>> how are you referring to those files inside your css?
> >>>
> >>> -Igor
> >>>
> >>>
> >>>
> >>>
> >>> On 4/27/06, Rui Pacheco < rui.pacheco@...
> <mailto: rui.pacheco@...> > wrote:
> >>>> Hi all.
> >>>>
> >>>> My application, as with all applications, uses stylesheets and
> images.
> >> Those files are stored under
> >> $TOMCAT_HOME/webapps/my_app/resources, but when I launch my
> >> wicket application I see an error on my logs saying that the file
> can't be
> >> found, even though I can see it on the filesystem.
> >>>> How can I make my files appear on the application?
> >>>>
> >>>> --
> >>>> Cumprimentos,
> >>>>
> >>>> Rui Pacheco
> >>>
> >>
> >>
> >> --
> >> Cumprimentos,
> >> Rui Pacheco
> >
> >
> > -------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services,
> security?
> > Get stuff done quickly with pre-integrated technology to make your
> job easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> < http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642>
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@...
> <mailto: Wicket-user@...>
> > https://lists.sourceforge.net/lists/listinfo/wicket-user>
>
>
>
|

|
Re: Links to images and .css
call it /wicket-resources instead of /resources or some such -Igor On 4/27/06, cowwoc <cowwoc@...> wrote: What does it mean to namespace it in the context of Wicket?
Gili
Igor Vaynberg wrote:> there is already a plan to namespace that directory for v2, or so i thought. > > -Igor > > > On 4/27/06, *cowwoc* < cowwoc@...> <mailto: cowwoc@...>> wrote: > > > Personally, I dislike how Wicket prevents the use of
> "reserved paths"> such as /resources. There should be a better way, somehow. > > Why not let users bind whatever resources they want to > /resources and > if Wicket (or another user-call) tries binding to that same path you
> throw an exception? It would be up to the user to ensure he doesn't > produce conflicts (which I think are extremely rare in the first place). > > Anyway, just food for thought.
> > Gili > > Eelco Hillenius wrote: > > I'm afraid /resources/ is a reserved path with Wicket. I guess it's > > not the best name we choose, as it's kind of an obvious path to use
> > for people. Maybe we should use another path, like > > '/wicket-shared-resources/' or something. > > > > Eelco > > > > > > On 4/27/06, Rui Pacheco <
rui.pacheco@...> <mailto: rui.pacheco@...>> wrote: > >> My problem is, the images and css files can't be found by the
> html pages. > >> I am calling them as if I was using a static page: > >> <link href="universal.css" rel="stylesheet" type="text/css"> > >>
> >> Images follow a similar pattern. > >> > >> > >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> <mailto:
igor.vaynberg@...>> wrote: > >>> how are you referring to those files inside your css? > >>> > >>> -Igor
> >>>> >>> > >>> > >>> > >>> On 4/27/06, Rui Pacheco < rui.pacheco@...> <mailto:
rui.pacheco@...> > wrote: > >>>> Hi all. > >>>> > >>>> My application, as with all applications, uses stylesheets and
> images. > >> Those files are stored under > >> $TOMCAT_HOME/webapps/my_app/resources, but when I launch my > >> wicket application I see an error on my logs saying that the file
> can't be > >> found, even though I can see it on the filesystem. > >>>> How can I make my files appear on the application? > >>>> > >>>> --
> >>>> Cumprimentos, > >>>> > >>>> Rui Pacheco > >>> > >> > >> > >> -- > >> Cumprimentos,
> >> Rui Pacheco > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services,
> security? > > Get stuff done quickly with pre-integrated technology to make your > job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> <
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> > > _______________________________________________
> > Wicket-user mailing list > > Wicket-user@...> <mailto: Wicket-user@...> > > https://lists.sourceforge.net/lists/listinfo/wicket-user> > > >
|

|
Re: Links to images and .css
Would it break any clients if we would do that now?
Eelco
On 4/27/06, Igor Vaynberg < igor.vaynberg@...> wrote:
> call it /wicket-resources instead of /resources or some such
>
> -Igor
>
>
>
> On 4/27/06, cowwoc < cowwoc@... > wrote:
> >
> > What does it mean to namespace it in the context of Wicket?
> >
> > Gili
> >
> > Igor Vaynberg wrote:
> > > there is already a plan to namespace that directory for v2, or so i
> thought.
> > >
> > > -Igor
> > >
> > >
> > > On 4/27/06, *cowwoc* < cowwoc@...
> > > <mailto: cowwoc@...>> wrote:
> > >
> > >
> > > Personally, I dislike how Wicket prevents the use of
> > > "reserved paths"
> > > such as /resources. There should be a better way, somehow.
> > >
> > > Why not let users bind whatever resources they want to
> > > /resources and
> > > if Wicket (or another user-call) tries binding to that same path you
> > > throw an exception? It would be up to the user to ensure he doesn't
> > > produce conflicts (which I think are extremely rare in the first
> place).
> > >
> > > Anyway, just food for thought.
> > >
> > > Gili
> > >
> > > Eelco Hillenius wrote:
> > > > I'm afraid /resources/ is a reserved path with Wicket. I guess
> it's
> > > > not the best name we choose, as it's kind of an obvious path to
> use
> > > > for people. Maybe we should use another path, like
> > > > '/wicket-shared-resources/' or something.
> > > >
> > > > Eelco
> > > >
> > > >
> > > > On 4/27/06, Rui Pacheco < rui.pacheco@...
> > > <mailto: rui.pacheco@...>> wrote:
> > > >> My problem is, the images and css files can't be found by the
> > > html pages.
> > > >> I am calling them as if I was using a static page:
> > > >> <link href="universal.css" rel="stylesheet" type="text/css">
> > > >>
> > > >> Images follow a similar pattern.
> > > >>
> > > >>
> > > >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...
> > > <mailto: igor.vaynberg@...>> wrote:
> > > >>> how are you referring to those files inside your css?
> > > >>>
> > > >>> -Igor
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>> On 4/27/06, Rui Pacheco < rui.pacheco@...
> > > <mailto: rui.pacheco@...> > wrote:
> > > >>>> Hi all.
> > > >>>>
> > > >>>> My application, as with all applications, uses stylesheets and
> > > images.
> > > >> Those files are stored under
> > > >> $TOMCAT_HOME/webapps/my_app/resources, but when
> I launch my
> > > >> wicket application I see an error on my logs saying that the file
> > > can't be
> > > >> found, even though I can see it on the filesystem.
> > > >>>> How can I make my files appear on the application?
> > > >>>>
> > > >>>> --
> > > >>>> Cumprimentos,
> > > >>>>
> > > >>>> Rui Pacheco
> > > >>>
> > > >>
> > > >>
> > > >> --
> > > >> Cumprimentos,
> > > >> Rui Pacheco
> > > >
> > > >
> > > >
> -------------------------------------------------------
> > > > Using Tomcat but need to do more? Need to support web services,
> > > security?
> > > > Get stuff done quickly with pre-integrated technology to make your
> > > job easier
> > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > > Geronimo
> > > >
> > >
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> > > <
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642>
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > Wicket-user@...
> > > <mailto: Wicket-user@...>
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user
|

|
Re: Links to images and .css
i dont see how unless a filter, security or something was mapped onto that path -Igor On 4/27/06, Eelco Hillenius <eelco.hillenius@...> wrote:Would it break any clients if we would do that now?
Eelco
On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:> call it /wicket-resources instead of /resources or some such > > -Igor
> > > > On 4/27/06, cowwoc < cowwoc@... > wrote: > > > > What does it mean to namespace it in the context of Wicket?
> > > > Gili > > > > Igor Vaynberg wrote: > > > there is already a plan to namespace that directory for v2, or so i > thought. > > > > > > -Igor
> > > > > > > > > On 4/27/06, *cowwoc* < cowwoc@...> > > <mailto: cowwoc@...>> wrote: > > > > > > > > > Personally, I dislike how Wicket prevents the use of > > > "reserved paths" > > > such as /resources. There should be a better way, somehow.
> > > > > > Why not let users bind whatever resources they want to > > > /resources and > > > if Wicket (or another user-call) tries binding to that same path you
> > > throw an exception? It would be up to the user to ensure he doesn't > > > produce conflicts (which I think are extremely rare in the first > place). > > > > > > Anyway, just food for thought.
> > > > > > Gili > > > > > > Eelco Hillenius wrote: > > > > I'm afraid /resources/ is a reserved path with Wicket. I guess > it's > > > > not the best name we choose, as it's kind of an obvious path to
> use > > > > for people. Maybe we should use another path, like > > > > '/wicket-shared-resources/' or something. > > > > > > > > Eelco
> > > >> > > > > > > > On 4/27/06, Rui Pacheco < rui.pacheco@...> > > <mailto: rui.pacheco@...>> wrote: > > > >> My problem is, the images and css files can't be found by the > > > html pages. > > > >> I am calling them as if I was using a static page:
> > > >> <link href="universal.css" rel="stylesheet" type="text/css"> > > > >> > > > >> Images follow a similar pattern.
> > > >> > > > >> > > > >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> > > <mailto:
igor.vaynberg@...>> wrote: > > > >>> how are you referring to those files inside your css? > > > >>> > > > >>> -Igor
> > > >>> > > > >>> > > > >>> > > > >>> > > > >>> On 4/27/06, Rui Pacheco < rui.pacheco@...> > > <mailto: rui.pacheco@...> > wrote: > > > >>>> Hi all. > > > >>>>
> > > >>>> My application, as with all applications, uses stylesheets and > > > images. > > > >> Those files are stored under > > > >> $TOMCAT_HOME/webapps/my_app/resources, but when
> I launch my > > > >> wicket application I see an error on my logs saying that the file > > > can't be > > > >> found, even though I can see it on the filesystem.
> > > >>>> How can I make my files appear on the application? > > > >>>> > > > >>>> -- > > > >>>> Cumprimentos,
> > > >>>> > > > >>>> Rui Pacheco > > > >>> > > > >> > > > >> > > > >> --
> > > >> Cumprimentos, > > > >> Rui Pacheco > > > > > > > > > > > > > -------------------------------------------------------
> > > > Using Tomcat but need to do more? Need to support web services, > > > security? > > > > Get stuff done quickly with pre-integrated technology to make your
> > > job easier
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 _______________________________________________
Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user
|

|
Re: Links to images and .css
Oh boy. I am sorry for only replying now, but the directory isn't actually named resources. I just wrote that as an example, resources being a self-descripting word. My images are in a folder called "images" and the .css is on the same directory as WEB-INF. The thing is, I get a lot of errors on my logs when I call a web page, and of course, no images are shown and no css formatting is done.
I am honestly sorry for misleading you on this situation. It was never my intention. On 4/27/06, Eelco Hillenius <eelco.hillenius@...> wrote:Would it break any clients if we would do that now?
Eelco
On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:> call it /wicket-resources instead of /resources or some such > > -Igor
> > > > On 4/27/06, cowwoc < cowwoc@... > wrote: > > > > What does it mean to namespace it in the context of Wicket?
> > > > Gili > > > > Igor Vaynberg wrote: > > > there is already a plan to namespace that directory for v2, or so i > thought. > > > > > > -Igor
> > > > > > > > > On 4/27/06, *cowwoc* < cowwoc@...> > > <mailto: cowwoc@...>> wrote: > > > > > > > > > Personally, I dislike how Wicket prevents the use of > > > "reserved paths" > > > such as /resources. There should be a better way, somehow.
> > > > > > Why not let users bind whatever resources they want to > > > /resources and > > > if Wicket (or another user-call) tries binding to that same path you
> > > throw an exception? It would be up to the user to ensure he doesn't > > > produce conflicts (which I think are extremely rare in the first > place). > > > > > > Anyway, just food for thought.
> > > > > > Gili > > > > > > Eelco Hillenius wrote: > > > > I'm afraid /resources/ is a reserved path with Wicket. I guess > it's > > > > not the best name we choose, as it's kind of an obvious path to
> use > > > > for people. Maybe we should use another path, like > > > > '/wicket-shared-resources/' or something. > > > > > > > > Eelco
> > > >> > > > > > > > On 4/27/06, Rui Pacheco < rui.pacheco@...> > > <mailto: rui.pacheco@...>> wrote: > > > >> My problem is, the images and css files can't be found by the > > > html pages. > > > >> I am calling them as if I was using a static page:
> > > >> <link href="universal.css" rel="stylesheet" type="text/css"> > > > >> > > > >> Images follow a similar pattern.
> > > >> > > > >> > > > >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> > > <mailto:
igor.vaynberg@...>> wrote: > > > >>> how are you referring to those files inside your css? > > > >>> > > > >>> -Igor
> > > >>> > > > >>> > > > >>> > > > >>> > > > >>> On 4/27/06, Rui Pacheco < rui.pacheco@...> > > <mailto: rui.pacheco@...> > wrote: > > > >>>> Hi all. > > > >>>>
> > > >>>> My application, as with all applications, uses stylesheets and > > > images. > > > >> Those files are stored under > > > >> $TOMCAT_HOME/webapps/my_app/resources, but when
> I launch my > > > >> wicket application I see an error on my logs saying that the file > > > can't be > > > >> found, even though I can see it on the filesystem.
> > > >>>> How can I make my files appear on the application? > > > >>>> > > > >>>> -- > > > >>>> Cumprimentos,
> > > >>>> > > > >>>> Rui Pacheco > > > >>> > > > >> > > > >> > > > >> --
> > > >> Cumprimentos, > > > >> Rui Pacheco > > > > > > > > > > > > > -------------------------------------------------------
> > > > Using Tomcat but need to do more? Need to support web services, > > > security? > > > > Get stuff done quickly with pre-integrated technology to make your
> > > job easier
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 _______________________________________________
Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user
-- Cumprimentos, Rui Pacheco
|

|
Re: Links to images and .css

Some parts of this message have been removed.
Learn more about Nabble's security policy.
But it turned out to be a good thing :) We try to minimize the name clashes we have with users, and this is one of them. It would be nice to solve it with 1.2 though. Martijn On 4/27/06,
Rui Pacheco <rui.pacheco@...> wrote:
Oh boy. I am sorry for only replying now, but the directory isn't actually named resources. I just wrote that as an example, resources being a self-descripting word. My images are in a folder called "images" and the .css is on the same directory as WEB-INF. The thing is, I get a lot of errors on my logs when I call a web page, and of course, no images are shown and no css formatting is done.
I am honestly sorry for misleading you on this situation. It was never my intention.
Would it break any clients if we would do that now?
Eelco
On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:> call it /wicket-resources instead of /resources or some such
> > -Igor
> > > > On 4/27/06, cowwoc < cowwoc@... > wrote: > >
> > What does it mean to namespace it in the context of Wicket?
> > > > Gili > > > > Igor Vaynberg wrote: > > > there is already a plan to namespace that directory for v2, or so i > thought. > > > > > > -Igor
> > > > > > > > > On 4/27/06, *cowwoc* < cowwoc@...
> > > <mailto: cowwoc@...>> wrote: > > > > > > > > > Personally, I dislike how Wicket prevents the use of > > > "reserved paths" > > > such as /resources. There should be a better way, somehow.
> > > > > > Why not let users bind whatever resources they want to > > > /resources and > > > if Wicket (or another user-call) tries binding to that same path you
> > > throw an exception? It would be up to the user to ensure he doesn't > > > produce conflicts (which I think are extremely rare in the first > place). > > > > > > Anyway, just food for thought.
> > > > > > Gili > > > > > > Eelco Hillenius wrote: > > > > I'm afraid /resources/ is a reserved path with Wicket. I guess > it's > > > > not the best name we choose, as it's kind of an obvious path to
> use > > > > for people. Maybe we should use another path, like > > > > '/wicket-shared-resources/' or something. > > > > > > > > Eelco
> > > >> > > > > > > > On 4/27/06, Rui Pacheco < rui.pacheco@...> > > <mailto: rui.pacheco@...>> wrote: > > > >> My problem is, the images and css files can't be found by the > > > html pages. > > > >> I am calling them as if I was using a static page:
> > > >> <link href="universal.css" rel="stylesheet" type="text/css"> > > > >> > > > >> Images follow a similar pattern.
> > > >> > > > >> > > > >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> > > <mailto:
igor.vaynberg@...>> wrote: > > > >>> how are you referring to those files inside your css?
> > > >>> > > > >>> -Igor
> > > >>> > > > >>> > > > >>> > > > >>> > > > >>> On 4/27/06, Rui Pacheco < rui.pacheco@...> > > <mailto: rui.pacheco@...> > wrote: > > > >>>> Hi all.
> > > >>>>
> > > >>>> My application, as with all applications, uses stylesheets and > > > images. > > > >> Those files are stored under > > > >> $TOMCAT_HOME/webapps/my_app/resources, but when
> I launch my > > > >> wicket application I see an error on my logs saying that the file > > > can't be > > > >> found, even though I can see it on the filesystem.
> > > >>>> How can I make my files appear on the application? > > > >>>> > > > >>>> -- > > > >>>> Cumprimentos,
> > > >>>> > > > >>>> Rui Pacheco > > > >>> > > > >> > > > >> > > > >> --
> > > >> Cumprimentos, > > > >> Rui Pacheco > > > > > > > > > > > > > -------------------------------------------------------
> > > > Using Tomcat but need to do more? Need to support web services, > > > security? > > > > Get stuff done quickly with pre-integrated technology to make your
> > > job easier
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user
-- Cumprimentos, Rui Pacheco
-- Wicket 1.2 is coming! Write Ajax applications without touching JavaScript! -- http://wicketframework.org
|

|
Re: Links to images and .css

Some parts of this message have been removed.
Learn more about Nabble's security policy.
this is not entirely true. sharead resource urls are essentially bookmarkable...so that might be a problem. if we are going to do this in 1.2 we should probably poll the users first. -Igor
On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:
i dont see how unless a filter, security or something was mapped onto that path
-Igor
On 4/27/06, Eelco Hillenius <eelco.hillenius@...> wrote:Would it break any clients if we would do that now?
Eelco
On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:> call it /wicket-resources instead of /resources or some such
> > -Igor
> > > > On 4/27/06, cowwoc < cowwoc@... > wrote: > >
> > What does it mean to namespace it in the context of Wicket?
> > > > Gili > > > > Igor Vaynberg wrote: > > > there is already a plan to namespace that directory for v2, or so i > thought. > > > > > > -Igor
> > > > > > > > > On 4/27/06, *cowwoc* < cowwoc@...
> > > <mailto: cowwoc@...>> wrote: > > > > > > > > > Personally, I dislike how Wicket prevents the use of > > > "reserved paths" > > > such as /resources. There should be a better way, somehow.
> > > > > > Why not let users bind whatever resources they want to > > > /resources and > > > if Wicket (or another user-call) tries binding to that same path you
> > > throw an exception? It would be up to the user to ensure he doesn't > > > produce conflicts (which I think are extremely rare in the first > place). > > > > > > Anyway, just food for thought.
> > > > > > Gili > > > > > > Eelco Hillenius wrote: > > > > I'm afraid /resources/ is a reserved path with Wicket. I guess > it's > > > > not the best name we choose, as it's kind of an obvious path to
> use > > > > for people. Maybe we should use another path, like > > > > '/wicket-shared-resources/' or something. > > > > > > > > Eelco
> > > >> > > > > > > > On 4/27/06, Rui Pacheco < rui.pacheco@...> > > <mailto: rui.pacheco@...>> wrote: > > > >> My problem is, the images and css files can't be found by the > > > html pages. > > > >> I am calling them as if I was using a static page:
> > > >> <link href="universal.css" rel="stylesheet" type="text/css"> > > > >> > > > >> Images follow a similar pattern.
> > > >> > > > >> > > > >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> > > <mailto:
igor.vaynberg@...>> wrote: > > > >>> how are you referring to those files inside your css?
> > > >>> > > > >>> -Igor
> > > >>> > > > >>> > > > >>> > > > >>> > > > >>> On 4/27/06, Rui Pacheco < rui.pacheco@...> > > <mailto: rui.pacheco@...> > wrote: > > > >>>> Hi all.
> > > >>>>
> > > >>>> My application, as with all applications, uses stylesheets and > > > images. > > > >> Those files are stored under > > > >> $TOMCAT_HOME/webapps/my_app/resources, but when
> I launch my > > > >> wicket application I see an error on my logs saying that the file > > > can't be > > > >> found, even though I can see it on the filesystem.
> > > >>>> How can I make my files appear on the application? > > > >>>> > > > >>>> -- > > > >>>> Cumprimentos,
> > > >>>> > > > >>>> Rui Pacheco > > > >>> > > > >> > > > >> > > > >> --
> > > >> Cumprimentos, > > > >> Rui Pacheco > > > > > > > > > > > > > -------------------------------------------------------
> > > > Using Tomcat but need to do more? Need to support web services, > > > security? > > > > Get stuff done quickly with pre-integrated technology to make your
> > > job easier
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user
|

|
Re: Links to images and .css
Ok.
On 4/27/06, Igor Vaynberg < igor.vaynberg@...> wrote:
> this is not entirely true. sharead resource urls are essentially
> bookmarkable...so that might be a problem. if we are going to do this in 1.2
> we should probably poll the users first.
>
> -Igor
>
>
>
> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> wrote:
> >
> > i dont see how unless a filter, security or something was mapped onto that
> path
> >
> >
> > -Igor
> >
> >
> >
> >
> > On 4/27/06, Eelco Hillenius < eelco.hillenius@...> wrote:
> > > Would it break any clients if we would do that now?
> > >
> > > Eelco
> > >
> > > On 4/27/06, Igor Vaynberg < igor.vaynberg@...> wrote:
> > > > call it /wicket-resources instead of /resources or some such
> > > >
> > > > -Igor
> > > >
> > > >
> > > >
> > > > On 4/27/06, cowwoc < cowwoc@... > wrote:
> > > > >
> > > > > What does it mean to namespace it in the context of Wicket?
> > > > >
> > > > > Gili
> > > > >
> > > > > Igor Vaynberg wrote:
> > > > > > there is already a plan to namespace that directory for v2, or so
> i
> > > > thought.
> > > > > >
> > > > > > -Igor
> > > > > >
> > > > > >
> > > > > > On 4/27/06, *cowwoc* < cowwoc@...
> > > > > > <mailto: cowwoc@... >> wrote:
> > > > > >
> > > > > >
> > > > > > Personally, I dislike how Wicket prevents the use of
> > > > > > "reserved paths"
> > > > > > such as /resources. There should be a better way, somehow.
> > > > > >
> > > > > > Why not let users bind whatever resources they want to
> > > > > > /resources and
> > > > > > if Wicket (or another user-call) tries binding to that same
> path you
> > > > > > throw an exception? It would be up to the user to ensure he
> doesn't
> > > > > > produce conflicts (which I think are extremely rare in the
> first
> > > > place).
> > > > > >
> > > > > > Anyway, just food for thought.
> > > > > >
> > > > > > Gili
> > > > > >
> > > > > > Eelco Hillenius wrote:
> > > > > > > I'm afraid /resources/ is a reserved path with Wicket. I
> guess
> > > > it's
> > > > > > > not the best name we choose, as it's kind of an obvious path
> to
> > > > use
> > > > > > > for people. Maybe we should use another path, like
> > > > > > > '/wicket-shared-resources/' or something.
> > > > > > >
> > > > > > > Eelco
> > > > > > >
> > > > > > >
> > > > > > > On 4/27/06, Rui Pacheco < rui.pacheco@...
> > > > > > <mailto: rui.pacheco@...>> wrote:
> > > > > > >> My problem is, the images and css files can't be found by
> the
> > > > > > html pages.
> > > > > > >> I am calling them as if I was using a static page:
> > > > > > >> <link href="universal.css" rel="stylesheet"
> type="text/css">
> > > > > > >>
> > > > > > >> Images follow a similar pattern.
> > > > > > >>
> > > > > > >>
> > > > > > >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...
> > > > > > <mailto: igor.vaynberg@...>> wrote:
> > > > > > >>> how are you referring to those files inside your css?
> > > > > > >>>
> > > > > > >>> -Igor
> > > > > > >>>
> > > > > > >>>
> > > > > > >>>
> > > > > > >>>
> > > > > > >>> On 4/27/06, Rui Pacheco < rui.pacheco@...
> > > > > > <mailto: rui.pacheco@...> > wrote:
> > > > > > >>>> Hi all.
> > > > > > >>>>
> > > > > > >>>> My application, as with all applications, uses
> stylesheets and
> > > > > > images.
> > > > > > >> Those files are stored under
> > > > > > >> $TOMCAT_HOME/webapps/my_app/resources, but
> when
> > > > I launch my
> > > > > > >> wicket application I see an error on my logs saying that
> the file
> > > > > > can't be
> > > > > > >> found, even though I can see it on the filesystem.
> > > > > > >>>> How can I make my files appear on the application?
> > > > > > >>>>
> > > > > > >>>> --
> > > > > > >>>> Cumprimentos,
> > > > > > >>>>
> > > > > > >>>> Rui Pacheco
> > > > > > >>>
> > > > > > >>
> > > > > > >>
> > > > > > >> --
> > > > > > >> Cumprimentos,
> > > > > > >> Rui Pacheco
> > > > > > >
> > > > > > >
> > > > > > >
> > > >
> -------------------------------------------------------
> > > > > > > Using Tomcat but need to do more? Need to support web
> services,
> > > > > > security?
> > > > > > > Get stuff done quickly with pre-integrated technology to
> make your
> > > > > > job easier
> > > > > > > Download IBM WebSphere Application Server v.1.0.1 based on
> Apache
> > > > > > Geronimo
> > > > > > >
> > > > > >
> > > >
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> > > > > > <
> > > >
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> >
> > > > > > >
> _______________________________________________
> > > > > > > Wicket-user mailing list
> > > > > > > Wicket-user@...
> > > > > > <mailto: Wicket-user@...>
> > > > > > >
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > > -------------------------------------------------------
> > > Using Tomcat but need to do more? Need to support web services,
> security?
> > > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > >
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642> > > _______________________________________________
> > > Wicket-user mailing list
> > > Wicket-user@...
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user> > >
> >
> >
>
>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user
|

|
Re: Links to images and .css
I know you're dealing with more important things right now, but I could use a hand here. I have my images and css's at the same level as web-inf. My html is next to the classes under web-inf/classes. How do I make my html see my images and my css's?
On 4/27/06, Eelco Hillenius <eelco.hillenius@...> wrote:
Ok.
On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote: > this is not entirely true. sharead resource urls are essentially > bookmarkable...so that might be a problem. if we are going to do this in
1.2 > we should probably poll the users first. > > -Igor > > > > On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:
> >> > i dont see how unless a filter, security or something was mapped onto that > path > > > > > > -Igor > > > > > > > > > > On 4/27/06, Eelco Hillenius <
eelco.hillenius@...> wrote: > > > Would it break any clients if we would do that now? > > > > > > Eelco > > > > > > On 4/27/06, Igor Vaynberg <
igor.vaynberg@...> wrote: > > > > call it /wicket-resources instead of /resources or some such > > > > > > > > -Igor > > > >
> > > > > > > > > > > > On 4/27/06, cowwoc < cowwoc@... > wrote: > > > > > > > > > > What does it mean to namespace it in the context of Wicket?
> > > > > > > > > > Gili > > > > > > > > > > Igor Vaynberg wrote: > > > > > > there is already a plan to namespace that directory for v2, or so
> i > > > > thought. > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > On 4/27/06, *cowwoc* <
cowwoc@...> > > > > > <mailto: cowwoc@... >> wrote: > > > > > >
> > > > > > > > > > > > Personally, I dislike how Wicket prevents the use of > > > > > > "reserved paths" > > > > > > such as /resources. There should be a better way, somehow.
> > > > > > > > > > > > Why not let users bind whatever resources they want to > > > > > > /resources and > > > > > > if Wicket (or another user-call) tries binding to that same
> path you > > > > > > throw an exception? It would be up to the user to ensure he > doesn't > > > > > > produce conflicts (which I think are extremely rare in the
> first > > > > place). > > > > > > > > > > > > Anyway, just food for thought. > > > > > > > > > > > > Gili
> > > > > > > > > > > > Eelco Hillenius wrote: > > > > > > > I'm afraid /resources/ is a reserved path with Wicket. I > guess > > > > it's
> > > > > > > not the best name we choose, as it's kind of an obvious path > to > > > > use > > > > > > > for people. Maybe we should use another path, like
> > > > > > > '/wicket-shared-resources/' or something. > > > > > > > > > > > > > > Eelco > > > > > > >
> > > > > > >> > > > > > > On 4/27/06, Rui Pacheco < rui.pacheco@...> > > > > > <mailto:
rui.pacheco@...>> wrote: > > > > > > >> My problem is, the images and css files can't be found by > the > > > > > > html pages.
> > > > > > >> I am calling them as if I was using a static page: > > > > > > >> <link href="universal.css" rel="stylesheet" > type="text/css">
> > > > > > >> > > > > > > >> Images follow a similar pattern. > > > > > > >> > > > > > > >>
> > > > > > >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> > > > > > <mailto: igor.vaynberg@...>> wrote: > > > > > > >>> how are you referring to those files inside your css? > > > > > > >>> > > > > > > >>> -Igor
> > > > > > >>> > > > > > > >>> > > > > > > >>> > > > > > > >>> > > > > > > >>> On 4/27/06, Rui Pacheco <
rui.pacheco@...> > > > > > <mailto: rui.pacheco@...> > wrote: > > > > > > >>>> Hi all.
> > > > > > >>>> > > > > > > >>>> My application, as with all applications, uses > stylesheets and > > > > > > images.
> > > > > > >> Those files are stored under > > > > > > >> $TOMCAT_HOME/webapps/my_app/resources, but > when > > > > I launch my > > > > > > >> wicket application I see an error on my logs saying that
> the file > > > > > > can't be > > > > > > >> found, even though I can see it on the filesystem. > > > > > > >>>> How can I make my files appear on the application?
> > > > > > >>>> > > > > > > >>>> -- > > > > > > >>>> Cumprimentos, > > > > > > >>>>
> > > > > > >>>> Rui Pacheco > > > > > > >>> > > > > > > >> > > > > > > >> > > > > > > >> --
> > > > > > >> Cumprimentos, > > > > > > >> Rui Pacheco > > > > > > > > > > > > > > > > > > > > >
> > > > > ------------------------------------------------------- > > > > > > > Using Tomcat but need to do more? Need to support web > services, > > > > > > security?
> > > > > > > Get stuff done quickly with pre-integrated technology to > make your > > > > > > job easier > > > > > > > Download IBM WebSphere Application Server
v.1.0.1 based on > Apache > > > > > > Geronimo > > > > > > > > > > > > > > > > > >
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> > > > > > < > > > > >
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> > > > > > > > > > _______________________________________________ > > > > > > > Wicket-user mailing list
> > > > > > > Wicket-user@...> > > > > > <mailto: Wicket-user@...> > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user
-- Cumprimentos, Rui Pacheco
|

|
Re: Links to images and .css

Some parts of this message have been removed.
Learn more about Nabble's security policy.
ok so you have something like <img href="image.gif"/> in the markup of the page....what ends up in your browser? what context name is the app running under? waht is your servlet mapping? -Igor
On 4/27/06, Rui Pacheco <rui.pacheco@...> wrote:
I know you're dealing with more important things right now, but I could use a hand here. I have my images and css's at the same level as web-inf. My html is next to the classes under web-inf/classes.
How do I make my html see my images and my css's?
On 4/27/06, Eelco Hillenius <eelco.hillenius@...> wrote:
Ok.
On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote: > this is not entirely true. sharead resource urls are essentially
> bookmarkable...so that might be a problem. if we are going to do this in
1.2 > we should probably poll the users first. > > -Igor > > > > On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:
> >> > i dont see how unless a filter, security or something was mapped onto that > path > > > > > > -Igor > > > > > > > > > > On 4/27/06, Eelco Hillenius <
eelco.hillenius@...> wrote: > > > Would it break any clients if we would do that now?
> > > > > > Eelco > > > > > > On 4/27/06, Igor Vaynberg <
igor.vaynberg@...> wrote: > > > > call it /wicket-resources instead of /resources or some such
> > > > > > > > -Igor > > > >
> > > > > > > > > > > > On 4/27/06, cowwoc < cowwoc@... > wrote: > > > > > > > > > > What does it mean to namespace it in the context of Wicket?
> > > > > > > > > > Gili > > > > > > > > > > Igor Vaynberg wrote: > > > > > > there is already a plan to namespace that directory for v2, or so
> i > > > > thought. > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > On 4/27/06, *cowwoc* <
cowwoc@...> > > > > > <mailto: cowwoc@... >> wrote: > > > > > >
> > > > > > > > > > > > Personally, I dislike how Wicket prevents the use of > > > > > > "reserved paths" > > > > > > such as /resources. There should be a better way, somehow.
> > > > > > > > > > > > Why not let users bind whatever resources they want to > > > > > > /resources and > > > > > > if Wicket (or another user-call) tries binding to that same
> path you > > > > > > throw an exception? It would be up to the user to ensure he > doesn't > > > > > > produce conflicts (which I think are extremely rare in the
> first > > > > place). > > > > > > > > > > > > Anyway, just food for thought. > > > > > > > > > > > > Gili
> > > > > > > > > > > > Eelco Hillenius wrote: > > > > > > > I'm afraid /resources/ is a reserved path with Wicket. I > guess > > > > it's
> > > > > > > not the best name we choose, as it's kind of an obvious path > to > > > > use > > > > > > > for people. Maybe we should use another path, like
> > > > > > > '/wicket-shared-resources/' or something. > > > > > > > > > > > > > > Eelco > > > > > > >
> > > > > > >> > > > > > > On 4/27/06, Rui Pacheco < rui.pacheco@...> > > > > > <mailto:
rui.pacheco@...>> wrote: > > > > > > >> My problem is, the images and css files can't be found by
> the > > > > > > html pages.
> > > > > > >> I am calling them as if I was using a static page: > > > > > > >> <link href="universal.css" rel="stylesheet" > type="text/css">
> > > > > > >> > > > > > > >> Images follow a similar pattern. > > > > > > >> > > > > > > >>
> > > > > > >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> > > > > > <mailto:
igor.vaynberg@...>> wrote: > > > > > > >>> how are you referring to those files inside your css? > > > > > > >>> > > > > > > >>> -Igor
> > > > > > >>> > > > > > > >>> > > > > > > >>> > > > > > > >>> > > > > > > >>> On 4/27/06, Rui Pacheco <
rui.pacheco@...> > > > > > <mailto: rui.pacheco@...> > wrote: > > > > > > >>>> Hi all.
> > > > > > >>>> > > > > > > >>>> My application, as with all applications, uses > stylesheets and > > > > > > images.
> > > > > > >> Those files are stored under > > > > > > >> $TOMCAT_HOME/webapps/my_app/resources, but > when > > > > I launch my > > > > > > >> wicket application I see an error on my logs saying that
> the file > > > > > > can't be > > > > > > >> found, even though I can see it on the filesystem. > > > > > > >>>> How can I make my files appear on the application?
> > > > > > >>>> > > > > > > >>>> -- > > > > > > >>>> Cumprimentos, > > > > > > >>>>
> > > > > > >>>> Rui Pacheco > > > > > > >>> > > > > > > >> > > > > > > >> > > > > > > >> --
> > > > > > >> Cumprimentos, > > > > > > >> Rui Pacheco > > > > > > > > > > > > > > > > > > > > >
> > > > > ------------------------------------------------------- > > > > > > > Using Tomcat but need to do more? Need to support web > services, > > > > > > security?
> > > > > > > Get stuff done quickly with pre-integrated technology to > make your > > > > > > job easier > > > > > > > Download IBM WebSphere Application Server
v.1.0.1 based on > Apache > > > > > > Geronimo > > > > > > > > > > > > > > > > > >
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> > > > > > < > > > > >
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> > > > > > > > > > _______________________________________________ > > > > > > > Wicket-user mailing list
> > > > > > > Wicket-user@...> > > > > > <mailto:
Wicket-user@...> > > > > > > > > > > > >
https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user
-- Cumprimentos,
Rui Pacheco
|

|
Re: Links to images and .css
why is /resources bad do remember that normally it sits after the servlet name /app/resources so it is for wicket anyway. it is only a problem for people useing /* johan
On 4/27/06, Eelco Hillenius <eelco.hillenius@...> wrote:
I'm afraid /resources/ is a reserved path with Wicket. I guess it's not the best name we choose, as it's kind of an obvious path to use for people. Maybe we should use another path, like '/wicket-shared-resources/' or something.
Eelco
On 4/27/06, Rui Pacheco <rui.pacheco@...> wrote:> My problem is, the images and css files can't be found by the html pages. > I am calling them as if I was using a static page:
> <link href="universal.css" rel="stylesheet" type="text/css"> > > Images follow a similar pattern. > > > On 4/27/06, Igor Vaynberg < igor.vaynberg@...> wrote: > > > > how are you referring to those files inside your css? > > > > -Igor > > > > > > > > > > On 4/27/06, Rui Pacheco <
rui.pacheco@... > wrote: > > > > > > Hi all. > > > > > > My application, as with all applications, uses stylesheets and images.
> Those files are stored under > $TOMCAT_HOME/webapps/my_app/resources, but when I launch my > wicket application I see an error on my logs saying that the file can't be > found, even though I can see it on the filesystem.
> > > > > > How can I make my files appear on the application? > > > > > > -- > > > Cumprimentos, > > > > > > Rui Pacheco > >
> > > > > > -- > Cumprimentos, > Rui Pacheco
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user
|

|
Re: Links to images and .css

Some parts of this message have been removed.
Learn more about Nabble's security policy.
right, and with 2.0+filter refactor /* will become the preferred mapping. -Igor On 4/27/06, Johan Compagner <jcompagner@...> wrote:why is /resources bad
do remember that normally it sits after the servlet name
/app/resources
so it is for wicket anyway.
it is only a problem for people useing /*
johan
I'm afraid /resources/ is a reserved path with Wicket. I guess it's not the best name we choose, as it's kind of an obvious path to use for people. Maybe we should use another path, like '/wicket-shared-resources/' or something.
Eelco
On 4/27/06, Rui Pacheco <rui.pacheco@...> wrote:> My problem is, the images and css files can't be found by the html pages.
> I am calling them as if I was using a static page:
> <link href="universal.css" rel="stylesheet" type="text/css"> > > Images follow a similar pattern. > > > On 4/27/06, Igor Vaynberg < igor.vaynberg@...> wrote: > > > > how are you referring to those files inside your css? > > > > -Igor > > > > > > > > > > On 4/27/06, Rui Pacheco <
rui.pacheco@... > wrote: > > > > > > Hi all. > > > > > > My application, as with all applications, uses stylesheets and images.
> Those files are stored under > $TOMCAT_HOME/webapps/my_app/resources, but when I launch my > wicket application I see an error on my logs saying that the file can't be > found, even though I can see it on the filesystem.
> > > > > > How can I make my files appear on the application? > > > > > > -- > > > Cumprimentos, > > > > > > Rui Pacheco > >
> > > > > > -- > Cumprimentos, > Rui Pacheco
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user
|

|
Re: Links to images and .css

Some parts of this message have been removed.
Learn more about Nabble's security policy.
In the browser I just get the empty placeholder. The context for the application is "/". The servlet mapping is <servlet-name>Universal</servlet-name> <url-pattern>/*</url-pattern>
On my logs I can see the following error: WARNING: the resource requested by request [method = GET, protocol = HTTP/1.1, requestURL = http://websrv02:8080/universal-agc/imagens/logo_universal.gif
, contentType = null, contentLength = -1, contextPath = /universal-agc, pathInfo = /imagens/logo_universal.gif, requestURI = /universal-agc/imagens/logo_universal.gif, servletPath = , pathTranslated = /opt/tomcat/webapps/universal-agc/imagens/logo_universal.gif] was not found
The pathTranslated is correct, the images are physically there, but the webapp doesn't see them. On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:ok so you have something like
<img href="image.gif"/> in the markup of the page....what ends up in your browser? what context name is the app running under? waht is your servlet mapping?
-Igor
On 4/27/06, Rui Pacheco <rui.pacheco@...> wrote:
I know you're dealing with more important things right now, but I could use a hand here. I have my images and css's at the same level as web-inf. My html is next to the classes under web-inf/classes.
How do I make my html see my images and my css's?
On 4/27/06, Eelco Hillenius <eelco.hillenius@...> wrote:
Ok.
On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote: > this is not entirely true. sharead resource urls are essentially
> bookmarkable...so that might be a problem. if we are going to do this in
1.2 > we should probably poll the users first. > > -Igor > > > > On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:
> >> > i dont see how unless a filter, security or something was mapped onto that > path > > > > > > -Igor > > > > > > > > > > On 4/27/06, Eelco Hillenius <
eelco.hillenius@...> wrote: > > > Would it break any clients if we would do that now?
> > > > > > Eelco > > > > > > On 4/27/06, Igor Vaynberg <
igor.vaynberg@...> wrote: > > > > call it /wicket-resources instead of /resources or some such
> > > > > > > > -Igor > > > >
> > > > > > > > > > > > On 4/27/06, cowwoc < cowwoc@... > wrote: > > > > > > > > > > What does it mean to namespace it in the context of Wicket?
> > > > > > > > > > Gili > > > > > > > > > > Igor Vaynberg wrote: > > > > > > there is already a plan to namespace that directory for v2, or so
> i > > > > thought. > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > On 4/27/06, *cowwoc* <
cowwoc@...> > > > > > <mailto: cowwoc@... >> wrote: > > > > > >
> > > > > > > > > > > > Personally, I dislike how Wicket prevents the use of > > > > > > "reserved paths" > > > > > > such as /resources. There should be a better way, somehow.
> > > > > > > > > > > > Why not let users bind whatever resources they want to > > > > > > /resources and > > > > > > if Wicket (or another user-call) tries binding to that same
> path you > > > > > > throw an exception? It would be up to the user to ensure he > doesn't > > > > > > produce conflicts (which I think are extremely rare in the
> first > > > > place). > > > > > > > > > > > > Anyway, just food for thought. > > > > > > > > > > > > Gili
> > > > > > > > > > > > Eelco Hillenius wrote: > > > > > > > I'm afraid /resources/ is a reserved path with Wicket. I > guess > > > > it's
> > > > > > > not the best name we choose, as it's kind of an obvious path > to > > > > use > > > > > > > for people. Maybe we should use another path, like
> > > > > > > '/wicket-shared-resources/' or something. > > > > > > > > > > > > > > Eelco > > > > > > >
> > > > > > >> > > > > > > On 4/27/06, Rui Pacheco < rui.pacheco@...> > > > > > <mailto:
rui.pacheco@...>> wrote: > > > > > > >> My problem is, the images and css files can't be found by
> the > > > > > > html pages.
> > > > > > >> I am calling them as if I was using a static page: > > > > > > >> <link href="universal.css" rel="stylesheet" > type="text/css">
> > > > > > >> > > > > > > >> Images follow a similar pattern. > > > > > > >> > > > > > > >>
> > > > > > >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> > > > > > <mailto:
igor.vaynberg@...>> wrote: > > > > > > >>> how are you referring to those files inside your css? > > > > > > >>> > > > > > > >>> -Igor
> > > > > > >>> > > > > > > >>> > > > > > > >>> > > > > > > >>> > > > > > > >>> On 4/27/06, Rui Pacheco <
rui.pacheco@...> > > > > > <mailto: rui.pacheco@...> > wrote: > > > > > > >>>> Hi all.
> > > > > > >>>> > > > > > > >>>> My application, as with all applications, uses > stylesheets and > > > > > > images.
> > > > > > >> Those files are stored under > > > > > > >> $TOMCAT_HOME/webapps/my_app/resources, but > when > > > > I launch my > > > > > > >> wicket application I see an error on my logs saying that
> the file > > > > > > can't be > > > > > > >> found, even though I can see it on the filesystem. > > > > > > >>>> How can I make my files appear on the application?
> > > > > > >>>> > > > > > > >>>> -- > > > > > > >>>> Cumprimentos, > > > > > > >>>>
> > > > > > >>>> Rui Pacheco > > > > > > >>> > > > > > > >> > > > > > > >> > > > > > > >> --
> > > > > > >> Cumprimentos, > > > > > > >> Rui Pacheco > > > > > > > > > > > > > > > > > > > > >
> > > > > ------------------------------------------------------- > > > > > > > Using Tomcat but need to do more? Need to support web > services, > > > > > > security?
> > > > > > > Get stuff done quickly with pre-integrated technology to > make your > > > > > > job easier > > > > > > > Download IBM WebSphere Application Server
v.1.0.1 based on > Apache > > > > > > Geronimo > > > > > > > > > > > > > > > > > >
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> > > > > > < > > > > >
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> > > > > > > > > > _______________________________________________ > > > > > > > Wicket-user mailing list
> > > > > > > Wicket-user@...> > > > > > <mailto:
Wicket-user@...> > > > > > > > > > > > >
https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user
-- Cumprimentos,
Rui Pacheco
-- Cumprimentos, Rui Pacheco
|

|
Re: Links to images and .css

Some parts of this message have been removed.
Learn more about Nabble's security policy.
please make the servlet url mapping something like /app/* don't map the wicket servlet on the root. johan On 4/28/06, Rui Pacheco <
rui.pacheco@...> wrote:
In the browser I just get the empty placeholder. The context for the application is "/". The servlet mapping is <servlet-name>Universal</servlet-name> <url-pattern>/*</url-pattern>
On my logs I can see the following error: WARNING: the resource requested by request [method = GET, protocol = HTTP/1.1, requestURL =
http://websrv02:8080/universal-agc/imagens/logo_universal.gif
, contentType = null, contentLength = -1, contextPath = /universal-agc, pathInfo = /imagens/logo_universal.gif, requestURI = /universal-agc/imagens/logo_universal.gif, servletPath = , pathTranslated = /opt/tomcat/webapps/universal-agc/imagens/logo_universal.gif] was not found
The pathTranslated is correct, the images are physically there, but the webapp doesn't see them.
On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:ok so you have something like
<img href="image.gif"/> in the markup of the page....what ends up in your browser? what context name is the app running under? waht is your servlet mapping?
-Igor
On 4/27/06, Rui Pacheco <rui.pacheco@...> wrote:
I know you're dealing with more important things right now, but I could use a hand here. I have my images and css's at the same level as web-inf. My html is next to the classes under web-inf/classes.
How do I make my html see my images and my css's?
On 4/27/06, Eelco Hillenius <eelco.hillenius@...> wrote:
Ok.
On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote: > this is not entirely true. sharead resource urls are essentially
> bookmarkable...so that might be a problem. if we are going to do this in
1.2 > we should probably poll the users first. > > -Igor > > > > On 4/27/06, Igor Vaynberg <igor.vaynberg@...> wrote:
> >> > i dont see how unless a filter, security or something was mapped onto that > path > > > > > > -Igor > > > > > > > > > > On 4/27/06, Eelco Hillenius <
eelco.hillenius@...> wrote: > > > Would it break any clients if we would do that now?
> > > > > > Eelco > > > > > > On 4/27/06, Igor Vaynberg <
igor.vaynberg@...> wrote: > > > > call it /wicket-resources instead of /resources or some such
> > > > > > > > -Igor > > > >
> > > > > > > > > > > > On 4/27/06, cowwoc < cowwoc@... > wrote: > > > > > > > > > > What does it mean to namespace it in the context of Wicket?
> > > > > > > > > > Gili > > > > > > > > > > Igor Vaynberg wrote: > > > > > > there is already a plan to namespace that directory for v2, or so
> i > > > > thought. > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > On 4/27/06, *cowwoc* <
cowwoc@...> > > > > > <mailto: cowwoc@... >> wrote: > > > > > >
> > > > > > > > > > > > Personally, I dislike how Wicket prevents the use of > > > > > > "reserved paths" > > > > > > such as /resources. There should be a better way, somehow.
> > > > > > > > > > > > Why not let users bind whatever resources they want to > > > > > > /resources and > > > > > > if Wicket (or another user-call) tries binding to that same
> path you > > > > > > throw an exception? It would be up to the user to ensure he > doesn't > > > > > > produce conflicts (which I think are extremely rare in the
> first > > > > place). > > > > > > > > > > > > Anyway, just food for thought. > > > > > > > > > > > > Gili
> > > > > > > > > > > > Eelco Hillenius wrote: > > > > > > > I'm afraid /resources/ is a reserved path with Wicket. I > guess > > > > it's
> > > > > > > not the best name we choose, as it's kind of an obvious path > to > > > > use > > > > > > > for people. Maybe we should use another path, like
> > > > > > > '/wicket-shared-resources/' or something. > > > > > > > > > > > > > > Eelco > > > > > > >
> > > > > > >> > > > > > > On 4/27/06, Rui Pacheco < rui.pacheco@...> > > > > > <mailto:
rui.pacheco@...>> wrote: > > > > > > >> My problem is, the images and css files can't be found by
> the > > > > > > html pages.
> > > > > > >> I am calling them as if I was using a static page: > > > > > > >> <link href="universal.css" rel="stylesheet" > type="text/css">
> > > > > > >> > > > > > > >> Images follow a similar pattern. > > > > > > >> > > > > > > >>
> > > > > > >> On 4/27/06, Igor Vaynberg < igor.vaynberg@...> > > > > > <mailto:
igor.vaynberg@...>> wrote: > > > > > > >>> how are you referring to those files inside your css? > > > > > > >>> > > > > > > >>> -Igor
> > > > > > >>> > > > > > > >>> > > > > > > >>> > > > > > > >>> > > > > > > >>> On 4/27/06, Rui Pacheco <
rui.pacheco@...> > > > > > <mailto: rui.pacheco@...> > wrote: > > > > > > >>>> Hi all.
> > > > > > >>>> > > > > > > >>>> My application, as with all applications, uses > stylesheets and > > > > > > images.
> > > > > > >> Those files are stored under > > > > > > >> $TOMCAT_HOME/webapps/my_app/resources, but > when > > > > I launch my > > > > > > >> wicket application I see an error on my logs saying that
> the file > > > > > > can't be > > > > > > >> found, even though I can see it on the filesystem. > > > > > > >>>> How can I make my files appear on the application?
> > > > > > >>>> > > > > > > >>>> -- > > > > > > >>>> Cumprimentos, > > > > > > >>>>
> > > > > > >>>> Rui Pacheco > > > > > > >>> > > > > > > >> > > > > > > >> > > > > > > >> --
> > > > > > >> Cumprimentos, > > > > > > >> Rui Pacheco > > > > > > > > > > > > > > > > > > > > >
> > > > > ------------------------------------------------------- > > > > > > > Using Tomcat but need to do more? Need to support web > services, > > > > > > security?
> > > > > > > Get stuff done quickly with pre-integrated technology to > make your > > > > > > job easier > > > > > > > Download IBM WebSphere Application Server
v.1.0.1 based on > Apache > > > > > > Geronimo > > > > > > > > > > > > > > > > > >
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> > > > > > < > > > > >
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642> > > > > > > > > > _______________________________________________ > > > > > > > Wicket-user mailing list
> > > > > > > Wicket-user@...> > > > > > <mailto:
Wicket-user@...> > > > > > > > > > > > >
https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user
-- Cumprimentos,
Rui Pacheco
-- Cumprimentos,
Rui Pacheco
|