Re: [Wicket-user] Links to images and .css

2006-04-28 Thread Igor Vaynberg
yep, i dont see how wicket is at fault here.-IgorOn 4/28/06, Rui Pacheco <[EMAIL PROTECTED] > wrote:In the markup I have and in the rendered I have http://myhost/mysite/images/foo.gif"/> The path appears to be correct, but even if I call the image directly from the browser it won't show, so I guess

Re: [Wicket-user] Links to images and .css

2006-04-28 Thread Rui Pacheco
In the markup I have and in the rendered I have http://myhost/mysite/images/foo.gif"/> The path appears to be correct, but even if I call the image directly from the browser it won't show, so I guess its something else and not an Wicket error.On 4/28/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: so

Re: [Wicket-user] Links to images and .css

2006-04-28 Thread Igor Vaynberg
so wait, in your markup you have -IgorOn 4/28/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: In the browser I just get the empty placeholder. The context for the application is "/". The servlet mapping is Universal /* On my logs I can see the following error:WARNING: the resource requested by request

Re: [Wicket-user] Links to images and .css

2006-04-28 Thread Eelco Hillenius
That should work though. Is that still a problem? Eelco On 4/28/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > 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 < [EMAIL PROTECTED]> wrote: > > > > In

Re: [Wicket-user] Links to images and .css

2006-04-28 Thread Johan Compagner
no look at the quickstart projects or other examplesdefine the mapping as /app/*and do have in the root of youre application an index.html that does meta data refresh to /appjohan On 4/28/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: I tried this, but it brings me back to the problem of the webapp not

Re: [Wicket-user] Links to images and .css

2006-04-28 Thread Rui Pacheco
I tried this, but it brings me back to the problem of the webapp not loading. IE spins for hours and my index page is not called. The only way for me to do this is to set the redirect on an index.html to "/" and set the servlet mapping to "/*". Maybe some configuration issue I'm missing?On 4/28/06,

Re: [Wicket-user] Links to images and .css

2006-04-28 Thread Johan Compagner
please make the servlet url mapping something like /app/*don't map the wicket servlet on the root.johanOn 4/28/06, Rui Pacheco < [EMAIL PROTECTED]> wrote: In the browser I just get the empty placeholder. The context for the application is "/". The servlet mapping is Universal/* On my logs I can see

Re: [Wicket-user] Links to images and .css

2006-04-28 Thread Rui Pacheco
In the browser I just get the empty placeholder. The context for the application is "/". The servlet mapping is Universal/* 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

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
right, and with 2.0+filter refactor /* will become the preferred mapping.-IgorOn 4/27/06, Johan Compagner < [EMAIL PROTECTED]> wrote:why is /resources bad do remember that normally it sits after the servlet name/app/resourcesso it is for wicket anyway.it is only a problem for people useing /* joha

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Johan Compagner
why is /resources baddo remember that normally it sits after the servlet name/app/resourcesso it is for wicket anyway.it is only a problem for people useing /* johan On 4/27/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: I'm afraid /resources/ is a reserved path with Wicket. I guess it'snot the bes

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
okso you have something like -Igor On 4/27/06, Rui Pacheco <[EMAIL PROTECTED]> 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

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Rui Pacheco
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 <[EMAIL PROTECTED]> wro

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Eelco Hillenius
Ok. On 4/27/06, Igor Vaynberg <[EMAIL PROTECTED]> 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 <[EMAIL

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
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 <[EMAIL PROTECTED]> wrote: i dont see how unless a filter, security or something was

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Martijn Dashorst
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.MartijnOn 4/27/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Oh boy. I am sorry for only replying now, but the directory isn't actually

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Rui Pacheco
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

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
i dont see how unless a filter, security or something was mapped onto that path-IgorOn 4/27/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:Would it break any clients if we would do that now? EelcoOn 4/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:> call it /wicket-resources instead of /resources o

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Eelco Hillenius
Would it break any clients if we would do that now? Eelco On 4/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > call it /wicket-resources instead of /resources or some such > > -Igor > > > > On 4/27/06, cowwoc <[EMAIL PROTECTED] > wrote: > > > > What does it mean to namespace it in the c

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
call it /wicket-resources instead of /resources or some such-IgorOn 4/27/06, cowwoc <[EMAIL PROTECTED] > wrote:What does it mean to namespace it in the context of Wicket? GiliIgor Vaynberg wrote:> there is already a plan to namespace that directory for v2, or so i thought.>> -Igor>>> On 4/2

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread cowwoc
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* < [EMAIL PROTECTED] > > wrote: > > > Person

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
there is already a plan to namespace that directory for v2, or so i thought.-IgorOn 4/27/06, cowwoc < [EMAIL PROTECTED]> 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 whate

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread cowwoc
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 exce

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Eelco Hillenius
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 <[EMAIL PROTECTED]> wrote: > My prob

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Rui Pacheco
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: Images follow a similar pattern.On 4/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: how are you referring to those files inside your css? -IgorOn 4/27/06, Rui Pacheco <[EMA

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
how are you referring to those files inside your css?-IgorOn 4/27/06, Rui Pacheco <[EMAIL PROTECTED] > 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 se

[Wicket-user] Links to images and .css

2006-04-27 Thread Rui Pacheco
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 ca