This sounds like your page is living in the default pagemap where there should be a pagemap for each tab/window each with thee own instance of the page. can you confirm IPageSettings.getAutomaticMultiWindowSupport is on? If so you could take a look at WebPage$PageMapChecker and WebPage.onNewBrowserWindow to see what might be causing the auto detection to fail. HybridUrlCodingStrategy.encode and decode might also shed some light on this matter. Finally http://cwiki.apache.org/WICKET/page-maps.html hopefully contains some useful information even though i think it is for wicket 1.2
I never had much to deal with the pagemap myself but hopefully you can use the information above as a starting point in your search for a solution. Or maybe someone else can shed some more light on this. Maurice On Wed, Jun 25, 2008 at 9:34 AM, mfs <[EMAIL PROTECTED]> wrote: > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]