aspose file tools*
The moose likes JSF and the fly likes Richface/Primefaces Elements are not rendered Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Richface/Primefaces Elements are not rendered" Watch "Richface/Primefaces Elements are not rendered" New topic
Author

Richface/Primefaces Elements are not rendered

manuel breul
Greenhorn

Joined: Dec 21, 2011
Posts: 2
Hi,

I have a problem using component libraries like Richfaces and Primefaces in my JSF project.

I'm using:
- Mojarra 2.1.4
- Richface 4.1.0 final
- Primefaces 3.0 RC2
- Tomcat 6

I want to compare the selectOneMenu from different libraries but the only one that is renderd is the one from JSF itself.

Here is my xhtml code:



and this is the result html:



The components from Primefaces and Richfaces are not rendered.
I included Richfaces and Primefaces in the exact way like it is described in each installation guides.

It would be great if anyone could give me an advice what the reason for this could be.

Regards,
Manuel
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

The h:selectOneMenu is been rendered?

Try add the <f:view contentType="text/html"> after your <h:body>.

PS: remember to close it! :P


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
manuel breul
Greenhorn

Joined: Dec 21, 2011
Posts: 2
Yes, the h:selectOneMenu is rendered.

I added a surronding f:view element for the content of h:body but it didn't have any influence.

Scott Paffrath
Greenhorn

Joined: Aug 27, 2010
Posts: 4
Are you sure the libraries are declared right? I think Primefaces changed to
xmlns:p="http://primefaces.org/ui

I know Netbeans would give an error but I'm not sure which IDE you're on.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Richface/Primefaces Elements are not rendered
 
Similar Threads
Jboss GateIn Jsf-Seam-Richfaces Portlet
richface tree example
Problem in sorting data in Richface DataTable
Bug in chrome
JSF - Missing source code using templating and composition