You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Peter Henderson <pe...@starjar.com> on 2015/10/28 13:31:21 UTC

Wicket 7.1.0 breaks OnChangeAjaxBehavior on Select2

Hi fellow users.

A quick heads up.

I've just upgraded from wicket 7.0.0 to 7.1.0.

It looks like something has broken
OnChangeAjaxBehavior on Select2 form fields.

Hopefully I'll be able to build a quickstart later.




The exception for the record.

org.apache.wicket.core.request.handler.ComponentNotFoundException:
Component 'form:partFF:fg:fg_body:edit:location' has been removed from page.
    at
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:177)
    at
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:865)
    at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
    at
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
    at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
    at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
    at
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
    at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
    at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)









-- 
Peter Henderson

Director
Starjar Ltd.
www.starjar.com
0330 088 1662

Re: Wicket 7.1.0 breaks OnChangeAjaxBehavior on Select2

Posted by Maxim Solodovnik <so...@gmail.com>.
It seems we are using AjaxFormComponentUpdatingBehavior("change") in our
project and it works as expected

On Wed, Oct 28, 2015 at 6:37 PM, Peter Henderson <
peter.henderson@starjar.com> wrote:

> I've tried
>
> Wicket 7.1.0 with
> libraryDependencies += "org.wicketstuff" % "wicketstuff-select2" % "7.0.0"
> withSources() withJavadoc()
> and
> libraryDependencies += "org.wicketstuff" % "wicketstuff-select2" % "7.1.0"
> withSources() withJavadoc()
>
>
> Wicket 7.0.0 with select2 7.0.0  (which works)
>
>
> On Wed, Oct 28, 2015 at 12:34 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
> > BTW which wicket library for select2 are you using?
> >
> > On Wed, Oct 28, 2015 at 6:33 PM, Maxim Solodovnik <so...@gmail.com>
> > wrote:
> >
> > > Will try to check later today
> > > Please file ticket on the github, will try to address it ASAP
> > >
> > > On Wed, Oct 28, 2015 at 6:31 PM, Peter Henderson <
> > > peter.henderson@starjar.com> wrote:
> > >
> > >> Hi fellow users.
> > >>
> > >> A quick heads up.
> > >>
> > >> I've just upgraded from wicket 7.0.0 to 7.1.0.
> > >>
> > >> It looks like something has broken
> > >> OnChangeAjaxBehavior on Select2 form fields.
> > >>
> > >> Hopefully I'll be able to build a quickstart later.
> > >>
> > >>
> > >>
> > >>
> > >> The exception for the record.
> > >>
> > >> org.apache.wicket.core.request.handler.ComponentNotFoundException:
> > >> Component 'form:partFF:fg:fg_body:edit:location' has been removed from
> > >> page.
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:177)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:865)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> Peter Henderson
> > >>
> > >> Director
> > >> Starjar Ltd.
> > >> www.starjar.com
> > >> 0330 088 1662
> > >>
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> Peter Henderson
>
> Director
> Starjar Ltd.
> www.starjar.com
> 0330 088 1662
>



-- 
WBR
Maxim aka solomax

Re: Wicket 7.1.0 breaks OnChangeAjaxBehavior on Select2

Posted by Peter Henderson <pe...@starjar.com>.
Hi Gabriel,

Yes I think it is.

While cobbling together my quick start. I noticed my form group panel was
using a TransparentWebMarkupContainer.
Changing this to a WebMarkupContainer and my quick start works fine with
wicket 7.1.0

I've created an issued WICKET-6014
<https://issues.apache.org/jira/browse/WICKET-6014> with my quick start.


Peter.







On Wed, Oct 28, 2015 at 7:39 PM, Gabriel Landon <gl...@piti.pf> wrote:

> Maybe it is also related to the problem I'm having in 7.1.0 with wicket
> path
> and TransparentWebMarkupContainer
>
> See :
>
> http://apache-wicket.1842946.n4.nabble.com/wicket-7-1-0-change-in-wicket-path-with-TransparentWebMarkupContainer-tp4672400.html
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Wicket-7-1-0-breaks-OnChangeAjaxBehavior-on-Select2-tp4672402p4672415.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Peter Henderson

Director
Starjar Ltd.
www.starjar.com
0330 088 1662

Re: Wicket 7.1.0 breaks OnChangeAjaxBehavior on Select2

Posted by Gabriel Landon <gl...@piti.pf>.
Maybe it is also related to the problem I'm having in 7.1.0 with wicket path
and TransparentWebMarkupContainer

See :
http://apache-wicket.1842946.n4.nabble.com/wicket-7-1-0-change-in-wicket-path-with-TransparentWebMarkupContainer-tp4672400.html


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-7-1-0-breaks-OnChangeAjaxBehavior-on-Select2-tp4672402p4672415.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Wicket 7.1.0 breaks OnChangeAjaxBehavior on Select2

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

'fg:fg_body' says that there is a Border component in the hierarchy.
There were some changes in Border.java related to component queueing. Maybe
here is the problem.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Oct 28, 2015 at 2:37 PM, Peter Henderson <
peter.henderson@starjar.com> wrote:

> I've tried
>
> Wicket 7.1.0 with
> libraryDependencies += "org.wicketstuff" % "wicketstuff-select2" % "7.0.0"
> withSources() withJavadoc()
> and
> libraryDependencies += "org.wicketstuff" % "wicketstuff-select2" % "7.1.0"
> withSources() withJavadoc()
>
>
> Wicket 7.0.0 with select2 7.0.0  (which works)
>
>
> On Wed, Oct 28, 2015 at 12:34 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
> > BTW which wicket library for select2 are you using?
> >
> > On Wed, Oct 28, 2015 at 6:33 PM, Maxim Solodovnik <so...@gmail.com>
> > wrote:
> >
> > > Will try to check later today
> > > Please file ticket on the github, will try to address it ASAP
> > >
> > > On Wed, Oct 28, 2015 at 6:31 PM, Peter Henderson <
> > > peter.henderson@starjar.com> wrote:
> > >
> > >> Hi fellow users.
> > >>
> > >> A quick heads up.
> > >>
> > >> I've just upgraded from wicket 7.0.0 to 7.1.0.
> > >>
> > >> It looks like something has broken
> > >> OnChangeAjaxBehavior on Select2 form fields.
> > >>
> > >> Hopefully I'll be able to build a quickstart later.
> > >>
> > >>
> > >>
> > >>
> > >> The exception for the record.
> > >>
> > >> org.apache.wicket.core.request.handler.ComponentNotFoundException:
> > >> Component 'form:partFF:fg:fg_body:edit:location' has been removed from
> > >> page.
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:177)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:865)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
> > >>     at
> > >>
> > >>
> >
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> Peter Henderson
> > >>
> > >> Director
> > >> Starjar Ltd.
> > >> www.starjar.com
> > >> 0330 088 1662
> > >>
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> Peter Henderson
>
> Director
> Starjar Ltd.
> www.starjar.com
> 0330 088 1662
>

Re: Wicket 7.1.0 breaks OnChangeAjaxBehavior on Select2

Posted by Peter Henderson <pe...@starjar.com>.
I've tried

Wicket 7.1.0 with
libraryDependencies += "org.wicketstuff" % "wicketstuff-select2" % "7.0.0"
withSources() withJavadoc()
and
libraryDependencies += "org.wicketstuff" % "wicketstuff-select2" % "7.1.0"
withSources() withJavadoc()


Wicket 7.0.0 with select2 7.0.0  (which works)


On Wed, Oct 28, 2015 at 12:34 PM, Maxim Solodovnik <so...@gmail.com>
wrote:

> BTW which wicket library for select2 are you using?
>
> On Wed, Oct 28, 2015 at 6:33 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
> > Will try to check later today
> > Please file ticket on the github, will try to address it ASAP
> >
> > On Wed, Oct 28, 2015 at 6:31 PM, Peter Henderson <
> > peter.henderson@starjar.com> wrote:
> >
> >> Hi fellow users.
> >>
> >> A quick heads up.
> >>
> >> I've just upgraded from wicket 7.0.0 to 7.1.0.
> >>
> >> It looks like something has broken
> >> OnChangeAjaxBehavior on Select2 form fields.
> >>
> >> Hopefully I'll be able to build a quickstart later.
> >>
> >>
> >>
> >>
> >> The exception for the record.
> >>
> >> org.apache.wicket.core.request.handler.ComponentNotFoundException:
> >> Component 'form:partFF:fg:fg_body:edit:location' has been removed from
> >> page.
> >>     at
> >>
> >>
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:177)
> >>     at
> >>
> >>
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:865)
> >>     at
> >>
> >>
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
> >>     at
> >>
> >>
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
> >>     at
> >>
> >>
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
> >>     at
> >>
> >>
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
> >>     at
> >>
> >>
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> >>     at
> >>
> >>
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
> >>     at
> >>
> >>
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Peter Henderson
> >>
> >> Director
> >> Starjar Ltd.
> >> www.starjar.com
> >> 0330 088 1662
> >>
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Peter Henderson

Director
Starjar Ltd.
www.starjar.com
0330 088 1662

Re: Wicket 7.1.0 breaks OnChangeAjaxBehavior on Select2

Posted by Maxim Solodovnik <so...@gmail.com>.
BTW which wicket library for select2 are you using?

On Wed, Oct 28, 2015 at 6:33 PM, Maxim Solodovnik <so...@gmail.com>
wrote:

> Will try to check later today
> Please file ticket on the github, will try to address it ASAP
>
> On Wed, Oct 28, 2015 at 6:31 PM, Peter Henderson <
> peter.henderson@starjar.com> wrote:
>
>> Hi fellow users.
>>
>> A quick heads up.
>>
>> I've just upgraded from wicket 7.0.0 to 7.1.0.
>>
>> It looks like something has broken
>> OnChangeAjaxBehavior on Select2 form fields.
>>
>> Hopefully I'll be able to build a quickstart later.
>>
>>
>>
>>
>> The exception for the record.
>>
>> org.apache.wicket.core.request.handler.ComponentNotFoundException:
>> Component 'form:partFF:fg:fg_body:edit:location' has been removed from
>> page.
>>     at
>>
>> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:177)
>>     at
>>
>> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:865)
>>     at
>>
>> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>>     at
>>
>> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
>>     at
>>
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
>>     at
>>
>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
>>     at
>>
>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>     at
>>
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
>>     at
>>
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Peter Henderson
>>
>> Director
>> Starjar Ltd.
>> www.starjar.com
>> 0330 088 1662
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: Wicket 7.1.0 breaks OnChangeAjaxBehavior on Select2

Posted by Maxim Solodovnik <so...@gmail.com>.
Will try to check later today
Please file ticket on the github, will try to address it ASAP

On Wed, Oct 28, 2015 at 6:31 PM, Peter Henderson <
peter.henderson@starjar.com> wrote:

> Hi fellow users.
>
> A quick heads up.
>
> I've just upgraded from wicket 7.0.0 to 7.1.0.
>
> It looks like something has broken
> OnChangeAjaxBehavior on Select2 form fields.
>
> Hopefully I'll be able to build a quickstart later.
>
>
>
>
> The exception for the record.
>
> org.apache.wicket.core.request.handler.ComponentNotFoundException:
> Component 'form:partFF:fg:fg_body:edit:location' has been removed from
> page.
>     at
>
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:177)
>     at
>
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:865)
>     at
>
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>     at
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
>     at
>
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
>     at
>
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
>     at
>
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>     at
>
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
>     at
>
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
>
>
>
>
>
>
>
>
>
> --
> Peter Henderson
>
> Director
> Starjar Ltd.
> www.starjar.com
> 0330 088 1662
>



-- 
WBR
Maxim aka solomax

Re: Wicket 7.1.0 breaks OnChangeAjaxBehavior on Select2

Posted by andrea del bene <an...@gmail.com>.
Could you create a quickstart reproducing the problem and create a Jira 
issue? Thank you.

On 28/10/2015 13:31, Peter Henderson wrote:
> Hi fellow users.
>
> A quick heads up.
>
> I've just upgraded from wicket 7.0.0 to 7.1.0.
>
> It looks like something has broken
> OnChangeAjaxBehavior on Select2 form fields.
>
> Hopefully I'll be able to build a quickstart later.
>
>
>
>
> The exception for the record.
>
> org.apache.wicket.core.request.handler.ComponentNotFoundException:
> Component 'form:partFF:fg:fg_body:edit:location' has been removed from page.
>      at
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:177)
>      at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:865)
>      at
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>      at
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
>      at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
>      at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
>      at
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>      at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
>
>
>
>
>
>
>
>
>


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