Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
kasyaparushi kiran
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • 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
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic