Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Skinning issue in Richfaces 4 and JSF 2

 
Juan Manuel Diaz
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I remove the binding attribute of rich:dataTable everything works fine! Why?

Regards,
JM
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic