Re: WebSocket close is being called if AjaxDownloader is used

2016-11-10 Thread Martin Grigorov
Great work, Maxim! Let's move it to WicketStuff as a new module. I'd like to add -examples module with different use cases so we can see whether the iframes leak or not for example. Also I'd like to try to add events like beforeDownload/afterDownload so apps can show indicators that something is

bypass the FormComponent # validateRequired()

2016-11-10 Thread Francois Meillet
Hi, I have a main form which may contain one to multiple subforms. Subform's models have validations constraints annotations and I can't modify the models source code. (then I can’t remove the constraints annotations) Each subform has 1 button. When clicked, complete validation is done, which

Re: What else do we want to do before 8.0.0 final ?

2016-11-10 Thread Martin Grigorov
On Thu, Nov 10, 2016 at 2:47 PM, Marcel Barbosa Pinto < marcel.po...@gmail.com> wrote: > Another idea. > > Reactive programing is trending now, frameworks like Spring (v5) are > rewriting it's core using the project reactor and rxJava. Java 9 will also > add support for it. > I was just wondering

Re: What else do we want to do before 8.0.0 final ?

2016-11-10 Thread Marcel Barbosa Pinto
Another idea. Reactive programing is trending now, frameworks like Spring (v5) are rewriting it's core using the project reactor and rxJava. Java 9 will also add support for it. I was just wondering if Wicket could use reactive patterns for things like behaviours, events, components, models,

Re: What else do we want to do before 8.0.0 final ?

2016-11-10 Thread Martin Grigorov
Hi Peter, On Thu, Nov 10, 2016 at 1:44 PM, Peter Henderson < peter.hender...@starjar.com> wrote: > Hi > > > What other improvements do we need in 8.x/master before promoting it to > > > > 8.0.0 final ? > > > > A bit late. But one idea I've had in the back of my mind for a long while. > (I may

Re: What else do we want to do before 8.0.0 final ?

2016-11-10 Thread Peter Henderson
Hi > What other improvements do we need in 8.x/master before promoting it to > > 8.0.0 final ? > A bit late. But one idea I've had in the back of my mind for a long while. (I may well be barking up the wrong tree here..) Break IPageStore. Replace the simple int pageId identifier with a bit

Re: DataTable with input columns, refresh values shown in other columns

2016-11-10 Thread Sven Meier
Hi, 2) perhaps you're updating the wrong row. Delay the search for the parent until you need it: //change event txt.add(new AjaxFormComponentUpdatingBehavior("change") { private static final long serialVersionUID = 1654345477970524731L; @Override protected void

Re: DataTable with input columns, refresh values shown in other columns

2016-11-10 Thread ganea iulia
Hello, 2) Yes, the target.add(row) is on the callback from the modalWindow. 3) yes, I need to update the other values after user leaves the input, I don't want immediate changes after each character change. While in debug mode, I can see the change event being called, and the all the values set

Re: DataTable with input columns, refresh values shown in other columns

2016-11-10 Thread Sven Meier
Hi, 2) usually you would have a callback on your popup, that is called when the it closes. This would be the time to update the edited row. 3) the browser invokes the 'change' event only *after* leaving the input field. You can listen for immediate changes with Wicket's OnChangeAjaxBehavior

Re: DataTable with input columns, refresh values shown in other columns

2016-11-10 Thread ganea iulia
Hello, thank you for the help. It did solve some of the situations, but not all of them. Here is where I still face issues. In my table row, I have an input field and a icon near it. I insert text into input field and press the icon (AjaxLink component). 1. If data exists in the db for that

Re: Is there a way to substitute the application scoped cache?

2016-11-10 Thread Martin Grigorov
I think we have to put this information into the guide. There are several impls of IDataStore which could be used depending on what the application already uses or prefer to use: https://github.com/wicketstuff/core/tree/master/datastores-parent Martin Grigorov Wicket Training and Consulting