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 "Derek Richardson (JIRA)" <pl...@jakarta.apache.org> on 2005/03/22 16:46:20 UTC

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

portlet:namespace fails inside JSTL c:set
-----------------------------------------

         Key: PLUTO-120
         URL: http://issues.apache.org/jira/browse/PLUTO-120
     Project: Pluto
        Type: Bug
    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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira