Hi all, I create a customized column with a Link component with an Icon, which it will popup a new page for editding after click on it, for the Wicket Datatable.
*public* IconLinkPanel( *final* Item item, *final* String componentId, * final* IModel model) {*{* *final* Link link = *new* Link("iconLink") { @Override *public* *void* onClick() { PageParameters params = *new* PageParameters(); params.put("object", theModel.getObject()); EditorPopupPage page = *new *EditorPopupPage(params ) ; setRedirect(*true*); setResponsePage(page); }; link.setPopupSettings(getPopupSettings()); Image img = *new* Image("image", getImageResourceReference()); *if* (getAltString() != *null* && !getAltString().trim().isEmpty()) { img.add(*new* SimpleAttributeModifier("alt", getAltString())); } *if* (getTitleString() != *null* && !getTitleString().trim().isEmpty()) { img.add(*new* SimpleAttributeModifier("title", getTitleString())); } link.add(img); add(link); } the Datatable itself I added AjaxSelfUpdatingTimerBehavior to refresh the table every 5 seconds. I've encountered a Intermittent internal server error whick when clicking on the link. the log shows Caused by: org.apache.wicket.WicketRuntimeException: component homePage:panel:table:rows:32:cells:14:cell:link not found on page com.apollo.fo.web.HomePage[id = 0], listener interface = [RequestListenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] at org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426) at org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471) at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144) I believe this issue is related to the datatable refreshing every 5 seconds. Is everyone have the same issue? If so, any solution for this? Your feedback are appreciated!