I want to add an additional class to my <tr>'s so I can use JavaScript
and CSS to modify the display attributes for the tag.  Basically, I want
to take an attribute from my object ${contact.contactType} and add it as
an additional CSS class, so they will render as follows:

<tr class="even library">

</tr>

<tr class="odd socialServices">


The reason I want to do this is because I have a drop-down on the top of
my page that allows the user to filter the list based on the className -
where it hides the ones that aren't specified in the list.  I suppose I
could also go back to the server when they select from the drop-down and
filter my list that way - I just wrote the prototype to do it with CSS
and JavaScript.

Thanks,

Matt




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to