You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Fridolin Jackstadt (JIRA)" <ji...@apache.org> on 2016/05/10 08:36:12 UTC
[jira] [Created] (WICKET-6162) Reload leads to unexpected
RuntimeException 'Unable to find component with id'
Fridolin Jackstadt created WICKET-6162:
------------------------------------------
Summary: Reload leads to unexpected RuntimeException 'Unable to find component with id'
Key: WICKET-6162
URL: https://issues.apache.org/jira/browse/WICKET-6162
Project: Wicket
Issue Type: Bug
Affects Versions: 7.3.0
Reporter: Fridolin Jackstadt
The problem is related with component queuing in header.
Steps to reproduce:
1. render page (/)
2. do some ajax (/)
3. reload (!)
{code:title=HomePage.java|borderStyle=solid}
queue(new Label("title", "test"));
add(new AjaxLink("link") {
@Override
public void onClick(AjaxRequestTarget ajaxRequestTarget) {
ajaxRequestTarget.add(this);
}
}.setOutputMarkupId(true));
{code}
{code:title=HomePage.html|borderStyle=solid}
<head>
<title wicket:id="title">test</title>
</head>
<body>
<ol>
<li><a wicket:id="link">ajax</a></li>
<li><a href="#" onclick="location.reload();">reload</a></li>
</ol>
</body>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)