Source code revision

svn

summary: Apply changes from Mojarra JSF 2.2 workspace to scrumtoys. Specifically: * Use CDI instead of the to-be-deprecated JSF Managed Beans. * Show resource library contracts in action
revision: 1143
author: edburns
date: 2013-05-01 03:27:53 UTC (3 years)
message: Apply changes from Mojarra JSF 2.2 workspace to scrumtoys. Specifically: * Use CDI instead of the to-be-deprecated JSF Managed Beans. * Show resource library contracts in action

SECTION: Changes

M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/model/entities/Sprint.java
M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/model/entities/Story.java
M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/model/entities/Task.java

- add "remove.ByProject"

M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SkinManager.java
M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/ProjectManager.java
M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SprintManager.java
M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/StoryManager.java
M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SkinValuesManager.java
M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SkinUrlManager.java
M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/DashboardManager.java
M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/TaskManager.java

- Make this be a CDI bean.

A jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/ProjectList.java
A jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SprintList.java
A jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/StoryList.java
A jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/TaskList.java

- Necessary for CDI transition

A jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/AuthManager.java

- Support authentication

A jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SkinManagerVDLFactory.java

- Interface between application level skin selection and the JSF 2.2
resource library contracts feature

M jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/AbstractManager.java

- Remove final so it works with CDI

M jsf/scrumtoys/src/main/resources/META-INF/persistence.xml

- Commented out property for logging

M jsf/scrumtoys/src/main/resources/i18n_pt_BR.properties
M jsf/scrumtoys/src/main/resources/i18n_en_US.properties
M jsf/scrumtoys/src/main/resources/i18n.properties

- New localizations, thanks Bruno Borges

M jsf/scrumtoys/docs/index.html

- Describe database and asadmin manipulations

M jsf/scrumtoys/src/main/webapp/sprint/edit.xhtml
M jsf/scrumtoys/src/main/webapp/sprint/create.xhtml

- Most likely whitespace only changes

M jsf/scrumtoys/src/main/webapp/sprint/show.xhtml

- Conditionally render project edit link.

- Add title and summary to sprint table.

- sprintList has the sprints instead of sprintManager

M jsf/scrumtoys/src/main/webapp/story/edit.xhtml
M jsf/scrumtoys/src/main/webapp/story/show.xhtml
M jsf/scrumtoys/src/main/webapp/story/create.xhtml
M jsf/scrumtoys/src/main/webapp/dashboard/show.xhtml
M jsf/scrumtoys/src/main/webapp/task/edit.xhtml
M jsf/scrumtoys/src/main/webapp/task/show.xhtml
M jsf/scrumtoys/src/main/webapp/task/create.xhtml
M jsf/scrumtoys/src/main/webapp/project/edit.xhtml
M jsf/scrumtoys/src/main/webapp/project/show.xhtml
M jsf/scrumtoys/src/main/webapp/.dashboard.todoTasks.xhtml

- Conditionally render edit link.

- Conditionally render show link.

M jsf/scrumtoys/src/main/webapp/home.xhtml

- Templates in contracts must be referenced absolutely.

M jsf/scrumtoys/src/main/webapp/.dashboard.workingTasks.xhtml
M jsf/scrumtoys/src/main/webapp/.dashboard.stories.xhtml
M jsf/scrumtoys/src/main/webapp/WEB-INF/facelets/testTag.xhtml
M jsf/scrumtoys/src/main/webapp/.dashboard.doneTasks.xhtml

- s/java.sun.com/xmlns.jcp.org/g

M jsf/scrumtoys/src/main/webapp/WEB-INF/sun-web.xml
M jsf/scrumtoys/src/main/webapp/WEB-INF/web.xml

- Critical! Define the security-role-mapping. These are most important files
in making authentication work!

M jsf/scrumtoys/src/main/webapp/WEB-INF/faces-config.xml

- Add the VDLFactory, which allows us to do dynamic skin switching.

M jsf/scrumtoys/src/main/webapp/WEB-INF/beans.xml

- Depending on whether CDI is default enabled or not, this file may or
may not be necessary, but it never hurts to have it if you *are* using
CDI.

M jsf/scrumtoys/src/main/webapp/WEB-INF/glassfish-web.xml

- Convenience to decouple deployment name from war file name.

A jsf/scrumtoys/src/main/webapp/contracts
A jsf/scrumtoys/src/main/webapp/contracts/appRedSkin
A jsf/scrumtoys/src/main/webapp/contracts/appRedSkin/common.css
A jsf/scrumtoys/src/main/webapp/contracts/appRedSkin/template.xhtml
A jsf/scrumtoys/src/main/webapp/contracts/appRedSkin/app.css
A jsf/scrumtoys/src/main/webapp/contracts/appRedSkin/appRedSkin.css
A jsf/scrumtoys/src/main/webapp/contracts/appRedSkin/footer.xhtml
A jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin
A jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin/common.css
A jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin/template.xhtml
A jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin/app.css
A jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin/appOrangeSkin.css
A jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin/footer.xhtml
A jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin
A jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin/common.css
A jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin/template.xhtml
A jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin/app.css
A jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin/appYellowSkin.css
A jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin/footer.xhtml
A jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin
A jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin/common.css
A jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin/appBlueSkin.css
A jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin/template.xhtml
A jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin/app.css
A jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin/footer.xhtml

- Extract the skin into a contract.

M jsf/scrumtoys/src/main/webapp/login.xhtml
M jsf/scrumtoys/src/main/webapp/loginError.xhtml

- The login page

M jsf/scrumtoys/src/main/webapp/skin/changeSkin.xhtml

- IMPORTANT: Due to a bug in Mojarra 2.2.0 this one seems not to work if
it is moved to the new namespace, therefore, don't move it to the new namespace.

M jsf/scrumtoys/src/main/webapp/resources/components/menu.xhtml

- Remove jsr314 references.

M jsf/scrumtoys/src/main/webapp/resources/images/menu/barraSuperior-04.png

- Make this say JSF 2.2

Change Path Actions
M trunk/ws/javaee7/jsf/scrumtoys/docs/index.html
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/model/entities/Sprint.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/model/entities/Story.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/model/entities/Task.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/AbstractManager.java
A trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/AuthManager.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/DashboardManager.java
A trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/ProjectList.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/ProjectManager.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SkinManager.java
A trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SkinManagerVDLFactory.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SkinUrlManager.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SkinValuesManager.java
A trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SprintList.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/SprintManager.java
A trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/StoryList.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/StoryManager.java
A trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/TaskList.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/java/jsf2/demo/scrum/web/controller/TaskManager.java
M trunk/ws/javaee7/jsf/scrumtoys/src/main/resources/META-INF/persistence.xml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/resources/i18n.properties
M trunk/ws/javaee7/jsf/scrumtoys/src/main/resources/i18n_en_US.properties
M trunk/ws/javaee7/jsf/scrumtoys/src/main/resources/i18n_pt_BR.properties
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/.dashboard.doneTasks.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/.dashboard.stories.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/.dashboard.todoTasks.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/.dashboard.workingTasks.xhtml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/WEB-INF/beans.xml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/WEB-INF/facelets/testTag.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/WEB-INF/faces-config.xml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/WEB-INF/glassfish-web.xml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/WEB-INF/sun-web.xml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/WEB-INF/web.xml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin/app.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin/appBlueSkin.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin/common.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin/footer.xhtml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appBlueSkin/template.xhtml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin/app.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin/appOrangeSkin.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin/common.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin/footer.xhtml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appOrangeSkin/template.xhtml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appRedSkin
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appRedSkin/app.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appRedSkin/appRedSkin.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appRedSkin/common.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appRedSkin/footer.xhtml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appRedSkin/template.xhtml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin/app.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin/appYellowSkin.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin/common.css
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin/footer.xhtml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/contracts/appYellowSkin/template.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/dashboard/show.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/home.xhtml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/login.xhtml
A trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/loginError.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/project/edit.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/project/show.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/resources/components/menu.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/resources/images/menu/barraSuperior-04.png
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/skin/changeSkin.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/sprint/create.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/sprint/edit.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/sprint/show.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/story/create.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/story/edit.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/story/show.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/task/create.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/task/edit.xhtml
M trunk/ws/javaee7/jsf/scrumtoys/src/main/webapp/task/show.xhtml
Terms of Use; Privacy Policy; Copyright ©2013-2016 (revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close