I'm new to JSF. I am using JSF 2.0.
I'd like to be able to use scripts that use ajax in a classical way, not going through JSF's f:ajax tag.
However, I know that it's easy to mess up with the application's开发者_C百科 state if you go around JSF features too much. Has anyone done this before? Any ideas on how it should be done? Suggestions and existing frameworks that can help me do this are both valid answers.
This goes totally beyond the nature of a component based MVC framework. This is going to bite you. Just don't use JSF then. Use an action based MVC framework instead. E.g. Stripes, Spring MVC, etc.
See JSF 2.0 AJAX: Call a bean method from javascript with jsf.ajax.request (or some other way) for a way of doing going around JSF's restrictive AJAX behaviour.
精彩评论