Hi

I am getting a weird error about the writer being closed. This started happening when I added a subview to an already working page. If I enclose the contents instead of using the subview it doesn't give me that error.

I was trying to use a subview to pass the 64k size limitation for a method in Java, since my jspservice method is starting to become a little huge.
I am doing:

<f:view>

<h:panelGrid id="x" columns="2" cellpadding="10" cellspacing="0" width="90%">
   <h:column>
       <f:subview id="schedule">
           <jsp:include page="viewTeacherInfo_schedule.jsp" />
       </f:subview>
   </h:column>
</h:panelGrid>

</f:view>

And the result is:

javax.faces.FacesException: The Writer is closed
        at 
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:411)
        at 
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:280)
        at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
        at com.evermind._hb.doFilter(.:59)
        at 
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112)
        at com.evermind._cub._pod(.:387)
        at com.evermind._cub._bmc(.:177)
        at com.evermind._ax._ltc(.:666)
        at com.evermind._ax._uab(.:191)
        at com.evermind._bf.run(.:62)


Any ideas?

-Ricardo Ramírez

Reply via email to