• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using WO components inside HTML tags
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Using WO components inside HTML tags
      • From: Steven Mark McCraw <email@hidden>
References: 
 >Using WO components inside HTML tags (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: Using WO components inside HTML tags
  • Next by Date: Re: How do I get EO's instantiated with dynamic class?
  • Previous by thread: Re: Using WO components inside HTML tags
  • Next by thread: Re: Using WO components inside HTML tags
  • Index(es):
    • Date
    • Thread