Portlets support with Freemarker

sunil <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Hi,
Iam developing a spring portlet application with freemarker templates as view.

currently Iam facing a problem with the portlet param tag is not identified in 
the freemarker template files. The portlet renderURL and actionURL tags are 
identified by the freemarker but not the portlet param tag.

I have read the Using Freemarker with servlets section in the Freemarker manual 
in which at the end its mentioned as below.

*** taken from freemarker manual ****

Note that you can use JSP taglibs with FreeMarker even if the servlet container 
has no native JSP support, just make sure that the javax.servlet.jsp.* packages 
for JSP 1.2 (or later) are available to your Web application. If your servlet 
container comes with JSP 1.1, then you have to obtain the following six classes 
(for example you can extract them from the jar-s of Tomcat 5.x or Tomcat 4.x), 
and copy them into your webapp's WEB-INF/classes/... directory: 
javax.servlet.jsp.tagext.IterationTag, 
javax.servlet.jsp.tagext.TryCatchFinally, javax.servlet.ServletContextListener, 
javax.servlet.ServletContextAttributeListener, 
javax.servlet.http.HttpSessionAttributeListener, 
javax.servlet.http.HttpSessionListener. But beware, since containers that come 
with JSP 1.1 usually use earlier Serlvet versions than 2.3, event listeners 
will not be supported, and thus JSP 1.2 taglibs that register event listeners 
will not work properly.

The above section mentions that to use JSP tag libs we need to have the jsp 
version 1.2 or above.

Iam using RSA 7.0 as the development environment in which the portlet.tld of 
the Portlet container comes with the JSP version 1.1 

So, I suspect whether this can be the reason for param tag not identified by 
the Freemarker.

if so, can any one please let me know the changes needed for making the portlet 
param tag identified by the freemarker.

Thanks in advance,
Sunil.








-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
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.