jQuery in Action, 3rd edition
The moose likes JSF and the fly likes Chrome JSF Actions Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Chrome JSF Actions Problem" Watch "Chrome JSF Actions Problem" New topic

Chrome JSF Actions Problem

fernando aguilera

Joined: Apr 10, 2010
Posts: 2

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:



Can anyone help me?

fernando aguilera

Joined: Apr 10, 2010
Posts: 2
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

Joined: Dec 08, 2010
Posts: 2

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!
I agree. Here's the link: http://aspose.com/file-tools
subject: Chrome JSF Actions Problem
It's not a secret anymore!