Mike,
It looks like you might have to call this option before the head tag. Take a look at TestBed.java if you haven't already.
html.setPrettyPrint(true);
html.addElement(head);
head.addElement(title);
html.addElement(body);
>On a unrelated note, when I resize the brouser, all my tables get
>completely screwed up. You see the html! I need to hit refresh
>in order for it to layout properly. Any clues? That's why I need to
>start looking at the html that is produced via ecs.
Are you using Netscape browser. NS has this weird feature that on resize of the browser that it must request a refresh from the server. Are you also using the OS feature of "show windows contents while dragging." The combination of the both could cause the several trips to the server. Causing several "virtual" responses to the user. Thats my guess anyway.....
Thanks,
Nicholas Neuberger
Software Developer
PaylinX Corporation
Payments for the New Economy
http://www.paylinx.com/
-----Original Message-----
From: Mike Haberman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 25, 2000 10:29 AM
To: ECS
Subject: pretty print
I need help getting my tables to print so that I can read them.
I setPrettyPrint on the top most container, but that doesn't seem
to work. Setting prettyPrint on each of the tables doesn't work
either, so I must be doing something wrong. I would be grateful
for any help.
On a unrelated note, when I resize the brouser, all my tables get
completely screwed up. You see the html! I need to hit refresh
in order for it to layout properly. Any clues? That's why I need to
start looking at the html that is produced via ecs.
thanks a ton!!!
mike
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
