The image in the AjaxLink does not display, anyone could help me figure this
one out ?
private static final ResourceReference DELETE = new
PackageResourceReference(SabcActionsPanel.class, "delete.png");
final AjaxLink deleteLink = new AjaxLink("delete") {
private static final long serialVersionUID = 1L;
public void onClick(AjaxRequestTarget target) {
target.appendJavaScript("alert('Going to delete!')");
}
};
deleteLink.add(new Image("deleteImg", DELETE));
deleteLink.setOutputMarkupId(true);
add(deleteLink);
in Html, I have tried:
or
<wicket:link>
</wicket:link>
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxLink-with-image-tp4657544.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]