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 means wicket
expects to find </div> right after <div> (skipping any raw markup),
but cannot and instead finds a <a> tag for a wicket component.
-igor
On Thu, Feb 28, 2008 at 12:53 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> 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 message: WicketMessage: close tag not found for
> tag: <div wicket:id="somePanel">
>
> Anyone any idea what I am doing wrong?
>
> Thanks!
>
> Michael
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]