[Kss-devel] Loading HTML code outside the normal flow
Hedley Roos
hedley at upfrontsystems.co.za
Mon Sep 15 12:29:00 CEST 2008
I should clarify.
I do not know if there is an action which I can call server side to fire
a load event for forms. Maybe there is one - Balazs will know.
The javascript code I supplied must be made available in a kss action
plugin. You call that plugin server side after you've done replaceHTML
to load the form into the DOM.
H
Hedley Roos wrote:
> I've been struggling with this as well, but I do have a workaround. Here
> is an example to fix the schemata tabs on dynamic form loading.
>
> The presumably correct way which does not work
> ----------------------------------------------
> jq('form').each(function(i,o){
> var binderinfo =
> kukit.engine.binderInfoRegistry.getSingletonBinderInfoByName(null, 'load');
> binderinfo.getBinder().continueEvent('load', o);
> });
>
> Workaround for tabbing
> ----------------------
> jq('form').each(ploneFormTabbing.initializeForm);
>
> The jquery selectors will probably be different for you.
>
> Hedley
>
>
More information about the Kss-devel
mailing list