Hmm, I suppose I wasn't clear enough. I'm using mixins just fine from
templates and I'm well aware of the @Parameter annotatation, but I
wanted to have a mixin attached to a customer component I have written,
and this component is included in templates for page classes. Part of
the intention of this custom component is to avoid the template author
from having to explicitly declare some of the mixin parameters, which
the component should be handling. So in the component I include the
mixin with the @Mixin annotation, what I'm trying to get at is how to
provide the values to the parameters of the mixin in this scenario. I'm
not using a template for the component, it uses render methods.
Thanks,
Rich
On 10/26/2010 03:47 PM, Norman Franke wrote:
Check out the source for Tapestry's mixins. You use the @Parameter
annotation in the mixin class.
Norman Franke
Answering Service for Directors, Inc.
www.myasd.com
On Oct 26, 2010, at 2:46 PM, Rich M wrote:
Hi,
how do you provide parameters to a mixin when you are doing an
Implementation Mixin? I'm running in 5.1.0.5 and the documentation
isn't very clear on this. I have the code below in the component
class where I would like to add the mixin, but I need to get the
template parameters to this component to finally place into the
proper parameters of the mixin.
@Mixin
private DeleteConfirm deleteConfirm;
Thanks,
Rich
---------------------------------------------------------------------
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