2 Replies Latest reply on Apr 1, 2014 12:03 AM by alixey

    I need help with Richfaces CDK

    alixey

      Hello, i try to use Richfaces CDK in my project. I was here and here. I created bleathem's examples successfully. But i can't create my own component. I need help.

      My component needs show folder's files, so i just pass an absolute path to folder. And i want to use rich:tree

      But when i try to do something this(i just use rich:tabPanel for check that richfaces components renders successfully):

      <?xml version="1.0" encoding="UTF-8"?>
      <cdk:root xmlns="http://jboss.org/schema/richfaces/cdk/xhtml-el" xmlns:cdk="http://jboss.org/schema/richfaces/cdk/core"
                xmlns:c="http://jboss.org/schema/richfaces/cdk/jstl/core" xmlns:cc="http://jboss.org/schema/richfaces/cdk/jsf/composite"
                xmlns:javaee="http://java.sun.com/xml/ns/javaee"
                xmlns:rich="http://richfaces.org/rich"
                xmlns:f="http://java.sun.com/jsf/core">
      
      
          <cc:interface>
              <cdk:class>ru.plotnikov.richfaces.tree.renderkit.TreeFolderViewRenderer</cdk:class>
              <cdk:superclass>ru.plotnikov.richfaces.renderkit.TreeFolderViewRendererBase</cdk:superclass>
              <cdk:renderer-type>ru.plotnikov.treeFolderViewer</cdk:renderer-type>
              <cdk:renders-children>true</cdk:renders-children>
          </cc:interface>
      
      
          <cc:implementation>
              <div id="#{clientId}">
                  <rich:tabPanel switchType="client">
                      <rich:tab name="system" header="HHH">
                          aaa
                      </rich:tab>
                  </rich:tabPanel>
              </div>
          </cc:implementation>
      </cdk:root>
      

       

      Richfaces components not shown. Why?