Hi guys,

I'm trying to have a dynamic header on xhtml page.
As I understand there is only one way to do it: jsp:include. BUT I CAN'T MAKE 
IT WORK!!!

here, very simple example:

registration.xhtml:

<html xmlns="http://www.w3.org/1999/xhtml";
          xmlns:ui="http://java.sun.com/jsf/facelets";
          xmlns:h="http://java.sun.com/jsf/html";
          xmlns:f="http://java.sun.com/jsf/core";
          xmlns:jsp="http://java.sun.com/JSP/Page";>

  <f:view>
    
        <jsp:include page="header_test.xhtml"/>
    
  </f:view>
  

and header_test.xhtml:

<html xmlns="http://www.w3.org/1999/xhtml";
          xmlns:ui="http://java.sun.com/jsf/facelets";
          xmlns:h="http://java.sun.com/jsf/html";
          xmlns:f="http://java.sun.com/jsf/core";
          xmlns:jsp="http://java.sun.com/JSP/Page";>

        <f:subview id="header">
                <f:verbatim>
                        HEADER XHTML
                </f:verbatim>
        </f:subview>


No errors, nothing. jsp:include is just ignored.  I can write <jsp:include 
page="WHAT_THE_HELL_IS_A_REASON"/> and there wil happen also nothing.

Has anybody any idea?

Thank's in advance

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951510#3951510

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951510


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to