This content has been marked as final. 
    
Show                 5 replies
    
- 
        1. Re: Binding HtmlMenuItem to MenuItem problemnbelaevski Nov 24, 2009 9:23 AM (in response to tc1st910437)Hi, and I copy "richfaces-impl.jar", "richfaces-ui.jar" to project-ear/EarContent/lib in eclipse 
 So I guess you are having two instances of RF in classpath - that's not a correct configuration.
- 
        2. Re: Binding HtmlMenuItem to MenuItem problemtc1st910437 Nov 24, 2009 8:00 PM (in response to tc1st910437)to nbelaevski, 
 Because it show "HtmlMenuItem not found" error, so I added these jar files into project-ear/EarContent/lib
 If I remove them, the message show again
- 
        3. Re: Binding HtmlMenuItem to MenuItem problemtc1st910437 Nov 25, 2009 2:15 AM (in response to tc1st910437)Hello nbelaevski, 
 I put three richfaces-xx.jar into project-ear/EarContent/lib,
 and removed them from project/WebContent/WEB-INF/lib,
 There is no errors show in eclipse console, but can not show web item in page view, still.
- 
        4. Re: Binding HtmlMenuItem to MenuItem problemnbelaevski Nov 25, 2009 1:45 PM (in response to tc1st910437)"tc1st910437" wrote: 
 to nbelaevski,
 Because it show "HtmlMenuItem not found" error, so I added these jar files into project-ear/EarContent/lib
 If I remove them, the message show again
 You shouldn't be binding components to EJB beans, that's wrong from the architectural aspect of view. Check example RF applications in EAR layout for an example.
- 
        5. Re: Binding HtmlMenuItem to MenuItem problemtc1st910437 Nov 26, 2009 9:26 AM (in response to tc1st910437)thank nbelaevski's reminding, 
 I found the solution that is,
 first, move all jar files from project/WebContent/WEB-INF/lib to project-ear/EarContent/lib
 second, add "lib/" to project/WebContent/META-INF/MANIFEST.MFManifest-Version: 1.0 Class-Path: MENU-ejb.jar jboss-seam.jar lib/ 
 by the way, my test bean was a JavaBean, not a EjbBean,
 it just place inside "project-ejb" ^^
 
    