facebook

Problems with ICEfaces 2.0.2

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #318418 Reply

    Lucifeius
    Member

    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%5B2%5D/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

    #318461 Reply

    support-swapna
    Moderator

    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.

    #318469 Reply

    Lucifeius
    Member

    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

    #318474 Reply

    support-swapna
    Moderator

    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.

    #318494 Reply

    Lucifeius
    Member

    Thank you really much. This will help a lot.

    #318504 Reply

    support-swapna
    Moderator

    Lucifeius ,

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

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Problems with ICEfaces 2.0.2

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