jQuery in Action, 3rd edition
The moose likes JSF and the fly likes a4j is not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "a4j is not found" Watch "a4j is not found" New topic

a4j is not found

abhijita singha

Joined: Sep 07, 2010
Posts: 7
i m using rich faces 3.3.3 with jsf 1.2 and facelets 1.1.14
i m getting the a4j not found error
when using <a4j commandbutton
i think may be there is some problem with
so here is my file
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<!-- Making the RichFaces skin spread to standard HTML controls -->
<!-- Defining and mapping the RichFaces filter -->
<display-name>RichFaces Filter</display-name>
<servlet-name>Faces Servlet</servlet-name>
<servlet-name>Faces Servlet</servlet-name>
<servlet-name>Faces Servlet</servlet-name>

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

Welcome to the JavaRanch, Abhijita!

There is a "Code" button on our message editor. You can use that to add tags to your message that make code and XML samples more readable.

I think your message is actually coming from the "xhtml" page. You have to declare the a4j namespace like this:

An IDE is no substitute for an Intelligent Developer.
abhijita singha

Joined: Sep 07, 2010
Posts: 7
yes it is from xhtml page......and i have done the name space declaration in the HTML tag itself
as i am a new bee in JSF i don't know about the composition....if you help me a little i m thankful to you
I agree. Here's the link: http://aspose.com/file-tools
subject: a4j is not found
It's not a secret anymore!