3 Replies Latest reply on May 4, 2009 4:56 AM by Maxim Kuzmik

    RichFaces + define + Seam

    Maxim Kuzmik Newbie

      Hello, All.

      I have the problem, when i do next code:

      <ui:composition 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:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich"
       template="/templates/admin/tmp_main.jspx">
      
       <ui:define name="menu">
       <ui:include src="/admin/includes/mainmenu.jspx" />
       </ui:define>
      </ui:composition>
      


      But, when i douing next code:
      <ui:composition 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:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich"
       template="/templates/admin/tmp_main.jspx">
      
       <ui:define name="menu">
       <ui:include src="/admin/includes/mainmenu.jspx" />
       </ui:define>
      
       <ui:define name="menu">
       <ui:include src="/admin/includes/leftzone.jspx" />
       </ui:define>
      
      </ui:composition>
      


      I get the next error =( What is the troubles? =(
      HTTP Status 404 - /admin/main.seam
      
      --------------------------------------------------------------------------------
      
      type Status report
      
      message /admin/main.seam
      
      description The requested resource (/admin/main.seam) is not available.
      
      
      --------------------------------------------------------------------------------
      
      JBoss Web/2.1.1.GA