public void onInit() { ActionLink link = new ActionLink("link"); link.addBehaior(new DefaultAjaxBehavior() { public ActionResult onAction(Control source) { ActionResult result = new ActionResult("<h1>Hello world</h1>", ActionResult.HTML); return result; } }); }@param source the control the behavior is attached to @return the action result instance
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|