|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
Re: Links to images and .css
by Eelco Hillenius
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message That should work though. Is that still a problem?
Eelco On 4/28/06, Johan Compagner <jcompagner@...> 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 < 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > 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 > > ------------------------------------------------------- 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
by Rui Pacheco
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Maybe some configuration issue I'm missing? On 4/28/06, Johan Compagner <jcompagner@...> wrote:
-- Cumprimentos, Rui Pacheco |
|
|
Re: Links to images and .css
by Johan Compagner
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message define the mapping as /app/* and do have in the root of youre application an index.html that does meta data refresh to /app johan
On 4/28/06, Rui Pacheco <rui.pacheco@...> wrote:
|
|
|
Re: Links to images and .css
by igor.vaynberg
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message -Igor On 4/28/06,
Rui Pacheco <rui.pacheco@...> wrote:
|
|
|
Re: Links to images and .css
by Rui Pacheco
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message <img src="images/foo.gif"/> and in the rendered I have <img src="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 <igor.vaynberg@...> wrote:
-- Cumprimentos, Rui Pacheco |
|
|
Re: Links to images and .css
by igor.vaynberg
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message -Igor On 4/28/06, Rui Pacheco <rui.pacheco@...
> wrote:
|
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |