Hi,
main jsp:
<
ig:tabItem value="General Information" selected="false">
<jsp:include page="next.jspf"/>
</ig:tabItem>
jspf page:
<f:subview id="next">
<body>
<hx:graphicImageEx styleClass="graphicImageEx" id="imageEx1" value="/theme/images/Documents_ico_4.ico" width="15" height="15">
</hx:graphicImageEx>
<hx:outputLinkEx value=someDoc.doc styleClass="outputLinkEx" id="linkEx1">
<h:outputText id="text1" styleClass="outputText" value="Updates"></h:outputText>
</hx:outputLinkEx>
<h:outputText styleClass="outputText" id="text2" value="for the NPI Process"></h:outputText>
</h:panelGrid>
</hx:scriptCollector>
</body>
</f:subview>
Hi anat,
Also, make sure to include <jsp:include> within <f:verbatim> tag. Below is the code snippet.
Thank you!
<ig:tabView>
<ig:tabItem id="Info1" value="Tabpage">
<f:verbatim>
<jsp:include page="test.jsp"></jsp:include>
</f:verbatim>
</
Thanks for your answer.
I tried your suggestion and got this error “[Servlet Error]-[Faces Servlet]: javax.faces.FacesException: Assertion Failed”.
Please advice.
Anat.
Hi Anat,
Please, include all the source of the pages and check if your jsp-s meet the following requirements:
1. The "top level" JSF page must have an <f:view> tag surrounding all JSF tags being used.
2. You must have <h:form> tag (it is good practice to add also id to form tag)
3. The content of the included JSF (faces) page fragments need to be surrounded with <f:subview> tags. These <f:subview> tags can either be in the included page or surround the include statement in the including page. Either is fine.
4. All non JSF tags and content in the included JSF (faces) page fragments need to be surrounded by <f:verbatim> tags.
Sorry, It's exactly what I'm doing, but still getting the same error.
Attached the two files.
I'll appreciate it very much, if you'll help me solve this problem.
Thanks,