ICEfaces
  1. ICEfaces
  2. ICE-8001

Eclipse project creation creates index.jsp with incorrect forward

    Details

    • Workaround Exists:
      Yes
    • Workaround Description:
      Keep the default faces/** mapping

      Description

      Using the Eclipse ICEfaces project creation and selecting 'Create Sample Page'. The sample page is created, along with an index.jsp. The index.jsp includes the following forward:

      <jsp:forward page="faces/index.xhtml" />

      The page name will depend on what the user enters in the page name field of the Create Sample Page panel in the ICEfaces configuration dialog. However, in the previous JSF Configuration dialog, the user has set the JSF mapping to not use "faces/**" for the servlet mapping, and a suffix mapping, such as *.jsf, this forward from the index.jsp page will not work.

      If possible, it would be preferable to detect the facelets mapping selected in the previous JSF Configuration dialog, and set the forward accordingly.

        Activity

        Hide
        Liming Wu added a comment -

        Current version does not respect the user's input for url-pattern of facesServlet in JSF project creation wizard dialog.
        Instead it uses /faces/* pattern as reference for the forward url in index.jsp as /faces/* works by default (this mapping is hard coded in majarra 2 under JEE6).

        This enhancement is requested.

        Only the first url mapping of all url mappings for faces servlet is recognized if it follows .xxx or /xxx/

        Show
        Liming Wu added a comment - Current version does not respect the user's input for url-pattern of facesServlet in JSF project creation wizard dialog. Instead it uses /faces/* pattern as reference for the forward url in index.jsp as /faces/* works by default (this mapping is hard coded in majarra 2 under JEE6). This enhancement is requested. Only the first url mapping of all url mappings for faces servlet is recognized if it follows .xxx or /xxx/
        Hide
        Liming Wu added a comment -

        Fixed

        Show
        Liming Wu added a comment - Fixed

          People

          • Assignee:
            Liming Wu
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: