Re: Using WO components inside HTML tags
Re: Using WO components inside HTML tags
- Subject: Re: Using WO components inside HTML tags
- From: Kieran Kelleher <email@hidden>
- Date: Fri, 17 Aug 2007 11:11:15 -0400
Use WOGenericContainer of type "td" and then add a bgcolor binding to
it. That is the "preferred way" AFAIK to avoid tag within a tag.
This, I believe, is the primary "raison d'ĂȘtre" for WOGenericElement
and WOGenericContainer.
HTH, Kieran
On Aug 17, 2007, at 10:58 AM, Pascal Robert wrote:
Ok, I know it's a basic question, but what's the best way to
include a WO component (in that case, a WOString) inside a HTML
page ? I need to change the background color of a <td> with the
value of a WOString, something like this :
<td bgcolor=<webobject name = "Couleur"></webobject></td>
I know it's bad pratice, so what's the fix ?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden