File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Skinning issue in Richfaces 4 and JSF 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Skinning issue in Richfaces 4 and JSF 2" Watch "Skinning issue in Richfaces 4 and JSF 2" New topic
Author

Skinning issue in Richfaces 4 and JSF 2

Juan Manuel Diaz
Ranch Hand

Joined: Mar 23, 2009
Posts: 53
Hi all! I am working in a webapp with JSF2, Richfaces4, Spring 3 and Hibernate3 and I am facing an issue with skin. When I login into my app everything looks fine, I navigate throw a toolbar with links (h:commandLinks) with actions pointed to a backing bean wich returns the string plus "?faces-redirect=true" for example: '/faces/admin/editUser.xhtml?faces-redirect=true'. Everything looks well at first time, but when I go back to a page visited, this page lose its skinning permanently until I logout and login again. When I debug the page using firebug, I realized that some javascripts like jquery.js.xhtml, datatable.js.xhtml or richfaces.js.xhtml are loaded the first time that I visit the page, but when I refresh the page or when I go to other page and then I come back, those javascripts are not loaded anymore.

I really cant realize what could be happening.

Thanks in advanced!
JM Diaz
Juan Manuel Diaz
Ranch Hand

Joined: Mar 23, 2009
Posts: 53
I just realized that only the rich:datatable component is loosing its skining, if I put another component in the page, it looks ok.

This is my page code:



What could be wrong?

Regards,
JM
Juan Manuel Diaz
Ranch Hand

Joined: Mar 23, 2009
Posts: 53
If I remove the binding attribute of rich:dataTable everything works fine! Why?

Regards,
JM
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Skinning issue in Richfaces 4 and JSF 2