Commit ae4c90df by Juho Juopperi

merge

2 parents 8c67c120 1ac734f9
Showing with 4705 additions and 11 deletions
package fi.insomnia.bortal.beans;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import fi.insomnia.bortal.RolePermission;
import fi.insomnia.bortal.SessionHandlerBeanLocal;
import fi.insomnia.bortal.facade.UserFacade;
import fi.insomnia.bortal.model.Role;
import fi.insomnia.bortal.model.RoleRight;
import fi.insomnia.bortal.model.User;
/**
* Session Bean implementation class SessionHandlerBean
*/
@Stateless
public class SessionHandlerBean implements SessionHandlerBeanLocal {
@EJB
private UserFacade userfacade;
/**
* Default constructor.
*/
public SessionHandlerBean() {
// TODO Auto-generated constructor stub
}
@Override
public boolean hasPermission(String target, User user, RolePermission permission) {
User dbusr = userfacade.find(user.getId());
for(Role r : dbusr.getRoles())
{
for(RoleRight rr : r.getRoleRights())
{
if(rr.get)
}
}
}
}
...@@ -20,8 +20,7 @@ import fi.insomnia.bortal.model.User; ...@@ -20,8 +20,7 @@ import fi.insomnia.bortal.model.User;
@Stateless @Stateless
public class UserBean implements UserBeanLocal { public class UserBean implements UserBeanLocal {
private static final Logger logger = LoggerFactory private static final Logger logger = LoggerFactory.getLogger(UserBean.class);
.getLogger(UserBean.class);
/** /**
* Java EE container injektoi tämän luokkamuuttujan luokan luonnin * Java EE container injektoi tämän luokkamuuttujan luokan luonnin
* yhteydessä. * yhteydessä.
...@@ -43,7 +42,6 @@ public class UserBean implements UserBeanLocal { ...@@ -43,7 +42,6 @@ public class UserBean implements UserBeanLocal {
// TODO: Hash function.... // TODO: Hash function....
returnUser.setPassword(password); returnUser.setPassword(password);
// Tallennetaan olio kantaan... // Tallennetaan olio kantaan...
userFacade.create(returnUser); userFacade.create(returnUser);
return returnUser; return returnUser;
...@@ -61,7 +59,7 @@ public class UserBean implements UserBeanLocal { ...@@ -61,7 +59,7 @@ public class UserBean implements UserBeanLocal {
} }
public User getUser(String nick) { public User getUser(String nick) {
return userFacade.findByLogin(nick); return userFacade.findByLogin(nick);
} }
} }
...@@ -25,7 +25,7 @@ public class UserFacade extends GenericFacade<User> { ...@@ -25,7 +25,7 @@ public class UserFacade extends GenericFacade<User> {
public User findByLogin(String login) { public User findByLogin(String login) {
TypedQuery<User> q = em.createNamedQuery("User.findByLogin",User.class); TypedQuery<User> q = em.createNamedQuery("User.findByLogin",User.class);
q.setParameter(":login", login); q.setParameter("login", login);
return q.getSingleResult(); return q.getSingleResult();
} }
......
package fi.insomnia.bortal;
public enum RolePermission {
}
package fi.insomnia.bortal;
import javax.ejb.Local;
import fi.insomnia.bortal.beans.RolePermission;
import fi.insomnia.bortal.model.User;
@Local
public interface SessionHandlerBeanLocal {
boolean hasPermission(String target, User user, RolePermission permission);
}
/* /*
* To change this template, choose Tools | Templates * To change this template, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package fi.insomnia.bortal.handler; package fi.insomnia.bortal.handler;
import javax.ejb.EJB;
import javax.enterprise.context.SessionScoped; import javax.enterprise.context.SessionScoped;
import javax.faces.bean.ManagedBean; import javax.faces.bean.ManagedBean;
import fi.insomnia.bortal.SessionHandlerBeanLocal;
import fi.insomnia.bortal.model.User;
/** /**
* *
* @author tuukka * @author tuukka
...@@ -16,12 +21,25 @@ import javax.faces.bean.ManagedBean; ...@@ -16,12 +21,25 @@ import javax.faces.bean.ManagedBean;
@SessionScoped @SessionScoped
public class SessionHandler { public class SessionHandler {
@EJB
private SessionHandlerBeanLocal handlerbean;
private User user;
/** Creates a new instance of SessionHandler */ /** Creates a new instance of SessionHandler */
public SessionHandler() { public SessionHandler() {
} }
private boolean hasPermission(String target) { public boolean hasPermission(String target) {
handlerbean.hasPermission(target, getUser());
throw new UnsupportedOperationException("Not yet implemented"); throw new UnsupportedOperationException("Not yet implemented");
} }
public void setUser(User user) {
this.user = user;
}
public User getUser() {
return user;
}
} }
user.username=Kyttjtunnus user.username=K\u00e4ytt\u00e4j\u00e4tunnus
user.realname=Nimi user.realname=Nimi
user.password=Salasana user.password=Salasana
user.email=Shkpostiosoite user.email=S\u00e4hk\u00e4postiosoite
user.phone=Puhelinnumero user.phone=Puhelinnumero
user.bankaccount=Tilinumero user.bankaccount=Tilinumero
user.bank=Pankki user.bank=Pankki
save=Tallenna save=Tallenna
cancel=Peruuta cancel=Peruuta
login.username=Kyttjtunnus: login.username=K\u00e4ytt\u00e4j\u00e4tunnus:
login.password=Salasana: login.password=Salasana:
login.submit=Kirjaudu sisn login.submit=Kirjaudu sis\u00e4\u00e4n
user.validate.notUniqueUsername=i18n Kyttjtunnus on jo olemassa. Ole hyv ja valitse toinen tunnus. user.validate.notUniqueUsername=i18n K\u00e4ytt\u00e4j\u00e4tunnus on jo olemassa. Ole hyv\u00e4 ja valitse toinen tunnus.
fallbackstr="fallback default" fallbackstr="fallback default"
teststr=default locale test teststr=default locale test
defaultstr="Something default..." defaultstr="Something default..."
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/JVM 1.6">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/com.sun.enterprise.jst.server.runtimeTarget/GlassFish v3 Java EE 6">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Scrumtoys</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>
#Sat Mar 20 13:38:31 EET 2010
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="Scrumtoys">
<wb-resource deploy-path="/" source-path="/WebContent"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<property name="context-root" value="Scrumtoys"/>
<property name="java-output-path" value="/Scrumtoys/build/classes"/>
</wb-module>
</project-modules>
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="GlassFish v3 Java EE 6"/>
<fixed facet="jst.web"/>
<fixed facet="java"/>
<installed facet="java" version="1.6"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="sun.facet" version="9"/>
</faceted-project>
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
<?xml version="1.0"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE facelet-taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
"http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
<facelet-taglib>
<namespace>http://www.java.net/scrumtoys/jsfcomps</namespace>
<tag>
<tag-name>burndown</tag-name>
<component>
<component-type>BURNDOWN_OUTPUT</component-type>
<renderer-type>BURNDOWN_RENDERER</renderer-type>
</component>
</tag>
<tag>
<tag-name>test</tag-name>
<source>testTag.xhtml</source>
</tag>
</facelet-taglib>
\ No newline at end of file
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
<h:outputText value=" test "/>
</ui:composition>
</html>
\ No newline at end of file
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
version="2.0">
<application>
<resource-bundle>
<base-name>i18n</base-name>
<var>i18n</var>
</resource-bundle>
<message-bundle>i18n</message-bundle>
<locale-config>
<default-locale>en_US</default-locale>
<supported-locale>pt_BR</supported-locale>
</locale-config>
<el-resolver>jsf2.demo.scrum.web.scope.TaskScopeResolver</el-resolver>
</application>
<navigation-rule>
<description>
global navigation rules
</description>
<from-view-id>*</from-view-id>
<navigation-case>
<description>Go to Edit Project Page</description>
<from-outcome>editProject</from-outcome>
<to-view-id>/project/edit.jsf</to-view-id>
</navigation-case>
<navigation-case>
<description>Go to Select Projects Page</description>
<from-outcome>showProjects</from-outcome>
<to-view-id>/project/show.jsf</to-view-id>
</navigation-case>
<navigation-case>
<description>Go to Edit Sprint Page</description>
<from-outcome>editSprint</from-outcome>
<to-view-id>/sprint/edit.jsf</to-view-id>
</navigation-case>
<navigation-case>
<description>Go to Dashboard</description>
<from-outcome>showDashboard</from-outcome>
<to-view-id>/dashboard/show.jsf</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<description>
dashboard navigation rules
</description>
<from-view-id>/dashboard/show.xhtml</from-view-id>
<navigation-case>
<from-outcome>showSprints</from-outcome>
<to-view-id>/sprint/show.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<description>
see burndown
</description>
<from-outcome>burndown</from-outcome>
<to-view-id>/burndown.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<description>
project navigation rules
</description>
<from-view-id>/project/show.xhtml</from-view-id>
<navigation-case>
<from-outcome>showSprints</from-outcome>
<to-view-id>/sprint/show.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<description>
sprint navigation rules
</description>
<from-view-id>/sprint/show.xhtml</from-view-id>
<navigation-case>
<from-outcome>showStories</from-outcome>
<to-view-id>/story/show.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>showDashboard</from-outcome>
<to-view-id>/dashboard/show.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<description>
story navigation rules
</description>
<from-view-id>/story/show.xhtml</from-view-id>
<navigation-case>
<from-outcome>showTasks</from-outcome>
<to-view-id>/task/show.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>showSprints</from-outcome>
<to-view-id>/sprint/show.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<description>
task navigation rules
</description>
<from-view-id>/task/show.xhtml</from-view-id>
<navigation-case>
<from-outcome>showStories</from-outcome>
<to-view-id>/story/show.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<sun-web-app error-url="">
<context-root>/scrumtoys</context-root>
<class-loader delegate="true"/>
<jsp-config>
<property name="keepgenerated" value="true">
<description>Keep a copy of the generated servlet class' java code.</description>
</property>
</jsp-config>
</sun-web-app>
<?xml version="1.0"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<display-name>Scrum Checklist 2.0</display-name>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
<param-value>/WEB-INF/facelets/jsfcomps.taglib.xml</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>/index.html</location>
</error-page>
</web-app>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="HOME needs i18n"></h:outputText>
</ui:define>
<ui:define name="content">
<h:messages globalOnly="true" showDetail="true" tooltip="true" errorClass="errorMsgs" infoClass="infoMsgs" />
<h:form id="frmNew">
<h2>New Sprint</h2>
<h:panelGrid columns="3" style="width: 300px">
<h:outputLabel value="#{i18n['sprints.label.name']}:" for="itName" />
<h:inputText id="itName" value="#{allInOneMB.sprintsMB.toSave.name}" required="true" requiredMessage="Type the short name" />
<h:message for="itName" />
<h:outputLabel value="#{i18n['sprints.label.goals']}:" for="itGoals" />
<h:inputText id="itGoals" value="#{allInOneMB.sprintsMB.toSave.goals}" required="true" requiredMessage="Describe the goals" />
<h:message for="itGoals" />
<h:outputLabel value="#{i18n['sprints.label.iterationScope']}:" for="itIterationScope" />
<h:inputText id="itIterationScope" value="#{allInOneMB.sprintsMB.toSave.iterationScope}" required="true" requiredMessage="Type the scope" />
<h:message for="itIterationScope" />
<h:outputLabel value="#{i18n['sprints.label.startedAt']}:" for="itStartedAt" />
<h:inputText id="itStartedAt" value="#{allInOneMB.sprintsMB.toSave.startedAt}" required="true" requiredMessage="Type when this sprint start" />
<h:message for="itStartedAt" />
<h:outputLabel value="#{i18n['sprints.label.dailyMeetingTime']}:" for="itDailyMeetingTime" />
<h:inputText id="itDailyMeetingTime" value="#{allInOneMB.sprintsMB.toSave.dailyMeetingTime}" required="true" requiredMessage="Type the estimation (story points)" />
<h:message for="itDailyMeetingTime" />
<f:verbatim></f:verbatim>
<f:verbatim></f:verbatim>
<h:commandButton action="#{allInOneMB.sprintsMB.save}" value="save" />
</h:panelGrid>
</h:form>
<h:form id="frmList">
<h2>Sprints</h2>
<h:panelGrid columns="3" style="width: 300px">
<h:outputLabel value="Not exist sprints" style="color: orange" rendered="#{allInOneMB.sprintsMB.dm.rowCount eq 0}"/>
</h:panelGrid>
<h:dataTable value="#{allInOneMB.sprintsMB.dm}" var="sprint" width="100%" rendered="#{allInOneMB.sprintsMB.dm.rowCount > 0}">
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="#" /></f:facet>
<h:outputText value="#{allInOneMB.sprintsMB.dm.rowIndex + 1}" />
<f:facet name="footer">#{""}</f:facet>
</h:column>
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="name" /></f:facet>
<h:outputText value="#{sprint.name}" />
<f:facet name="footer">#{allInOneMB.sprintsMB.dm.rowCount}#{" sprints"}</f:facet>
</h:column>
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="goals" /></f:facet>
<h:outputText value="#{sprint.goals}" />
<f:facet name="footer">#{" "}</f:facet>
</h:column>
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="iteration scope" /></f:facet>
<h:outputText value="#{sprint.iterationScope}" />
<f:facet name="footer">#{" "}</f:facet>
</h:column>
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="started at" /></f:facet>
<h:outputText value="#{sprint.startedAt}" />
<f:facet name="footer">#{" "}</f:facet>
</h:column>
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="daily meeting time" /></f:facet>
<h:outputText value="#{sprint.dailyMeetingTime}" />
<f:facet name="footer">#{" "}</f:facet>
</h:column>
<h:column>
<f:facet name="header"><h:outputLabel value="actions" /></f:facet>
<h:commandButton action="#{allInOneMB.sprintsMB.edit}" value="edit ..." />
<h:commandButton action="#{allInOneMB.sprintsMB.remove}" value="remove" />
<h:commandButton action="#{allInOneMB.sprintsMB.showStories}" value="stories ..." />
<h:commandButton action="#{allInOneMB.sprintsMB.showDashboard}" value="dashboard ..." />
<f:facet name="footer">#{" "}</f:facet>
</h:column>
</h:dataTable>
</h:form>
<h:form id="frmNewStory">
<h2>New Story</h2>
<h:panelGrid columns="3" style="width: 300px">
<h:outputLabel value="#{i18n['stories.label.sprint']}:" for="otSprint" />
<h:outputText id="otSprint" value="#{storiesMB.toSave.sprint.name}" />
<h:message for="otSprint" />
<h:outputLabel value="#{i18n['stories.label.name']}:" for="itName" />
<h:inputText id="itName" value="#{storiesMB.toSave.name}" required="true" requiredMessage="Describe the story" />
<h:message for="itName" />
<h:outputLabel value="#{i18n['stories.label.acceptance']}:" for="itAcceptance" />
<h:inputTextarea id="itAcceptance" value="#{storiesMB.toSave.acceptance}" required="true" cols="50" rows="4" requiredMessage="Describe the acceptance" />
<h:message for="itAcceptance" />
<h:outputLabel value="#{i18n['stories.label.priority']}:" for="selPriority" />
<h:inputText id="selPriority" value="#{storiesMB.toSave.priority}" required="true" requiredMessage="Type the priority (sequence to do)" />
<h:message for="selPriority" />
<h:outputLabel value="#{i18n['stories.label.estimation']}:" for="itEstimation" />
<h:inputText id="itEstimation" value="#{storiesMB.toSave.estimation}" required="true" requiredMessage="Type the estimation (story points)" />
<h:message for="itEstimation" />
<f:verbatim></f:verbatim>
<f:verbatim></f:verbatim>
<h:commandButton action="#{storiesMB.save}" value="save" />
</h:panelGrid>
</h:form>
<h:form id="frmStories">
<h2>Stories</h2>
<h:panelGrid columns="3" >
<h:outputLabel value="No exist stories for this sprint" rendered="#{storiesMB.dm.rowCount eq 0}"/>
</h:panelGrid>
<h:dataTable value="#{storiesMB.dm}" var="story" width="100%" rendered="#{storiesMB.dm.rowCount > 0}">
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="#" /></f:facet>
<h:outputText value="#{storiesMB.dm.rowIndex + 1}" />
<f:facet name="footer">#{""}</f:facet>
</h:column>
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="name" /></f:facet>
<h:outputText value="#{story.name}" />
<f:facet name="footer">#{storiesMB.dm.rowCount}#{" stories"}</f:facet>
</h:column>
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="priority" /></f:facet>
<h:outputText value="#{story.priority}" />
<f:facet name="footer">#{" "}</f:facet>
</h:column>
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="estimation (sp)" /></f:facet>
<h:outputText value="#{story.estimation}" />
<f:facet name="footer">#{" "}</f:facet>
</h:column>
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="acceptance" /></f:facet>
<h:outputText value="#{story.acceptance}" />
<f:facet name="footer">#{" "}</f:facet>
</h:column>
<h:column>
<f:facet name="header"><h:outputLabel value="actions" /></f:facet>
<h:commandButton action="#{storiesMB.edit}" value="edit ..." immediate="true" />
<h:commandButton action="#{storiesMB.remove}" value="remove" immediate="true" />
<h:commandButton action="#{storiesMB.showTasks}" value="tasks" immediate="true" />
<f:facet name="footer">#{" "}</f:facet>
</h:column>
</h:dataTable>
</h:form>
<h:form id="frmNewTask">
<h:commandLink action="stories" value="#{'go back stories'}" immediate="true" />
<h2>New Task</h2>
<h:panelGrid columns="3" style="width: 300px">
<h:outputLabel value="#{i18n['tasks.label.story']}:" for="otStory" />
<h:outputText id="otStory" value="#{tasksMB.taskToSave.story.name}" />
<h:message for="otStory" />
<h:outputLabel value="#{i18n['tasks.label.name']}:" for="itName" />
<h:inputText id="itName" value="#{tasksMB.taskToSave.name}" required="true" requiredMessage="Descreva a tarefa" />
<h:message for="itName" />
<f:verbatim></f:verbatim>
<f:verbatim></f:verbatim>
<h:commandButton action="#{tasksMB.save}" value="save" />
</h:panelGrid>
</h:form>
<h:form id="frmTasks">
<h2>Tasks</h2>
<h:panelGrid columns="3" style="width: 300px">
<h:outputLabel value="Nao ha tarefas para esta estoria" style="color: orange" rendered="#{tasksMB.dmTasks.rowCount eq 0}"/>
</h:panelGrid>
<h:dataTable value="#{tasksMB.dmTasks}" var="task" width="300px" rendered="#{tasksMB.dmTasks.rowCount > 0}">
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="#" /></f:facet>
<h:outputText value="#{tasksMB.dmTasks.rowIndex + 1}" />
<f:facet name="footer">#{""}</f:facet>
</h:column>
<h:column headerClass="textColumn">
<f:facet name="header"><h:outputLabel value="name" /></f:facet>
<h:outputText value="#{task.name}" />
<f:facet name="footer">#{tasksMB.dmTasks.rowCount}#{" tasks"}</f:facet>
</h:column>
<h:column>
<f:facet name="header"><h:outputLabel value="actions" /></f:facet>
<h:commandButton action="#{tasksMB.edit}" value="edit ..." immediate="true" />
<h:commandButton action="#{tasksMB.remove}" value="remove" immediate="true" />
<f:facet name="footer">#{" "}</f:facet>
</h:column>
</h:dataTable>
</h:form>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:jsfcomps="http://www.java.net/scrumtoys/jsfcomps"
xmlns:appez="http://java.sun.com/jsf/composite/components" >
<h:head>
<title>#{"Burndown"}</title>
<h:outputStylesheet library="css/1_1" name="app.css"/>
</h:head>
<h:body>
<h:outputScript library="javax.faces" name="ajax.js" target="head"/>
<h:messages errorClass="errorMsgs" infoClass="infoMsgs" />
<appez:title id="tituloDashboard" text="#{'Burndown'}" />
<h:form>
<h:outputLabel value="Sprint:" for="somSprints" />
<h:selectOneMenu id="somSprints" value="#{burndownMB.selectedSprintId}">
<f:selectItems value="#{burndownMB.siSprints}"/>
</h:selectOneMenu>
<h:message for="somSprints" />
<h:commandButton action="#{burndownMB.update}" value="Update" />
<h:panelGrid columns="1">
<h:outputText value="#{burndownMB.selectedSprint.name}" />
<jsfcomps:burndown value="#{burndownMB.selectedSprint}" />
<jsfcomps:test />
</h:panelGrid>
</h:form>
</h:body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['menuitem.label.sprints']}"></h:outputText>
</ui:define>
<ui:define name="content">
<h:form id="changeSkin">
<h:panelGrid styleClass="whiteboard" headerClass="tableHeader" footerClass="tableFooter">
<f:facet name="header">
<h:outputText value="Select application skin color"></h:outputText>
</f:facet>
<h:panelGrid columns="4" styleClass="tableBody" columnClasses="postItYellow, postItOrange, postItRed, postItBlue">
<h:commandLink action="#{skinManager.yellowSkin}"><h:outputText value="Yellow"></h:outputText></h:commandLink>
<h:commandLink action="#{skinManager.orangeSkin}"><h:outputText value="Orange"></h:outputText></h:commandLink>
<h:commandLink action="#{skinManager.redSkin}"><h:outputText value="Red"></h:outputText></h:commandLink>
<h:commandLink action="#{skinManager.blueSkin}"><h:outputText value="Blue"></h:outputText></h:commandLink>
</h:panelGrid>
<f:facet name="footer">
<h:outputText value=" "></h:outputText>
</f:facet>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:appez="http://java.sun.com/jsf/composite/components" >
<ui:composition template="template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="HOME needs i18n"></h:outputText>
</ui:define>
<ui:define name="content">
<h:outputScript library="javax.faces" name="ajax.js" target="head"></h:outputScript>
<h:messages errorClass="errorMsgs" infoClass="infoMsgs" />
<appez:title id="tituloDashboard" text="#{dashboardMB.selectedSprint.name}">
<h:panelGroup>
<h:outputLabel value="#{i18n['label.goal']}:" for="" style="font-weight: bold" />
<h:outputText value="#{dashboardMB.selectedSprint.goals}" />
</h:panelGroup>
</appez:title>
<h:panelGrid columns="2" style="float: left">
<h:outputLabel value="#{i18n['label.estimatives']}:" for="" style="font-weight: bold" />
<h:outputText value="#{dashboardMB.selectedSprint.meetings.estimation.date}">
<f:convertDateTime pattern="dd/MM/yyyy" />
</h:outputText>
<h:outputLabel value="#{i18n['label.planning1']}:" for="" style="font-weight: bold" />
<h:outputText value="#{dashboardMB.selectedSprint.meetings.sprintPlanningI.date}">
<f:convertDateTime pattern="dd/MM/yyyy" />
</h:outputText>
<h:outputLabel value="#{i18n['label.planning2']}:" for="" style="font-weight: bold" />
<h:outputText value="#{dashboardMB.selectedSprint.meetings.sprintPlanningII.date}"/>
<h:outputLabel value="#{i18n['label.dailyMeeting']}:" for="" style="font-weight: bold" />
<h:panelGroup>
<h:outputText value="#{dashboard2MB.selectedSprint.dailyMeetingTime}">
</h:outputText>
</h:panelGroup>
<h:outputLabel value="#{i18n['label.revision']}:" for="" style="font-weight: bold" />
<h:outputText value="#{dashboardMB.selectedSprint.meetings.revision.date}">
<f:convertDateTime pattern="dd/MM/yyyy" />
</h:outputText>
<h:outputLabel value="#{i18n['label.retrospective']}:" for="" style="font-weight: bold" />
<h:outputText value="#{dashboardMB.selectedSprint.meetings.retrospective.date}">
<f:convertDateTime pattern="dd/MM/yyyy" />
</h:outputText>
</h:panelGrid>
<table width="100%">
<tr>
<td style="vertical-align: top; min-width: 150px" width="150px">
<h:form id="frmStories">
<ui:include src=".dashboard.stories.xhtml" />
</h:form>
</td>
<td style="vertical-align: top; min-width: 150px" width="150px">
<h:form id="frmTodo">
<ui:include src=".dashboard.todoTasks.xhtml" />
</h:form>
</td>
<td style="vertical-align: top; min-width: 150px" width="150px">
<h:form id="frmWorking">
<ui:include src=".dashboard.workingTasks.xhtml" />
</h:form>
</td>
<td style="vertical-align: top; min-width: 150px" width="150px">
<h:form id="frmDone">
<ui:include src=".dashboard.doneTasks.xhtml" />
</h:form>
</td>
</tr>
</table>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:scrum="http://java.sun.com/jsf/composite/components" >
<ui:composition template="/template.xhtml">
<f:metadata>
<f:viewParam name="skin" value="#{skinUrlManager.skin}" />
<f:event type="preRenderView" listener="#{skinUrlManager.update}" />
</f:metadata>
<ui:define name="pageTitle">
<h:outputText value="#{i18n['story.show.title']}"></h:outputText>
</ui:define>
<ui:define name="navigationBar">
<h:commandLink immediate="true" action="/project/show" value="#{i18n['navigation.projects']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/project/edit" value="#{sprintManager.project.name}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/sprint/show" value="#{i18n['navigation.sprints']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:outputText value="#{i18n['sprint.edit.form.title']}" styleClass="tituloForm"></h:outputText>
</ui:define>
<ui:define name="content">
<h:form id="frmListStories">
<h:panelGrid columns="5">
<h:dataTable value="#{dashboardManager.stories}" var="story" rendered="#{dashboardManager.stories.rowCount > 0}" border="0" id="dtStories" >
<h:column>
<f:facet name="header"><h:outputText value="STORIES" /></f:facet>
<scrum:bigPostit>
<ui:param name="postitLabel" value=""></ui:param>
<ui:param name="postitText" value="#{story.name}"></ui:param>
</scrum:bigPostit>
</h:column>
</h:dataTable>
<h:dataTable value="#{dashboardManager.toDoTasks}" var="task" title="Todo Tasks">
<f:facet name="header"><h:outputText value="TO DO" /></f:facet>
<h:column>
<scrum:postit action="#{dashboardManager.editToDoTask}">
<ui:param name="postitLabel" value=""></ui:param>
<ui:param name="postitText" value="#{task.name}"></ui:param>
</scrum:postit>
</h:column>
</h:dataTable>
<h:dataTable value="#{dashboardManager.workingTasks}" var="task" title="Working Tasks">
<f:facet name="header"><h:outputText value="DOING" /></f:facet>
<h:column>
<scrum:postit action="#{dashboardManager.editWorkingTask}">
<ui:param name="postitLabel" value=""></ui:param>
<ui:param name="postitText" value="#{task.name}"></ui:param>
</scrum:postit>
</h:column>
</h:dataTable>
<h:dataTable value="#{dashboardManager.doneTasks}" var="task" title="Done Tasks">
<f:facet name="header"><h:outputText value="DONE" /></f:facet>
<h:column>
<scrum:postit action="#{dashboardManager.editDoneTask}">
<ui:param name="postitLabel" value=""></ui:param>
<ui:param name="postitText" value="#{task.name}"></ui:param>
</scrum:postit>
</h:column>
</h:dataTable>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
<div align="center" style="width: 100%">
<h:graphicImage value="/resources/images/SoccerDukeSmall.png" width="59" height="47" title="Developed by: Alberto Lemos (Spock), Andre Frota, Ed Burns, Vinicius Nunes, Vinicius Senger e Yara Senger"></h:graphicImage>
</div>
</ui:composition>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="template.xhtml">
<f:metadata>
<f:viewParam name="skin" value="#{skinUrlManager.skin}" />
<f:event type="preRenderView" listener="#{skinUrlManager.update}" />
</f:metadata>
<ui:insert name="pageTitle">
<h:outputText value="#{i18n['template.title']}"></h:outputText>
</ui:insert>
<ui:define name="content">
Welcome
</ui:define>
</ui:composition>
</html>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<meta http-equiv="refresh" content="0;url=/scrumtoys/home.jsf">
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GlassFish JSP Page</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
<table width="990" class="menuTable" cellpadding="0" cellspacing="0" >
<tr>
<td>
<h:graphicImage value="/resources/images/duque_Top_990x150.png"></h:graphicImage><br/>
</td>
</tr>
<tr>
<td>
<table class="menuTable" cellpadding="0" cellspacing="0">
<tr>
<td>
<h:outputLink styleClass="menuhandler" value="#{i18n['menuitem.path.home']}" onmouseover="menuHighlight(1)">
<h:outputText value="HOME"/>
</h:outputLink>
</td> <td>
<h:outputLink styleClass="menuhandler" value="#{i18n['menuitem.path.dashboard']}" onmouseover="menuHighlight(2)">
<h:outputText value="#{i18n['menuitem.label.dashboard']}" />
</h:outputLink>
</td>
<td>
<h:outputLink styleClass="menuhandler" value="#{i18n['menuitem.path.allInOne']}" onmouseover="menuHighlight(3)">
<h:outputText value="#{i18n['menuitem.label.allInOne']}" />
</h:outputLink>
</td>
<td>
<h:outputLink styleClass="menuhandler" value="#{i18n['menuitem.path.burndown']}" onmouseover="menuHighlight(4)">
<h:outputText value="#{i18n['menuitem.label.burndown']}" />
</h:outputLink>
</td>
<td>
<h:outputLink styleClass="menuhandler" value="#{i18n['menuitem.path.sprints']}" onmouseover="menuHighlight(5)">
<h:outputText value="#{i18n['menuitem.label.sprints']}" />
</h:outputLink>
</td>
<td>
<h:outputLink styleClass="menuhandler" value="#{i18n['menuitem.path.sprints']}" onmouseover="menuHighlight(6)">
<h:outputText value="JSF 2.0" />
</h:outputLink>
</td>
</tr>
<tr>
<td>
<div class="menu" id="menu1"></div>
</td>
<td>
<div class="menu" id="menu2">
<ul>
<li><a href="#">Help</a></li>
</ul>
</div>
</td>
<td>
<div class="menu" id="menu3">
<ul>
<li><a href="#">Demo1</a></li>
<li><a href="#">Demo2</a></li>
</ul>
</div>
</td>
<td>
<div class="menu" id="menu4"></div>
</td>
<td>
<div class="menu" id="menu5">
<ul>
<li> <h:outputLink value="#{i18n['menuitem.path.newsprint']}">
<h:outputText value="#{i18n['menuitem.label.newsprint']}" />
</h:outputLink>
</li>
<li> <h:outputLink value="#{i18n['menuitem.path.sprintslist']}" >
<h:outputText value="#{i18n['menuitem.label.sprintslist']}" />
</h:outputLink>
</li>
</ul>
</div>
</td>
<td>
<div class="menu" id="menu6" >
<ul>
<li><a href="http://www.jcp.org/en/jsr/detail?id=314#">JSR 314</a></li>
<li><a href="http://weblogs.java.net/blog/edburns/archive/2007/01/jsf_irc_channel.html#">IRC</a></li>
<li><a href="http://java.sun.com/javaee/javaserverfaces/#">Documentation</a></li>
<li><a href="#">Blogs</a></li>
</ul>
</div>
</td>
</tr>
<tr></tr>
</table>
</td>
</tr>
</table>
</ui:composition>
</html>
\ No newline at end of file
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['project.create.title']}"/>
</ui:define>
<ui:define name="navigationBar">
<h:commandLink action="/project/show" value="#{i18n['navigation.projects']}"/>
<h:outputText value="#{i18n['navigation.separtor']}"/>
<h:outputText value="#{i18n['project.create.form.title']}" styleClass="tituloForm" />
</ui:define>
<ui:define name="content">
<h:form id="createProjectForm">
<h:panelGrid columns="1" footerClass="footerForm">
<h:panelGroup>
<ui:include src="form.xhtml"/>
</h:panelGroup>
<f:facet name="footer">
<h:commandButton id="btnCreate" action="#{projectManager.save}" value="#{i18n['project.create.button.create']}" styleClass="botaoPostIt" />
<h:commandButton id="btnCancel" action="show" value="#{i18n['project.create.button.cancel']}" styleClass="botaoPostIt" immediate="true" />
</f:facet>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['project.edit.title']}"/>
</ui:define>
<ui:define name="navigationBar">
<h:commandLink action="/project/show" value="#{i18n['navigation.projects']}"/>
<h:outputText value="#{i18n['navigation.separtor']}"/>
<h:outputText value="#{i18n['project.edit.form.title']}:" styleClass="tituloForm" />
</ui:define>
<ui:define name="content">
<h:form styleClass="scrumForm" id="editProjectForm">
<h:panelGrid columns="1" headerClass="tituloForm" footerClass="footerForm">
<ui:include src="form.xhtml" />
<f:facet name="footer">
<h:commandButton id="btnEditUpdate" action="#{projectManager.save}" value="#{i18n['project.edit.button.update']}" styleClass="botaoPostIt" />
<h:commandButton id="btnEditCancel" action="#{projectManager.cancelEdit}" immediate="true" value="#{i18n['project.edit.button.cancel']}" styleClass="botaoPostIt" />
</f:facet>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition>
<h:panelGrid columns="3" columnClasses="formLabel, formInput, formErrorMessage">
<h:outputLabel value="#{i18n['project.form.label.name']}:" for="itName"/>
<h:inputText id="itName" value="#{projectManager.currentProject.name}" required="true"
requiredMessage="#{i18n['project.form.label.name.required']}" size="40"
validator="#{projectManager.checkUniqueProjectName}" />
<h:message for="itName" styleClass="errorMessage" />
<h:outputLabel value="#{i18n['project.form.label.startDate']}:" for="itStartedDate" />
<h:panelGroup>
<h:inputText id="itStartedDate" value="#{projectManager.currentProject.startDate}" required="true" requiredMessage="#{i18n['project.form.label.startDate.required']}">
<f:convertDateTime pattern="#{i18n['project.form.label.startDate.pattern']}" />
</h:inputText>
<h:outputText value="(#{i18n['project.form.label.startDate.pattern']})" styleClass="inputPattern" />
</h:panelGroup>
<h:message for="itStartedDate" styleClass="errorMessage"/>
<h:outputLabel value="#{i18n['project.form.label.endDate']}:" for="itEndDate" />
<h:panelGroup>
<h:inputText id="itEndDate" value="#{projectManager.currentProject.endDate}" required="false" requiredMessage="#{i18n['project.form.label.endDate.required']}">
<f:convertDateTime pattern="#{i18n['project.form.label.endDate.pattern']}" />
</h:inputText>
<h:outputText value="(#{i18n['project.form.label.endDate.pattern']})" styleClass="inputPattern"/>
</h:panelGroup>
<h:message for="itEndDate" styleClass="errorMessage" />
</h:panelGrid>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['project.show.title']}"/>
</ui:define>
<ui:define name="navigationBar">
<h:outputText value="#{i18n['project.show.title']}" styleClass="tituloForm" />
</ui:define>
<ui:define name="content">
<h:form id="frmListProjects">
<h:outputText value="#{i18n['project.show.table.label.empty']}"
rendered="#{projectManager.projects.rowCount eq 0}" />
<h:dataTable value="#{projectManager.projects}" var="project"
rendered="#{projectManager.projects.rowCount > 0}"
title="#{i18n['project.show.table.title']}"
summary="#{i18n['project.show.table.title']}"
border="0"
headerClass="datatableHeader"
rowClasses="datatableRow,datatableRow2"
columnClasses="dataTableFirstColumn"
styleClass="datatable"
id="dtProjects">
<h:column>
<f:facet name="header"><h:outputText value="#" /></f:facet>
<h:outputText value="#{projectManager.projects.rowIndex + 1}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['project.show.table.header.name']}" /></f:facet>
<h:outputText value="#{project.name}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['project.show.table.header.startDate']}"/></f:facet>
<h:outputText value="#{project.startDate}">
<f:convertDateTime pattern="#{i18n['project.show.table.header.startDate.pattern']}" />
</h:outputText>
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['project.show.table.header.endDate']}"/></f:facet>
<h:outputText value="#{project.endDate}">
<f:convertDateTime pattern="#{i18n['project.show.table.header.endDate.pattern']}" />
</h:outputText>
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['project.show.table.header.actions']}"/></f:facet>
<h:commandButton styleClass="botaoPostIt" action="#{projectManager.edit}" value="#{i18n['project.show.button.edit']}" />
<h:commandButton styleClass="botaoPostIt" action="#{projectManager.remove}" value="#{i18n['project.show.button.delete']}" />
<h:commandButton styleClass="botaoPostIt" action="#{projectManager.showSprints}" value="#{i18n['project.show.button.showSprints']}" />
</h:column>
</h:dataTable>
<h:commandButton styleClass="botaoPostIt" action="#{projectManager.create}" value="#{i18n['project.show.button.newProject']}" />
</h:form>
</ui:define>
</ui:composition>
</html>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:composite="http://java.sun.com/jsf/composite">
<composite:interface>
<composite:valueHolder name="postitLabel"/>
<composite:valueHolder name="postitText"/>
<composite:valueHolder name="postitLabel2"/>
<composite:valueHolder name="postitText2"/>
<composite:valueHolder name="postitLabel3"/>
<composite:valueHolder name="postitText3"/>
</composite:interface>
<composite:implementation>
<h:panelGrid styleClass="bigPostitComponent" columns="2" columnClasses="postitLabel, postItInfo">
<f:facet name="header">
<f:verbatim>
<br></br>
</f:verbatim>
</f:facet>
<h:outputText value="#{postitLabel}"/>
<h:outputText value="#{postitText}"/>
<h:outputText value="#{postitLabel2}"/>
<h:outputText value="#{postitText2}"/>
<h:outputText value="#{postitLabel3}"/>
<h:outputText value="#{postitText3}"/>
</h:panelGrid>
</composite:implementation>
</html>
\ No newline at end of file
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:composite="http://java.sun.com/jsf/composite"
xmlns:scrum="http://java.sun.com/jsf/composite/components"
xmlns:ui="http://java.sun.com/jsf/facelets">
<composite:interface>
<composite:valueHolder name="image"/>
</composite:interface>
<composite:implementation>
<h:form id="menuSelectProjectForm">
<table width="990" class="menuTable" cellpadding="0" cellspacing="0" id="menuTable">
<tr>
<scrum:menuItem>
<ui:param name="label" value="#{i18n['menuitem.label.home']}"></ui:param>
<ui:param name="destination" value="#{i18n['menuitem.path.home']}"></ui:param>
<ui:param name="menuid" value="1"></ui:param>
</scrum:menuItem>
<scrum:menuItem>
<ui:param name="label" value="#{i18n['menuitem.label.projects']}"></ui:param>
<ui:param name="destination" value="#{i18n['menuitem.path.projects']}"></ui:param>
<ui:param name="menuid" value="2"></ui:param>
</scrum:menuItem>
<scrum:menuItem>
<ui:param name="label" value="#{i18n['menuitem.label.settings']}"></ui:param>
<ui:param name="destination" value=""></ui:param>
<ui:param name="menuid" value="4"></ui:param>
</scrum:menuItem>
<scrum:menuItem>
<ui:param name="label" value="#{i18n['menuitem.label.jsf2']}"></ui:param>
<ui:param name="destination" value=""></ui:param>
<ui:param name="menuid" value="5"></ui:param>
</scrum:menuItem>
<td>
<h:outputLabel for="prjCombo" value="#{i18n['home.project.combo.label']}" styleClass="formLabel" />
<h:selectOneMenu id="prjCombo" value="#{projectManager.currentProject}" styleClass="formInput">
<f:selectItems value="#{projectManager.projectList}" var="project" itemLabel="#{project.name}" itemValue="#{project}"/>
</h:selectOneMenu>
</td>
<td>
<h:commandButton value="Change Project" action="#{projectManager.viewSprints}"></h:commandButton>
</td>
</tr>
<tr>
<scrum:submenu>
<ui:param name="menuid" value="1"></ui:param>
</scrum:submenu>
<scrum:submenu>
<ui:param name="menuid" value="2"></ui:param>
<scrum:submenuItem>
<ui:param name="label" value="#{i18n['menuitem.label.showProjects']}"></ui:param>
<ui:param name="destination" value="#{i18n['menuitem.path.showProjects']}"></ui:param>
</scrum:submenuItem>
</scrum:submenu>
<scrum:submenu>
<ui:param name="menuid" value="4"></ui:param>
<scrum:submenuItem>
<ui:param name="label" value="#{i18n['menuitem.label.changeskin']}"></ui:param>
<ui:param name="destination" value="#{i18n['menuitem.path.changeskin']}"></ui:param>
</scrum:submenuItem>
</scrum:submenu>
<scrum:submenu>
<ui:param name="menuid" value="5"></ui:param>
<scrum:submenuItem>
<ui:param name="label" value="#{i18n['menuitem.label.about']}"></ui:param>
<ui:param name="destination" value="#{i18n['menuitem.path.about']}"></ui:param>
</scrum:submenuItem>
<scrum:submenuItem>
<ui:param name="label" value="#{i18n['menuitem.label.jsr314']}"></ui:param>
<ui:param name="destination" value="#{i18n['menuitem.path.jsr314']}"></ui:param>
</scrum:submenuItem>
<scrum:submenuItem>
<ui:param name="label" value="#{i18n['menuitem.label.irc']}"></ui:param>
<ui:param name="destination" value="#{i18n['menuitem.path.irc']}"></ui:param>
</scrum:submenuItem>
<scrum:submenuItem>
<ui:param name="label" value="#{i18n['menuitem.label.documentation']}"></ui:param>
<ui:param name="destination" value="#{i18n['menuitem.path.documentation']}"></ui:param>
</scrum:submenuItem>
</scrum:submenu>
<scrum:submenu>
<ui:param name="menuid" value="6"></ui:param>
</scrum:submenu>
</tr>
</table>
<h:graphicImage value="#{image}"></h:graphicImage><br/>
</h:form>
</composite:implementation>
</html>
\ No newline at end of file
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:composite="http://java.sun.com/jsf/composite">
<composite:interface>
<composite:valueHolder name="label" />
<composite:valueHolder name="destination" />
<composite:valueHolder name="menuid" />
</composite:interface>
<composite:implementation>
<td>
<h:outputLink styleClass="menuhandler" value="#{destination}" onmouseover="menuHighlight(#{menuid})" rendered="#{label!=''}">
<h:outputText value="#{label}"/>
</h:outputLink>
<composite:insertChildren />
</td>
</composite:implementation>
</html>
\ No newline at end of file
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:composite="http://java.sun.com/jsf/composite"
xmlns:ui="http://java.sun.com/jsf/facelets">
<composite:interface>
<composite:valueHolder name="postitLabel"/>
<composite:valueHolder name="postitText"/>
<composite:attribute name="color" type="java.lang.String"/>
<composite:attribute name="action" method-signature="java.lang.String action()" targets="postitAction"/>
</composite:interface>
<composite:implementation>
<h:panelGrid styleClass="postitComponent#{cc.attrs.color}">
<h:panelGroup>
<h:outputText value="#{postitLabel}" styleClass="postitLabel"/> <br/><br/>
<ui:insert name="main">
<h:commandLink id="postitAction" immediate="true">
<h:outputText value="#{postitText}"/>
</h:commandLink>
</ui:insert>
</h:panelGroup>
</h:panelGrid>
</composite:implementation>
</html>
\ No newline at end of file
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition template="postit.xhtml">
<ui:define name="main">
<h:link outcome="#{cc.attrs.url}" value="#{postitText}"
rendered="#{cc.attrs.url != null}">
<f:param name="#{cc.attrs.paramName}" value="#{cc.attrs.paramValue}" />
</h:link>
</ui:define>
</ui:composition>
</html>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:composite="http://java.sun.com/jsf/composite">
<ui:composition>
<composite:interface>
<composite:valueHolder name="menuid" />
</composite:interface>
<composite:implementation>
<td>
<div class="menu" id="menu#{menuid}">
<ul>
<composite:insertChildren></composite:insertChildren>
</ul>
</div>
</td>
</composite:implementation>
</ui:composition>
</html>
\ No newline at end of file
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:composite="http://java.sun.com/jsf/composite">
<composite:interface>
<composite:valueHolder name="label" />
<composite:valueHolder name="destination" />
</composite:interface>
<composite:implementation>
<li>
<h:outputLink value="#{destination}" rendered="#{label!=''}">
<h:outputText value="#{label}" />
</h:outputLink>
</li>
</composite:implementation>
</html>
\ No newline at end of file
label=T\u00EDtulo
version=0.1.0
\ No newline at end of file
<?xml version="1.0" encoding="ISO-8859-1" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:composite="http://java.sun.com/jsf/composite"
xmlns:fn="http://java.sun.com/jsp/jstl/functions">
<ui:composition>
<composite:interface>
<composite:attribute name="text" required="true" />
<composite:valueHolder name="oTitle" />
<composite:facet name="header" />
<composite:facet name="footer" />
</composite:interface>
<composite:implementation>
<h:panelGrid columns="1" rendered="#{not empty compositeComponent.facets.header}">
<composite:insertFacet name="header" />
</h:panelGrid>
<h:panelGroup>
<h1>
<h:outputText id="otTitle" value="#{compositeComponent.attrs.text}" />
<span style="font-size: small; color: gray; font-family: serif"><h:outputLabel value="#{fn:toLowerCase(compositeComponent.resourceBundleMap.version)}" /></span>
</h1>
</h:panelGroup>
<h:panelGroup rendered="#{not empty compositeComponent.children}">
<div style="border: 1px dotted gray; padding: 10px; margin: 10px">
<composite:insertChildren />
</div>
</h:panelGroup>
<h:panelGrid columns="1" rendered="#{not empty compositeComponent.facets.footer}">
<composite:insertFacet name="footer" />
</h:panelGrid>
</composite:implementation>
</ui:composition>
</html>
\ No newline at end of file
rotulo=Title
versao=0.1.0
\ No newline at end of file
rotulo=T\u00EDtulo
versao=0.1.0
\ No newline at end of file
body {
background-color: orange;
}
span.error {
color: red;
font-size: 22px;
}
h1 {
font-family: serif;
color: white;
}
\ No newline at end of file
div.navBarClass span, div.navBarClass {
/* Blue 100%*/
color:#0069AA;
padding:10px;
}
.tituloForm {
font-size: 10pt;
/* Blue 100%*/
color: #0069AA;;
font-weight:bold;
padding:5px;
margin:5px;
}
input.botaoPostIt{
font-size: 8pt;
/* Blue 100%*/
color: #0069AA;
font-weight:bold;
background-color:white;
}
.inputPattern{
/* Blue 20%*/
color: #B3D4E7;
}
label {
font-size: 12px;
/* Blue 100%*/
color: #0069AA;
text-align: left;
border:none;
}
input, select,textarea {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
/* Orange 100% */
color: #0069AA;
text-align: left;
background-color:white;
border-style:ridge;
/*lightgray*/
border:1px solid #d3d3d3;
padding:4px;
margin:4px;
margin-bottom:4px;
font-weight:normal;
}
.datatableHeader{
/* Orange 100% */
background-color:#0069AA;
color:white;
font-size:12pt;
font-weight:normal;
padding:10px;
margin:10px;
}
.datatableRow2{
/* Blue 20% */
background-color:#B3D4E7;
font-size:12px;
color:black;
padding:15px;
margin:15px;
text-align:center;
}
.navigationLink{
text-decoration:none;
text-align:right;
/* Blue 100% */
color:#0069AA;
}
/*Diferent datatable lines / oposite*/
.datatableRow{
background-color:white;
color:black;
font-size:12px;
text-align:center;
}
table.menuTable{
/* it seems its not necessary */
border-collapse:collapse;
vertical-align:middle;
text-align: left;
}
table.menuTable tr td{
vertical-align:middle;
padding-bottom:0px;
/*space between menu itens */
width:168px;
}
.menu a{
text-decoration: none;
font-family: Arial, Helvetica, sans-serif ;
font-size: 12px;
padding: 10px;
/* Blue 100% */
color: #0069AA;
}
/* menuItem and menu spacing */
.menu ul{
text-align:left;
padding:0pt;
margin:0pt;
/* sub menu item background */
background-color:white;
/* fundo transparente
background-image:url("../resources/images/menu/Transparency.png;");
*/
}
/* submenu div */
.menu{
display:none;
position:absolute;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
}
/* submenu item*/
.menu li{
/* white background for avoiding transparency on submenu item */
/*background-color:white;*/
list-style-type: none;
display: block;
padding:10px;
/* altura do submenu */
width: 142px;
/* Orange 100% */
border:1px solid #0069AA;
font-weight:bold;
}
.menuhandler {
/* Orange 100% */
border:1px solid #0069AA;
color:white;
text-decoration:none;
display: block;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
width: 141px;
vertical-align:middle;
text-align: left;
font-weight: bold;
padding:10px;
background-color:#0069AA;
/* fundo transparente
background-image:url("../resources/images/menu/Transparency.png;");
color:white;
*/
}
.selectProject{
vertical-align:bottom;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-align:center;
}
.postitComponent{
background-image:url("../resources/images/postits/novos/postit_azul_150x145.png");
width:150px;
height:145px;
font-size: 14px;
text-align:center;
color:white;
}
.postitComponent tr td{
padding: 5pt;
padding-top: 15pt;
vertical-align:top;
}
.postitComponent a{
text-decoration:none;
color:white;
}
.bigPostitComponent{
background-image:url("../resources/images/postits/novos/postit_azul_315x150.png");
background-repeat:no-repeat;
width:315px;
height:150px;
font-size: 14px;
text-align:center;
color:white;
}
.bigPostitComponent tr td{
padding: 5pt;
vertical-align:top;
}
div.navBarClass span, div.navBarClass {
/* Orange 100%*/
color:#F78E1E;
padding:10px;
}
.tituloForm {
font-size: 10pt;
/* Orange 100%*/
color: #F78E1E;;
font-weight:bold;
padding:5px;
margin:5px;
}
input.botaoPostIt{
font-size: 8pt;
/* Orange 100%*/
color: #F78E1E;
font-weight:bold;
background-color:white;
}
.inputPattern{
/* Orange 20%*/
color: #FCDEBC;
}
label {
font-size: 12px;
/* Orange 100%*/
color: #F78E1E;
text-align: left;
border:none;
}
input, select,textarea {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
/* Orange 100% */
color: #F78E1E;
text-align: left;
background-color:white;
border-style:ridge;
/*lightgray*/
border:1px solid #d3d3d3;
padding:4px;
margin:4px;
margin-bottom:4px;
font-weight:normal;
}
.datatableHeader{
/* Orange 100% */
background-color:#F78E1E;
color:white;
font-size:12pt;
font-weight:normal;
padding:10px;
margin:10px;
}
.datatableRow2{
/* Orange 20% */
background-color:#FCDEBC;
font-size:12px;
color:black;
padding:15px;
margin:15px;
text-align:center;
}
.navigationLink{
text-decoration:none;
text-align:right;
/* Orange 100% */
color:#F78E1E;
}
/*Diferent datatable lines / oposite*/
.datatableRow{
background-color:white;
color:black;
font-size:12px;
text-align:center;
}
table.menuTable{
/* it seems its not necessary */
border-collapse:collapse;
vertical-align:middle;
text-align: left;
}
table.menuTable tr td{
vertical-align:middle;
padding-bottom:0px;
/*space between menu itens */
width:168px;
}
.menu a{
text-decoration: none;
font-family: Arial, Helvetica, sans-serif ;
font-size: 12px;
padding: 10px;
/* Orange 100% */
color: #F78E1E;
}
/* menuItem and menu spacing */
.menu ul{
text-align:left;
padding:0pt;
margin:0pt;
/* sub menu item background */
background-color:white;
/* fundo transparente
background-image:url("../resources/images/menu/Transparency.png;");
*/
}
/* submenu div */
.menu{
display:none;
position:absolute;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
}
/* submenu item*/
.menu li{
/* white background for avoiding transparency on submenu item */
/*background-color:white;*/
list-style-type: none;
display: block;
padding:10px;
/* altura do submenu */
width: 142px;
/* Orange 100% */
border:1px solid #F78E1E;
font-weight:bold;
}
.menuhandler {
/* Orange 100% */
border:1px solid #F78E1E;
color:white;
text-decoration:none;
display: block;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
width: 141px;
vertical-align:middle;
text-align: left;
font-weight: bold;
padding:10px;
background-color:#F78E1E;
/* fundo transparente
background-image:url("../resources/images/menu/Transparency.png;");
color:white;
*/
}
.selectProject{
vertical-align:bottom;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-align:center;
}
.postitComponent{
background-image:url("../resources/images/postits/novos/postit_lara_150x145.png");
width:150px;
height:145px;
font-size: 14px;
text-align:center;
color:white;
}
.postitComponent a{
text-decoration:none;
color:black;
}
.postitComponent tr td{
padding: 5pt;
padding-top: 15pt;
vertical-align:top;
}
.bigPostitComponent{
background-image:url("../resources/images/postits/novos/postit_lara_315x150.png");
background-repeat:no-repeat;
width:315px;
height:150px;
font-size: 14px;
text-align:center;
color:white;
}
.bigPostitComponent tr td{
padding: 5pt;
vertical-align:top;
}
.postitComponent a{
text-decoration:none;
color:black;
}
div.navBarClass span, div.navBarClass {
/* Red 100%*/
color: #EF3E42;;
padding:10px;
}
.tituloForm {
font-size: 10pt;
/* Red 100%*/
color: #EF3E42;;
font-weight:bold;
padding:5px;
margin:5px;
}
input.botaoPostIt{
font-size: 8pt;
/* Red 100%*/
color: #EF3E42;
font-weight:bold;
background-color:white;
}
.inputPattern{
/* Red 20%*/
color: #F8C6C7;
}
label {
font-size: 10pt;
/* Red 100%*/
color: #EF3E42;
text-align: left;
border:none;
}
input, select,textarea {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
/* Red 100% */
color: #EF3E42;
text-align: left;
background-color:white;
border-style:ridge;
/*lightgray*/
border:1px solid #d3d3d3;
padding:4px;
margin:4px;
margin-bottom:4px;
font-weight:normal;
}
.datatableHeader{
/* Red 100% */
background-color:#EF3E42;
color:white;
font-size:12pt;
font-weight:normal;
padding:10px;
margin:10px;
}
.datatableRow2{
/* blue 20% */
background-color:#F8C6C7;
font-size:12px;
color:black;
padding:15px;
margin:15px;
text-align:center;
}
.navigationLink{
text-decoration:none;
text-align:right;
/* Red 100% */
color:#EF3E42;
}
/*Diferent datatable lines / oposite*/
.datatableRow{
background-color:white;
color:black;
font-size:12px;
text-align:center;
}
table.menuTable{
/* it seems its not necessary */
border-collapse:collapse;
vertical-align:middle;
text-align: left;
}
table.menuTable tr td{
vertical-align:middle;
padding-bottom:0px;
/*space between menu itens */
width:168px;
}
.menu a{
text-decoration: none;
font-family: Arial, Helvetica, sans-serif ;
font-size: 12px;
padding: 10px;
/* Red 100% */
color: #EF3E42;
}
/* menuItem and menu spacing */
.menu ul{
text-align:left;
padding:0pt;
margin:0pt;
/* sub menu item background */
background-color:white;
/* fundo transparente
background-image:url("../resources/images/menu/Transparency.png;");
*/
}
/* submenu div */
.menu{
display:none;
position:absolute;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
}
/* submenu item*/
.menu li{
/* white background for avoiding transparency on submenu item */
/*background-color:white;*/
list-style-type: none;
display: block;
padding:10px;
/* altura do submenu */
width: 142px;
/* Red 100% */
border:1px solid #EF3E42;
font-weight:bold;
}
.menuhandler {
/* Red 100% */
border:1px solid #EF3E42;
color:white;
text-decoration:none;
display: block;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
width: 141px;
vertical-align:middle;
text-align: left;
font-weight: bold;
padding:10px;
background-color:#EF3E42;
/* fundo transparente
background-image:url("../resources/images/menu/Transparency.png;");
color:white;
*/
}
.selectProject{
vertical-align:middle;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-align:center;
}
.postitComponent{
background-image:url("../resources/images/postits/novos/postit_verm_150x145.png");
width:150px;
height:145px;
font-size: 14px;
text-align:center;
color:white;
}
.postitComponent tr td{
padding: 5pt;
padding-top: 15pt;
vertical-align:top;
}
.bigPostitComponent{
background-image:url("../resources/images/postits/novos/postit_verm_315x150.png");
background-repeat:no-repeat;
width:315px;
height:150px;
font-size: 14px;
text-align:center;
color:white;
}
.bigPostitComponent tr td{
padding: 5pt;
vertical-align:top;
}
.postitComponent a{
text-decoration:none;
color:white;
}
div.navBarClass span, div.navBarClass {
/* Blue 100%*/
color:#0069AA;
padding:10px;
}
.tituloForm {
font-size: 10pt;
/* Blue 100%*/
color: #0069AA;;
font-weight:bold;
padding:5px;
margin:5px;
}
input.botaoPostIt{
font-size: 8pt;
/* Blue 100%*/
color: #0069AA;
font-weight:bold;
background-color:white;
}
.inputPattern{
/* Blue 20%*/
color: #B3D4E7;
}
label {
font-size: 12px;
/* Blue 100%*/
color: #0069AA;
text-align: left;
border:none;
}
input, select,textarea {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
/* Orange 100% */
color: #0069AA;
text-align: left;
background-color:white;
border-style:ridge;
/*lightgray*/
border:1px solid #d3d3d3;
padding:4px;
margin:4px;
margin-bottom:4px;
font-weight:normal;
}
.datatableHeader{
/* Orange 100% */
background-color:#0069AA;
color:white;
font-size:12pt;
font-weight:normal;
padding:10px;
margin:10px;
}
.datatableRow2{
/* Blue 20% */
background-color:#B3D4E7;
font-size:12px;
color:black;
padding:15px;
margin:15px;
text-align:center;
}
.navigationLink{
text-decoration:none;
text-align:right;
/* Blue 100% */
color:#0069AA;
}
/*Diferent datatable lines / oposite*/
.datatableRow{
background-color:white;
color:black;
font-size:12px;
text-align:center;
}
table.menuTable{
/* it seems its not necessary */
border-collapse:collapse;
vertical-align:middle;
text-align: left;
}
table.menuTable tr td{
vertical-align:middle;
padding-bottom:0px;
/*space between menu itens */
width:168px;
}
.menu a{
text-decoration: none;
font-family: Arial, Helvetica, sans-serif ;
font-size: 12px;
padding: 10px;
/* Blue 100% */
color: #0069AA;
}
/* menuItem and menu spacing */
.menu ul{
text-align:left;
padding:0pt;
margin:0pt;
/* sub menu item background */
background-color:white;
/* fundo transparente
background-image:url("../resources/images/menu/Transparency.png;");
*/
}
/* submenu div */
.menu{
display:none;
position:absolute;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
}
/* submenu item*/
.menu li{
/* white background for avoiding transparency on submenu item */
/*background-color:white;*/
list-style-type: none;
display: block;
padding:10px;
/* altura do submenu */
width: 142px;
/* Orange 100% */
border:1px solid #0069AA;
font-weight:bold;
}
.menuhandler {
/* Orange 100% */
border:1px solid #0069AA;
color:white;
text-decoration:none;
display: block;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
width: 141px;
vertical-align:middle;
text-align: left;
font-weight: bold;
padding:10px;
background-color:#0069AA;
/* fundo transparente
background-image:url("../resources/images/menu/Transparency.png;");
color:white;
*/
}
.selectProject{
vertical-align:bottom;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-align:center;
}
.postitComponent{
background-image:url("../resources/images/postits/novos/postit_azul_150x145.png");
width:150px;
height:145px;
font-size: 14px;
text-align:center;
color:white;
}
.postitComponent tr td{
padding: 5pt;
padding-top: 15pt;
vertical-align:top;
}
.postitComponent a{
text-decoration:none;
color:white;
}
.bigPostitComponent{
background-image:url("../resources/images/postits/novos/postit_azul_315x150.png");
background-repeat:no-repeat;
width:315px;
height:150px;
font-size: 14px;
text-align:center;
color:white;
}
.bigPostitComponent tr td{
padding: 5pt;
vertical-align:top;
}
div.navBarClass span, div.navBarClass {
/* Yellow 100%*/
color: #FDBB30;;
padding:10px;
}
.tituloForm {
font-size: 10pt;
/* Yellow 100%*/
color: #FDBB30;;
font-weight:bold;
padding:5px;
margin:5px;
}
input.botaoPostIt{
font-size: 8pt;
/* Yellow 100%*/
color: #FDBB30;
font-weight:bold;
background-color:white;
}
.inputPattern {
/* Yellow 20%*/
color: #FDEAC0
}
label {
font-size: 10pt;
/* Yellow 100%*/
color: #FDBB30;
text-align: left;
border:none;
}
input, select,textarea {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
/* Yellow 100% */
color: #FDBB30;
text-align: left;
background-color:white;
border-style:ridge;
/*lightgray*/
border:1px solid #d3d3d3;
padding:4px;
margin:4px;
margin-bottom:4px;
font-weight:normal;
}
.datatableHeader{
/* Yellow 100% */
background-color:#FDBB30;
color:white;
font-size:12pt;
font-weight:normal;
padding:10px;
margin:10px;
}
.datatableRow2{
/* Yellow 20% */
background-color:#FDEAC0;
font-size:12px;
color:black;
padding:15px;
margin:15px;
text-align:center;
}
.navigationLink{
text-decoration:none;
text-align:right;
/* Yellow 100% */
color:#FDBB30;
}
/*Diferent datatable lines / oposite*/
.datatableRow{
background-color:white;
color:black;
font-size:12px;
text-align:center;
}
.dataTableFirstColumn{
font-weight:bold;
}
table.menuTable{
/* it seems its not necessary */
border-collapse:collapse;
vertical-align:middle;
text-align: left;
}
table.menuTable tr td{
vertical-align:middle;
padding-bottom:0px;
/*space between menu itens */
width:168px;
}
.menu a{
text-decoration: none;
font-family: Arial, Helvetica, sans-serif ;
font-size: 12px;
padding: 10px;
/* Yellow 100% */
color: #FDBB30;
}
/* menuItem and menu spacing */
.menu ul{
text-align:left;
padding:0pt;
margin:0pt;
/* sub menu item background */
background-color:white;
/* fundo transparente
background-image:url("../resources/images/menu/Transparency.png;");
*/
}
/* submenu div */
.menu{
display:none;
position:absolute;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
}
/* submenu item*/
.menu li{
/* white background for avoiding transparency on submenu item */
/*background-color:white;*/
list-style-type: none;
display: block;
padding:10px;
/* altura do submenu */
width: 142px;
/* Yellow 100% */
border:1px solid #FDBB30;
font-weight:bold;
}
.menuhandler {
/* Yellow 100% */
border:1px solid #FDBB30;
color:white;
text-decoration:none;
display: block;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
width: 141px;
vertical-align:middle;
text-align: left;
font-weight: bold;
padding:10px;
background-color:#FDBB30;
/* fundo transparente
background-image:url("../resources/images/menu/Transparency.png;");
color:white;
*/
}
.selectProject{
vertical-align:middle;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-align:center;
padding:3pt;
}
.postitComponent{
background-image:url("../resources/images/postits/novos/postit_amar_150x145.png");
width:150px;
height:145px;
font-size: 14px;
text-align:center;
color:white;
}
.postitComponent tr td{
padding: 5pt;
padding-top: 15pt;
vertical-align:top;
}
.bigPostitComponent{
background-image:url("../resources/images/postits/novos/postit_amar_315x150.png");
background-repeat:no-repeat;
width:315px;
height:150px;
font-size: 14px;
text-align:center;
color:white;
}
.bigPostitComponent tr td{
padding: 5pt;
vertical-align:top;
}
.postitComponent a{
text-decoration:none;
color:black;
}
div.navBarClass a{
background-color: white;
vertical-align: middle;
padding:10px;
color:gray;
text-decoration:none;
}
/* Whiteboard */
.tableHeader{
background-image:url("../resources/images/lousaNova/quadroNegro_top_990x80.png");
background-repeat:no-repeat;
height:80px;
width:100%;
margin: 0px;
padding: 0px;
}
table.tableBody{
width:990px;
background-image:url("../resources/images/lousaNova/quadroNegro_meio_990x10.png;");
margin: 0px;
padding: 0px;
border-collapse:collapse;
border-spacing:0pt;
background-repeat:repeat-y;
}
table.tableBody tr td{
/* important to make content aligned inside the table*/
vertical-align:top;
}
td.tableFooter{
width:990px;
height:120px;
background-image:url("../resources/images/lousaNova/quadroNegro_top_990x80");
background-repeat:no-repeat;
margin:0px;
padding:0px;
}
td.footerForm{
text-align:center;
}
.errorMessage{
color: red;
font-size: 12px;
}
td.formLabel, label{
margin-left:15pt;
}
.formLabel {
width:30%;
text-align: right;
background-position: left;
background-repeat:no-repeat;
}
.formInput{
font-size: 12px;
}
td{
font-family: Arial, Helvetica, sans-serif;
}
.datatable {
border-collapse:collapse;
}
.datatable tr td{
padding:5px;
margin:5px;
}
.dataTableFirstColumn{
font-weight:bold;
}
.postitComponentYellow{
background-image:url("../resources/images/postits/novos/postit_amar_150x145.png");
width:150px;
height:145px;
font-size: 14px;
text-align:center;
color:black;
}
.postItComponentYellow a {
color:black;
text-decoration:none;
}
.postitComponentYellow tr td{
padding: 5pt;
padding-top: 15pt;
vertical-align:top;
}
.postitComponentRed{
background-image:url("../resources/images/postits/novos/postit_verm_150x145.png");
width:150px;
height:145px;
font-size: 14px;
text-align:center;
color:white;
}
.postitComponentRed tr td{
padding: 5pt;
padding-top: 15pt;
vertical-align:top;
}
.postItComponentRed a {
color:white;
text-decoration:none;
}
.postitComponentBlue{
background-image:url("../resources/images/postits/novos/postit_azul_150x145.png");
width:150px;
height:145px;
font-size: 14px;
text-align:center;
color:white;
}
.postitComponentBlue tr td{
padding: 5pt;
padding-top: 15pt;
vertical-align:top;
}
.postItComponentBlue a {
color:white;
text-decoration:none;
}
.postitComponentOrange{
background-image:url("../resources/images/postits/novos/postit_lara_150x145.png");
width:150px;
height:145px;
font-size: 14px;
text-align:center;
color:black;
}
.postitComponentOrange tr td{
padding: 5pt;
padding-top: 15pt;
vertical-align:top;
}
.postItComponentOrange a {
color:black;
text-decoration:none;
}
.postitLabel{
font-weight:bold;
font-size:16px;
text-align:right;
width:30%
}
.postItInfo{
width:70%;
text-align:left;
}
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution License("CDDL") (collectively, the "License"). You
* may not use this file except in compliance with the License. You can obtain
* a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
* or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
* language governing permissions and limitations under the License.
*
* When distributing the software, include this License Header Notice in each
* file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
* Sun designates this particular file as subject to the "Classpath" exception
* as provided by Sun in the GPL Version 2 section of the License file that
* accompanied this code. If applicable, add the following below the License
* Header, with the fields enclosed by brackets [] replaced by your own
* identifying information: "Portions Copyrighted [year]
* [name of copyright owner]"
*
* Contributor(s):
*
* If you wish your version of this file to be governed by only the CDDL or
* only the GPL Version 2, indicate your decision by adding "[Contributor]
* elects to include this software in this distribution under the [CDDL or GPL
* Version 2] license." If you don't indicate a single choice of license, a
* recipient has the option to distribute your version of this file under
* either the CDDL, the GPL Version 2 or to extend the choice of license to
* its licensees as provided above. However, if you add GPL Version 2 code
* and therefore, elected the GPL Version 2 license, then the option applies
* only if the new code is made subject to such option by the copyright
* holder.
*/
function validate(refid) {
var input = document.getElementById(refid);
if (isNaN(input.value)) {
alert("Input is not a number");
}
}
\ No newline at end of file
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution License("CDDL") (collectively, the "License"). You
* may not use this file except in compliance with the License. You can obtain
* a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
* or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
* language governing permissions and limitations under the License.
*
* When distributing the software, include this License Header Notice in each
* file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
* Sun designates this particular file as subject to the "Classpath" exception
* as provided by Sun in the GPL Version 2 section of the License file that
* accompanied this code. If applicable, add the following below the License
* Header, with the fields enclosed by brackets [] replaced by your own
* identifying information: "Portions Copyrighted [year]
* [name of copyright owner]"
*
* Contributor(s):
*
* If you wish your version of this file to be governed by only the CDDL or
* only the GPL Version 2, indicate your decision by adding "[Contributor]
* elects to include this software in this distribution under the [CDDL or GPL
* Version 2] license." If you don't indicate a single choice of license, a
* recipient has the option to distribute your version of this file under
* either the CDDL, the GPL Version 2 or to extend the choice of license to
* its licensees as provided above. However, if you add GPL Version 2 code
* and therefore, elected the GPL Version 2 license, then the option applies
* only if the new code is made subject to such option by the copyright
* holder.
*/
var lastHighlightedMenu=null;
function menuHighlight(menuIndex) {
menuDisappear();
var myDiv = document.getElementById("menu"+menuIndex);
// armazena qual o item de menu foi selecionado
lastHighlightedMenu=myDiv;
myDiv.style.display="block";
}
function menuDisappear() {
// retorna true se diferente de null ou undefined
if(lastHighlightedMenu)
lastHighlightedMenu.style.display="none";
}
\ No newline at end of file
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:scrum="http://java.sun.com/jsf/composite/components">
<ui:composition template="/template.xhtml">
<f:metadata>
<f:viewParam name="skin" value="#{skinUrlManager.skin}" />
<f:event type="preRenderView" listener="#{skinUrlManager.update}" />
</f:metadata>
<ui:define name="pageTitle">
<h:outputText value="#{i18n['story.show.title']}"></h:outputText>
</ui:define>
<ui:define name="content">
<h:form id="frmListStories">
<h:panelGrid columns="#{skinValuesManager.size + 1}" width="990" >
<h:outputLabel value=""/>
<ui:repeat value="#{skinValuesManager.names}" var="name">
<td>
<scrum:postitLink color="#{name}" url="changeSkin"
paramName="skin" paramValue="#{name}">
<ui:param name="postitLabel" value=""/>
<ui:param name="postitText" value="#{name}"/>
</scrum:postitLink>
</td>
</ui:repeat>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['sprint.create.title']}"/>
</ui:define>
<ui:define name="navigationBar">
<h:commandLink immediate="true" action="/project/show" value="#{i18n['sprint.form.label.projects']}"/>
<h:outputText value="#{i18n['navigation.separtor']}"/>
<h:commandLink immediate="true" action="/project/edit" value="#{sprintManager.project.name}"/>
<h:outputText value="#{i18n['navigation.separtor']}"/>
<h:outputText value="#{i18n['sprint.create.form.title']}" styleClass="tituloForm"/>
</ui:define>
<ui:define name="content">
<h:form styleClass="scrumForm" id="createSprintForm">
<h:panelGrid columns="2" headerClass="tituloForm" footerClass="footerForm">
<ui:include src="form.xhtml" />
<f:facet name="footer">
<h:commandButton rendered="#{sprintManager.project.name != null}" id="btnCreate" action="#{sprintManager.save}" value="#{i18n['sprint.create.button.create']}" styleClass="botaoPostIt" />
<h:commandButton rendered="#{sprintManager.project.name != null}" id="btnCancel" action="show" value="#{i18n['sprint.create.button.cancel']}" styleClass="botaoPostIt" immediate="true" />
</f:facet>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['sprint.edit.title']}"/>
</ui:define>
<ui:define name="navigationBar">
<h:commandLink immediate="true" action="/project/show" value="#{i18n['navigation.projects']}"/>
<h:outputText value="#{i18n['navigation.separtor']}"/>
<h:commandLink immediate="true" action="/project/edit" value="#{sprintManager.project.name}"/>
<h:outputText value="#{i18n['navigation.separtor']}"/>
<h:commandLink immediate="true" action="/sprint/show" value="#{i18n['navigation.sprints']}"/>
<h:outputText value="#{i18n['navigation.separtor']}"/>
<h:outputText value="#{i18n['sprint.edit.form.title']}" styleClass="tituloForm"/>
</ui:define>
<ui:define name="content">
<h:form styleClass="scrumForm" id="editSprintForm">
<h:panelGrid columns="2" headerClass="tituloForm" footerClass="footerForm">
<ui:include src="form.xhtml" />
<f:facet name="footer">
<h:commandButton id="btnEditUpdate" action="#{sprintManager.save}" value="#{i18n['sprint.edit.button.update']}" styleClass="botaoPostIt" />
<h:commandButton id="btnEditCancel" action="#{sprintManager.cancelEdit}" immediate="true" value="#{i18n['sprint.edit.button.cancel']}" styleClass="botaoPostIt" />
<h:button styleClass="botaoPostIt" outcome="/dashboard/show" value="#{i18n['sprint.show.button.showDashboard']}" />
</f:facet>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition>
<h:panelGrid columns="3" columnClasses="formLabel, formInput, formErrorMessage" styleClass="postItFormTable">
<h:outputLabel value="#{i18n['sprint.form.label.name']}:" for="itName"/>
<h:inputText id="itName" value="#{sprintManager.currentSprint.name}" required="true"
requiredMessage="#{i18n['sprint.form.label.name.required']}" size="30" />
<h:message for="itName" styleClass="errorMessage" />
<h:outputLabel value="#{i18n['sprint.form.label.goals']}:" for="itGoals" />
<h:inputTextarea id="itGoals" value="#{sprintManager.currentSprint.goals}" required="true" cols="31" rows="3" requiredMessage="#{i18n['sprint.form.label.goals.required']}" />
<h:message for="itGoals" styleClass="errorMessage"/>
<h:outputLabel value="#{i18n['sprint.form.label.iterationScope']}:" for="itIterationScope" />
<h:inputText id="itIterationScope" value="#{sprintManager.currentSprint.iterationScope}" required="true" size="50" requiredMessage="#{i18n['sprint.form.label.iterationScope.required']}" />
<h:message for="itIterationScope" styleClass="errorMessage"/>
<h:outputLabel value="#{i18n['sprint.form.label.startDate']}:" for="itStartedDate" />
<h:panelGroup>
<h:inputText id="itStartedDate" value="#{sprintManager.currentSprint.startDate}" required="true" requiredMessage="#{i18n['sprint.form.label.startDate.required']}">
<f:convertDateTime pattern="#{i18n['sprint.form.label.startDate.pattern']}" />
</h:inputText>
<h:outputText value="(#{i18n['sprint.form.label.startDate.pattern']})" styleClass="inputPattern" />
</h:panelGroup>
<h:message for="itStartedDate" styleClass="errorMessage" />
<h:outputLabel value="#{i18n['sprint.form.label.dailyMeetingTime']}:" for="itDailyMeetingTime" />
<h:panelGroup>
<h:inputText id="itDailyMeetingTime" value="#{sprintManager.currentSprint.dailyMeetingTime}" required="true" requiredMessage="#{i18n['sprint.form.label.dailyMeetingTime.required']}">
<f:convertDateTime pattern="#{i18n['sprint.form.label.dailyMeetingTime.pattern']}" />
</h:inputText>
<h:outputText value="(#{i18n['sprint.form.label.dailyMeetingTime.pattern']})" styleClass="inputPattern"/>
</h:panelGroup>
<h:message for="itDailyMeetingTime" styleClass="errorMessage"/>
</h:panelGrid>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['sprint.show.title']}"/>
</ui:define>
<ui:define name="navigationBar">
<h:commandLink action="/project/show" value="#{i18n['sprint.form.label.projects']}"/>
<h:outputText value="#{i18n['navigation.separtor']}"/>
<h:commandLink action="/project/edit" value="#{sprintManager.project.name}"/>
<h:outputText value="#{i18n['navigation.separtor']}"/>
<h:outputText value="#{i18n['sprints.table.title']}" styleClass="tituloForm"/>
</ui:define>
<ui:define name="content">
<h:form id="frmListSprints">
<h:panelGrid columns="2" headerClass="tituloForm" footerClass="footerForm">
<h:outputText value="#{i18n['sprint.show.table.label.empty']}"
rendered="#{sprintManager.sprints.rowCount eq 0}" />
<h:dataTable value="#{sprintManager.sprints}" var="sprint"
rendered="#{sprintManager.sprints.rowCount > 0}"
title="#{i18n['sprint.show.table.title']}"
summary="#{i18n['sprint.show.table.title']}"
border="0"
headerClass="datatableHeader"
rowClasses="datatableRow,datatableRow2"
columnClasses="dataTableFirstColumn"
styleClass="datatable"
id="dtSprints">
<h:column>
<f:facet name="header">
<h:outputText value="#" />
</f:facet>
<h:outputText value="#{sprintManager.sprints.rowIndex + 1}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{i18n['sprint.show.table.header.name']}" />
</f:facet>
<h:outputText value="#{sprint.name}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{i18n['sprint.show.table.header.goals']}" />
</f:facet>
<h:outputText value="#{sprint.goals}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{i18n['sprint.show.table.header.startDate']}"/>
</f:facet>
<h:outputText value="#{sprint.startDate}">
<f:convertDateTime pattern="#{i18n['sprint.show.table.header.startDate.pattern']}" />
</h:outputText>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{i18n['sprint.show.table.header.dailyMeetingTime']}" />
</f:facet>
<h:outputText value="#{sprint.dailyMeetingTime}">
<f:convertDateTime pattern="#{i18n['sprint.show.table.header.dailyMeetingTime.pattern']}" />
</h:outputText>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{i18n['sprint.show.table.header.actions']}"/>
</f:facet>
<h:commandButton styleClass="botaoPostIt" action="#{sprintManager.edit}" value="#{i18n['sprint.show.button.edit']}" />
<h:commandButton id="btnDeleteSprint" styleClass="botaoPostIt" action="#{sprintManager.remove}" value="#{i18n['sprint.show.button.delete']} AJAX"
onclick="jsf.ajax.request(this, event, {execute: 'frmListSprints',
render: 'frmListSprints'}); return false;" />
<h:commandButton styleClass="botaoPostIt" action="#{sprintManager.remove}" value="#{i18n['sprint.show.button.delete']}" />
<h:commandButton styleClass="botaoPostIt" action="#{sprintManager.showDashboard}" value="#{i18n['sprint.show.button.showDashboard']}" />
<h:commandButton styleClass="botaoPostIt" action="#{sprintManager.showStories}" value="#{i18n['sprint.show.button.showStories']}" />
</h:column>
</h:dataTable>
<f:facet name="footer">
<h:commandButton styleClass="botaoPostIt" action="#{sprintManager.create}" value="#{i18n['sprint.show.button.newSprint']}" />
</f:facet>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition>
<h:panelGrid columns="1" border="0">
<h:outputLabel value="#{i18n['stories.label.nostory']}" rendered="#{storiesMB.dm.rowCount eq 0}"/>
<br/><br/>
<h:panelGrid columns="1" style="float: right">
<h:panelGroup>
<h:outputLabel value="#{i18n['stories.label.sprint']}: " for="otSprint" />
<h:outputText id="otSprint" value="Mostrar o nome do Sprint com link para o Sprint" />
</h:panelGroup>
<h:panelGroup>
<h:outputLabel value="#{i18n['label.startedAt']}: " for="otSprintStartDate"/>
<h:outputText id="otSprintStartDate" value="mostrar a data de inicio do sprint" />
<br/><br/>
</h:panelGroup>
</h:panelGrid>
<h:form id="testeForm">
<h:commandLink styleClass="navigationLink" id="showButton" action="#{sprintsMB.showForm}"
value="+ Add Story to this Sprint"
onclick="jsf.ajax.request(this, event,
{execute:'testeForm:showButton',
render: 'testeForm:testeShowHidePG testeForm:testeShowHidePG:newStoryPG'});
return false;" >
</h:commandLink>
<h:panelGrid columns="1" border="0" id="testeShowHidePG">
<h:panelGrid columns="1" border="0" id="newStoryPG" rendered="#{sprintsMB.showAddNewStoryForm}">
<ui:include src="./newStory.xhtml"></ui:include>
</h:panelGrid>
</h:panelGrid>
</h:form>
<h:form id="frmListStories">
<h:dataTable value="#{storiesMB.dm}" var="story" rendered="#{storiesMB.dm.rowCount > 0}"
title="#{i18n['stories.table.title']}"
summary="#{i18n['stories.table.title']}"
border="0"
id="dtStories"
headerClass="datatableHeader"
rowClasses="datatableRow,datatableRow2"
columnClasses="dataTableFirstColumn"
styleClass="datatable">
<h:column>
<f:facet name="header"><h:outputText value="#" /></f:facet>
<h:outputText value="#{storiesMB.dm.rowIndex + 1}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['stories.label.name']}" /></f:facet>
<h:outputText value="#{story.name}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['stories.label.priority']}" /></f:facet>
<h:outputText value="#{story.priority}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['stories.label.estimation']}" /></f:facet>
<h:outputText value="#{story.estimation}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['stories.label.acceptance']}"/></f:facet>
<h:outputText value="#{story.acceptance}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['label.actions']}" /></f:facet>
<h:commandButton styleClass="botaoPostIt" action="#{storiesMB.edit}" value="#{i18n['button.edit']}" immediate="true" />
<h:commandButton styleClass="botaoPostIt" action="#{storiesMB.remove}" value="#{i18n['button.delete']}" immediate="true" />
<h:commandButton styleClass="botaoPostIt" action="#{storiesMB.showTasks}" value="#{i18n['button.tasks']}" immediate="true" />
</h:column>
</h:dataTable>
</h:form>
</h:panelGrid>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['story.create.title']}"></h:outputText>
</ui:define>
<ui:define name="navigationBar">
<h:commandLink immediate="true" action="/project/show" value="#{i18n['navigation.projects']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/project/edit" value="#{sprintManager.project.name}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/sprint/show" value="#{i18n['navigation.sprints']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/sprint/edit" value="#{sprintManager.currentSprint.name}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/story/show" value="#{i18n['navigation.stories']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:outputText value="#{i18n['story.create.title']}" styleClass="tituloForm"></h:outputText>
</ui:define>
<ui:define name="content">
<h:form styleClass="scrumForm" id="createStoryForm">
<h:panelGrid columns="3" columnClasses="formLabel, formInput, formErrorMessage" styleClass="postItFormTable">
<h:outputLabel value="#{i18n['story.form.label.name']}:" for="itName"/>
<h:inputText id="itName" value="#{storyManager.currentStory.name}" required="true"
requiredMessage="#{i18n['story.form.label.name.required']}" size="40" maxlength="40"
validator="#{storyManager.checkUniqueStoryName}" />
<h:message for="itName" styleClass="errorMessage"/>
<h:outputLabel value="#{i18n['story.form.label.startDate']}:" for="itStartedDate" />
<h:panelGroup>
<h:inputText id="itStartedDate" value="#{storyManager.currentStory.startDate}" required="true" requiredMessage="#{i18n['story.form.label.startDate.required']}" size="10" maxlength="10">
<f:convertDateTime pattern="#{i18n['story.form.label.startDate.pattern']}" />
</h:inputText>
<h:outputText value="(#{i18n['story.form.label.startDate.pattern']})" styleClass="inputPattern" />
</h:panelGroup>
<h:message for="itStartedDate" styleClass="errorMessage" />
<h:outputLabel value="#{i18n['story.form.label.priority']}:" for="itPriority" />
<h:inputText id="itPriority" value="#{storyManager.currentStory.priority}" required="true" requiredMessage="#{i18n['story.form.label.priority.required']}" />
<h:message for="itPriority" styleClass="errorMessage"/>
<h:outputLabel value="#{i18n['story.form.label.estimation']}:" for="itEstimation" />
<h:inputText id="itEstimation" value="#{storyManager.currentStory.estimation}" required="true" requiredMessage="#{i18n['story.form.label.estimation.required']}" />
<h:message for="itEstimation" styleClass="errorMessage"/>
<h:outputLabel value="#{i18n['story.form.label.acceptance']}:" for="itAcceptance" />
<h:inputText id="itAcceptance" value="#{storyManager.currentStory.acceptance}" required="true" requiredMessage="#{i18n['story.form.label.acceptance.required']}" size="40" maxlength="40" />
<h:message for="itAcceptance" styleClass="errorMessage" />
<f:facet name="footer">
<h:commandButton id="btnCreate" action="#{storyManager.save}" value="#{i18n['story.create.button.create']}" styleClass="botaoPostIt" />
<h:commandButton id="btnCancel" action="show" value="#{i18n['story.create.button.cancel']}" styleClass="botaoPostIt" immediate="true" />
</f:facet>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['story.edit.title']}"></h:outputText>
</ui:define>
<ui:define name="navigationBar">
<h:commandLink immediate="true" action="/project/show" value="#{i18n['navigation.projects']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/project/edit" value="#{sprintManager.project.name}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/sprint/show" value="#{i18n['navigation.sprints']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/sprint/edit" value="#{sprintManager.currentSprint.name}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/story/show" value="#{i18n['navigation.stories']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:outputText value="#{i18n['story.edit.title']}" styleClass="tituloForm"></h:outputText>
</ui:define>
<ui:define name="content">
<h:form styleClass="scrumForm" id="editStoryForm">
<h:panelGrid columns="3" columnClasses="formLabel, formInput, formErrorMessage" styleClass="postItFormTable">
<ui:include src="form.xhtml" />
<f:facet name="footer">
<h:commandButton rendered="#{storyManager.sprint.name != null}" id="btnEditUpdate" action="#{storyManager.save}" value="#{i18n['story.edit.button.update']}" styleClass="botaoPostIt" />
<h:commandButton rendered="#{storyManager.sprint.name != null}" id="btnEditCancel" action="#{storyManager.cancelEdit}" immediate="true" value="#{i18n['story.edit.button.cancel']}" styleClass="botaoPostIt" />
<h:button styleClass="botaoPostIt" outcome="/dashboard/show" value="#{i18n['sprint.show.button.showDashboard']}" />
</f:facet>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition>
<h:outputLabel value="#{i18n['story.form.label.name']}:" for="itName"/>
<h:inputText id="itName" value="#{storyManager.currentStory.name}" required="true"
requiredMessage="#{i18n['story.form.label.name.required']}" size="40" maxlength="40"
validator="#{storyManager.checkUniqueStoryName}" />
<h:message for="itName" styleClass="errorMessage"/>
<h:outputLabel value="#{i18n['story.form.label.startDate']}:" for="itStartedDate" />
<h:panelGroup>
<h:inputText id="itStartedDate" value="#{storyManager.currentStory.startDate}" required="true" requiredMessage="#{i18n['story.form.label.startDate.required']}" size="10" maxlength="10">
<f:convertDateTime pattern="#{i18n['story.form.label.startDate.pattern']}" />
</h:inputText>
<h:outputText value="(#{i18n['story.form.label.startDate.pattern']})" styleClass="inputPattern" />
</h:panelGroup>
<h:message for="itStartedDate" styleClass="errorMessage" />
<h:outputLabel value="#{i18n['story.form.label.priority']}:" for="itPriority" />
<h:inputText id="itPriority" value="#{storyManager.currentStory.priority}" required="true" requiredMessage="#{i18n['story.form.label.priority.required']}" />
<h:message for="itPriority" styleClass="errorMessage"/>
<h:outputLabel value="#{i18n['story.form.label.estimation']}:" for="itEstimation" />
<h:inputText id="itEstimation" value="#{storyManager.currentStory.estimation}" required="true" requiredMessage="#{i18n['story.form.label.estimation.required']}" />
<h:message for="itEstimation" styleClass="errorMessage"/>
<h:outputLabel value="#{i18n['story.form.label.acceptance']}:" for="itAcceptance" />
<h:inputText id="itAcceptance" value="#{storyManager.currentStory.acceptance}" required="true" requiredMessage="#{i18n['story.form.label.acceptance.required']}" size="40" maxlength="40" />
<h:message for="itAcceptance" styleClass="errorMessage" />
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['story.show.title']}"></h:outputText>
</ui:define>
<ui:define name="navigationBar">
<h:commandLink action="/project/show" value="#{i18n['navigation.projects']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink action="/project/edit" value="#{sprintManager.project.name}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink action="/sprint/show" value="#{i18n['navigation.sprints']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink action="/sprint/edit" value="#{sprintManager.currentSprint.name}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:outputText value="#{i18n['stories.table.title']}" styleClass="tituloForm"></h:outputText>
</ui:define>
<ui:define name="content">
<h:form id="frmListStories">
<h:panelGrid columns="3" headerClass="tituloForm" footerClass="footerForm">
<h:outputText value="#{i18n['story.show.table.label.empty']}"
rendered="#{storyManager.stories.rowCount eq 0}" />
<h:dataTable value="#{storyManager.stories}" var="story"
rendered="#{storyManager.stories.rowCount > 0}"
title="#{i18n['story.show.table.title']}"
summary="#{i18n['story.show.table.title']}"
border="0"
headerClass="datatableHeader"
rowClasses="datatableRow,datatableRow2"
columnClasses="dataTableFirstColumn"
styleClass="datatable"
id="dtStories">
<h:column>
<f:facet name="header"><h:outputText value="#" /></f:facet>
<h:outputText value="#{storyManager.stories.rowIndex + 1}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['story.show.table.header.name']}" /></f:facet>
<h:outputText value="#{story.name}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['story.show.table.header.startDate']}"/></f:facet>
<h:outputText value="#{story.startDate}">
<f:convertDateTime pattern="#{i18n['story.show.table.header.startDate.pattern']}" />
</h:outputText>
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['story.show.table.header.priority']}" /></f:facet>
<h:outputText value="#{story.priority}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['story.show.table.header.estimation']}" /></f:facet>
<h:outputText value="#{story.estimation}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['story.show.table.header.acceptance']}" /></f:facet>
<h:outputText value="#{story.acceptance}" />
</h:column>
<h:column>
<f:facet name="header"><h:outputText value="#{i18n['story.show.table.header.actions']}"/></f:facet>
<h:commandButton styleClass="botaoPostIt" action="#{storyManager.edit}" value="#{i18n['story.show.button.edit']}" />
<h:commandButton styleClass="botaoPostIt" action="#{storyManager.remove}" value="#{i18n['story.show.button.delete']}" />
<h:commandButton id="btnDeleteStory" styleClass="botaoPostIt" action="#{storyManager.remove}" value="#{i18n['story.show.button.delete']} AJAX"
onclick="jsf.ajax.request(this, event, {execute: 'frmListStories',
render: 'frmListStories'}); return false;" />
<h:commandButton styleClass="botaoPostIt" action="#{storyManager.showTasks}" value="#{i18n['story.show.button.showTasks']}" />
</h:column>
</h:dataTable>
<f:facet name="footer">
<h:commandButton styleClass="botaoPostIt" action="#{storyManager.create}" value="#{i18n['story.show.button.newStory']}" />
<h:commandButton styleClass="botaoPostIt" action="showSprints" value="#{i18n['story.show.button.showSprints']}" />
<h:button styleClass="botaoPostIt" outcome="/dashboard/show" value="#{i18n['sprint.show.button.showDashboard']}" />
</f:facet>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core" >
<ui:composition template="/template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['task.create.title']}"></h:outputText>
</ui:define>
<ui:define name="navigationBar">
<h:commandLink immediate="true" action="/project/show" value="#{i18n['navigation.projects']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/project/edit" value="#{sprintManager.project.name}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/sprint/show" value="#{i18n['navigation.sprints']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/sprint/edit" value="#{sprintManager.currentSprint.name}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/story/show" value="#{i18n['navigation.stories']}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/story/edit" value="#{taskManager.story.name}"></h:commandLink>
<h:outputText value=" > "></h:outputText>
<h:outputText value="#{i18n['task.create.form.title']}" styleClass="tituloForm"></h:outputText>
</ui:define>
<ui:define name="content">
<h:form id="createTaskForm">
<h:panelGrid columns="3" headerClass="tituloForm" footerClass="footerForm">
<ui:include src="form.xhtml" />
<f:facet name="footer">
<h:commandButton rendered="#{storyManager.sprint.name != null}" id="btnCreate" action="#{taskManager.save}" value="#{i18n['task.create.button.create']}" styleClass="botaoPostIt" />
<h:commandButton rendered="#{storyManager.sprint.name != null}" id="btnCancel" action="show" value="#{i18n['task.create.button.cancel']}" styleClass="botaoPostIt" immediate="true" />
</f:facet>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
<ui:composition template="/template.xhtml">
<ui:define name="pageTitle">
<h:outputText value="#{i18n['task.edit.title']}"></h:outputText>
</ui:define>
<ui:define name="navigationBar">
<h:commandLink immediate="true" action="/project/show" value="#{i18n['navigation.projects']}" ></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/project/edit" value="#{sprintManager.project.name}" ></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/sprint/show" value="#{i18n['navigation.sprints']}" ></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/sprint/edit" value="#{sprintManager.currentSprint.name}" ></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/story/show" value="#{i18n['navigation.stories']}" ></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:commandLink immediate="true" action="/story/edit" value="#{storyManager.currentStory.name}"></h:commandLink>
<h:outputText value="#{i18n['navigation.separtor']}"></h:outputText>
<h:outputText value="#{i18n['task.edit.form.title']}" styleClass="tituloForm"></h:outputText>
</ui:define>
<ui:define name="content">
<h:form styleClass="scrumForm" id="editTaskForm">
<h:panelGrid headerClass="tituloForm" footerClass="footerForm">
<ui:include src="form.xhtml" />
<h:panelGroup>
<h:commandButton rendered="#{storyManager.sprint.name != null}" id="btnEditUpdate" action="#{taskManager.save}" value="#{i18n['task.edit.button.update']}" styleClass="botaoPostIt" />
<h:commandButton rendered="#{storyManager.sprint.name != null}" id="btnEditCancel" action="#{taskManager.cancelEdit}" immediate="true" value="#{i18n['task.edit.button.cancel']}" styleClass="botaoPostIt" />
<h:button styleClass="botaoPostIt" outcome="/dashboard/show" value="#{i18n['sprint.show.button.showDashboard']}" />
</h:panelGroup>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
</html>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can obtain
a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the License
Header, with the fields enclosed by brackets [] replaced by your own
identifying information: "Portions Copyrighted [year]
[name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core" >
<ui:composition id="comp1">
<h:panelGrid columns="3" columnClasses="formLabel, formInput, formErrorMessage" styleClass="postItFormTable" id="pgFormTask">
<h:outputLabel value="#{i18n['task.form.label.name']}:" for="itTaskName" id="olName"/>
<h:inputText id="itTaskName" value="#{taskManager.currentTask.name}" required="true"
requiredMessage="#{i18n['task.form.label.name.required']}" maxlength="30" size="30"
validator="#{taskManager.checkUniqueTaskName}" />
<h:message for="itTaskName" styleClass="errorMessage" id="emName"/>
<h:outputLabel value="#{i18n['task.form.label.startDate']}:" for="itTaskName"/>
<h:panelGroup>
<h:inputText id="itStartedDate" value="#{taskManager.currentTask.startDate}" maxlength="10" size="10" >
<f:convertDateTime pattern="#{i18n['task.form.label.startDate.pattern']}" />
</h:inputText>
<h:outputText value="(#{i18n['task.form.label.startDate.pattern']})" styleClass="inputPattern" />
</h:panelGroup>
<h:message for="itStartedDate" styleClass="errorMessage"/>
<h:outputLabel value="#{i18n['task.form.label.endDate']}:" for="itTaskName"/>
<h:panelGroup>
<h:inputText id="itEndDate" value="#{taskManager.currentTask.endDate}" maxlength="10" size="10" >
<f:convertDateTime pattern="#{i18n['task.form.label.endDate.pattern']}" />
</h:inputText>
<h:outputText value="(#{i18n['task.form.label.endDate.pattern']})" styleClass="inputPattern" />
</h:panelGroup>
<h:message for="itEndDate" styleClass="errorMessage"/>
<h:outputLabel value="#{i18n['task.form.label.status']}:" for="itStatus"/>
<h:outputText id="itStatus" value="#{taskManager.currentTask.status}" />
</h:panelGrid>
</ui:composition>
</html>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!