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]
>
>


-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

Reply via email to