MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Lucifeius
Post subject: Problems with ICEfaces 2.0.2  PostPosted: Jul 23, 2011 - 07:12 PM



Joined: Jul 23, 2011
Posts: 3

My Problem is easy to explain:
I create two Web Projects with MyEclipse 9.1. One with Java EE 6.0 specification and one with Java EE 5.0 specification. I add to both projects JSF and ICEfaces Capabilities, the Java EE 5.0 project with ICEfaces 1.8.x and the Java EE 6.0 project with ICEfaces 2.0.2.
Then I create in both projects a new JSP-file with the ICE template (both files are equal) - MyJsp.jspx. Now I deploy both projects to the My Eclipse Tomcat Server. I try to reach the sites with http://localhost:8080/Project1[2]/MyJsp.iface.
The project1 (with Java EE 5.0) works fine and shows the site correct. With the project2 (with Java EE 6.0) I get "The requested resource (/Project2/MyJsp.iface) is not available."
Why?

Best regards,

Lucifeius
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jul 26, 2011 - 08:39 AM



Joined: Nov 11, 2010
Posts: 2148

Lucifeius ,

Sorry for the delayed response.

ICEFaces 2.0 does not support JSPs. You can check in the General section of Known Issues at this link :
http://wiki.icefaces.org/display/ICE/ICEfaces+2.0.2+Release+Notes

I have filed a PR for the dev team to remove the 'ICEFACES 2.0 (JSPX)' template to choose from when generating a new JSP.

Thanks for pointing it out. Let us know if you have any other issues.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Lucifeius
Post subject: One more question  PostPosted: Jul 26, 2011 - 05:37 PM



Joined: Jul 23, 2011
Posts: 3

Hello,

Thank you for answering. There is one more question: I can use ICEfaces 2.02 for xhtml-files, but not for jsp-files. Where is the difference between xhtml and jsp?

Best regards,

Lucifeius
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jul 27, 2011 - 07:12 AM



Joined: Nov 11, 2010
Posts: 2148

Lucifeius ,

JSP is singularly focused on generating dynamic output, whereas JSF requires JSP to coordinate building a component model. This is not the original contention of JSP.
Facelets(described as XHTML files) is a much more comprehensive solution: a templating language that is geared toward the JSF component model.

Facelets has several compelling features:

Templating (like Tiles)
Composition components
Custom logic tags
Expression functions
Designer-friendly page development
Creating component libraries

So its better to choose XHTML over JSP for JSF development and also for the fact that JSPs are discouraged from JSF 2.0

Hope this helps.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Lucifeius
Post subject: Thank You  PostPosted: Jul 27, 2011 - 08:20 PM



Joined: Jul 23, 2011
Posts: 3

Thank you really much. This will help a lot.
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jul 28, 2011 - 08:35 AM



Joined: Nov 11, 2010
Posts: 2148

Lucifeius ,

Glad that we could help you.
Do let us know if you have any other issues.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
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