You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by sa...@women-at-work.org on 2004/11/14 10:25:36 UTC
is there a TD component ?
How can I set the background colour of a TD element
with tapestry ?
The following is NOT working:
<td bgcolor="<jwcid="@Insert" value="ognl:bgCol">">
Is there a TD component ?`
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: is there a TD component ?
Posted by Luc Peerdeman <lj...@xs4all.nl>.
Hi Sarah,
sarah.simbad@women-at-work.org wrote:
> How can I set the background colour of a TD element
> with tapestry ?
I would recommend against using bgcolor, instead use a CSS class so you
can have all style related things for a type of td (or all td's within a
certain type of table) specified in one place (this could include
images). At work I have an example of how to do this, I will try to post
the example in a followup.
Cheers, Luc.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: is there a TD component ?
Posted by Jonathan Millett <jo...@millett.net>.
Try the Any component:
<td jwcid="@Any" bgcolor="ognl:bgCol">
>How can I set the background colour of a TD element
>with tapestry ?
>
>The following is NOT working:
>
> <td bgcolor="<jwcid="@Insert" value="ognl:bgCol">">
>
>Is there a TD component ?`
>
>Thanks!
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org