But maybe we should build in a hook (wicket filter or application)

where people get the current browser url, the url part that should be made
relative (or absolute)
and thn let them decided what to return there

Default impl is what we do now

johan



On Fri, Mar 7, 2008 at 10:54 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:

> well, we are not going to make it backwards compatible, so saying that
> it used to work in 1.2 isnt going to help you...
>
> -igor
>
>
> On Fri, Mar 7, 2008 at 1:48 PM, Renan Camponez <[EMAIL PROTECTED]>
> wrote:
> > I know that... Thats my problem..  :)
> >
> >  On Fri, Mar 7, 2008 at 6:47 PM, Igor Vaynberg <[EMAIL PROTECTED]>
> >
> >
> > wrote:
> >
> >  > wicket 1.3 is not backwards compatible with 1.2
> >  >
> >  > -igor
> >  >
> >  >
> >  > On Fri, Mar 7, 2008 at 1:45 PM, Renan Camponez <
> [EMAIL PROTECTED]>
> >  > wrote:
> >  > > The problem is that at wicket 1.2 it works...
> >  > >  Bcs wicket 1.2 use /myapp/wicketservlet/blabla..
> >  > >
> >  > >
> >  > >  On Fri, Mar 7, 2008 at 6:39 PM, Igor Vaynberg <
> [EMAIL PROTECTED]>
> >  > >
> >  > >
> >  > > wrote:
> >  > >
> >  > >  > hrm, dont know if we support that kind of thing, or took it into
> >  > >  > consideration while testing.
> >  > >  >
> >  > >  > can you not use wicket as a filter that gets hit before your
> servlet?
> >  > >  >
> >  > >  > -igor
> >  > >  >
> >  > >  >
> >  > >  > On Fri, Mar 7, 2008 at 1:37 PM, Renan Camponez <
> >  > [EMAIL PROTECTED]>
> >  > >  > wrote:
> >  > >  > > Exacly..
> >  > >  > >
> >  > >  > >
> >  > >  > >  On Fri, Mar 7, 2008 at 6:34 PM, Igor Vaynberg <
> >  > [EMAIL PROTECTED]>
> >  > >  > >
> >  > >  > >
> >  > >  > > wrote:
> >  > >  > >
> >  > >  > >  > so a nonwicket /app/mainservlet servlet redirects to the
> wicket
> >  > >  > servlet?
> >  > >  > >  >
> >  > >  > >  > -igor
> >  > >  > >  >
> >  > >  > >  >
> >  > >  > >  > On Fri, Mar 7, 2008 at 1:05 PM, Renan Camponez <
> >  > >  > [EMAIL PROTECTED]>
> >  > >  > >  > wrote:
> >  > >  > >  > > 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]
> >  > >  > >  > >  >
> >  > >  > >  > >  >
> >  > >  > >  > >
> >  > >  > >  >
> >  > >  > >  >
> >  > ---------------------------------------------------------------------
> >  > >  > >  > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  > >  > >  > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >  > >  > >  >
> >  > >  > >  >
> >  > >  > >
> >  > >  >
> >  > >  >
> ---------------------------------------------------------------------
> >  > >  > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  > >  > For additional commands, e-mail: [EMAIL PROTECTED]
> >  > >  >
> >  > >  >
> >  > >
> >  >
> >  > ---------------------------------------------------------------------
> >  > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  > For additional commands, e-mail: [EMAIL PROTECTED]
> >  >
> >  >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to