JSF Adding Directories and Files

JSF Adding Directories and Files

Creating Directories And Files

  • Adding tool/src/java/org/sakaiproject/tool/tasklist/jsf folder

    • In eclipse expand tasklist-iteration3 project in Navigation view

    • Navigate to tool/src/java/org/sakaiproject/tool/tasklist

    • Select tasklist and right click and select New and then Package

    • In the eclipse "New Java Package" editor append "jsf" to "org.sakaiproject.tool.tasklist" in the Name field

      • org.sakaiproject.tool.tasklist.jsf

    • Click on Finish

  • Adding tool/src/bundle/org/sakaiproject/tool/tasklist/bundle folder

    • Navigate to tool/src

    • Select src and right click and select New and then Folder

    • In the "New Folder" editor enter "/bundle/org/sakaiproject/tool/tasklist/bundle" in the "Folder name" field

    • Click on Finish

  • Creating "Messages.properties" file in "tool/src/bundle/org/sakaiproject/tool/tasklist/bundle"

    • Navigate to "tool/src/bundle/org/sakaiproject/tool/tasklist/bundle"

    • Select bundle and right click and select New and then File

    • In the "New File" editor enter "Messages.properties" in the "File name" field

    • Click on Finish

  • Adding tool/src/webapp/css folder

    • Navigate to "tool/src/webapp"

    • Select webapp and right click and select New and then Folder

    • In the "New Folder" editor enter "css" in the "Folder name" field

    • Click on Finish

  • Create "TaskList.css" file in "tool/src/webapp/css/"

    • Navigate to "tool/src/webapp/css/"

    • Select css and right click and select New and then File

    • In the "New File" editor enter "TaskList.css" in the "File name" field

    • Click on Finish

  • Adding tool/src/webapp/tasklist folder

    • Navigate to "tool/src/webapp"

    • Select webapp and right click and select New and then Folder

    • In the "New Folder" editor enter "tasklist" in the "Folder name" field

    • Click on Finish

  • Create "TaskList.jsp" file in "tool/src/webapp/tasklist/"

    • Navigate to "tool/src/webapp/tasklist/"

    • Select tasklist and right click and select New and then File

    • In the "New File" editor enter "TaskList.jsp" in the "File name" field

    • Click on Finish

  • Creating "faces-config.xml" file in "tool/src/webapp/WEB-INF"

    • Navigate to "too/src/webapp/WEB-INF/"

    • Select WEB-INF and right click and select New and then File

    • In the "New File" editor enter "faces-config.xml" in the "File name" filed

    • Click on finish