wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: 8.0.0-M1 <wicket:link> MarkupNotFoundException
Date Mon, 17 Oct 2016 18:58:42 GMT
Hi Greg,

What is the idea behind:

com/mycompany/AboutMenu$Overview.html (a Panel) containing just:

<wicket:link>
    <p>Some Text</p>
</wicket:link>


The full HTML produced by the home page is:

<div wicket:id="menu"><wicket:panel>
<ul>
<li wicket:id="items">
<a wicket:id="link" href="./?5-1.-menu-items-0-item-link
<http://localhost:8080/?5-1.-menu-items-0-item-link>">
Overview
</a>
</li>
</ul>
<wicket:child/>


</wicket:panel></div>
<div wicket:id="content"><wicket:panel><wicket:link>
<p>Some Text</p>
</wicket:link>
</wicket:panel></div>
<wicket:child><wicket:extend>
</wicket:extend></wicket:child>


It is totally incorrect!



Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Oct 17, 2016 at 1:19 AM, Greg Johnson <greg.johnson@saltaire.com.au>
wrote:

> Hi, the example is a very basic “menu” example where on menu select main
> content is changed.
>
> From the attached quickstart …
> * run Start.java
> * localhost:8080/ - Home Page displays
> * Press browser refresh - Home Page displays
> * Press browser refresh - MarkupNotFoundException: Markup not found for
> Component: [TransparentWebMarkupContainer [Component id = wicket_link1]]
>
> if the <wicket:link> tags are removed there is no problem. Note that there
> are no links, it is just the mere presence of the <wicket:link> tags that
> seems to cause the problem.
> Perhaps the architecture is flawed, however it is not clear to me why it
> only fails on the 3rd render.
>
> Any help would be appreciated, thanks.
>
> Regards, Greg Johnson
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message