I've been able to fix the problem by making a change
to Pluto code - removing a call to writer.flush() in
doEndTag() in BasicURLTag.java.

It seems to be a similar fix to that reported in:
http://issues.apache.org/jira/browse/PLUTO-120?page=all

I'm not sure that there aren't any other ramifications
to this change.  Does anyone know how I should proceed
in trying to get this change committed (assuming of
course that its a valid change).

John



--- John O'Reilly <[EMAIL PROTECTED]> wrote:

> Hi Eric,
> 
> Thanks for your reply.  I actually have the
> <portlet:renderURL/> inside a <a href> tag which in
> turn is inside the <display:column>.  The <a href>
> on
> its own works inside the <display:column> (for
> example, when I used it in a non-portlet
> environment).
>  If I put a <a href> with <portlet:renderURL> inside
> it outside the table then it works find.  This is
> very
> frustrating as much of the data I'm displaying (and
> linking from) is inside displaytag tables. 
> 
> John
> 
> 
> --- Eric Borisow <[EMAIL PROTECTED]> wrote:
> 
> > John,
> > 
> > I just had this same error but the solution wasn't
> > related DisplayTag.  In my case, I was putting the
> > <portlet:renderURL/> tag inside of a <c:set
> > var="blah"/> tag.
> > 
> > So, I was trying to do this:
> > 
> > <c:set var="renderUrl">
> >    <portlet:renderURL/>
> > </c:set>
> > 
> > Apparently, you cannot do that.  Once I just
> removed
> > the <portlet:renderURL/> tag and just put it right
> > into my <a href> tag, it worked fine.
> > 
> > Hope this helps.
> > 
> > Thanks,
> > Eric
> > 
> > --- John O'Reilly <[EMAIL PROTECTED]> wrote:
> > 
> > > This is the full stack trace.  
> > > 
> > > 
> > > Nested Exception is
> > javax.servlet.jsp.JspException:
> > > actionURL/renderURL Tag Exception: cannot write
> to
> > > the
> > > output writer.
> > >   at
> > >
> >
>
org.apache.pluto.tags.BasicURLTag.doEndTag(BasicURLTag.java:85)
> > >   at
> > >
> >
>
org.apache.jsp.WEB_002dINF.jsp.portlet.tournaments_jsp._jspx_meth_portlet_renderURL_1(org.apache.jsp.WEB_002dINF.jsp.portlet.tournaments_jsp:457)
> > >   at
> > >
> >
>
org.apache.jsp.WEB_002dINF.jsp.portlet.tournaments_jsp._jspx_meth_display_column_9(org.apache.jsp.WEB_002dINF.jsp.portlet.tournaments_jsp:428)
> > >   at
> > >
> >
>
org.apache.jsp.WEB_002dINF.jsp.portlet.tournaments_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.portlet.tournaments_jsp:181)
> > >   at
> > >
> >
>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > >   at
> > >
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > >   at
> > >
> >
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> > >   at
> > >
> >
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> > >   at
> > >
> >
>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > >   at
> > >
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > >   at
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> > >   at
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > >   at
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> > >   at
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
> > >   at
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
> > >   at
> > >
> >
>
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:105)
> > >   at
> > >
> >
>
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
> > >   at
> > >
> >
>
org.springframework.web.servlet.ViewRendererServlet.renderView(ViewRendererServlet.java:111)
> > >   at
> > >
> >
>
org.springframework.web.servlet.ViewRendererServlet.processRequest(ViewRendererServlet.java:84)
> > >   at
> > >
> >
>
org.springframework.web.servlet.ViewRendererServlet.doGet(ViewRendererServlet.java:65)
> > >   at
> > >
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> > >   at
> > >
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > >   at
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> > >   at
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > >   at
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> > >   at
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
> > >   at
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
> > >   at
> > >
> >
>
org.apache.pluto.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:65)
> > >   at
> > >
> >
>
org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:948)
> > >   at
> > >
> >
>
org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:726)
> > >   at
> > >
> >
>
org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:420)
> > >   at
> > >
> >
>
org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:391)
> > >   at
> > >
> >
>
javax.portlet.GenericPortlet.render(GenericPortlet.java:178)
> > >   at
> > >
> >
>
org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
> > >   at
> > >
> >
>
org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
> > >   at
> > >
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> > >   at
> > >
> >
> 
=== message truncated ===



                
___________________________________________________________ 
Win a BlackBerry device from O2 with Yahoo!. Enter now. 
http://www.yahoo.co.uk/blackberry


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to