Ok you get the brucey bonus as this is exactly what I was after :D
Thanks SOOOO much
Ben
Gerolf Seitz wrote:
>
> sorry, sent the mail too fast earlier.
>
> if you want to execute a certain piece of js code after *every*
> (successful)
> ajax update,
> you can use the following js code:
> wicketGlobalPostCallHandler = function {
> alert('successful partial update');
> }
>
> as "wicket user" already said, you can also add javascript in serverside
> code
> using AjaxRequestTarget#appendJavascript or #prependJavascript.
>
> and there's still the option to use an IAjaxCallDecorator.
>
> hth,
> Gerolf
>
> On Jan 11, 2008 5:00 PM, bmarvell <[EMAIL PROTECTED]> wrote:
>
>>
>> I'd like to be able to run a piece of javascript after each wicket ajax
>> update. Is this possible without hacking the source and if so how?
>>
>> Thanks :)
>> --
>> View this message in context:
>> http://www.nabble.com/How-do-I-call-my-javascript-after-each-wicket-partial-update--tp14759508p14759508.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/How-do-I-call-my-javascript-after-each-wicket-partial-update--tp14759508p14760119.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]