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

jsf enablement should not just look for dependency but also be enabled if /WEB-INF/faces-config.xml is there

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.3.0.Beta1
    • None
    • maven
    • None

      From Pete Muir:

      "JSF is included - there is a src/main/webapp/WEB-INF/faces-config.xml to activate JSF on JBoss AS 7. There is no compile time dependency, as most people start with JSF simply through the XHTML markup, and only when they need to do something advanced, actually start using the JSF Java API. I would suggest you trigger the JSF facet based on the presence of the above file or the web.xml stanza, not based on the POM. This is the way an app server does it, so you will see most fidelity this way."

              fbricon@redhat.com Fred Bricon
              manderse@redhat.com Max Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: