3 Replies Latest reply on Feb 7, 2011 5:10 AM by ilya40umov

    Problem with Composite component in Richfaces 3.3

    can_62

      Hello Guys,

       

      i have a simple Question about Richfaces 3.3/JSF2 and Composite Component.

       

       

      Can I Use my oww Composite and Component  in Richfaces?

       

       

      Example Code:

       

      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:a4j="http://richfaces.org/a4j"

            xmlns:f="http://java.sun.com/jsf/core"

            xmlns:compo="http://java.sun.com/jsf/composite/compo">

      <head>

      <title><ui:insert name="title">Test</ui:insert></title>

      </head>

       

      <body>

       

          <compo:regis/>

       

      </body>

       

      </html>

       

      -------------------------------------------------

      resource/compo/regis.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:a4j="http://richfaces.org/a4j"

          xmlns:rich="http://richfaces.org/rich"

          xmlns:cc="http://java.sun.com/jsf/composite">

       

      <head>

       

      <title>Registrieren</title>

       

      </head>

       

      <body>

       

      <cc:interface>

       

      </cc:interface>

      <!-- IMPLEMENTATION -->

      <cc:implementation>

      <h:outputText value="Test"/>

      </cc:implementation>

      </body>

      </html>

       

      I try this Example in the last Days, but i can't get to run this.

       

      Thanks in advance,

       

      Sercan