File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Richfaces is not defined Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Richfaces is not defined" Watch "Richfaces is not defined" New topic
Author

Richfaces is not defined

Edson Soares
Greenhorn

Joined: May 17, 2010
Posts: 4
Hi,

I'm having a little problem when I try to use richfaces modalPanel. The problem is Richfaces is not defined.

I'm using the following jars:

richfaces-ui-3.1.6.GA.jar
richfaces-api-3.1.6.GA.jar
richfaces-impl-3.1.6.GA.jar

Next, how I'm implement it:



The Ajax part works perfectly, but the modalPanel does not.

Part of my web.xml:



I had some other filters in my project.

Please Help!!!


Edson Soares
Java System Analyst
Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
What JSF implementation are you using?

RichFace 3.1.6 doesn't work with JSF 1.1_01, I found that out last week

Modal Panel needs to be outside of the <h:form> in order for it to work
and your JS syntax is incorrect, it should be

Edson Soares
Greenhorn

Joined: May 17, 2010
Posts: 4
Davie Lin wrote:What JSF implementation are you using?

RichFace 3.1.6 doesn't work with JSF 1.1_01, I found that out last week

Modal Panel needs to be outside of the <h:form> in order for it to work
and your JS syntax is incorrect, it should be



I had read that Richfaces 3.1.6 SR1 does work with jsf 1.1 that is the version of jsf I'm using. Do you know something about that ?

Yes, I know my sintax is incorrect, thanks, but the problem continues.

I downloaded the Richfaces 3.1.6 sr1, but the problem persists.
Any idea??

thanks!!!
Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
Down grade to 3.1.5
or upgrade your JSF 1.1_01 to 1.1_02

I don't think there is anything you can do to fix 3.1.6 to work on 1.1_01, my guess is that 3.1.6 was written based upon 1.1_02's api

Hope that helps
Edson Soares
Greenhorn

Joined: May 17, 2010
Posts: 4
Davie Lin wrote:Down grade to 3.1.5
or upgrade your JSF 1.1_01 to 1.1_02

I don't think there is anything you can do to fix 3.1.6 to work on 1.1_01, my guess is that 3.1.6 was written based upon 1.1_02's api

Hope that helps


I downgraded it to 3.1.5, put the 3 jars into my WEB-INF/lib, but.... ...the problem is still Richfaces is not defined.

Edson Soares
Greenhorn

Joined: May 17, 2010
Posts: 4
I have noticed, that when I first load my page, I see with fire bug an error like ModalPanel is not defineed - new ModalPanel(1meuPanel', ....

Can this give any idea ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Richfaces is not defined