Yeah, the output would be something like:

<a href="..." wicket:id="myLink"><span wicket:id="myLinkLabel" /></a>

off the top of my head.  You might want to tell the "label" to just
render its body, also.

On 3/14/08, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote:
>    Thanks James,
>
>    I wrote a subclass of a wicket link to archive this, but simple
>  adding a label as a child to a link seams to be a really good idea :)
>
>
>    Vitaly
>
>
>  On Fri, Mar 14, 2008 at 3:17 PM, James Carman
>  <[EMAIL PROTECTED]> wrote:
>  > Have you tried adding a label to your link?  I do this with images.  I
>  >  don't see why you wouldn't be able to do it with labels.
>  >
>  >
>  >
>  >  On 3/14/08, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote:
>  >  >    Hi experts,
>  >  >
>  >  >    Does anyone know how to create a label link in wicket? In other
>  >  >  words I need a clickable label or a link which acts as a label taking
>  >  >  its text from a model exactly like a wicket's label.
>  >  >
>  >  >    Vitaly
>  >  >
>  >  >  ---------------------------------------------------------------------
>  >  >  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]
>  >
>  >
>
>  ---------------------------------------------------------------------
>  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]

Reply via email to