You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by dv...@newfoundmarket.com on 2008/03/05 05:34:00 UTC

attach link component to most of markups?

Hello:
I am reading the lastest wicket in action  and saw a statement 
A link component can be attached to tags other than <a>
such as spans <td> <tr>...   I was a confused as I remember
to I have to create buttons within a data table in order
to hava link function.  Is it true I could do the followin

<td wicket:id="link">Link</td>   or
<span wicket:id="link">Link</span>

add("link", new Link(.....)

Thanks

Re: attach link component to most of markups?

Posted by Igor Vaynberg <ig...@gmail.com>.
why cant you just try and see if it works...

-igor


On Tue, Mar 4, 2008 at 8:34 PM,  <dv...@newfoundmarket.com> wrote:
> Hello:
>  I am reading the lastest wicket in action  and saw a statement
>  A link component can be attached to tags other than <a>
>  such as spans <td> <tr>...   I was a confused as I remember
>  to I have to create buttons within a data table in order
>  to hava link function.  Is it true I could do the followin
>
>  <td wicket:id="link">Link</td>   or
>  <span wicket:id="link">Link</span>
>
>  add("link", new Link(.....)
>
>  Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org