To avoid making multiple changes you could wrap your @Submit component into a @CustomSubmit which passes all informal parameters and add's the onClick and then overwritting the @Submit with @CustomSubmit in the .application (worked in 3.* don't know about 4.*)
Len www.len.ro On Thu, 2006-12-07 at 20:56 +0900, Fred Janon wrote: > >>It's probably more typing than my solution because of the number of > onClick handlers I'll have to add > > Not sure if you can do it in your context, but instead of calling the JS > function in all buttons onClick, you could just call it in the FORM > onSubmit...