good point, just dump that javascript out in your basepage

-igor

On Thu, Sep 25, 2008 at 12:07 PM, Matej Knopp <[EMAIL PROTECTED]> wrote:
> You can do it in javascript using
> Wicket.Ajax.registerPostCallHandler(yourhandler);
>
> -Matej
>
> On Thu, Sep 25, 2008 at 9:04 PM, John Krasnay <[EMAIL PROTECTED]> wrote:
>> Hi folks,
>>
>> I'm trying to integrate the Dean Edwards IE7.js script
>> (http://dean.edwards.name/IE7/) into my Wicket app. For those that don't
>> know, IE7.js helps IE6 implement certain CSS rules that it doesn't
>> support natively (min-height, :first-child, :hover, ...)
>>
>> I've created a behavior that renders the proper header text to load
>> IE7.js. I add this behavior to my base page class and everything works
>> will until I do an AJAX operation. Any of the updated components lose
>> their IE7.js specialness.
>>
>> Apparently, there's a script, ie7-recalc.js, that implements a recalc()
>> method I can call to clean up after AJAX updates. The problem is that
>> I'd like to have this script run after *any* AJAX update to my page
>> without tweaking the AjaxRequestTarget in each of my AJAX components.
>>
>> Is there a way that my behavior, applied at page level, can hook any
>> AJAX call and inject JavaScript to call that recalc() method?
>>
>> jk
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to