[ 
https://issues.apache.org/jira/browse/ISIS-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15707973#comment-15707973
 ] 

Martin Grigorov commented on ISIS-1544:
---------------------------------------

One solution would be to use Wicket-Bootstrap's Ladda buttons: 
http://wb-mgrigorov.rhcloud.com/extensions#ladda. This solves the problem per 
button, i.e. it is possible to click other Ajax links/buttons.
Another solution is to veil the whole screen. At work we use jQuery's 
#ajaxStart() and #ajaxStop() to show/hide a veil for all Ajax requests, even 
ones initiated by non-Wicket widgets.

> Double clicking an OK button raises an exception
> ------------------------------------------------
>
>                 Key: ISIS-1544
>                 URL: https://issues.apache.org/jira/browse/ISIS-1544
>             Project: Isis
>          Issue Type: Bug
>          Components: Core: Viewer: Wicket
>    Affects Versions: 1.13.1
>            Reporter: Erik de Hair
>            Priority: Minor
>
> Double clicking an OK button always raises an exception:
> org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedExceptionBehavior
>  rejected interface invocation. Component: [AjaxButton [Component id = 
> okButton]] Behavior: 
> org.apache.wicket.ajax.markup.html.form.AjaxButton$1@2070e2d3 Listener: 
> [RequestListenerInterface name=IBehaviorListener, method=public abstract void 
> org.apache.wicket.behavior.IBehaviorListener.onRequest()] 
> org.apache.wicket.RequestListenerInterface#invoke(RequestListenerInterface.java:237)
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler#invokeListener(ListenerInterfaceRequestHandler.java:250)
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler#respond(ListenerInterfaceRequestHandler.java:236)
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor#respond(RequestCycle.java:890)
> org.apache.wicket.request.RequestHandlerStack#execute(RequestHandlerStack.java:64)
> org.apache.wicket.request.cycle.RequestCycle#execute(RequestCycle.java:261)
> org.apache.wicket.request.cycle.RequestCycle#processRequest(RequestCycle.java:218)
> org.apache.wicket.request.cycle.RequestCycle#processRequestAndDetach(RequestCycle.java:289)
> org.apache.wicket.protocol.http.WicketFilter#processRequestCycle(WicketFilter.java:259)
> org.apache.wicket.protocol.http.WicketFilter#processRequest(WicketFilter.java:201)
> org.apache.wicket.protocol.http.WicketFilter#doFilter(WicketFilter.java:282)
> org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:241)
> org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:208)
> org.apache.shiro.web.servlet.AbstractShiroFilter#executeChain(AbstractShiroFilter.java:449)
> org.apache.shiro.web.servlet.AbstractShiroFilter$1#call(AbstractShiroFilter.java:365)
> org.apache.shiro.subject.support.SubjectCallable#doCall(SubjectCallable.java:90)
> org.apache.shiro.subject.support.SubjectCallable#call(SubjectCallable.java:83)
> org.apache.shiro.subject.support.DelegatingSubject#execute(DelegatingSubject.java:383)
> org.apache.shiro.web.servlet.AbstractShiroFilter#doFilterInternal(AbstractShiroFilter.java:362)
> org.apache.shiro.web.servlet.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:125)
> org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:241)
> org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:208)
> org.apache.catalina.core.StandardWrapperValve#invoke(StandardWrapperValve.java:220)
> org.apache.catalina.core.StandardContextValve#invoke(StandardContextValve.java:122)
> org.apache.catalina.authenticator.AuthenticatorBase#invoke(AuthenticatorBase.java:503)
> org.apache.catalina.core.StandardHostValve#invoke(StandardHostValve.java:170)
> org.apache.catalina.valves.ErrorReportValve#invoke(ErrorReportValve.java:103)
> org.apache.catalina.valves.AccessLogValve#invoke(AccessLogValve.java:950)
> org.apache.catalina.core.StandardEngineValve#invoke(StandardEngineValve.java:116)
> org.apache.catalina.connector.CoyoteAdapter#service(CoyoteAdapter.java:421)
> org.apache.coyote.ajp.AjpProcessor#process(AjpProcessor.java:190)
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler#process(AbstractProtocol.java:611)
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor#run(JIoEndpoint.java:314)
> java.util.concurrent.ThreadPoolExecutor#runWorker(ThreadPoolExecutor.java:1142)
> java.util.concurrent.ThreadPoolExecutor$Worker#run(ThreadPoolExecutor.java:617)
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run(TaskThread.java:61)
>     java.lang.Thread#run(Thread.java:745) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to