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:

    <p>Some Text</p>

The full HTML produced by the home page is:

<div wicket:id="menu"><wicket:panel>
<li wicket:id="items">
<a wicket:id="link" href="./?5-1.-menu-items-0-item-link

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

It is totally incorrect!

Martin Grigorov
Wicket Training and Consulting

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

> 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

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