[ 
https://issues.apache.org/jira/browse/WICKET-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011606#comment-13011606
 ] 

Greg Johnson commented on WICKET-3559:
--------------------------------------

A maven quickstart demonstrating the problem is available from 
http://anekol.com/pub/wicketAutolinkBookmarkablePageLinkTest.zip

To run:

mvn jetty:run

browse to localhost:8080

choose "Simple Page", return to "Home Page" gives:
Root cause:

org.apache.wicket.markup.MarkupException: The component 
[AutolinkBookmarkablePageLink [Component id = _autolink_3]] was rendered 
already. You can render it only once during a render phase. Class relative 
path: 
org.apache.wicket.markup.resolver.AutoLinkResolver$AutolinkBookmarkablePageLink:menu:_wicket_link-2-1-2:_autolink_3
at org.apache.wicket.Page.componentRendered(Page.java:254)
at org.apache.wicket.Component.rendered(Component.java:2573)
at org.apache.wicket.Component.internalRender(Component.java:2380)
at org.apache.wicket.Component.render(Component.java:2304)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1420)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1548)
at 
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1523)

> Autolink (AutolinkBookmarkablePageLink) already rendered problem
> ----------------------------------------------------------------
>
>                 Key: WICKET-3559
>                 URL: https://issues.apache.org/jira/browse/WICKET-3559
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC2
>            Reporter: Greg Johnson
>
> Using a menu panel that includes <wicket:link> to return to a page that 
> includes a panel with a <wicket:head> element,  gives:
> The component [AutolinkBookmarkablePageLink [Component id = _autolink_X]] was 
> rendered already

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to