Bugs item #1511595, was opened at 2006-06-23 16:55 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1511595&group_id=119783
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: 1.2 Status: Open Resolution: None Priority: 5 Submitted By: Joseph Toth (weazelb0y) Assigned to: Nobody/Anonymous (nobody) Summary: ResourceLink.onClick is not being called Initial Comment: ResourceLink.onClick is not being called. Add the following to wicket.examples.linkomatic.Home to reproduce. DynamicWebResource pdfResource = new DynamicWebResource() { @Override protected void setHeaders(WebResponse response) { response.setAttachmentHeader("byte-0.txt"); } @Override protected ResourceState getResourceState() { return new ResourceState() { @Override public String getContentType() { return "text/html"; } @Override public byte[] getData() { return new byte[] { 0 }; } }; } }; ResourceLink link = new ResourceLink("resourceLink", pdfResource) { @Override public void onClick() { System.out.println("RESOURCE CLICKED!"); } }; add(link); // Add following in Home.html <a wicket:id="resourceLink">resource link</a> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1511595&group_id=119783 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop