Hi Manish,

[quote]I am creating area 'mainArea.ftl' and linking it to my page script 
'helloWorld.jsp', the code of mainArea.ftl is displayed.[/quote]

It looks like you are mixing JSP and FTL templates. Your page is a Freemarker 
template (renderType=ftl) but you are trying to render a JSP area script on it. 
Create a renderType property in your area definition and set it to 'jsp'.

Quoting from the tutorial:

[quote]Freemarker is the most common templating language used with Magnolia 
CMS. JSP is also popular. You can use both languages on the same site; 
Freemarker for some pages and JSP for others. You can even use JSP for a page 
and Freemarker for areas on the page (or vice versa) as long as you define a 
renderType for the area separately. Otherwise the area will inherit the page's 
renderType.[/quote]
http://documentation.magnolia-cms.com/display/DOCS/Introduction+to+templating#Introductiontotemplating-Aboutscriptinglanguages

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=e99bf5fc-6257-49d3-9a98-7722a6617fe9


----------------------------------------------------------------
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: <[email protected]>
----------------------------------------------------------------

Reply via email to