开发者

f:ajax tag is not found in JSF2.0 lib

HI,

Want to implement a solution with JSF2.0 ajax functionality. As of now am not using any of its implementations like richfaces or icefaces.

I am using the jsf-impl-2.0.2 and jsf-api-2.0.2.jar and using apache-tomcat-6.0.16.

Still getting unknown tag error in f:ajax.

Some of my queries,

Can't I implement ajax by just using these JSF libraies or do开发者_如何学JAVA I have to use mandatorily any of its implementation like richfaces or icefaces.

If i have some ajax utility that JSF 2.0 itself gives then what is the purpose of using richfaces and icefaces as my page is a v


the reason for your problem is that you are using jsp page (and inside that jsp you are writing the <f:ajax>. This is not supported by the jsp pages in jsf 2.0. To use <f:ajax> you need to have xhtml pages.


JSF 2.0 has built-in ajax support. You don't need any additional libraries.

If your libs are ok, you should post your error message and some of your source code with ajax calls. Then we can help you (maybe).

Richfaces and Icefaces are component libraries on top of JSF. Both have online showcases to see which components the provide. I would add Primefaces to this list:

Icefaces showcase

Richfaces showcase

Primefaces showcase

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜