3 Replies Latest reply on Oct 31, 2008 7:23 PM by Rafael Chiarinelli

    generate page with richfaces componentes by code

    Sascha Janz Master
      i have some trouble to generate page content with richfaces components

      with jsf core components it works fine...

      but the following code


      HtmlSpacer  spacer= new HtmlSpacer();
      parent.getChildren().add(spacer);

      produces

      Component idspacer not instance of org.richfaces.component.UISpacer

      what is going wrong?

      where is the difference between jsf core and richfaces components?