Re: Additional Forbidden Methods

"Zemian Deng" <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
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

On Fri, Jul 11, 2008 at 5:49 AM, Attila Szegedi <[email protected]> wrote:
> That's true -- we didn't anticipate this list being expandable. What
> methods would you want to prohibit?
>
> Attila.
>
> On Jul 8, 2008, at 4:14 AM, Alan Gutierrez wrote:
>
>> Continuing to develop an application that allows for user defined
>> templating.
>>
>> How do I add additional methods to the list of unsafe methods defined
>> in BeanWrapper?
>>
>> From what I can tell, it is not possible, unless I create my own
>> unsafeMethods.txt resource, which does not look like something that
>> I'm supposed to do.
>>
>> Alan
>>
>> --
>> Alan Gutierrez | [email protected] | http://blogometer.com/ | 504
>> 717 1428
>> Think New Orleans | http://thinknola.com/
>
> -------------------------------------------------------------------------
> 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
> _______________________________________________
> FreeMarker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemarker-user
>



-- 
Sweet - a Scala web framework:
http://code.google.com/p/sweetscala

-------------------------------------------------------------------------
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.