velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Heyl <...@pixelboxx.de>
Subject Re: Am I just barking up the wrong tree?
Date Tue, 27 Jul 2004 06:36:15 GMT
Jason Chodakowski wrote:

>Is it possible to get data from a method with a corresponding static member?
>
>In the case below, the $Role.OBJECT_CACHE is essentially the static int
>RoleObject.ObjectCache
>
>#if ($Role.getBooleanPermission($Role.OBJECT_CACHE))
>
>Any help or thoughts on the matter would be most appreciated.
>
>
>  
>
Smells, too much implementation detail lacks out.
I suggest $Role.getBooleanPermission() doing the rest hidden in that method.

Just my EUR 0.02.

Ciao,
    Carsten

-- 
  Carsten Heyl				
  Pixelboxx GmbH			http://www.pixelboxx.de/



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message