Google Groups Home
Help | Sign in
Message from discussion Subclassing Remote.Form
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Dan Webb  
View profile
 More options 15 May, 14:41
From: "Dan Webb" <d...@danwebb.net>
Date: Thu, 15 May 2008 14:41:10 +0100
Local: Thurs 15 May 2008 14:41
Subject: Re: Subclassing Remote.Form

> * when I overrode onsubmit it wasn't getting called - only super's
> onsubmit was called. Can I override onXX methods and expect them to
> bind properly?

Yes, you should.  I regularly override onsubmit on Remote.Form.  I'll
set up a few tests to see whats going on.

> Which brings up another question: with Prototype, is it necessary to
> explicitly invoke $super() in initialize to cause the superclass
> initializer to be called

No, its not automatic.  You need to invoke $super if you want to do that.


--
Dan Webb
http://www.danwebb.net

aim: danwrong123
skype: danwrong


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google