Unable to see Richfaces Components rendered
shivaji.byrapaneni May 20, 2009 6:10 AM
Hi all
im new to Richfaces please correct me if im doing anything wrong
I just tried to see a small Richfaces component but cant see anything on screen
my jsp is this
<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"> <p>Here is an example of default tab panel with 3 tabs.</p> <rich:tabPanel> <rich:tab label="First"> Here is tab #1 </rich:tab> <rich:tab label="Second"> Here is tab #2 </rich:tab> <rich:tab label="Third"> Here is tab #3 </rich:tab> </rich:tabPanel> <br /> <br /> <p>Here is an example of tab panel switched in "ajax" style. Second tab is disabled.</p> <rich:tabPanel switchType="ajax"> <rich:tab label="First"> Here is tab #1 </rich:tab> <rich:tab label="Second" disabled="true"> Here is tab #2 </rich:tab> <rich:tab label="Third"> Here is tab #3 </rich:tab> </rich:tabPanel> <br /> <br /> <p>Here is an example of tab panel switched completely on client.</p> <rich:tabPanel switchType="client"> <rich:tab label="First"> Here is tab #1 </rich:tab> <rich:tab label="Second"> Here is tab #2 </rich:tab> <rich:tab label="Third"> Here is tab #3 </rich:tab> </rich:tabPanel> </ui:composition>
and my faces-config.xml contains this
<managed-bean> <description>NominationHome Bean</description> <managed-bean-name>controller</managed-bean-name> <managed-bean-class>demo.NominationHome</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean>
when the page is called im gettinmg a plain text like this
Here is an example of default tab panel with 3 tabs. Here is tab #1 Here is tab #2 Here is tab #3 Here is an example of tab panel switched in "ajax" style. Second tab is disabled. Here is tab #1 Here is tab #2 Here is tab #3 Here is an example of tab panel switched completely on client. Here is tab #1 Here is tab #2 Here is tab #3
i had these jars in my web-inf/lib folder
commons-beanutils.jar
commons-collections-2.1.1.jar
commons-collections.jar
commons-digester.jar
commons-discovery-0.2.jar
commons-fileupload-1.0.jar
commons-logging-1.0.4.jar
jstl.jar
log4j-1.2.11.jar
richfaces-api-3.3.0.GA.jar
richfaces-impl-3.3.0.GA.jar
and richfaces-ui-3.3.0.GA.jar
im looking up the jsf 1.2 jars from the server lib
Note : im using Jboss 5.0 GA
Please help me.
Thanks in advance