are you sure you do not have anything in code that looks like this:

<img src=""/> <-- notice the empty src attribute, because this would cause
the browser to request "/" which is your homepage, so from then on ajax
requests wont work because the latest requested page wouldve been the
homepage.

-igor


On 8/17/07, Swaroop Belur <[EMAIL PROTECTED]> wrote:
>
> After some initial checks , figured that mounting the url is causing the
> problem.
>
> In this case, the querystring is coming as null BUT the pathInfo is "/"
> What would be the best way to handle it.
> I am on wicket version 1.2.4 ...
>
> Should i add a filter  to look for "/" or some other approach...
>
> Please advise
>
>
> -swaroop
>
>
>
> On 8/17/07, Swaroop Belur <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi all
> >
> > I am facing a weird problem.
> >
> > I have a page which basically is presented to the user in form of tables
> > showing information abt products at one level and then inventories in
> the
> > next level.
> > I navigate to the inventories panel by clicking on a link present in a
> > column in the first level.
> >
> > To  show the inner table i just do a panel replacement. This panel is
> > actually a row
> > in the original table hidden initially.
> >
> > All the above works fine. The problem comes up when I click on a
> checkbox
> > in the
> > inner table. Apparently when i expand to the inner table , wicket
> receives
> > a request
> > which contains path info as "/" . So wicket resolves this to My Home
> page.
> >
> >
> > So even if the user is currently viewing some different page , wicket
> now
> > pushes
> > the login page as the current latest page...Therefore when i click on
> the
> > checkbox,
> > no update happens in the ajax behavior of the checkbox because this page
> > is not the latest page according to wicket.
> >
> > Please can anyone give me a hint over here as to  why wicket might
> recieve
> > a request
> > containing pathinfo as "/"
> >
> >
> > thanks
> > swaroop belur
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
>
> Regards
> Swaroop Belur
> http://sbelur.wordpress.com/
> http://jdec.sourceforge.net/
>

Reply via email to