[ 
https://issues.apache.org/jira/browse/PLUTO-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579275#action_12579275
 ] 

Vladimir Grichina commented on PLUTO-440:
-----------------------------------------

I also experienced this problem. Actually from javadoc for EVAL_PAGE:

EVAL_PAGE

static final int EVAL_PAGE

    Continue evaluating the page. Valid return value for doEndTag(). 

So returning EVAL_PAGE in doStartTag() is obviously incorrect. Probably some 
JSP implementations  treat such value as a command to process the body of the 
tag and so it works well. However Freemarker interprets it as an instruction to 
skip the body of the tag.

However anyway, according to standard doStartTag() should return 
EVAL_BODY_INCLUDE to indicate that the body of the tag should be processed.

> portlet:actionURL not wrapping portlet:param
> --------------------------------------------
>
>                 Key: PLUTO-440
>                 URL: https://issues.apache.org/jira/browse/PLUTO-440
>             Project: Pluto
>          Issue Type: Bug
>          Components: portlet container taglibs
>    Affects Versions: 1.1.4
>         Environment: springframework 2.5 freemarker 2.3.8
>            Reporter: miceuz
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to