Hi All,
I need a help regarding ftl. I need to include an ftl file dynamically if it is available or else include a default ftl page. Any one has an idea, please let me know. Thanks in advance Hemanth Hemanth Kumar.K| Module Lead| MindTree Ltd. Maruthi Chambers, No. 17/9C, 17/4C, Rupena Agrahara, Hosur Road, Bangalore - 560 068, INDIA | Voice +91 80 25738005 x 77590| Mobile +91 9986134010| email: [hidden email]<mailto:[hidden email]> |www.mindtree.com<blocked::blocked::http://www.mindtree.com/> | ________________________________ http://www.mindtree.com/email/disclaimer.html |
Hi Hemanth,
you can include ftl with the @include tag. Check this page: http://freemarker.sourceforge.net/docs/ref_directive_include.html Hope that solves your problem. Have a nice day Sascha 2010/4/1 Hemanth Kumar Kanamarlapudi <[hidden email]> > Hi All, > > I need a help regarding ftl. > > I need to include an ftl file dynamically if it is available or else > include a default ftl page. > > Any one has an idea, please let me know. > > Thanks in advance > > Hemanth > > Hemanth Kumar.K| Module Lead| MindTree Ltd. Maruthi Chambers, No. 17/9C, > 17/4C, Rupena Agrahara, Hosur Road, Bangalore - 560 068, INDIA | > Voice +91 80 25738005 x 77590| Mobile +91 9986134010| email: > [hidden email]<mailto: > [hidden email]> |www.mindtree.com<blocked::blocked:: > http://www.mindtree.com/> | > > > ________________________________ > http://www.mindtree.com/email/disclaimer.html > -- http://www.lynx.de |
In reply to this post by Hemanth Kumar Kanamarlapudi
Hi Hemanth,
You can do this with the use of database. This has been done with the theme use also. You can check the main-decorator screen in CommonScreens.xml of ecommerce. Regards -- Chirag Manocha Sr. Software Engineer Emforium Group Inc. +91-98735-47457 ----- "Hemanth Kumar Kanamarlapudi" <[hidden email]> wrote: > From: "Hemanth Kumar Kanamarlapudi" <[hidden email]> > To: "[hidden email]" <[hidden email]> > Sent: Thursday, April 1, 2010 6:23:51 PM > Subject: Help required in ftl > > Hi All, > > I need a help regarding ftl. > > I need to include an ftl file dynamically if it is available or else > include a default ftl page. > > Any one has an idea, please let me know. > > Thanks in advance > > Hemanth > > Hemanth Kumar.K| Module Lead| MindTree Ltd. Maruthi Chambers, No. > 17/9C, 17/4C, Rupena Agrahara, Hosur Road, Bangalore - 560 068, INDIA > | > Voice +91 80 25738005 x 77590| Mobile +91 9986134010| email: > [hidden email]<mailto:[hidden email]> > |www.mindtree.com<blocked::blocked::http://www.mindtree.com/> | > > > ________________________________ > http://www.mindtree.com/email/disclaimer.html |
Hi Chirag,
Thank you very much, I am able to solve it using the set field tag using the theme usage you have told me. Regards Hemanth -----Original Message----- From: Chirag Manocha [mailto:[hidden email]] Sent: Thursday, April 01, 2010 6:44 PM To: [hidden email] Subject: Re: Help required in ftl Hi Hemanth, You can do this with the use of database. This has been done with the theme use also. You can check the main-decorator screen in CommonScreens.xml of ecommerce. Regards -- Chirag Manocha Sr. Software Engineer Emforium Group Inc. +91-98735-47457 ----- "Hemanth Kumar Kanamarlapudi" <[hidden email]> wrote: > From: "Hemanth Kumar Kanamarlapudi" <[hidden email]> > To: "[hidden email]" <[hidden email]> > Sent: Thursday, April 1, 2010 6:23:51 PM > Subject: Help required in ftl > > Hi All, > > I need a help regarding ftl. > > I need to include an ftl file dynamically if it is available or else > include a default ftl page. > > Any one has an idea, please let me know. > > Thanks in advance > > Hemanth > > > ________________________________ > http://www.mindtree.com/email/disclaimer.html |
Free forum by Nabble | Edit this page |