On Sun, Aug 15, 2010 at 5:24 PM, <b...@actrix.gen.nz> wrote: > Hi James, > > Thank you very much for your reply. > > It didn't work because the form was submitted with <input type=image>, > and I did not add an ImageButton for it. > > Things would be a little easier if there was an overridable onClick() > method for submitting components not this "Where was I" type of back > to front logic. >
There's an onSubmit that you can override in Button. > When using an ImageButton, one is forced to store the image as > resource in the Java package structure which is another complication > because web designers want to control such images in the web > directory. > You can use other kinds of resources (that don't have to be packaged in the src directory), you can relocate your resources, or you can use a regular old Button or SubmitLink attached to a tag of your liking. -- Jeremy Thomerson http://www.wickettraining.com