• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Skinning issue in Richfaces 4 and JSF 2

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I remove the binding attribute of rich:dataTable everything works fine! Why?

Regards,
JM
 
reply
    Bookmark Topic Watch Topic
  • New Topic