It won't work.
Why not taking the chance to apply some good practice:
http://en.wikipedia.org/wiki/Unobtrusive_JavaScript#Separation_of_behavior_from_markup?
Else, supposing you're using Mako, you could generate your body
opening tag with a Def (http://www.makotemplates.org/docs/defs.html)
in your base template, then override it as appropriate.

Cheers.

On 6 Giu, 17:45, gazza <[email protected]> wrote:
> Hiya,
>
> Normally I would place the OnLoad with the body label. However the
> body label is within my base html which get inherited and I dont wish
> to load the same method everytime.
>
> Can I put this in h.form_start?
>
> Cheers,
> Gazza

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to