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

JavaServer Faces configurator does not make the checkbox checked in the project facets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.30.x
    • 4.26.0.AM1
    • maven
    • None
    • Hide

      1) Create new dynamic web project (no runtime)
      2) Convert it to maven project (WAR)
      3) Perform one of the following sequences of actions:

         3A) Add the following dependency:
            - group id: "com.sun.faces"
            - artifact id: "jsf-api"
            - version: "2.2.20"

         3B) Add Faces configuration:
            - open project explorer, select project
            - open context menu -> "New" -> "Other..."
            - select "JBoss Tools Web" -> "JSF" -> "Faces Config" -> next
            - click "Browse", navigate to projectName/"src"/"main"/"webapp"/"WEB-INF", click OK, click finish

         3C) Add servlet:

            - go to project explorer, navigate to "src","main","webapp","WEB-INF","web.xml"
            - open the file, go to the Source tab
            - insert at the beginning of line 2, save the file:
                  "<servlet> <servlet-name>Faces Servlet</servlet-name><servlet-class>javax.faces.webapp.FacesServlet</servlet-class><load-on-startup>1</load-on-startup> </servlet>"

         3D) Do nothing:
            - do nothing, skip this step

         3E) Add the following dependency:
            - group id: "org.apache.deltaspike.modules"
            - artifact id:  "deltaspike-jsf-module-api"
            - version: "1.9.3"

         3F) Add the following dependency:
            - group id: "org.apache.deltaspike.modules"
            - artifact id:  "deltaspike-jsf-module-impl"
            - version: , "1.9.3"

         3G) Add the following dependency:
            - group id: "org.jboss.seam.faces"
            - artifact id:  "seam-faces"
            - version: , "3.0.0.Final"

      4) Update the project using maven -> update project -> check the Force Update
      5) Open project properties, navigate to Project Facets
      ASSERT: The JavaServer Facet is checked

      Show
      1) Create new dynamic web project (no runtime) 2) Convert it to maven project (WAR) 3) Perform one of the following sequences of actions:     3A) Add the following dependency:       - group id: "com.sun.faces"       - artifact id: "jsf-api"       - version: "2.2.20"     3B) Add Faces configuration:       - open project explorer, select project       - open context menu -> "New" -> "Other..."       - select "JBoss Tools Web" -> "JSF" -> "Faces Config" -> next       - click "Browse", navigate to projectName/"src"/"main"/"webapp"/"WEB-INF", click OK, click finish     3C) Add servlet:       - go to project explorer, navigate to "src","main","webapp","WEB-INF","web.xml"       - open the file, go to the Source tab       - insert at the beginning of line 2, save the file:             "<servlet> <servlet-name>Faces Servlet</servlet-name><servlet-class>javax.faces.webapp.FacesServlet</servlet-class><load-on-startup>1</load-on-startup> </servlet>"     3D) Do nothing:       - do nothing, skip this step     3E) Add the following dependency:       - group id: "org.apache.deltaspike.modules"       - artifact id:  "deltaspike-jsf-module-api"       - version: "1.9.3"     3F) Add the following dependency:       - group id: "org.apache.deltaspike.modules"       - artifact id:  "deltaspike-jsf-module-impl"       - version: , "1.9.3"     3G) Add the following dependency:       - group id: "org.jboss.seam.faces"       - artifact id:  "seam-faces"       - version: , "3.0.0.Final" 4) Update the project using maven -> update project -> check the Force Update 5) Open project properties, navigate to Project Facets ASSERT: The JavaServer Facet is checked
    • ---

    Attachments

      Activity

        People

          Unassigned Unassigned
          zcervink Zbyněk Červinka (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

            Created:
            Updated: