Re: Re: Re: access component variable

2009-06-30 Thread Captain Cid
nille hammer wrote: > > Hi Cid, > > I have just been to the toilett and have thought about your question. > Maybe you could nest component B in component A directly rather than in > the page? Example follows: > > in page.tml > ... > > ... > > in a.tml > ... > > > > how

Re: Re: Re: access component variable

2009-06-30 Thread Captain Cid
I tried using Environment and it works..but i have a doubt A and B both are defined as component in my page... code snippet is like : page.java @Component private A a; @Component private B b; void beforeRender() { envoronment.push(A.class,a); } void afterRender() { environment

Re: Re: Re: access component variable

2009-06-29 Thread nille hammer
Hi Cid, I have just been to the toilett and have thought about your question. Maybe you could nest component B in component A directly rather than in the page? Example follows: in page.tml ... ... in a.tml ... ... Would that be an option? Regards, nillehammer == http://www.winfonet.eu