• 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: Newbie question about highlighting rows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question about highlighting rows


  • Subject: Re: Newbie question about highlighting rows
  • From: Sacha Michel Mallais <email@hidden>
  • Date: Tue, 25 Jul 2006 12:58:13 -0700

On Jul 25, 2006, at 12:48 PM, Guido Neitzer wrote:

On 25.07.2006, at 17:54 Uhr, Sacha Michel Mallais wrote:

Then, inside the repetition, modify the <tr> tag to be <tr <WEBOBJECT NAME=HighlightConditional>style="background: grey;"</ WEBOBJECT>>, where HighlightConditional is a WOConditional bound to a method that returns true only when the selected index equals the current index.

Do you really use these nested tags? I have seen that this is working, but I really don't like it (just because of aesthetics).

Yeah, it looks strange but is perfectly allowed (remember that WO tags and HTML tags are two different beasts...). One advantage of doing it this way is that you still get to see the table in Preview / Layout mode. Of course, if you're going to be using this UI paradigm in more than one or a few places, then making a reusable component is where its at...



sacha


-- Sacha Michel Mallais Rocker Global Village Consulting Inc. http://www.global-village.net/ PGP Key ID: 7D757B65 AIM: smallais I've got a fever, and the only prescription is more cowbell!


_______________________________________________ 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: Newbie question about highlighting rows
      • From: Guido Neitzer <email@hidden>
References: 
 >Newbie question about highlighting rows (From: Chip Myers <email@hidden>)
 >Re: Newbie question about highlighting rows (From: Sacha Michel Mallais <email@hidden>)
 >Re: Newbie question about highlighting rows (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Newbie question about highlighting rows
  • Next by Date: Re: Web Services - A newbie
  • Previous by thread: Re: Newbie question about highlighting rows
  • Next by thread: Re: Newbie question about highlighting rows
  • Index(es):
    • Date
    • Thread