Hi WarnerJan,

WarnerJan Veldhuis wrote:

I am having a fight with the FormTable and theSubmit that is on it. This
is the code I am using in my class that extends FormTable:

public ObjectFormTable () {
<snip>
   setupColumns();//adding FieldColumns here
   getForm().add( new Submit("save", getMessage("button_submit"), this,
"onSave"));
<snip>
}

I also have the method onSave:
public boolean onSave() {
<snip>
}


Is the onSave method declared on the ObjectFormTable or the Page? According to your ObjectFormTable declaration the onSave method should be declared on the ObjectFormTable itself. If you declare the onSave on the Page that would be one reason why your breakpoint isn't hit.

I also assume you use the FormTable internal Form and don't associate it with an external Form?

Let us know.

kind regards

bob

Reply via email to