Anyway, there were couple of fixes concerning partial refresh of tree, you might consider trying a current snapshot of 1.2.
-Matej Marc-Andre Houle wrote: > The click is made on an object of the ajax tree and it is an ajax call. > > Setting versionning to false work, only if it is set to the page. > > I'll try to make a reproductible page containing the problem. Another > question I may ask about refresh is : What is happening during a > refresh. Somthing I want to do right now is to be able to refresh the > ajax tree when there is a new element added using the refresh button. > But it always display the old element if I press refresh, it will only > put new element when I completly update the page. > > So, is it possible to refresh some of the part of the interface before > making the display during a refresh? > > Thanks. > > Marc > > On 10/10/06, * Marc-Andre Houle* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I'll have to make some test but it seem's a good path to follow, > I'll check for that... > > thanks. > > Marc > > > On 10/6/06, *Johan Compagner* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > that click on an item is an ajax request? > That shouldnt make a page version as far as i know > If you have a simple example please make a bug report . > > you should call: page.setVersioned(false) > if you don't want that page to be versioned. > Or better if you disable versioning on the tree > (tree.setVersioned(false)) does the error then occur? > > johan > > > > On 10/3/06, *Marc-Andre Houle * <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > It seem's that I have a problem in my application similar to > those one : > > http://www.nabble.com/AjaxTabbedPanel-is-broken-%28wicket-1.2.2%29-tf2176204.html#a6016987 > > <http://www.nabble.com/AjaxTabbedPanel-is-broken-%28wicket-1.2.2%29-tf2176204.html#a6016987> > > https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1549248&group_id=119783 > > <https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1549248&group_id=119783> > > My problem look like this : > I open a page and load an Ajax Tree. I click on one item, I > hit F5, I click on the same item, and I do another F5 and > boom. The exemple doesn't seem's to have this problem. > > This is the error : > > Root cause: > > java.lang.IllegalStateException: Cannot remove > [MarkupContainer [Component id = 0, page = <No Page>, path = > 0.Loop$LoopItem]] from null parent! > at wicket.Component.remove > > > (Component.java:1475) > at wicket.version.undo.Add.undo(Add.java:81) > at wicket.version.undo.ChangeList.undo(ChangeList.java:93) > at > > wicket.version.undo.UndoPageVersionManager.undo(UndoPageVersionManager.java > > > > :217) > at > > wicket.version.undo.UndoPageVersionManager.getVersion(UndoPageVersionManager.java:167) > at wicket.Page.getVersion(Page.java:586) > at wicket.PageMap.get(PageMap.java:461) > at wicket.Session.getPage > > > (Session.java:418) > at > > wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveRenderedPage(DefaultRequestTargetResolverStrategy.java:215) > at > > wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve > > > > (DefaultRequestTargetResolverStrategy.java:152) > at > > wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48) > at wicket.RequestCycle.step (RequestCycle.java > > > :948) > at wicket.RequestCycle.steps(RequestCycle.java:1040) > at wicket.RequestCycle.request(RequestCycle.java:454) > at > wicket.protocol.http.WicketServlet.doGet(WicketServlet.java > :216) > at > javax.servlet.http.HttpServlet.service > > (HttpServlet.java:697) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilterChain.java > :252) > at org.apache.catalina.core.ApplicationFilterChain.doFilter > > (ApplicationFilterChain.java:173) > at > com.interfacing.epc.util.hibernate.HibernateSessionFilter.doFilter > (HibernateSessionFilter.java:78) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilterChain.java > :202) > at org.apache.catalina.core.ApplicationFilterChain.doFilter > (ApplicationFilterChain.java:173) > at > > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java > :81) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilterChain.java:202) > at org.apache.catalina.core.ApplicationFilterChain.doFilter > (ApplicationFilterChain.java:173) > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java > :213) > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke > > (CustomPrincipalValve.java:39) > at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke > (SecurityAssociationValve.java:159) > at > > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java > > > :59) > at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at org.apache.catalina.core.StandardEngineValve.invoke > > (StandardEngineValve.java:107) > at org.apache.catalina.connector.CoyoteAdapter.service > (CoyoteAdapter.java:148) > at > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) > at > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection > (Http11Protocol.java > :744) > at > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run > (MasterSlaveWorkerThread.java:112) > > at java.lang.Thread.run > (Thread.java:595) > > > I would like to know if the bug have been adressed. In the > first link, the person say something like disactivating page > versionning. So to make a test, I have tried make this in > application > getPageSettings ().setMaxPageVersions (0); > And then, redone the test. My problem with this is that it > does not crash, but it take me to the "Page expired" page.. > > So here are the real question : > 1-Is it really a valid solution to disable page > versionning? What are the implication. I have checked and I > haven't found any documentation on page versionning. > 2 - Am I disabling page versionning in the correct way? > 3 - Is this a bug of my application? > > Thanks in advance. > > Marc > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys -- > and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user > <https://lists.sourceforge.net/lists/listinfo/wicket-user> > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance > to share your > opinions on IT & business topics through brief surveys -- and > earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user