facebook

[Closed] How to config the Sun JSF RI in MyEclipse?

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #238360 Reply

    Robin zou
    Member

    Hi, when i create a J2EE web project and select the “add JSF Capabilities” from the popup menu, it includes the Sun JSF Reference implementation(jsf-api.jar, jsf-impl.jar)in the WEB-INF/lib directory,now i want to use apache MyFaces JSF RI,and everytime i choose “add JSF Capabilities”,the MyFaces Implementaion file would be added.so how to do that?
    Best Regards:)

    #238373 Reply

    Riyad Kalla
    Member

    Our capabilities wizards don’t intend you to switch out implementations willy nilly as there is some manual changes you need to make to your project that work with one but the not the other, if you want to switch to MyFaces I would suggest you download it from their site and follow their HOW TO, there are some listeners you need to add to your web.xml file and some old Sun RI files you need to erase. It is not a simple drop-in replacement.

    #238376 Reply

    Robin zou
    Member

    thanks, but i found the RI can be changed by:
    1 open preference panel:preferences->MyEclipse->Project Capabilities->JavaServer Faces,
    2 there is a Default JSF Implementation option, we can change to MyFaces 1.0.9.
    Best Regards
    Robin

    #238378 Reply

    Riyad Kalla
    Member

    Sorry Robin, I suppose I completely misunderstood your question then. Glad it’s working.

    #238380 Reply

    Robin zou
    Member

    never mind, i am not a native english speaker and maybe i am not expressing my idea very clearly, still thanks a lot for your help:)
    have a very nice day:)
    Robin

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: [Closed] How to config the Sun JSF RI in MyEclipse?

You must be logged in to post in the forum log in