• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Richfaces is not defined

 
Edson Soares
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!!
 
Davie Lin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic