Re: Components/Behaviour execution order

2015-10-01 Thread Sebastien
Hi, @Patrick Yes, we had a behavior sequence order issue [1] that we just solved by calling super.onConfigure(component); at the end of #onConfigure. @Colin When I've complex cases, I am using the event bus. The key point is my magic AjaxPayload base class, so you can create

Re: Overriding wicket-ajax-jquery.js

2015-10-01 Thread avchavan
What's happening now is the custom js is being loaded first hence i am getting reference error. Is there a way that the ajax js gets loaded after wicket's jquery and event js? -- View this message in context:

RE: Cannot set select2choice component in wicket tester

2015-10-01 Thread Lois GreeneHernandez
Thank you so much. Lois -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, October 01, 2015 11:59 AM To: users@wicket.apache.org Subject: Re: Cannot set select2choice component in wicket tester Hi, Since Select2 is a JavaScript widget usually in

Re: Cannot set select2choice component in wicket tester

2015-10-01 Thread Martin Grigorov
Hi, Since Select2 is a JavaScript widget usually in WicketTester tests you just need to submit a value for it. FormTester ft = tester.newFormTester("theForm"); ft.setValue("path:to:select2Choice", "selectedOptionValue"); ft.submit(); Martin Grigorov Wicket Training and Consulting

RE: placeholder causes the BaseWicketTester#startComponentInPage to fail

2015-10-01 Thread Ephraim Rosenfeld
Hello Martin: I created the following ticket: https://issues.apache.org/jira/browse/WICKET-5989 Thank you, - Ephraim -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Wednesday, September 30, 2015 5:45 PM To: users@wicket.apache.org Subject: Re:

Wicket ListView ajax removes always removes last element in list

2015-10-01 Thread petivagyoken
Hi I posted this question on Stackoverflow, I'd like to do the same here as well now: I have a way to add panels in a listview. Each panel is associated with an Object of type Type. I have an 'add' and an some 'remove' AjaxSubmitLinks. Both have setDefaultFormProcessing(false) because I want

Re: Wicket ListView ajax removes always removes last element in list

2015-10-01 Thread Sven Meier
Hi, please show us #createComponent(). It seems to me that the item is correctly removed from the list, but your components still cling to the former item under their index. Have fun Sven On 01.10.2015 22:55, petivagyoken wrote: Hi I posted this question on Stackoverflow, I'd like to do

Re: Wicket ListView ajax removes always removes last element in list

2015-10-01 Thread Sven Meier
Show us the code. Sven On 01.10.2015 23:42, petivagyoken wrote: createComponent is an abstract method that creates a simple Panel with input fields, it has no markupid set or anything. Maybe that is the issue? -- View this message in context:

Re: Wicket ListView ajax removes always removes last element in list

2015-10-01 Thread petivagyoken
createComponent is an abstract method that creates a simple Panel with input fields, it has no markupid set or anything. Maybe that is the issue? -- View this message in context:

Re: Components/Behaviour execution order

2015-10-01 Thread Patrick Davids
Hi Col., sometimes I try to cheat by using onBeforeRender() in such cases to 'fake' an order, because its called after onConfigure(). But this has some restrictions concerning visibility issues of components. But in simple dependencies this sometimes works for me. I think somewhere in wickets