Sven, Thanks - that's really obvious now you mention it - thanks for the heads up, and sorry for being stupid. :)
Back to the drawing board :) Cheers, Col. ________________________________________ From: Sven Meier [[email protected]] Sent: 18 December 2014 20:51 To: [email protected] Subject: Re: TableTree expand node issue Hi, after serialization/deserialization of the page, Homepage#ROOT_NODE is no longer equal to the node passed to your treeProvider's #hasChildren() - thus the expand link is no longer enabled. There are different solutions to this problem, e.g. implementing #equals and #hashcode in HomePage.Item. Let us know if you need further help on this. Regards Sven On 18.12.2014 06:35, Colin Rogers wrote: > Wicketeers, > > I don't know if this is a bug or quirk or something I'm doing wrong, but I > have an issue with hitting 'expand' nodes on a TableTree when another page > has been opened. > > It seems to occurs when you open a stateful page - our users love multiple > windows, and open tons of pages using 'open in new window' in the browser, > and then re-use previous pages. > > It triggers an Access Denied error, and the stack trace (at end of email). > > I've created a quickstart below that hopefully illustrates the issue. > > http://www.tenthart.com/wickettest2.zip > > The weird thing is, this doesn't seem to happen on your examples pages for > the same component, which suggests it's something I'm doing incorrectly. > Despite that, the quickstart uses the simplest code I can figure... > > I hope someone can help, or suggest a work-around or just shed some light on > the subject. :) > > Cheers, > Col. > > WARN - RequestListenerInterface - behavior not enabled; ignore call. > Behavior org.apache.wicket.ajax.markup.html.AjaxFallbackLink$1@69ba045 at > component [AjaxFallbackLink [Component id = junction]] > WARN - RequestCycleExtra - ******************************** > WARN - RequestCycleExtra - Handling the following exception > org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedException: > Behavior rejected interface invocation. Component: [AjaxFallbackLink > [Component id = junction]] Behavior: > org.apache.wicket.ajax.markup.html.AjaxFallbackLink$1@69ba045 Listener: > [RequestListenerInterface name=IBehaviorListener, method=public abstract void > org.apache.wicket.behavior.IBehaviorListener.onRequest()] > at > org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:237) > at > org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:250) > at > org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236) > at > org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862) > at > org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) > at > org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261) > at > org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218) > at > org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289) > at > org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259) > at > org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201) > at > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) > > EMAIL DISCLAIMER This email message and its attachments are confidential and > may also contain copyright or privileged material. If you are not the > intended recipient, you may not forward the email or disclose or use the > information contained in it. If you have received this email message in > error, please advise the sender immediately by replying to this email and > delete the message and any associated attachments. Any views, opinions, > conclusions, advice or statements expressed in this email message are those > of the individual sender and should not be relied upon as the considered > view, opinion, conclusions, advice or statement of this company except where > the sender expressly, and with authority, states them to be the considered > view, opinion, conclusions, advice or statement of this company. Every care > is taken but we recommend that you scan any attachments for viruses. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] EMAIL DISCLAIMER This email message and its attachments are confidential and may also contain copyright or privileged material. If you are not the intended recipient, you may not forward the email or disclose or use the information contained in it. If you have received this email message in error, please advise the sender immediately by replying to this email and delete the message and any associated attachments. Any views, opinions, conclusions, advice or statements expressed in this email message are those of the individual sender and should not be relied upon as the considered view, opinion, conclusions, advice or statement of this company except where the sender expressly, and with authority, states them to be the considered view, opinion, conclusions, advice or statement of this company. Every care is taken but we recommend that you scan any attachments for viruses. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
