Re: Starting with FreeMaker

reena321 <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>


Antonio Petrelli-3 wrote:
> 
> 2009/6/24 reena321 <[email protected]>
> 
>>
>> I am new to Freemarker and I am going through the link you had mentioned
>> above. I want one small clarification... is freemarker template is only
>> for
>> display or even we can send some user entered data to controller?
> 
> 
> Freemarker is a template language, but you can produce HTML code that has
> HTML forms.
> But are you going to use a framework? For example, Struts 2 has a great
> support for FreeMarker.
> 
> 
> o ok. I wanted to use it in spring MVC. 
> 
>> and *.ftl files will have all the freemarker
>> macros/directives(freemarker)/<#list/<#if..... tags (the values we want
>> to
>> display). should we include ftl files in html /jsp ..... or ftl it self
>> acts
>> as jsp...
> 
> 
> See:
> http://freemarker.sourceforge.net/docs/pgui_misc_servlet.html
> 
> 
>> were even we can put decorators/images?
> 
> 
> What do you mean here? You can create HTML tags like  , but
> "decorators"?
> 
> not exactly. Can u suggest me on this - I am using spring MVC in my
> present application now i want to use freemarker init. I have jsp's in MVC
> patern, should i be replacing all the jsps to *.jtl or should i just
> import the *.jtl files(once i create it for freemarker) in jsp?    
> Antonio
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> FreeMarker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemarker-user
> 
> 

-- 
View this message in context: http://www.nabble.com/Starting-with-FreeMaker-tp24145615p24181851.html
Sent from the freemarker-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.