Re: Additional Forbidden Methods

Attila Szegedi <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
I think you should check out various EXPOSE_* constants and the  
setExposureLevel() in BeansWrapper.

Attila.

On Jul 11, 2008, at 3:47 PM, Zemian Deng wrote:

> Attila,
> Is using method in view strongly encourage in your user group? I've
> been encouraging my developers not to call methods in view at all to
> avoid side effect.
>
> I understand the feature of calling methods are nice and flexible, but
> perhaps Freermarker should encourage a "right" usage of a view as
> template. Ofcourse the word "right" is totally subjective, and if
> Freemarker doesn't have this concept, then it's fine with me too. It's
> just my 2 cents.
>
> -Z

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.