Igor, Thanks for quick answer... My problem is a little more difficult to solve.. The problem is that I have a servlet at /app/mainservlet who handle if all requests... If i do a request to wicket Page, it redirects me to wicket servlet.. But my URL remains the same..
That means that I'm acessing for example: /app/mainservlet/getWicket1 This goes to the wicketservlet, and returns the page... With all relative images, buttons, ajaxSubmitLinks... The "onclick" method for ajaxSubmit links are ../../../../ too.. But as I am at /app/mainservlet, it goes wrong... Thats my real problem... Any ideia? On Fri, Mar 7, 2008 at 6:00 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > use ContextImage class > > also current wicket takes over contextroot/resources directory, so you > might want to use something else. > > -igor > > > On Fri, Mar 7, 2008 at 12:43 PM, Renan Camponez <[EMAIL PROTECTED]> > wrote: > > Hi.. > > I have a image.. in my HTML it is <img > > src="resources/images/ibFind.gif"/>.. After wicket, it is <img > > src="../../../../resources/images/ibFind.gif"> > > But I need to have absolute path instead of ../../../.... > > > > What should I override? What is responsible to do that replace? > > I've already tried to override the WicketFilter getRelativePath() > method, > > but it doesn't works.. > > > > Please, help! > > Thanks, > > Renan > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
