• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem Using the <f:ajax /> Tag

 
Phoenix Kilimba
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sirs et Madames,
AM trying to incorporate a little ajax to my apps but am only just learning how. I have created the following xhtml file to display my very simplistic first attempt



However when I try run it, it gives me the following exception


Can anyone please point me in the right direction?

Thanks in advance
 
Davie Lin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What JSF implementation are you using?

I know for certain that JSF 1.1 does not have <f:ajax> tag
 
Phoenix Kilimba
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Davie Lin wrote:What JSF implementation are you using?

I know for certain that JSF 1.1 does not have <f:ajax> tag


Where do i verify what JSF implementation am using, what jar/s in particular, and how will i b able to tell what version they are? I suspecct though am using 1.2 but would like to verify. If I AM using 1.2, what are my options for ajaxifying without having to resort to JSF 2.0?

Thanks again
 
Tim Holloway
Bartender
Posts: 18417
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Phoenix Kilimba wrote:
Davie Lin wrote:What JSF implementation are you using?

I know for certain that JSF 1.1 does not have <f:ajax> tag


Where do i verify what JSF implementation am using, what jar/s in particular, and how will i b able to tell what version they are? I suspecct though am using 1.2 but would like to verify. If I AM using 1.2, what are my options for ajaxifying without having to resort to JSF 2.0?

Thanks again


JSF 1.2 didn't support the f:ajax tag either. That came in in JSF 2.0. However, you can have lots of AJAX fun with one of the AJAX-supporting extension tagsets such as RichFaces or IceFaces. RichFaces works quite well with JSF 1.2.
 
Davie Lin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Phoenix Kilimba wrote:
Davie Lin wrote:What JSF implementation are you using?

I know for certain that JSF 1.1 does not have <f:ajax> tag


Where do i verify what JSF implementation am using, what jar/s in particular, and how will i b able to tell what version they are? I suspecct though am using 1.2 but would like to verify. If I AM using 1.2, what are my options for ajaxifying without having to resort to JSF 2.0?

Thanks again


Well, There are a couple of ways to find out. if you're using Tomcat 5, than at least you're using JSF 1.1, if you're using Tomcat 6, than for sure you are using JSF 1.2 because JSF 1.1 doesn't work on Tomcat 6.

or you can unzip your jsf-api.jar and look into MANIFEST.MF in the META-INF directory. That's the most accurate way to tell what version of JSF you're using
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!