Note 1:
When changing "only" the renderType in the template definition, the template 
won't work anymore ... as long as you do not turn the template script into a 
JSP file.

Note 2:
JSP files must be located within src/main/resources/mgnl-files of your module. 
=> Files in this folder are copied to the web application folder. JSP files 
must go into this folder. Otherwise they will not work.
Whereas freemarker template scripts can reside within other directories (simply 
said).
Ergo: You cannot just change a freemarker template script into a jsp file ... 
make sure that the directories are appropriate.

Question:
Is it really required to use JSP? Freemarker seems "easier" (at least for me) 
... one of the advantages i've just mentioned above.

Hint:
If not already done, allow me to recommend you some of the basics tutorials 
such as  https://documentation.magnolia-cms.com/display/DOCS/Hello+Magnolia.
Read about templates and what you need for a "template": 
https://documentation.magnolia-cms.com/display/DOCS/Templates

happy coding,
kind regards,
 Christoph

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=101f1b3c-33fe-43e7-aba6-0cb97b3cf358


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to