tomahawk , panelTabbedPane problem...

Hi,

i am working with tabbedpane control of tomahawk, when i am including a plain jsp page like ....

<t:panelTabbedPane serverSideTabSwitch="false">

<t:panelTab id="tab1" label="TabbedPanel1">

<f:verbatim><jsp:include page="profile.jsp"/> </f:verbatim>

</t:panelTab>

it is working fine. but when i try to include a jsf page , which has taglib directives to include core and html components of jsf, it is giving error on server console as well on browser also...

stack trace ...

2007-07-27 16:15:50,421 ERROR [org.apache.myfaces.taglib.core.ViewTag] Error writing endDocument

java.io.IOException: Illegal to flush within a custom tag

at javax.servlet.jsp.tagext.BodyContent.flush(BodyContent.java:79)

at javax.faces.webapp._PageContextOutWriter.flush(_PageContextOutWriter.java:45)

Help me to solve this issue....

Thanks in advance...

[1045 byte] By [narayanasgsa] at [2007-11-27 11:55:50]
# 1

Try adding flush="false" to the jsp:include.

Why is this been put inside f:verbatim by the way? Also try to remove that.

BalusCa at 2007-7-29 19:04:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hi...Thanks for reply...

i tried flush attribute...but no use...

i tried removing verbatim , it is not even showing the plain jsp page also.... i think may be there is a problem with @taglib....

i had to include those files in the main file as well in profile file as i am using some members of those taglibraries in both the files....

any other suggestion....

narayanasgsa at 2007-7-29 19:04:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Hi Balu,

Do you have any ref" pages created to handle tabbed control. (like how you have for dataTable). i am stucked....

please help me...

narayanasgsa at 2007-7-29 19:04:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

I don't have practical experience with MyFaces/Tomahawk.

But in the odc:tabbedPanel of the IBM Faces Client framework this approach just works fine, regardless the flush state.

Try the MyFaces mailinglist to topic this problem. You're here in a SUN forum.

BalusCa at 2007-7-29 19:04:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...