Thanks, I wound up using:
body.addAttribute( "topmargin", new Integer( 8 ).toString() ) ;
because version 1.2 of ECS wouldn't take
body.addAttribute("topmargin", 8)
// error: Can't convert int to java.lang.Object
is that new in 1.3 ?
-----Original Message-----
From: jon * [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 12:12 PM
To: ECS
Subject: Re: Body margin
on 4/10/00 8:53 AM, Crook, Charles <[EMAIL PROTECTED]> wrote:
> How would I generate:
> <body topmargin="8" leftmargin="5" >
> ?
>
> I don't see a setTopMargin( 8 ) or setMargin( "Top", 8 ) in the Body
class.
body.addAttribute("topmargin", 8)
fyi, the javadocs are here (as well as with the distribution):
<http://java.apache.org/ecs/apidocs/>
-jon
--
Scarab -
Java Servlet Based - Open Source
Bug/Issue Tracking System
<http://scarab.tigris.org/>
--
------------------------------------------------------------
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]