Hi all,
 I am constantly receiving this error message. and I can't figure it out.
My parent page is index.jsp, my jsp include page is include/header.jsp.  My
index.jsp is as follows.

<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
..other stuff ..
<f:view>
<table width="775" border="0" align="center" cellpadding="0" cellspacing="0"
class="container" >
 <tr>
   <td colspan="2">
     <div class="header">

<!-- Start of the Search Form -->
             <f:subview id="search">
               <jsp:include page="include/header.jsp" flush="false"/>
           </f:subview>

..other stuff...

</f:view>

Here is my header.jsp

<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
<div class="complogo"><a href="index.jsf"><img
   src="images/comp_logo.jpg" width="173" height="115"
border="0"></a></div>

<script type="text/javascript">
<!--
function clearForm(textField) {
 textField.value = "";
}
//-->
</script>

<f:view>
   <h:form id="Form1">
       <f:verbatim>
           <div class="searcher">
           <p class="qlinx"><a href="index.jsf">Home</a></p>
       </f:verbatim>

       <h:inputText value="#{searchBean.searchTerms}"
           styleClass="searchInput" onclick="clearForm(this);"
           onfocus="clearForm(this);"></h:inputText>
       <h:commandButton action="#{searchBean.performSearch}"
           styleClass="go_btn" style="align:right;"
image="images/btn_go.jpg"></h:commandButton>

       <f:verbatim>
           </div>

       </f:verbatim>
   </h:form>
</f:view>


I have tried the attribute flush="false" on the JSP include, and I still
receive this error.  I'm using myface-api 1.1.4, myfaces-impl 1.1.3 and
tomahawk 1.1.3.

Thanks,
Todd

Reply via email to