No, you cannot attach a label component to the li item and then nest another
labe inside. How does your Java code look?

Thomas

On Thu, Feb 12, 2009 at 6:30 PM, Matías Tito <[email protected]> wrote:

> I need to use span tag inside a li tag, both has a label componente.
> Then I get "Expected close tag for '<li".
> <ul wicket:id="groupList">
>                    <li wicket:id="groupDescription">GRUPO
>                        <span wicket:id="qtyMembers">( #
>  Participantes)</span>
>                    </li>
>                </ul>
>
> On Thu, 2009-02-12 at 18:22 +0100, Thomas Mäder wrote:
> > You cannot nest components inside labels. What are you trying to achieve?
> >
> > Thomas
> >
> > On Thu, Feb 12, 2009 at 5:02 PM, Matías Tito <[email protected]>
> wrote:
> >
> > > How can I nested label components?
> > >
> > > WicketMessage: Expected close tag for '<li
> > > wicket:id="groupDescription">' Possible attempt to embed component(s)
> > > '<span wicket:id="qtyMembers">' in the body of this component which
> > > discards its body
> > >
> > > <html xmlns:wicket>
> > > <wicket:panel>
> > >
> > >        <h3 wicket:id="username">jphernandez</h3>
> > >
> > >        <div class="loginCnt">
> > >        <div class="nav">
> > >           <a href="#">Mi perfil</a>&nbsp;|&nbsp;
> > >           <a wicket:id="logout" href="#">Salir</a>
> > >        </div>
> > >        <div class="datos floatFix">
> > >            <wicket:link>
> > >                <img src="resources/icons/avatar_side.gif" alt=""/>
> > >            </wicket:link>
> > >            <b>#</b> Notas / <b>#</b>Debates<br/>
> > >            # puntos en este torneo<br/>
> > >            # es mi posición en el<br/>
> > >            ranking de este torneo</div>
> > >            <div class="adicional">
> > >                <a wicket:id="groupsListPage" href="#"><strong>Mis
> Grupos y
> > > Foros</strong></a>
> > >                <ul wicket:id="groupList">
> > >                    <li wicket:id="groupDescription">GRUPO
> > >                        <span wicket:id="qtyMembers">( #
> > > Participantes)</span>
> > >                    </li>
> > >                </ul>
> > >                <br />
> > >                <span wicket:id="navigator"></span>
> > >            </div>
> > >        </div>
> > > </wicket:panel>
> > > </html>
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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]
>
>


-- 
Thomas Mäder
Wicket & Eclipse Consulting
www.devotek-it.ch

Reply via email to