ICEfaces
  1. ICEfaces
  2. ICE-4691

Facelets project created by netbeans doesn't work by default

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: Tool Integrations
    • Labels:
      None
    • Environment:
      Netbeans v6.7 with Facelets module

      Description

      Ken reported Facelets project created by netbeans doesn't work by default.

      The problem is actually the welcomeJSF.xhtml is missing. and welcome page has been registered welcomeJSF.iface.

      Enhancement is required. The keys of fixing it are

      1. to detect if facelets framework is selected before the project's facelets features are added. One thing noticed that D2DFaceletsViewhandler gets properly added into faces-config. I thought I could take advantage of the condition that was used to register D2DFaceletsViewhandler. Finally I realized that it is not registered in our side. It is actually in Sun's Netbeans facelets module, which hard-coded ICEfaces D2DFaceletsViewhandler by detecting facelets-icefaces-**.jar file name. So far I have trouble of detecting if facelets module is selected.

      2. Provides ICEfaces facelets startup xhtml page template

      The fix will go with Netbeans v6.7 integration v3.6.1, the first one for netbeans v6.7

      Current solution is to let user to select which templates to use.

      sample page name changed to welcomeICEfaces

        Activity

        Hide
        Liming Wu added a comment -

        resolved

        Show
        Liming Wu added a comment - resolved
        Hide
        Jessica Alten added a comment -

        I don't think this is a usable patch - now "welcomeICEfaces" is hardcoded/configured somewhere and not accessible by configuration. There seems to be no possibility to configure another startpage than welcomeICEfaces, or did I missed something? Even a forward from a simple start jsp page doesn't seem to work.

        Show
        Jessica Alten added a comment - I don't think this is a usable patch - now "welcomeICEfaces" is hardcoded/configured somewhere and not accessible by configuration. There seems to be no possibility to configure another startpage than welcomeICEfaces, or did I missed something? Even a forward from a simple start jsp page doesn't seem to work.
        Hide
        Jessica Alten added a comment -

        welcomeICEfaces seems to be hardcoded now, even a forward from a jsp page doesn't seem to work.

        Show
        Jessica Alten added a comment - welcomeICEfaces seems to be hardcoded now, even a forward from a jsp page doesn't seem to work.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: