GeeCON Prague 2014*
The moose likes JSF and the fly likes a4j is undefined in JSF Portlet(a4j:support tag) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "a4j is undefined in JSF Portlet(a4j:support tag)" Watch "a4j is undefined in JSF Portlet(a4j:support tag)" New topic
Author

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

kasyaparushi kiran
Ranch Hand

Joined: May 05, 2009
Posts: 33
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

Joined: Jun 25, 2001
Posts: 16103
    
  21

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
 
GeeCON Prague 2014
 
subject: a4j is undefined in JSF Portlet(a4j:support tag)