I have a few questions about subclassing Remote.Form. I want to
override onsubmit to do some validation and then call super's
onsubmit. So I derived from Remote.Form. Now the question:
* 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?
Which brings up another question: with Prototype, is it necessary to
explicitly invoke $super() in initialize to cause the superclass
initializer to be called - or is this behavior automatic? (should be
automatic I think) I tried it both ways (calling $super() in
initialize versus not calling it at all). Neither way caused my
onsubmit to bind. However failing to call $super() did seem to result
in an object that had not had Remote.Base initialize invoked
(this.options weren't set).
Guess I'm looking for Prototype best practice and then wondering
whether there is a particular problem subclassing lowpro Remote.Form.