wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Vaynberg" <igor.vaynb...@gmail.com>
Subject Re: RequestCycle exception explanation
Date Tue, 01 Apr 2008 20:58:51 GMT
On Tue, Apr 1, 2008 at 1:51 PM, Al Maw <wicket@almaw.com> wrote:
> OK, but the reason is always the same - the user will be trying to click on
>  something that doesn't exist any more.
>
>  I can't quite remember how our page versioning works for this (Eelco? Igor?)
>  but it might be possible that users are clicking the same link twice and
>  that the first click removes the component they've clicked on from the
>  hierarchy, causing the second click to fail?

in theory the second click should actually unroll the version back so
the link would comeback and then get clicked again. it is possible
that this happens on stateless pages or the ones where versioning has
been explicitly turned off.

-igor


>
>  Regards,
>
>  Al
>
>
>
>  On Tue, Apr 1, 2008 at 9:44 PM, Jeremy Levy <jelevy@gmail.com> wrote:
>
>  > On this site we aren't using any Ajax components. :(
>  >
>  > J
>  >
>  > On Tue, Apr 1, 2008 at 4:39 PM, Al Maw <wicket@almaw.com> wrote:
>  >
>  > > What seems to be happening is that you're trying to click a link for a
>  > > component that no longer exists. Did you maybe remove it with AJAX or
>  > > something but not update the page? I think you sometimes can get this
>  > > issue
>  > > in a ListView if you don't think about how stuff is added and removed,
>  > and
>  > > interactions with setReuseItems(true).
>  > >
>  > > Al
>  > >
>  > > On Tue, Apr 1, 2008 at 9:12 PM, Jeremy Levy <jelevy@gmail.com> wrote:
>  > >
>  > > > I've started seeing exceptions like the onces below more frequently
>  > can
>  > > > someone explain what is actually going on?  We've been making a lot of
>  > > > changes, but I can't say exactly what may have set this off...
>  > > >
>  > > >
>  > > >
>  > > > 2008-04-01 16:07:12,514 ERROR Wap [RequestCycle] : component myLink
>  > not
>  > > > found on page com.foo.bar.SomePage [id = 459], listener interface = [R
>  > > > equestListenerInterface name=ILinkListener, method=public abstract
>  > void
>  > > > org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
>  > > > org.apache.wicket.WicketRuntimeException: component myLink not found
>  > on
>  > > > page
>  > > > com.foo.bar.SomePage [id = 459], listener interface = [RequestLis
>  > > > tenerInterface name=ILinkListener, method=public abstract void
>  > > > org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
>  > > >
>  > > >
>  > > > j
>  > > >
>  > >
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message