You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Desigachari, Rajkumar (Cognizant)" <Ra...@cognizant.com> on 2006/05/03 19:40:19 UTC

issue with tabbedpane -Illegal to flush within a custom tag

Hi 

 

Iam Using the Tabbed pane component from the Tomahawk from myFaces.

 

Iam unable to use the include jsp tag inside a paneltab tag.

Iam facing the following exception.

==============================================================

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

 

exception 

 

javax.servlet.ServletException: javax.servlet.jsp.JspException: Illegal
to flush within a custom tag

 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:125)

 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)

 

 

root cause 

 

javax.faces.FacesException: javax.servlet.jsp.JspException: Illegal to
flush within a custom tag

 
net.sourceforge.myfaces.context.servlet.ServletExternalContextImpl.dispa
tch(ServletExternalContextImpl.java:410)

 
net.sourceforge.myfaces.application.jsp.JspViewHandlerImpl.renderView(Js
pViewHandlerImpl.java:241)

 
net.sourceforge.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.jav
a:287)

 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)

 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)

 

 

note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.28 logs.

 

This Exception is because the f:view tag is not allowed inside the
paneltab tag.

Is there is any way to use the same.

 

Iam also unable to design a html table inside the tab pane.

Kindly clarify me

 

 

Please email to the same address from which this mail comes.

 

 

Thanks

Rajkumar

 

 

 


Re: issue with tabbedpane -Illegal to flush within a custom tag

Posted by Mike Kienenberger <mk...@gmail.com>.
On 5/3/06, Desigachari, Rajkumar (Cognizant)
<Ra...@cognizant.com> wrote:
> This Exception is because the f:view tag is not allowed inside the paneltab
> tag.
>
> Is there is any way to use the same.

If that's the only cause of the error (and it may not be), then use
f:subview wherever you are currently using f:view in your included
file.