You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "David DeWolf (JIRA)" <pl...@jakarta.apache.org> on 2005/08/03 16:28:36 UTC

[jira] Updated: (PLUTO-120) portlet:namespace fails inside JSTL c:set

     [ http://issues.apache.org/jira/browse/PLUTO-120?page=all ]

David DeWolf updated PLUTO-120:
-------------------------------

      Component: portlet container taglibs
    Description: 
<c:set var="ns"><portlet:namespace /></c:set>

results in:

Nested Exception is javax.servlet.jsp.JspException: namespace Tag Exception: cannot write to the output writer.
        at org.apache.pluto.tags.NamespaceTag.doStartTag(NamespaceTag.java:54)
        at org.apache.jsp.jsrportlets.md.view_jsp._jspx_meth_portlet_namespace_0(view_jsp.java:557)
        ...

Whereas putting this in the JSP:

<c:set var="ns"><%= ((javax.portlet.RenderResponse)request.getAttribute("javax.portlet.response")).getNamespace() %></c:set>

works fine.

I don't see a relevant open or closed bug in the taglibs bugzilla, so I'm logging this here.

  was:
<c:set var="ns"><portlet:namespace /></c:set>

results in:

Nested Exception is javax.servlet.jsp.JspException: namespace Tag Exception: cannot write to the output writer.
        at org.apache.pluto.tags.NamespaceTag.doStartTag(NamespaceTag.java:54)
        at org.apache.jsp.jsrportlets.md.view_jsp._jspx_meth_portlet_namespace_0(view_jsp.java:557)
        ...

Whereas putting this in the JSP:

<c:set var="ns"><%= ((javax.portlet.RenderResponse)request.getAttribute("javax.portlet.response")).getNamespace() %></c:set>

works fine.

I don't see a relevant open or closed bug in the taglibs bugzilla, so I'm logging this here.


> portlet:namespace fails inside JSTL c:set
> -----------------------------------------
>
>          Key: PLUTO-120
>          URL: http://issues.apache.org/jira/browse/PLUTO-120
>      Project: Pluto
>         Type: Bug
>   Components: portlet container taglibs
>     Versions: 1.0.1-rc3
>  Environment: Win2000, Tomcat 5.0.28, JSTL 1.0 reference implementation
>     Reporter: Derek Richardson

>
> <c:set var="ns"><portlet:namespace /></c:set>
> results in:
> Nested Exception is javax.servlet.jsp.JspException: namespace Tag Exception: cannot write to the output writer.
>         at org.apache.pluto.tags.NamespaceTag.doStartTag(NamespaceTag.java:54)
>         at org.apache.jsp.jsrportlets.md.view_jsp._jspx_meth_portlet_namespace_0(view_jsp.java:557)
>         ...
> Whereas putting this in the JSP:
> <c:set var="ns"><%= ((javax.portlet.RenderResponse)request.getAttribute("javax.portlet.response")).getNamespace() %></c:set>
> works fine.
> I don't see a relevant open or closed bug in the taglibs bugzilla, so I'm logging this here.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira