• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Problem Using the <f:ajax /> Tag

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 25477
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic