And your ids are mismatched: someModal != openModal
-Original Message-
From: Thijs [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 28. Februar 2008 21:56
To: users@wicket.apache.org
Subject: Re: div close tag error
Wicket:id=someModal is missing a
Michael Mehrle wrote:
I have
assuming SomePanel extends Panel
you cannot embed components into panel's markup. any static markup
inside tags that the panel is attached to will be removed and replaced
by the panel's markup. if you do put a wicket:id into a markup that is
inside panel tags you will get that error. the error
I have div like this:
div wicket:id=somePanel
a wicket:id=someModal
wicket:message key=label.link /
/a
/div
My code is:
SomePanel somePanel - new SomePanel(somePanel, someModel);
..
somePanel.add(new AjaxLink(openModal) {
..
}
I keep getting an error
Oh, I just typed this as a simplified example - it's properly done in my real
code.
Any other suggestions?
-Original Message-
From: Thijs [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 28, 2008 12:56 PM
To: users@wicket.apache.org
Subject: Re: div close tag error
Wicket:id