Re: Lightweight generic busy indicator

2008-11-08 Thread fatefree
+%28for+both+Ajax+and+non-Ajax+submits%29 -- View this message in context: http://www.nabble.com/Lightweight-generic-busy-indicator-tp17710292p20399357.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Lightweight generic busy indicator

2008-11-08 Thread Martin Makundi
and non-Ajax submits) http://cwiki.apache.org/confluence/display/WICKET/Generic+Busy+Indicator+%28for+both+Ajax+and+non-Ajax+submits%29 -- View this message in context: http://www.nabble.com/Lightweight-generic-busy-indicator-tp17710292p20399357.html Sent from the Wicket - User mailing

Re: Lightweight generic busy indicator

2008-06-09 Thread Martin Makundi
Ok. So I finally figured out my javascript syntax mistake. Do not use Wicket.Ajax.registerPreCallHandler(showBusysign()) but instead without the brackets with the function: Wicket.Ajax.registerPreCallHandler(showBusysign); This snipplet is now complete and can be used with any application:

Re: Lightweight generic busy indicator

2008-06-09 Thread Nino Saturnino Martinez Vazquez Wael
Martin Makundi wrote: Ok. So I finally figured out my javascript syntax mistake. Do not use Wicket.Ajax.registerPreCallHandler(showBusysign()) but instead without the brackets with the function: Wicket.Ajax.registerPreCallHandler(showBusysign); Yes because calling it with brackets, does

Re: Lightweight generic busy indicator

2008-06-09 Thread Martin Makundi
Do you think I should add it to the WIKI? Thats a great idea, the more info the better:) I had a look at the wicket wiki: http://cwiki.apache.org/WICKET/#Index-FrameworkDocumentation Would you consider it it the right place or would you suggest a more suitable location (and would that require

Re: Lightweight generic busy indicator

2008-06-09 Thread Nino Saturnino Martinez Vazquez Wael
I think somewhere here: http://cwiki.apache.org/WICKET/faqs.html ? Martin Makundi wrote: Do you think I should add it to the WIKI? Thats a great idea, the more info the better:) I had a look at the wicket wiki: http://cwiki.apache.org/WICKET/#Index-FrameworkDocumentation Would

Re: Lightweight generic busy indicator

2008-06-09 Thread Martin Makundi
Hi! I put it into the Reference Library - Ajax as Generic Busy Indicator (for both Ajax and non-Ajax submits) http://cwiki.apache.org/confluence/display/WICKET/Generic+Busy+Indicator+%28for+both+Ajax+and+non-Ajax+submits%29 ** Martin 2008/6/9 Gwyn Evans [EMAIL PROTECTED]: I'd have thought

Re: Lightweight generic busy indicator

2008-06-08 Thread Eyal Golan
check my posts on add onClick to an AjaxButton in the users list (I couldn't get the URL for it ...) It seems that you have a similar problem. Eyal On Sat, Jun 7, 2008 at 11:41 PM, Martin Makundi [EMAIL PROTECTED] wrote: Hi! Did I misunderstand something? I am not a javascript-wizard ;) I

Re: Lightweight generic busy indicator

2008-06-08 Thread Martin Makundi
Hi! In my understanding it should (IMHO) be possible to hook all ajax calls without doing anything on the server side. I think your add onClick to an AjaxButton issue involves attaching specific javascript (from the server side) to a specific button. That's not what I need, is it? I would have to

Lightweight generic busy indicator

2008-06-07 Thread Martin Makundi
Hi! I am trying to maneuvre a lightweight gmail-style busy indicator to stay in place whenever I click an operative button. The script seems to work fine with regular submit buttons, but I have not found a proper way to reset the indicator in context with ajax buttons and links. Is there an

Re: Lightweight generic busy indicator

2008-06-07 Thread Igor Vaynberg
wicket supports global javascript event handlers for this. either search the list or look inside wicet-ajax.js, i cant recall them off the top of my head. -igor On Sat, Jun 7, 2008 at 8:59 AM, Martin Makundi [EMAIL PROTECTED] wrote: Hi! I am trying to maneuvre a lightweight gmail-style busy

Re: Lightweight generic busy indicator

2008-06-07 Thread Peter Thomas
On Sat, Jun 7, 2008 at 9:47 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: wicket supports global javascript event handlers for this. either search the list or look inside wicet-ajax.js, i cant recall them off the top of my head. They are mentioned in this thread:

Re: Lightweight generic busy indicator

2008-06-07 Thread Martin Makundi
Hi! Did I misunderstand something? I am not a javascript-wizard ;) I could make it work perfectly with non-ajax buttons and links but it does not seem to react to wicket ajax buttons. Here is the script code, pls take a look if there is a blatant bug (I assumed I do not need to make any