If there is indeed a need to extend the jsp better templating to other servers than tomcat, please let me know. We can either write that or help you write it yourself. The approach taken in the module is through the |DirContext| - other servers (JBoss, Websphere) support similar extension points but they are not standardized through a common API - that's why we only implemented tomcat at this point.

Ruben

Boris Kraft wrote:

Except there is a community contribution by Headwire which actually provides that functionality in certain environments for JSP files. Check out "Better Templating" on the wiki:

http://wiki.magnolia-cms.com/display/WIKI/List+of+Magnolia+Modules

(search for jsp templating)

Regards
Boris




On Nov 20, 2009, at 6:00 AM, Ernst Bunders wrote:

hello Linden

jsp files need to be on the file system, and can unfortunately not be loaded from an arbitrary Reader InputStream (which would be requred for loading templates from reposiotory nodes). So, you can reuse your jsp's (for what it's worth) by placing them in the webapp, but if you want to be able to maintain them in the repository, you'll have to convert them to freemarker.

regards,

Ernst


2009/11/20 Linden Varley <[email protected]>
Hi all


Is it possible to set the “servername” property within the magnolia config, rather than it getting it from the system on startup? (This is useful when using a different domain name when accessing magnolia, such as when proxying to it from another address)


Secondly, being able to edit templates within the web interface using the templating kit is great. I’ve got a lot of existing jsp templates on the file system, which I would like to add within the templates node in the templating kit so I can also edit them directly. Is this possible and how?


Thanks

-          Linden





The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.


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




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


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