Hi Magnolians,
on 4.3.8 I see that ParagraphRendererManager does not use content2bena to load ParagraphRenderer, but a simple reflection-based mechanism.

Why not to introduce a configurable paragraph renderer, in order to easily extends stk / freemarker capabilities? For instance, let's say:

- standard-templating-kit
  - paragraph-renderer
    - stk
      . class = ConfigurableParagraphRenderer
      - utils
        - stk
          . STKUtils
        - myEnvUtil
          . MyEnvClass

The goal would be to have Freemarker extension like

[#assign count = stk.count("string..")]
[#assign myEnvVar = myEnvUtil.envVar!] [#-- or something similar --]

What do you think?
Can it be a nice feature?

I have something ready, if you want it..

Matteo



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to