You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ron Piterman <mp...@vollbio.de> on 2005/06/14 13:05:59 UTC
Re: getting a component reference
For Optional rendering, use the Block component.
ציטוט Andy.Pahne-external@leoni.com:
> I am trying to pass a reference to a component as a parameter to another
> component. The component I would like to pass is not declared in the
> current page, not explicitly and not implicitly. (I added it to the
> .application spec, though).
>
> So unfortunaltly I can't do <span jwcid="@SomeComponent"
> otherComponent="ognl:components.SomeOtherComponent"/>
>
> Sp please, how can I reference a component in ognl, that is part of the
> application, but not part of the current page.
>
> (I thought of adding a "dummy page" to the application, that only
> contains the other component, because then I can obtain a reference, but
> that does not seem to be a clean approach to me).
>
> Andy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org