On Jun 29, 2009, at 10:35 AM, Philipp Bärfuss wrote:
>
>> Is it reasonable to submit a patch that exposes some/all of the
>> STKUtil methods as JSP 2.0 EL functions? This would be useful to
>> those of us who want to use parts of the STK but do not want to use
>> Freemarker where it is already available.
>
> This is what we had in mind (especially for the mgnl object
> 'MagnoliaTemplateUtilities'). Such a patch would be accepted. Just
> create a jira ticked and attach your patch.
Let's just keep in mind that MagnoliaTemplateUtilities is not static.
It's currently stateless, but that *could* change (think IoC). EL
functions are supposed to be all static, so that might be a problem at
some point.
(I once found a tool/taglib that allowed dynamic wrapping of objects
(such as MagnoliaTemplateUtilities) into a taglib/functions - which
could be useful here -- can't find it right now)
-g
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.htmlTo unsubscribe, E-mail to: <
dev-list-unsubscribe@...>
----------------------------------------------------------------