Well, there is no DefaultRequestTargetResolverStrategy in 1.3, as
there was a refactoring done. But even if you have problem with the
NPE, we can fix much easier than in 1.2.

As for the migration, it depends on how complex your application is.

-Matej

On 5/9/07, Alex Objelean <[EMAIL PROTECTED]> wrote:
>
> Well, it's a bad-bad news for me :(....
> As far as I know, the wicket-1.3 does not have yet stable release, is it
> correct? If so, when approximately it will be available?
>
> And another two questions:
> 1) Does the wicket-1.3 solve the
>     "java.lang.NullPointerException
>         at
> wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveListenerInterfaceTarget(DefaultRequestTargetResolverStrategy.java:295)"
> problem?
> 2) How much pain involves the process of migration from wicket-1.2.6 to
> wicket-1.3?
>
> Thank you!
>
>
>
> Matej Knopp-2 wrote:
> >
> > If you are developing ajax-heavy web application I'd certainly suggest
> > you migrating to 1.3. There are issues in 1.2 with AJAX that are
> > unfixable, because they would require API breaks, which is something
> > we can't do.
> >
> > -Matej
> >
> > On 5/9/07, Alex Objelean <[EMAIL PROTECTED]> wrote:
> >>
> >> I have the same issue and I am using wicket 1.2.6..
> >> I am also developing an ajax application (desktop like)... Is it a known
> >> issue or bug in my code?
> >>
> >> Thank you!
> >> Regards,
> >> Alex.
> >>
> >>
> >> Matej Knopp-2 wrote:
> >> >
> >> > You seem to be using 1.2, is that right?
> >> >
> >> > -Matej
> >> >
> >> > On 4/30/07, RedFury <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> Hi all,  just want to say that I've relatively new to Wicket but am
> >> >> loving
> >> >> every minute of it!  In just a few weeks of learning and programming I
> >> >> have
> >> >> been able to create a robust, javascripted, ajaxified app for our
> >> >> company.
> >> >> Great work to the devs!
> >> >>
> >> >> However, I have one problem which I'm a little unsure how to solve,
> >> its
> >> >> not
> >> >> an inherent problem with Wicket but more a problem with my ajax in
> >> >> wicket.
> >> >> I will try to go into as much detail as possible.
> >> >>
> >> >> I have a page with a set of tabs.  Each tab will replace the main body
> >> of
> >> >> the page with different components using ajax. this is all working
> >> great.
> >> >> On top of this, the main page of the app has a global timer (using
> >> >> AbstractAjaxTimerBehavior) which does any updates required for the
> >> >> current
> >> >> tab.  So lets say I have component C1 on tab T1 (T1 is a wicket panel
> >> >> which
> >> >> I replace when needed.)  The ajax update will call an update()
> >> function
> >> >> which is overloaded for the different tab types. So T1.update() will
> >> call
> >> >> target.addComponent(C1); etc..
> >> >>
> >> >> The problem I am having is in the timing between the ajax timer
> >> request
> >> >> and
> >> >> the ajax update request when the user hits a new tab.  I am getting
> >> the
> >> >> following error:
> >> >>
> >> >> java.lang.NullPointerException
> >> >>         at
> >> >>
> >> wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveListenerIn
> >> >> terfaceTarget(DefaultRequestTargetResolverStrategy.java:295)
> >> >>         at
> >> >>
> >> wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveRenderedPa
> >> >> ge(DefaultRequestTargetResolverStrategy.java:228)
> >> >>         at
> >> >>
> >> wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(DefaultRe
> >> >> questTargetResolverStrategy.java:153)
> >> >>         at
> >> >>
> >> wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(Abstract
> >> >> CompoundRequestCycleProcessor.java:48)
> >> >>         at wicket.RequestCycle.step(RequestCycle.java:992)
> >> >>         at wicket.RequestCycle.steps(RequestCycle.java:1084)
> >> >>         at wicket.RequestCycle.request(RequestCycle.java:454)
> >> >>
> >> >>
> >> >> So it seems what is happening (this is my guess) is that the ajax
> >> >> requests
> >> >> for the timer update and the new tab update are being sent almost
> >> >> simultaneously.  The first request is processed by the server and this
> >> >> actually changes the comoponents on the page. Then the second request
> >> >> comes
> >> >> in and its target behavior no longer exists because the first request
> >> >> replaced that component (panel) with something different.
> >> >>
> >> >> So I guess what I'm looking for is ideas on how to solve this problem?
> >> >> How
> >> >> does Wicket ajax work client side? Does it organize ajax
> >> request-response
> >> >> cycles one at a time, or can they be sent simultaneously?  Also, is
> >> there
> >> >> a
> >> >> way I can hoook into the client code and stop the timer update from
> >> being
> >> >> called if we've already got a pending page-change ajax request.
> >> >>
> >> >> So I've waffled a bit, in short how do I stop the second ajax request
> >> >> from
> >> >> referencing behavior that the first one just got rid of ?
> >> >>
> >> >> Thanks,
> >> >> Red Fury
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/Problem-with-concurren-ajax-requests-on-page-tf3667503.html#a10247552
> >> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> -------------------------------------------------------------------------
> >> >> This SF.net email is sponsored by DB2 Express
> >> >> Download DB2 Express C - the FREE version of DB2 express and take
> >> >> control of your XML. No limits. Just data. Click to get it now.
> >> >> http://sourceforge.net/powerbar/db2/
> >> >> _______________________________________________
> >> >> Wicket-user mailing list
> >> >> Wicket-user@lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >> >>
> >> >
> >> >
> >> -------------------------------------------------------------------------
> >> > This SF.net email is sponsored by DB2 Express
> >> > Download DB2 Express C - the FREE version of DB2 express and take
> >> > control of your XML. No limits. Just data. Click to get it now.
> >> > http://sourceforge.net/powerbar/db2/
> >> > _______________________________________________
> >> > Wicket-user mailing list
> >> > Wicket-user@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Problem-with-concurren-ajax-requests-on-page-tf3667503.html#a10392951
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> -------------------------------------------------------------------------
> >> This SF.net email is sponsored by DB2 Express
> >> Download DB2 Express C - the FREE version of DB2 express and take
> >> control of your XML. No limits. Just data. Click to get it now.
> >> http://sourceforge.net/powerbar/db2/
> >> _______________________________________________
> >> Wicket-user mailing list
> >> Wicket-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Problem-with-concurren-ajax-requests-on-page-tf3667503.html#a10393476
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to