Re: T5: accessing component variable

2007-08-11 Thread Davor Hrg
component binding is meant only for retreiving a component, you can add you own binding http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix the impl that suites your need is probably this: add to your app module: public static void contributeBindingSource( MappedConfi

Re: T5: accessing component variable

2007-08-11 Thread Thomas Beckmann
Our customer should be able to place a component in any of the available page templates. He has no access to the Page classes. The component works as a loop component but instead of providing a list of elements to the component, the user has to provide a query string and the component uses an i

Re: T5: accessing component variable

2007-08-11 Thread Davor Hrg
please elaborate your use case a bit more, maybe an alternative will be sufficient. Davor Hrg On 8/11/07, Thomas Beckmann <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm looking for a way to access a component variable the same way as a > page > variable. > So for example when using a loop component I

T5: accessing component variable

2007-08-11 Thread Thomas Beckmann
Hi, I'm looking for a way to access a component variable the same way as a page variable. So for example when using a loop component I want to provide a setter and getter of a component as the loop value instead of a setter and getter of the page. I want to implement a component that works as