the internalAdd change should already be checked into HEAD.
best,
jon
[EMAIL PROTECTED] wrote:
I have tried the latest source from cvs and it is better but I am still having problems. I now get an internal error and the error in the log is ERROR [wicket.protocol.http.WebRequestCycle] - No component found for 0.ProductsPanel.products.0.imageProductLink.
I also added a comment and attachment to bug 1186269.
Best regards,
Paul
actually, now that i look at the code, replace checks to make sure that the child exists, so it looks like we need an internalAdd() that doesn't do either check.
Jonathan Locke wrote:
seems like undo should call replace() to avoid this check.
[EMAIL PROTECTED] wrote:
In a previous message I mentioned a problem with the back button and
the examples I should have mentioned that it was the displaytag paging and sorting examples. If you click on the last page (2) for the (paging + sorting + grouping + exporting working together example) and then click on the back button of the browser and then click next in the example you will get an exception.
Now for my real question. I have been working on a page that can
display one of a number of panels depending on what link was clicked (the links link back to the same page just the panel changes similar to the wizard message posted recently). I was controlling the panels using setVisible() from the links onClick() method and it was working ok but thought it would be better to use replace() to control the panels. Now it works until I use the back button of the browser and after that when I click on the links I get the exception shown below.
This happens with rc1 and rc2.
I am new to wicket so any advice or hints would be appreciated.
Best regards,
Paul
java.lang.IllegalArgumentException: A child with id 'ProductsPanel'
already exists:
[Page class = pe.view.Main, id = 1]
at wicket.MarkupContainer.add(MarkupContainer.java:148)
at wicket.version.undo.Remove.undo(Remove.java:41)
at wicket.version.undo.ChangeList.undo(ChangeList.java:60)
at wicket.version.undo.UndoPageVersionManager.undo(UndoPageVersionManager.java:178)
at
wicket.version.undo.UndoPageVersionManager.getVersion(UndoPageVersionManager.java:145)
at wicket.Page.getVersion(Page.java:315)
at wicket.Session.getPage(Session.java:274)
at
wicket.protocol.http.WebRequestCycle.callComponentListener(WebRequestCycle.java:217)
at
wicket.protocol.http.WebRequestCycle.parseRequest(WebRequestCycle.java:118)
at wicket.RequestCycle.request(RequestCycle.java:357)
at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:165)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
