Hello,

I had approxymatly the same think to do (with image in place of link /
label).
I created a custom panel handling the content of the cell, which allows more
that one element into it.

Regards

On Thu, Nov 27, 2008 at 1:50 PM, simonm <[EMAIL PROTECTED]> wrote:

>
> I am drawing a table using DataView and implement the populateItem method
> to
> add every table row item.
> One of my table cell should display a simple text OR a link OR both (e.g.
> the cell will have a text, and a link beneath – both in the same cell)
> My HTML snippet:
> <table>….
>  <tr>…
>       <td wicket:id="operation" rowspan="3">[Here should come Text &
> Link]</td>
>  <tr>…
> </table>
> My question is how can I insert those two items into one cell? AFAIK, I can
> add only one wicket:id to a table column and therefore only one Component
> is
> attached to it (in the Java code). I have tried to split the cell to two
> rows (rowspan="2") such that the above part will have the text and the
> bottom part will have the link, but then I get into undesired UI problems
> (the border is shown though it is not desirable and the partition of the
> cell is always fixed – 50-50 for rowspan=2 etc...)
> Lots of WEB search yields no result (I read Wicket in Action at a whole!) -
> still can't figure out how to do that!
>
> Any idea how can I combine those two items into one table cell ?
> !Thanks!
>
> --
> View this message in context:
> http://www.nabble.com/Label---Link-item-within-a-same-table-cell-tp20718713p20718713.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Nicolas Castin
Senior Software Developer
EURid.eu

Reply via email to