Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9198

Cannot add JSF capabilities to a project with no web.xml

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.3.0.M3
    • Component/s: jsf
    • Labels:
      None

      Description

      The Seam Faces impl project defines facelet files that are used as composite components vy projects that use Seam Faces. When I try to edit one of these facelet files, I am prompted to add JSF capabilities to the project in order to get JSF completion. However I am unable to add JSF capabilities, as I am required to point to an exisiting web.xml file. The Seam Faces impl project does not have a web.xml file. I does however have a web-fragment.xml (I don't know if that's relevant).

      It would be nice to take advantage of the JSF tooling in "JSF library projects" without necessarily having a web.xml file.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            scabanovich Viacheslav Kabanovich added a comment -

            I suggest to do without warning that the project is not faceted. Preference page 'Project Facets' after applying 'Convert to faceted form...' ignores attempts to cancel that change, so that customers are used to the fact that as soon as they played with facets of a project, it will remain faceted forever (until dot-files are modified manually). And additional warning just encumbers UI.

            Show
            scabanovich Viacheslav Kabanovich added a comment - I suggest to do without warning that the project is not faceted. Preference page 'Project Facets' after applying 'Convert to faceted form...' ignores attempts to cancel that change, so that customers are used to the fact that as soon as they played with facets of a project, it will remain faceted forever (until dot-files are modified manually). And additional warning just encumbers UI.
            Hide
            scabanovich Viacheslav Kabanovich added a comment -

            Alexey, please verify.

            Show
            scabanovich Viacheslav Kabanovich added a comment - Alexey, please verify.
            Hide
            akazakov Alexey Kazakov added a comment -

            EXECUTE: Create a dynamic web project with JSF facet.
            EXECUTE: Configure->Add JSF Capabilities
            FAILURE: JBoss Tools KB nature/builder is not added to the project.

            Show
            akazakov Alexey Kazakov added a comment - EXECUTE: Create a dynamic web project with JSF facet. EXECUTE: Configure->Add JSF Capabilities FAILURE: JBoss Tools KB nature/builder is not added to the project.
            Hide
            akazakov Alexey Kazakov added a comment -

            Ok. Now it's fixed.

            Show
            akazakov Alexey Kazakov added a comment - Ok. Now it's fixed.
            Hide
            vpakan Vlado Pakan added a comment -

            Verified on jbdevstudio-product-eap-linux-gtk-5.0.0.v201109021637R-H24-M3.

            Show
            vpakan Vlado Pakan added a comment - Verified on jbdevstudio-product-eap-linux-gtk-5.0.0.v201109021637R-H24-M3.

              People

              • Assignee:
                scabanovich Viacheslav Kabanovich
                Reporter:
                bleathem Brian Leathem
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development