Your markup didn't make it and Nabble says your thread cannot be found.
On Wed, Mar 27, 2013 at 1:39 AM, grazia <[email protected]>wrote: > 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] > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
