Re: [T4] sharing date between @Border and pages

2007-07-20 Thread Jesse Kuhnert
Wouldn't it be easier to make that property available to anything in the system with some kind of IoC injection of state? ie: http://tapestry.apache.org/tapestry4.1/usersguide/state.html On 7/20/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello, My Pages extends MyBasePage which has the method

[T4] sharing date between @Border and pages

2007-07-20 Thread #Cyrille37#
Hello, My Pages extends MyBasePage which has the method getUser() which return an User object which has a login property. What the best way (design/efficiency) to display in the @Border the property user.login ? Should Pages set a @Border's property or @Border should ask to Pages for the use