That's weird, i do the same but in a component template, and have no problems

I have a MenuItem that will render for certains users but not for others.
then my layout template define the menuItems as follow

...
<li t:type="MenuItem" user="user">....
...

the MenuItem component define the user parameter as
    @Parameter(required = true)
    private UserSession user;

and the layout component class define the getter as

    public UserSession getUser() {
        return userSession;
    }

userSession is a ASO and is instantiate in the log in process but i
don't think that matters.


Cesar.

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

Reply via email to