On 7/6/07, Ed _ <[EMAIL PROTECTED]> wrote:


Now in P2.java ---

        add(new Label("Testing");
        add(new AjaxLink("AjaxtestLink")
        {
            public void onClick(AjaxRequestTarget target)
            {
               /How do you forward to the parent onClick.
            }
        });


abstract class mypanel extends panel {
 public mypanel(...) {
   add(new ajaxlink("delete") { onclick(ajaxrequesttarget t) {
mypanel.this.ondelete(t); }
 }
 protected abstract void ondelete(ajaxrequesttarget t);
}

-igor
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to