Another possibility, if you use WOOgnl, is to add the following to
your properties file:
ognl.parseStandardTags=true
Now you can do things like
<td bgcolor="$myColorVariable">
http://wiki.objectstyle.org/confluence/display/WOL/Modern+Binding+Styles
http://wiki.objectstyle.org/confluence/display/WO/
Programming__WebObjects-Project+WONDER-Frameworks-WOOgnl
On Aug 17, 2007, at 11:11 AM, Kieran Kelleher wrote:
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%
40mac.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/mark%
40bluecollarsoftware.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]