Sorry about that.  I figured out the dumb mistake I was making.  ECS did
exactly what I told it to and works fine.  Don't know how I looked at it so
many times and missed it - must be the forest for the trees.  Thanks.

-----Original Message-----
From: robert burrell donkin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 2:04 PM
To: ECS Developers List
Subject: Re: ECS 1.4.1 - How to use Link ?


hi Thierry

i've given your sample code a spin and i can see the link tag in the 
output string i get.

maybe i'm a little confused about what you mean by missing (maybe you mean 
that the link tag doesn't seem to having any effect) or maybe you need to 
post more code (or maybe you need to update to ecs-1.4.1).

- robert

On Thursday, February 21, 2002, at 06:27 PM, Lach, Thierry wrote:

> I want to generate a link to a stylesheet in an HTML.
>
> I'm currently doing the following:
>
> <clip>
>
> import org.apache.ecs.html.*;
>
> <skip/>
>
>     head head = new Head();
>     head.addElement(new Link().setRel("stylesheet")
>                               .setType("text/css")
>                               .setTarget("mystylesheet.css"));
>     head.addElement(new Title("My Title"));
> </clip>
>
> But I don't see the <link/> in the output.  I am seeing the title as
> expected.
>
>
> -----------------------------------------------------------
> Thierry Lach
> InterOne Marketing Group
> PentaMark Worldwide Inc.
> Business:  [EMAIL PROTECTED]
> Home: [EMAIL PROTECTED]
> Phone: (248)293-4715
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to