You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Tim Lantry <tl...@gmail.com> on 2007/08/27 22:55:20 UTC
DataTable span tag
Is there a way to remove the span tags from the table cells in a DataTable?
Example
<td wicket:id="cells">
<span wicket:id="cell">row0_col1</span>
</td>
I tried to call visitChildren on the DataTable but I don't ever get to the
Item. I also tried to override newCellItem adding setRenderBodyOnly but to
no avail. Any help would be appreciated.
Thanks,
Tim
Re: DataTable span tag
Posted by Igor Vaynberg <ig...@gmail.com>.
you have to call setrenderbodyonly on whatever it is you add to the item
-igor
On 8/27/07, Tim Lantry <tl...@gmail.com> wrote:
>
> Is there a way to remove the span tags from the table cells in a
> DataTable?
> Example
>
> <td wicket:id="cells">
> <span wicket:id="cell">row0_col1</span>
> </td>
>
> I tried to call visitChildren on the DataTable but I don't ever get to the
> Item. I also tried to override newCellItem adding setRenderBodyOnly but
> to
> no avail. Any help would be appreciated.
>
> Thanks,
> Tim
>
Re: DataTable span tag
Posted by fero <fr...@gmail.com>.
I dont know. Why do u need to do that?
Tim Lantry wrote:
>
> Is there a way to remove the span tags from the table cells in a
> DataTable?
> Example
>
> <td wicket:id="cells">
> row0_col1
> </td>
>
> I tried to call visitChildren on the DataTable but I don't ever get to the
> Item. I also tried to override newCellItem adding setRenderBodyOnly but
> to
> no avail. Any help would be appreciated.
>
> Thanks,
> Tim
>
>
--
View this message in context: http://www.nabble.com/DataTable-span-tag-tf4338293.html#a12358819
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org