Re: Using environment to access object in component from calling page

2011-06-20 Thread Rizwan
Thanks Taha, Could you provide me with a short example on how to do it the parameter way as well. Not sure I fully understand this method you described? Many thanks Rizwan -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-environment-to-access-object-in-component

Re: Using environment to access object in component from calling page

2011-06-20 Thread Rizwan
ent components? Are there any alternatives or good ways of doing this. The only way I can think off is injecting the component into the page e.g InjectComponent private Component public getDisplay () { component.getDisplay(); } Thanks Rizwan -- View this message in context: http://tapestry.1045

Using environment to access object in component from calling page

2011-06-20 Thread Rizwan
not work. It seems like the AfterRender on the component is being called before the page. Could someone advise on a better way of doing this? Thanks Rizwan -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-environment-to-access-object-in-component-from-calling