This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 15665
    
  15

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a4j is undefined in JSF Portlet(a4j:support tag)
 
Similar Threads
RichFaces Exception in JSF app
a4j is undefined when I use ajax tags
Richfaces Deployment error
AJAX refresh problem in IE .
Problem with RichFaces Calendar control