Is it the latest svn version? There have been several important versioning fixes lately, i suggest you checking the latest from svn.
-Matej On 3/31/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote: > I complained the ajax modal window cannot show every time when i click the > ajax link ,after the updgading ,it can work well. but i get a new problem, I > used a modal winwo to input something, when i open the modal window first, > it's ok, > but when i open it again , it will generate the bellow error. i searched the > form ,and find someone also happen the same error. > > > final DefaultDataTable table = new DefaultDataTable(listContainer, "dataList", > columns, dataProvider, 15); > table.setOutputMarkupId(true); > > > final ModalWindow modal1 = new ModalWindow(this, "modal_add"); > > modal1.setPageMapName("modal_add-1"); > > modal1.setPageCreator(new ModalWindow.PageCreator() > { > public Page createPage() > { > return new EditFilterWordPage(getPage(), ""); > } > }); > modal1.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() > { > public void onClose(final AjaxRequestTarget target) > { > target.addComponent(table); > } > }); > modal1.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() > { > public boolean onCloseButtonClicked(final AjaxRequestTarget target) > { > target.addComponent(table); > return true; > } > }); > > new AjaxLink(this, "createRecord") { > public void onClick(AjaxRequestTarget target) { > modal1.show(target); > } > }; > > the second open generate the below errror > wicket.WicketRuntimeException: Error attaching this container for rendering: > [MarkupContainer [Component id = dataList, page = > com.sharera.adms.system.web.ListKeywordFilterPage, path = > 3:listContainer:dataList.BaseDefaultDataTable, isVisible = true, isVersioned > = true]] > at wicket.MarkupContainer.attachChildren(MarkupContainer.java:389) > at wicket.Component.attach(Component.java:2801) > at > wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:428) > at wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:330) > at > wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:114) > at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:958) > at wicket.RequestCycle.step(RequestCycle.java:1025) > at wicket.RequestCycle.steps(RequestCycle.java:1096) > at wicket.RequestCycle.request(RequestCycle.java:470) > at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:244) > at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358) > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231) > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453) > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141) > at org.mortbay.jetty.Server.handle(Server.java:303) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:721) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:509) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349) > at > org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > Caused by: java.lang.NullPointerException > at wicket.Page.componentStateChanging(Page.java:327) > at wicket.Component.addStateChange(Component.java:2573) > at wicket.MarkupContainer.removeAll(MarkupContainer.java:523) > at wicket.markup.repeater.RefreshingView.populate(RefreshingView.java:122) > at wicket.markup.repeater.RefreshingView.onAttach(RefreshingView.java:93) > at wicket.Component.attach(Component.java:2790) > at wicket.MarkupContainer.attachChildren(MarkupContainer.java:378) > ... 24 more > ------------------------------------------------------------------------- > 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