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.
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 best
Yes, this is fine, thanks.
On Wed, Mar 25, 2015 at 2:19 PM, Martin Grigorov mgrigo...@apache.org
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
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,
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();
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:
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