close tag error
Posted by Jay Hogan <se...@gmail.com>.
Does wicket:message require an explicit close tag? Like this:
<wicket:message key="label.link">Replace me</wicket:message>
On Thu, Feb 28, 2008 at 4:28 PM, Michael Mehrle <mi...@ask.com>
wrote:
> 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:vonk.thijs@gmail.com]
> Sent: Thursday, February 28, 2008 12:56 PM
> To: users@wicket.apache.org
> Subject: Re: <div> close tag error
>
> Wicket:id="someModal is missing a "
>
> Michael Mehrle 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: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
============================================
Computer Science: solving today's problems tomorrow.
RE: close tag error
Posted by Michael Mehrle <mi...@ask.com>.
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:vonk.thijs@gmail.com]
Sent: Thursday, February 28, 2008 12:56 PM
To: users@wicket.apache.org
Subject: Re: <div> close tag error
Wicket:id="someModal is missing a "
Michael Mehrle 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
RE: close tag error
Posted by Maeder Thomas <th...@ecofin.ch>.
And your ids are mismatched: "someModal" != "openModal"
> -----Original Message-----
> From: Thijs [mailto:vonk.thijs@gmail.com]
> 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 <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: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: close tag error
Posted by Thijs <vo...@gmail.com>.
Wicket:id="someModal is missing a "
Michael Mehrle 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org