To me the problem seems to be related to the hybridUrlCoding strategy (where the same page instance is reloaded when the user tries to open up a new tab/window by doing right-click on AjaxLink) and the DataView which gets re-rendered everytime (irrespective of the urlcodingstrategy), resulting in a new instance of each items in it and similarly a new ajaxlink for each item, so with that the page-component heirarchy for that version changes, whereas the first-tab/window is still displaying the dataview-items which are not in the component-heirarchy anymore and hence the "Component Not Found on Page" exception.
Am looking for some feedback from the experts, i am in a bit of time crunch here, and have a release coming pretty soon.. Thanks in advance... mfs wrote: > > Let me add a couple of things here, > > 1) Page-Versioning has not been turned off. > 2) Using HybridURLCodingStrategy to render the page. > > Opinions please.. > > > > > mfs wrote: >> >> Hi Guys, >> >> I am facing a problem with the usage of AjaxLink within a DataView. The >> dataview is contained in a container since the DataView is updated on >> ajaxform.submit. The AjaxLink is on each Item of the DataView, which >> opens up a modal window (with a panel as the content) with further >> details of each item listed in the DV. >> >> Everything works fine, unless the user tries to open up the same Page >> (containing the above components) in another window/tab, which apparently >> results in the wicket component tree getting out of sync with the actual >> DOM, and hence clicking the ajaxlink on the first window/tab results in >> the following exception...(must be obvious but just for info, if i do a >> refresh of the same page in the first tab/window, the ajaxlink would work >> fine) >> >> org.apache.wicket.WicketRuntimeException: component >> certificateDataViewContainer:certificateList:2:certificateSummaryLink not >> found on page company.wicket.product.page.CertificateSearchPage[id = 0], >> listener interface = [RequestListenerInterface name=IBehaviorListener, >> method=public abstract void >> org.apache.wicket.behavior.IBehaviorListener.onRequest()] >> at >> org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:416) >> at >> org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:461) >> at >> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:139) >> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1246) >> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1366) >> at org.apache.wicket.RequestCycle.request(RequestCycle.java:499) >> at >> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387) >> at >> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199) >> at >> com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623) >> at >> com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) >> at >> com.evermind.server.http.HttpRequestHandler.handleNotFound(HttpRequestHandler.java:1041) >> at >> com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911) >> at >> com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) >> at >> com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) >> at >> com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) >> at >> oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) >> at >> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java >> >> >> Waiting for followup.. >> >> Thanks in advance >> >> > > -- View this message in context: http://www.nabble.com/AjaxLink-in-a-DataView-causing-issues-when-loading-multiple-instance-of-the-page-tp18099619p18106617.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]