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 servlet-nameUniversal/servlet-nameurl-pattern/*/url-pattern On my logs I can see the following error:WARNING: the resource requested by request [method = GET, protocol = HTTP/1.1,

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

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
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 Igor Vaynberg
so wait, in your markup you have img src="" but in the browser output you have img src="" ???-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 servlet-nameUniversal/servlet-name

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

2006-04-28 Thread Rui Pacheco
In the markup I have img src="" and in the rendered I have img src="" href="http://myhost/mysite/images/foo.gif">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

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 img src="" and in the rendered I have img src="" href="http://myhost/mysite/images/foo.gif" target="_blank" >http://myhost/mysite/images/foo.gif/ The path appears to be correct,

[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

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 see

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: link href="" rel=stylesheet type=text/css Images follow a similar pattern.On 4/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote: how are you referring to those files inside your

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] mailto:[EMAIL PROTECTED] wrote: Personally, I

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/27/06, *cowwoc*

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 context of

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 or

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 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 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 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 PROTECTED]

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]

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

2006-04-27 Thread Igor Vaynberg
okso you have something like img href="" in the markup of the pagewhat 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 [EMAIL PROTECTED] wrote: I know you're dealing with more important things right now, but I

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 best

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 /* johan