[
https://issues.apache.org/jira/browse/WICKET-6078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fridolin Jackstadt updated WICKET-6078:
---------------------------------------
Description:
Quickstart is attached.
{code:title=HomePage.java|borderStyle=solid}
queue(new WebMarkupContainer("test"));
{code}
{code:title=HomePage.html|borderStyle=solid}
<wicket:link>
<a href="test.html">
<wicket:container wicket:id="test">test</wicket:container>
</a>
</wicket:link>
{code}
Result:
{noformat}
Caused by: org.apache.wicket.WicketRuntimeException: Detach called on component
with id '0' while it had a non-empty queue: ComponentQueue{queueSize=1,
queue=[[WebMarkupContainer [Component id = test]], null, null, null, null,
null, null, null]}
at org.apache.wicket.MarkupContainer.onDetach(MarkupContainer.java:1984)
at org.apache.wicket.Page.onDetach(Page.java:868)
at org.apache.wicket.Component.detach(Component.java:1162)
... 28 more
{noformat}
was:
Quickstart is attached.
{code:title=HomePage.java|borderStyle=solid}
queue(new WebMarkupContainer("test"));
{code}
{code:title=HomePage.html|borderStyle=solid}
<wicket:link>
<a href="test.html">
<wicket:container wicket:id="test">test</wicket:container>
</a>
</wicket:link>
{code}
> Problem with queued components and auto linking
> -----------------------------------------------
>
> Key: WICKET-6078
> URL: https://issues.apache.org/jira/browse/WICKET-6078
> Project: Wicket
> Issue Type: Bug
> Reporter: Fridolin Jackstadt
> Attachments: wicket-queuing-in-link.zip
>
>
> Quickstart is attached.
> {code:title=HomePage.java|borderStyle=solid}
> queue(new WebMarkupContainer("test"));
> {code}
> {code:title=HomePage.html|borderStyle=solid}
> <wicket:link>
> <a href="test.html">
> <wicket:container wicket:id="test">test</wicket:container>
> </a>
> </wicket:link>
> {code}
> Result:
> {noformat}
> Caused by: org.apache.wicket.WicketRuntimeException: Detach called on
> component with id '0' while it had a non-empty queue:
> ComponentQueue{queueSize=1, queue=[[WebMarkupContainer [Component id =
> test]], null, null, null, null, null, null, null]}
> at
> org.apache.wicket.MarkupContainer.onDetach(MarkupContainer.java:1984)
> at org.apache.wicket.Page.onDetach(Page.java:868)
> at org.apache.wicket.Component.detach(Component.java:1162)
> ... 28 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)