Thanks for the help.  What is frustrating though is that any tag that 
requires quotes gets the escaped version if it's inside a table tag.  This 
is very odd behavior and I just wanted an explaination as to what 
potentially could be causing this.  Is it a setting?  Is it a, horror of 
horrors, bug?  What?  Also, in my naivete, what does the ecs.properties 
file do?  I noticed some other .properties files in my lib directory. 
 Should this also have been placed in same directory as ecs.jar or is it 
only used in the compilation process>  And finally, if something is 
replacing the quote character where exactly would this be happening so I 
can hunt it down in the code.

I think I will move the offending code base to my Unix Apache server today 
to see if it has something to do with NT which is where it's running now. 
 I will also try the CVS version when I have time.  For right now I can't 
use tables because even the column number tag <table cols=&#34;8&#34;> gets 
munged.

Cool idea to use CSS to do the same thing though.

Michael Wilson
Software Engineer
SONY PICTURES IMAGEWORKS
9050 W. Washington Blvd. Culver City, CA  90232
phone:  (310) 840-8469
cell: (310) 463-1514
pager:  (310) 298-6316
email:  [EMAIL PROTECTED]


-----Original Message-----
From:   Adrian Swain [SMTP:[EMAIL PROTECTED]]
Sent:   Friday, January 14, 2000 1:47 AM
To:     '[EMAIL PROTECTED]'
Subject:        RE: Color Translation Problem

Another way to get alternating colours for your table row is to give your
rows class=row1, class=row2 and then use CSS and set the colors in there

eg

<HEAD>
<LINK rel=stylesheet type=text/css href="/styles/ams1.css">
</HEAD>

with this in a loop

out.println("<TR class=tr" + (row==true?1:2) + fn_call + ">");
row=!row;

entries in a .css file

tr.tr1{background-color:grey; color:blue}
tr.tr2{background-color:lightgrey; color:darkblue}  or similar



> -----Original Message-----
> From: Mike Wilson [SMTP:[EMAIL PROTECTED]]
> Sent: 13 January 2000 20:12
> To:   'ECS'
> Subject:      RE: Color Translation Problem
>
> Actually I have narrowed the problem down to anything requiring quotes
> within the table tags.  It seems that any tag modifier within a table 
gets
>
> the quote characters escape'd.  I tried to t.setFilterState(false) but it 
> still escapes my quotes.  Outside of the table I have no problems.  The
> short problem is that I would like to alternate the background color and
> the text color every other line of a table.  ECS allows me to do this but 
> it mangles my color defs because &#34;#FFFFFF&#34 translates to "#00FFFF" 
> within IE and Nav.  Very frustrating.
>
> Note in the following HTML that the table tag seems to translate any QUOT 
> character into its escape sequence but at the end of the table the font
> tag
> works again (outside of the table):
>
> <html><head><title>Demo</title></head><body><h1>Demo</h1><h3>Sub
> Header</h3><table cols=&#34;8&#34;><tr bgcolor=&#34;#000080&#34;><td><  
font
>
> color=&#34;#FFFFFF&#34;>PROJECTID</font></td><td><font
> color=&#34;#FFFFFF&#34;.... </table><font color="#0000FF">Blue
> Text</font></body></html>
>
> This is driving me crazy.  What am I missing?  FYI, I took a look at the
> ecs.properties file and filter seems to already be off.
>
> Mike
>
> -----Original Message-----
> From: jon * [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 13, 2000 11:14 AM
> To:   ECS
> Subject:      Re: Color Translation Problem
>
> on 1/13/00 9:54 AM, Mike Wilson <[EMAIL PROTECTED]> wrote:
>
> > My best guess is that something is filtering the quote character and
> > translating it to the escape sequence.  Any help would be appreciated.
>
> Turn off filtering in the ecs.properties file.
>
> -jon
>
> --
> Come to the first official Apache Software Foundation
> Conference!  <http://ApacheCon.Com/>
>
>
>
>
> --
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
>
>
> --
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]


--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to