jakarta-ecs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jnilson" <jnil...@verilytics.com>
Subject Re: Fw: additions to ConcreteElement
Date Wed, 14 Nov 2001 18:25:21 GMT
yes, this allowed me to create re-usable components then parameterized them
so they look slightly different depending upon what's in the render context.

I find it tremendously powerfull but I must admit its a bit of a hard sell.


----- Original Message -----
From: "robert burrell donkin" <robertdonkin@mac.com>
To: "ECS Developers List" <ecs-dev@jakarta.apache.org>
Sent: Wednesday, November 14, 2001 1:16 PM
Subject: Re: Fw: additions to ConcreteElement

> On Tuesday, November 13, 2001, at 10:21 PM, jnilson wrote:
> <snip>
> > Briefly the idea of RenderContext is to send to the object's output
> > method a "context", specifically a HttpServletRequest:
> hi John
> i'm a more than a little confused about what you're trying to achieve.
> i might have this completely wrong - so please set me straight if that's
> the case.
> you've created a wrapper for a HttpServletRequest (called RenderContext).
> you'd like elements to include an output method that takes a RenderContext
> and that uses that object for output. this allows you to write element
> subclasses that override that method in order to vary output based on
> information obtained from the RenderContext.
> is that an accurate summary?
> - robert
> --
> To unsubscribe, e-mail:   <mailto:ecs-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ecs-dev-help@jakarta.apache.org>

To unsubscribe, e-mail:   <mailto:ecs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ecs-dev-help@jakarta.apache.org>

View raw message