Thanks for the follow up Maurice, so i just checked for
AutomaticMultiWindowSupport and turns out its not turn on, now what does
that signify, shouldnt it be turned out automatically ? Also just for info,
havent really changed any setting relating to the session-store and using
whatever is configured to be used by default...

Also let me add, that this problem doesnt occur if i use the
QueryStringURLCodingStrategy() (not sure about other strategies)..and thats
what i changed too, as a workaround to make it work for the time being, but
then i starting facing yet another problem with QSUCS (i.e. AjaxLink causes
an exception on clicking them once the session has expired) which i have
pointed in this thread
(http://www.nabble.com/self-refreshing-table-with-effects-to15545179.html),
and have created a JIRA issue
https://issues.apache.org/jira/browse/WICKET-1724.

Would appreciate any input...

Thanks in advance..


Mr Mean wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AjaxLink-in-a-DataView-causing-issues-when-loading-multiple-instance-of-the-page-tp18099619p18227326.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]

Reply via email to