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

        Liming Wu created issue -
        Liming Wu made changes -
        Field Original Value New Value
        Assignee Liming Wu [ liming.wu ]
        Liming Wu made changes -
        Salesforce Case []
        Fix Version/s 1.8.2 [ 10190 ]
        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 detecting if facelets module is selected.

        2. Provides ICEfaces facelets startup xhtml page template



        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 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.


        Liming Wu made changes -
        Salesforce Case []
        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 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.


        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 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

        Liming Wu made changes -
        Salesforce Case []
        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 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

        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

        Hide
        Liming Wu added a comment -

        resolved

        Show
        Liming Wu added a comment - resolved
        Liming Wu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.8.2-RC1 [ 10210 ]
        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.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: