RE: Parameter publishing and informal parameters

2009-04-22 Thread Blower, Andy
Thanks Howard, that works perfectly. (and I obviously need an eye test..)

> -Original Message-
> From: Howard Lewis Ship [mailto:hls...@gmail.com]
> Sent: 21 April 2009 17:00
> To: Tapestry users
> Subject: Re: Parameter publishing and informal parameters
> 
> The @Component.inheritInformalParameter annotation attribute allows
> all informal parameters of an outer component to be connected to a
> contained component.
> 
> On Tue, Apr 21, 2009 at 3:48 AM, Blower, Andy
>  wrote:
> > I've just been simplifying one of our components using parameter
> publishing, and I just realised that informal parameters are not passed
> to the inner component (loop) to render on the element which is passed
> okay. (although we're not using inherit: or publishParameters for
> element, as it didn't seem to work correctly)
> >
> > Does anyone know of a way of passing informal parameters, or is this
> an instance where we should have used inheritance instead of
> composition?
> >
> 
> 
> 
> --
> Howard M. Lewis Ship
> 
> Creator of Apache Tapestry
> Director of Open Source Technology at Formos
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Parameter publishing and informal parameters

2009-04-21 Thread Howard Lewis Ship
The @Component.inheritInformalParameter annotation attribute allows
all informal parameters of an outer component to be connected to a
contained component.

On Tue, Apr 21, 2009 at 3:48 AM, Blower, Andy
 wrote:
> I've just been simplifying one of our components using parameter publishing, 
> and I just realised that informal parameters are not passed to the inner 
> component (loop) to render on the element which is passed okay. (although 
> we're not using inherit: or publishParameters for element, as it didn't seem 
> to work correctly)
>
> Does anyone know of a way of passing informal parameters, or is this an 
> instance where we should have used inheritance instead of composition?
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry
Director of Open Source Technology at Formos

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org