Re: Lightweight generic busy indicator

2008-11-08 Thread Martin Makundi
t this? > > > > Martin Makundi wrote: >> >> 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/G

Re: Lightweight generic busy indicator

2008-11-08 Thread fatefree
wiki.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 Se

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 though

Re: Lightweight generic busy indicator

2008-06-09 Thread Gwyn Evans
I'd have thought that either under the "AJAX" or the "View layer" topics in the Reference Library[1] page. If so, go to the 'topic' page for the one you choose ([2] or [3]) and "Add page" your own page which should then automatically appear in the lists. If you've already created a page, it's not

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
>> 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 requ

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 actu

Re: Lightweight generic busy indicator

2008-06-08 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-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 t

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-wizar

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 modificat

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: http://www.nabble.com/Re%

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 bu

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 even