As far as I can see, I am doing everything according to the book, but it still doesn't work. For PanelNavigation_1, the CSS styles are gone, and for PanelNavigation_2, I get a thrown exception: "javax.servlet.ServletException: Client-id : _id1 is duplicated in the faces tree". I have tried (re)moving <f:subviews> back and forth and changing to <%@ include file%>, but that didn't work either...

maybe there are too much subviews....

in this form, for me, works:

          <f:subview id="header">
            <jsp:include page="/inc/page_header.jsp" />
          </f:subview>

and in page_header.jsp:

<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>

<h:panelGrid id="header_group1" columns="2" styleClass="pageHeader1">
  <h:outputText value="#{initParam.titProg}"/>
</h:panelGrid>
<h:panelGrid id="header_group2" columns="1" styleClass="pageHeader2" columnClasses="pageHeader2col1" >
  <t:jscookMenu layout="hbr" theme="ThemeOffice" >
......
  </t:jscookMenu>
</h:panelGrid>






--
Francesco Consumi
Ufficio Sistemi informativi
Istituto degli Innocenti
Piazza SS.Annunziata, 12
50122 Firenze
consumi at istitutodeglinnocenti.it
Tel. +39 055 2037320
ICQ# 12516133


Reply via email to