• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

a4j is undefined in JSF Portlet(a4j:support tag)

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using richfaces to get ajax support in JSF Portlet.
I am getting javascript error a4j is undefined when I use a4j:support tag In JSF.


I am using websphere portal 6.1,WAS 6.1 and JSF 1.2,Rad 8.0.

Below Jar files I kept in webinf/lib:-
commons-beanutils-1.7.0.jar
commons-collections-3.2.jar
commons-digester-1.8.jar
icu4j_3_4_1.jar
jsf-ibm.jar
jsf-portletbridge.jar
richfaces-api-3.1.4.GA.jar
richfaces-impl-3.1.4.GA.jar
richfaces-ui-3.1.4.GA.jar

Please help me if anybody has done this earlier.

Thanks & Regards,
K.Kiran Kumar
 
Saloon Keeper
Posts: 28401
210
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
I don't think that's a JavaScript error, but JSF View Definition Language is XML, and "a4j" is an XML namespace alias, which needs to be defined as part of the view schema mappings. For example:


Note the "a4j" mapping in the above.
 
A teeny tiny vulgar attempt to get you to buy our stuff
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic