I tried to use the new SubmitLink component but it doesn't seems to work
at all :(.
E.g. If I have:
--------------------------------------------------------------------------
class MySubmitPage extends BorderPage {
public Form dForm = new Form("dForm");
public MyPage(){
SubmitLink dLink = new SubmitLink("dLink","Yes delete the
object!", this, "onDeleteClick");
dLink.setParameter("toDelete", getService().getObjectId());
form.add(dLink);
}
public boolean onDeleteClick(){
System.out.println("Object delete..."); // [*]
return true;
}
}
---------------------------------------------------------------------------
in the my-submit.htm I have of course: $dForm
The link is rendered, CSSes and JSes are in the page, but no submit
takes place, i.e. the system.out statement at line [*] doesn't get
called :(.
thanks,
Joseph.