You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by karu3 <pk...@torvandi.ee> on 2008/01/04 13:04:00 UTC
T5: how to get all embedded component ids
Hello!
I am browsing the T5 API and somehow do not understand how is it possible to
get all (e.g. defined in a template) embedded component ids for a given
component.
There is ComponentResources.getComponentModel().getEmbeddedComponentIds()
but it returns only those embedded component ids that are defined with
annotation in a component class.
How is it possible to get embedded component ids that only appear in a
template?
Thanks,
Priit.
--
View this message in context: http://www.nabble.com/T5%3A-how-to-get-all-embedded-component-ids-tp14614938p14614938.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: how to get all embedded component ids
Posted by Howard Lewis Ship <hl...@gmail.com>.
The APIs tend to reflect only the operations that are necessary;
Tapestry's internals don't require access to this information, so it
is not currently available. You can add an issue if you need this
functionality, but an explanation of your use case will be pivotal in
getting anything implemented.
On Jan 4, 2008 4:04 AM, karu3 <pk...@torvandi.ee> wrote:
>
> Hello!
>
> I am browsing the T5 API and somehow do not understand how is it possible to
> get all (e.g. defined in a template) embedded component ids for a given
> component.
>
> There is ComponentResources.getComponentModel().getEmbeddedComponentIds()
> but it returns only those embedded component ids that are defined with
> annotation in a component class.
>
> How is it possible to get embedded component ids that only appear in a
> template?
>
> Thanks,
>
> Priit.
> --
> View this message in context: http://www.nabble.com/T5%3A-how-to-get-all-embedded-component-ids-tp14614938p14614938.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Creator Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org