How to prevent a concurrent click on ajax links (AjaxFallbackLink)

2013-07-12 Thread Steamus
When I fast click in an AjaxFallbackLink in my DataTable the first click works correct but next click generates Access Denied (You do not have access to the page you requested.). And there is an exception “RequestListenerInterface.invoke(..) | behavior not enabled; ignore call.” I was trying to

RE: Problem with swapping panels using Ajax links

2013-07-12 Thread Chris Whitcomb
I like the inline editing - that's pretty nice. However, I'm not sure my users would. I swap the panels usng replaceWith: Page page = getPage(); EditPanel editPanel = new EditPanel(ReadPanel.this.getId(), selectedDocumentModel); ReadPanel.this.replaceWith(editPanel); if(target != null){

Re: How to prevent a concurrent click on ajax links (AjaxFallbackLink)

2013-07-12 Thread Sven Meier
Read here: http://stackoverflow.com/questions/11773885/customizing-indicatingajaxlink-in-wicket Sven On 07/12/2013 01:17 PM, Steamus wrote: When I fast click in an AjaxFallbackLink in my DataTable the first click works correct but next click generates Access Denied (You do not have access to

Re: WICKET-5083 and Page.isPageStateless

2013-07-12 Thread Sven Meier
So one of your components tries to access its model in #onInitialize(), which now may be called *after* #onRequestHandlerExecuted() was called. Try to move this logic into #onConfigure(). Sven On 07/12/2013 06:34 AM, Dirk Forchel wrote: We've added a TransactionRequestCycleListener (extends

[ANNOUNCE] Apache Wicket 6.9.1 released

2013-07-12 Thread Martijn Dashorst
The Apache Wicket PMC announces Apache Wicket 6.9.1! This is a patch release for 6.9.0 where we inadvertently broke CDI injection into (amongst others) anonymous inner classes. See below for more information regarding this release. Please note that this patch release **only** fixes WICKET-5264.

Re: How to prevent a concurrent click on ajax links (AjaxFallbackLink)

2013-07-12 Thread Steamus
Thank you, Sven The indicator works well, but unfortunately it doesn’t resolve the problem. If a user want to double click on some link we have crash as before. -- View this message in context:

Re: How to prevent a concurrent click on ajax links (AjaxFallbackLink)

2013-07-12 Thread Ernesto Reinaldo Barreiro
See IAjaxIndicatorAware. Use it to display a veil that protect your page. On Fri, Jul 12, 2013 at 5:03 PM, Steamus steam...@gmail.com wrote: Thank you, Sven The indicator works well, but unfortunately it doesn’t resolve the problem. If a user want to double click on some link we have crash

Re: How to prevent a concurrent click on ajax links (AjaxFallbackLink)

2013-07-12 Thread Igor Vaynberg
the easiest way to do it is to tell the ajax channel used by the link to drop requests if one is already in progress, this is called an active channel. add(new AjaxLink(..) { updateAjaxAttributes(attrs) { attrs.setChannel(new AjaxChannel(blocking, AjaxChannel.Type.ACTIVE)); } } if you

RE: Problem with swapping panels using Ajax links

2013-07-12 Thread Paul Bors
Okay but in-line editing doesn't necessary mean you need to edit a single field at a time. You could have the user hit an Edit button and toggle a bunch of components from labels to form fields and even toggle the Cancel button's visibility. As for your code snippet, don't you have to add to the

Wicket 6 Portlet in JBoss GateIn

2013-07-12 Thread heapifyman
Hello, I'm trying to get a Wicket 6 app running as a Portlet in JBoss GateIn 3.6 using the wicketstuff-portlet lib ( https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/portlet-parent ). So far I have managed to get the Wicket quickstart app running, i.e. I can display simple things

Inmethod Grid on IE9

2013-07-12 Thread Jose Mauricio Meraz Mercado
Hi, Currently on the application we are developing we are using InMethod grids, when those grids have a horizontal scroll bar there is a strange behavior that makes the div that has the contents grow when you select text or when you select a record on the grid. This behavior can be reproduced on

Wicket 1.4.7 request listener

2013-07-12 Thread Entropy
My project uses wicket 1.4.7. We need to run some standard code before and after every request (including ajax). How can I register sucha listener? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-4-7-request-listener-tp4660248.html Sent from the Users

Re: Wicket 1.4.7 request listener

2013-07-12 Thread Francois Meillet
Have a to http://apache-wicket.1842946.n4.nabble.com/Catch-the-doGet-doPost-on-every-request-and-override-it-td4652038.html François Meillet Formation Wicket - Développement Wicket Le 12 juil. 2013 à 21:03, Entropy blmulholl...@gmail.com a écrit : My project uses wicket 1.4.7. We need