Hi, Wilhelmsen!

Yes, this is pretty clear. I've got enough experience in order to know this :) 
Maybe the problem is the wicket:id, which I've named 'label'. Maybe this is 
problem, since I heard certain 'ids' cause problems, like buttons with 
id=submit, links with id=link and so on.

Thank you, anyway!

Regards, Martin

-----Original Message-----
From: Wilhelmsen Tor Iver [mailto:toriv...@arrive.no] 
Sent: Wednesday, February 03, 2010 10:05 AM
To: users@wicket.apache.org
Subject: Re: Very strange exception

> WicketMessage: The component(s) below failed to render. A common
> problem is that you have added a component in code but forgot to
> reference it in the markup (thus the component will never be rendered).

When you do

add(new Label("label", ...

in a Page, you also need something like

<span wicket:id="label">This gets replaced</span>

in your HTML template.

- Tor Iver

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to