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 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 user ?

Have you got some best practice about @Border ?

Thanks a lot
Cyrille.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Reply via email to