开发者

Doing AJAX with JSF 2.0 without using action listeners

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜