On 3/14/08, Thomas Kappler <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 14, 2008 at 3:26 PM, James Carman
>  <[EMAIL PROTECTED]> wrote:
>  > 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.
>
>
> What do you mean with the last sentence?  I add labels to links all
>  the time and it works fine.

I didn't say you have to do it that way, I said they might want to.
Alternatively, you could use:

<a href="..." wicket:id="myLink"><wicket:message
key="myLinklabel">Default label</wicket:message></a>

if you're just spitting out a message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to