| Author |
Chrome JSF Actions Problem
|
fernando aguilera
Greenhorn
Joined: Apr 10, 2010
Posts: 2
|
|
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
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
Greenhorn
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!
|
 |
 |
|
|
subject: Chrome JSF Actions Problem
|
|
|