Sorry, should have waited 5 minutes before complaining. It was a
side-effect of the extension changing from html to tml (combined with
not having lunch yet).

On Fri, 2007-10-12 at 09:54 -0700, Josh Canfield wrote:
> You can use the @Component annotation to get a reference to a component in
> your template.
> 
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html
> 
> @Component(parameters =
>     { "start=5", "end=1", "value=countValue" })
>     private Count _count;
> 
> Josh
> 
> On 10/12/07, Dan Adams <[EMAIL PROTECTED]> wrote:
> >
> > So I know you can get an embedded component using
> > ComponentResources.getEmbeddedComponent() but is there no way to inject
> > one using something like this:
> >
> > @Inject
> > private MyComponent componentName;
> >
> > --
> > Dan Adams
> > Senior Software Engineer
> > Interactive Factory
> > 617.235.5857
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
-- 
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


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

Reply via email to