Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
zouzhile
Post subject: [Closed] How to config the Sun JSF RI in MyEclipse?  PostPosted: Sep 29, 2005 - 02:39 PM



Joined: Sep 15, 2005
Posts: 12

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:)
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Sep 29, 2005 - 03:16 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

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.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
zouzhile
Post subject:   PostPosted: Sep 29, 2005 - 03:26 PM



Joined: Sep 15, 2005
Posts: 12

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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Sep 29, 2005 - 03:29 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

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

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
zouzhile
Post subject:   PostPosted: Sep 29, 2005 - 03:45 PM



Joined: Sep 15, 2005
Posts: 12

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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits