If you use Wonder and have the appropriate parser settings, you can also do:

<td bgcolor = "$couleur">whatever</td>

or

<wo:WOGenericContainer elementName = "td" bgcolor = "$couleur">whatever</wo:WOGenericContainer>

ms

On Aug 17, 2007, at 11:11 AM, Asa Hardcastle wrote:

Hi Pascal,

something like this:

IN HTML:
<webobject name = "MyCoolTD">stuff in here</webobject>


IN WOD:

MyCoolTD: WOGenericContainer
{
        elementName = "td";
        bgcolor = couleur;
}


later,

asa




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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/a.talk% 40zenn.net

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag% 40mdimension.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to