Re: Access "this" page object from the template

2012-12-31 Thread Bob Harner
over over it. > > mrg > > > > > On Mon, Dec 31, 2012 at 8:09 AM, fmaylinch wrote: >> >> fmaylinch wrote >> > It's strange because ComponentResources doesn't seem to have that >> > property: >> >> Oh yes it does; it comes from

Re: Access "this" page object from the template

2012-12-31 Thread Michael Gentry
m ComponentResourcesCommon. > > > > -- > View this message in context: http://tapestry.1045711.n5.nabble.com/Access-this-page-object-from-the-template-tp5719073p5719080.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > -

Re: Access "this" page object from the template

2012-12-31 Thread fmaylinch
parameter: // Old call, unnecessary parameter // New call, no parameter (old calls will be refactored to this) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Access-this-page-object-from-the-template-tp5719073p5719081.html Sent from the Tapestry - User mailing lis

Re: Access "this" page object from the template

2012-12-31 Thread fmaylinch
fmaylinch wrote > It's strange because ComponentResources doesn't seem to have that > property: Oh yes it does; it comes from ComponentResourcesCommon. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Access-this-page-object-from-the-template-tp5719073p5

Re: Access "this" page object from the template

2012-12-31 Thread fmaylinch
http://tapestry.1045711.n5.nabble.com/Access-this-page-object-from-the-template-tp5719073p5719079.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apach

Re: Access "this" page object from the template

2012-12-31 Thread Bob Harner
simply inject ComponentResources in your >> component class and use it for current page? > > Thanks! I didn't thought of that... > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Access-this-page-object-from-the-template-tp5719073p5719077.

Re: Access "this" page object from the template

2012-12-31 Thread fmaylinch
Chris Poulsen wrote > Would it not be easier to simply inject ComponentResources in your > component class and use it for current page? Thanks! I didn't thought of that... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Access-this-page-object-from-t

Re: Access "this" page object from the template

2012-12-31 Thread Chris Poulsen
method? > > // MyPage.tml > > > > Thanks! > Ferran > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Access-this-page-object-from-the-template-tp5719073.html > Sent from the Tapestry - User mailing list archive at Nabble.com.

Access "this" page object from the template

2012-12-31 Thread fmaylinch
to avoid defining the getPage() method? // MyPage.tml Thanks! Ferran -- View this message in context: http://tapestry.1045711.n5.nabble.com/Access-this-page-object-from-the-template-tp5719073.html Sent from the Tapestry - User mailing list archive at Nabble.com