Re: Newbie question about highlighting rows
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