Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.4
-
None
-
springframework 2.5 freemarker 2.3.8
Description
i'm not sure if it's general portlet taglib issue or just related to freemarker.
i'm importing taglib to freemarker via: <#assign portlet=JspTaglibs["/WEB-INF/portlet.tld"]>
then i use portlet tags in my template:
<@portlet.actionURL><@portlet.param name="action" value="history"/></@portlet.actionURL>
i get just action url without the parameter being appended.
pluto-taglib/src/main/java/org/apache/pluto/tags/BasicURLTag.java doStartTag() method returns EVAL_PAGE, if i change this to EVAL_BODY_INCLUDE, suddenly tag starts to work ok - ie parameters get appended to the url.
i'm not a jsp developer and don't know anything about tablib programming so i'm not sure if this fix is valid one.