| Author |
Message |
|
|
Post subject: [Closed] How to config the Sun JSF RI in MyEclipse?
Posted: 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:) |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 29, 2005 - 03:16 PM
|
|
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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 29, 2005 - 03:29 PM
|
|
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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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 |
|
|
| |
|
|
|
 |
|
|