Re: DropDownChoice closes on target.add(...)

2014-07-22 Thread Martin Grigorov
You can use Wicket Events to accomplish that. See Component#send() and Component/Behavior #onEvent(). The timer behavior can broadcast an event and any component, behavior, session, request cycle and application can react on this event (e.g. a component can add itself to the AjaxRequestTarget). Ma

Re: DropDownChoice closes on target.add(...)

2014-07-22 Thread Rune Stilling
Hi Patrick Ok you are probably right and I have done this now. I was just “afraid" that adding too many AbstractAjaxTimerBehavior to the solution would somehow be a problem, but I guess not. Thanks, Rune Den 21/07/2014 kl. 17.33 skrev Patrick Davids : > Hi Rune, > for me it looks like the fea

Re: DropDownChoice closes on target.add(...)

2014-07-21 Thread Rune Stilling
Hi Patrick Ok you are probably right and I have done this now. I was just “afraid" that adding too many AbstractAjaxTimerBehavior to the solution would somehow be a problem, but I guess not. Thanks, Rune Den 21/07/2014 kl. 17.33 skrev Patrick Davids : > Hi Rune, > for me it looks like the fea

Re: DropDownChoice closes on target.add(...)

2014-07-21 Thread Patrick Davids
Hi Rune, for me it looks like the feature of updating parts of your UploadFormPanel by using a timer should be a behavior of your UploadFormPanel itself. Put it inside, and you have access the particular container to refresh. No need to refresh the whole panel from outside, which side-affects y

DropDownChoice closes on target.add(...)

2014-07-21 Thread Rune Stilling
Hi list I’m using the TabbedPanel component to show a couple of tabs each of them containing a form. The form among other things contains a DropDownChoice. I have also set up a AbstractAjaxTimerBehavior instance to do some updates along the way. On of the updates i the TabbedPanel, that I add t