Re: Issues with multiple FeedbackPanels

2015-03-26 Thread mscoon
Note sure what may be wrong unless you show more code. Some guesses: 1. You are refreshing the feedback panels in the ajax request target? I.e. in your ajax link's on click: void onClick(AjaxRequestTarget target) { ... do stuff, add message target.add(feedback1, feedback2); } 2. Neither

Re: How to handle click on removed links - WicketRuntimeException (Component 'xxx' has been removed from page)?

2015-03-26 Thread Martin Grigorov
Hi, It must have been in the component tree during the page rendering time. But later it has been removed, most probably within some Ajax operation. Perhaps in a different browser tab/window. Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrig

Re: How to handle click on removed links - WicketRuntimeException (Component 'xxx' has been removed from page)?

2015-03-26 Thread TylerDurden69
I get the same exception. The question is why the component is still visible and activated if it 'has been removed from page'? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-handle-click-on-removed-links-WicketRuntimeException-Component-xxx-has-been-removed-fr

Re: Issues with multiple FeedbackPanels

2015-03-26 Thread avchavan
Thsnk. That worked. Now have a different problem. I have an AjaxLink on its click based on some conditioned i have to show same message using feedbackMessage. if(session.getMyList().size() == 0){ myListView.getFeedbackMessages().clear();

Re: wicket abort ajax handling of multipart form when the server is stopped

2015-03-26 Thread Martin Grigorov
Note that you have to explicitly set a request timeout for the AjaxButton if you want to be notified about the error in connection. See the comments in the ticket for details. Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Mar

Re: wicket abort ajax handling of multipart form when the server is stopped

2015-03-26 Thread Yiu Wing TSANG
Yes, this is fine, thanks. On Wed, Mar 25, 2015 at 2:19 PM, Martin Grigorov wrote: > I guess it will be just before Apache Con, i.e. in two weeks. > > Can you use -SNAPSHOT until then ? > > Martin Grigorov > Freelancer, available for hire! > Wicket Training and Consulting > https://twitter.com/m

Re: AjaxRequests and middle mouse-clicks on links and buttons

2015-03-26 Thread Christoph Läubrich
IMO all kinds of "how to prevent user-action-xyz" aproaches are flawed and bad design. The "middle-mouse-button" is just one of several methods to open links in a new tab/window. E.g. in most browsers you can archive this via right-click, holding STRG or Command-Key or Plugin or... So your b

Re: AjaxRequests and middle mouse-clicks on links and buttons

2015-03-26 Thread Martin Grigorov
http://stackoverflow.com/questions/23886278/disable-middle-mouse-click You can register a global Wicket Ajax 'precondition' that stops the Ajax request when the conditions are satisfied. Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov

Re: AjaxRequests and middle mouse-clicks on links and buttons

2015-03-26 Thread Patrick Davids
Hi Martin, I missed something. We have a kind of own LinkComponent class here and someone in our team implemented an AjaxFallbackLink in the upper class hierarhcy, so currently we have a AjaxFallbackLink case here. I didnt know that. Thats the reason why I have a null AjaxRequestTarget. Sorry