Hi Kristian,

Thanks for you answer : it confirms what I understood.

So, I have to create a page only for internal use in order to follow this
philosophy.
How can I prevent user to access this page ?
Is it based on package name ? ("internal" ?)
Should I use a service based on URL to block users attempting to access this
page ?

Thanks for you help!

Thomas.

2010/5/11 Kristian Marinkovic <kristian.marinko...@porsche.co.at>

> hi thomas,
>
> tapestry 5 follows the "static structure, dynamic behaviour" philoshophy.
> essentially this means that you cant use a component that is not declared
> anywhere. in your case i'd create a block with the component inside and
> display this block if necessary.
>
> please see the mailing list for more on "static structure, dynamic
> behaviour"
> there. you can take a look at the BeanEditor that dynamically creates a
> input field for every field in a POJO. From the outside it appears as if
> the
> components are configured dynamically but under the covers it is
> reassembling existing blocks as needed (type, ...)
>
> g,
> kris
>
>
>
> Von:    Thomas Cucchietti <thomas.cucchie...@gmail.com>
> An:     Tapestry users <users@tapestry.apache.org>
> Datum:  11.05.2010 14:05
> Betreff:        [T5]Inject a component not used in a page
>
>
>
> Hi everybody!
>
> I'm getting a silly problem while trying to get a component from the
> componentSource.
>
> For dynamic layout purposes, i'm trying to recover a component that is not
> used in any page but it seems impossible as the getComponent method of the
> componentSource requires a completeId in which a page is required.
>
> is there another way to get this component than creating a page that will
> be
> never be displayed?
>
> Thanks in advance!
>
> Thomas.
>
>

Reply via email to