• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Chrome JSF Actions Problem

 
fernando aguilera
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a problem using JSF <CommandLink> actions in Chrome Navigator. It works perfectly in Firefox and IE.



When i redirect to a .jspx page using a navigation-rule i get in Chrome and Safari this error:

¬°Oh no!
'An error produced showing the webpage. To continue ...'

This is my:

faces-config.xml
------------------



web.xml:
----------



Can anyone help me?

Thanks!!
 
fernando aguilera
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got the solution!

You must put the contentType in the <f:view> tag in each .jspx page you have.



Chrome needs to know this information.

If warning appears, don't worry, it works correctly
 
S Martin
Greenhorn
Posts: 2
Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excellent! I was trying to figure out why Chrome was giving me an error re: xml in my document when using JSF templating. Putting <f:view contentType="text/html" /> fixed that problem. Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic