Icefaces 2 has the annoying habit of enabling Ajax where I don't want it. It works for a lot of things, but not all of them:
- for a commandButton which triggers a file download, the file isn't opened
- if an exception occurs, it doesn't navigate to the exception page (specified in web.xml)
Putting a f:ajax tag around h:commandButton with disabled="true" solves it. I don't want to have to put it everywhere, however.
So, how to disable this by default?
Alternatively, I submitted a question for making the error page work even if the form is submitted by (unsollicited) ajax: how to make error page (http 500) work in IceFaces? .