Author: mareshkau
Date: 2009-10-13 12:26:50 -0400 (Tue, 13 Oct 2009)
New Revision: 18072
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.classpath
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.project
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/.jsdtscope
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.jdt.core.prefs
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.common.component
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.common.project.facet.core.xml
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.jsdt.ui.superType.container
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.jsdt.ui.superType.name
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.maven.ide.eclipse.prefs
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/pom.xml
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/resources/
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/META-INF/
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/META-INF/MANIFEST.MF
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/WEB-INF/
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/WEB-INF/lib/
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/WEB-INF/web.xml
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/index.jsp
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/login.xhtml
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/resources/
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/resources/ezcomp/
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/resources/ezcomp/loginPanel.xhtml
Log:
Jsf 2.0 Custom components test project has been
created,https://jira.jboss.org/jira/browse/JBIDE-5015
Added: workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.classpath
===================================================================
--- workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.classpath
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.classpath 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry excluding="**" kind="src"
output="target/classes" path="src/main/resources"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con"
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency"
value="/WEB-INF/lib"/>
+ </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="target/classes"/>
+</classpath>
Added: workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.project
===================================================================
--- workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.project
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.project 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jsf2CustomComponentTestApplication</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ </natures>
+</projectDescription>
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/.jsdtscope
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/.jsdtscope
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/.jsdtscope 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,11 @@
+<?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>
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.jdt.core.prefs 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,7 @@
+#Tue Oct 13 12:33:26 EEST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
+org.eclipse.jdt.core.compiler.compliance=1.4
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
+org.eclipse.jdt.core.compiler.source=1.3
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.common.component
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.common.component
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.common.component 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="jsf2-maven-application">
+<wb-resource deploy-path="/" source-path="/src/main/webapp"/>
+<wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/main/resources"/>
+<property name="context-root" value="jsf2-maven-application"/>
+<property name="java-output-path"/>
+</wb-module>
+</project-modules>
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.common.project.facet.core.xml
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.common.project.facet.core.xml 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <installed facet="jst.java" version="1.4"/>
+ <installed facet="jst.web" version="2.3"/>
+</faceted-project>
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.jsdt.ui.superType.container
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.jsdt.ui.superType.container 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.jsdt.ui.superType.name
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.eclipse.wst.jsdt.ui.superType.name 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.maven.ide.eclipse.prefs
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.maven.ide.eclipse.prefs
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/.settings/org.maven.ide.eclipse.prefs 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,9 @@
+#Tue Oct 13 12:33:24 EEST 2009
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
Added: workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/pom.xml
===================================================================
--- workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/pom.xml
(rev 0)
+++ workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/pom.xml 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,60 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.sun.faces.extensions</groupId>
+ <artifactId>jsf2-maven-application</artifactId>
+ <packaging>war</packaging>
+ <version>0.0.1-SNAPSHOT</version>
+ <name>jsf2-maven-application Maven Webapp</name>
+ <url>http://maven.apache.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>com.sun.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <finalName>jsf2-maven-application</finalName>
+ </build>
+ <repositories>
+ <repository>
+ <snapshots />
+ <id>codecaus</id>
+ <name>codehaus</name>
+ <url>http://repository.codehaus.org</url>
+ </repository>
+ <repository>
+ <snapshots />
+ <id>java.net</id>
+ <
name>Java.net Maven 1.x Repository for external projects</name>
+ <
url>https://maven-repository.dev.java.net/nonav/repository</url>
+ <layout>legacy</layout>
+ </repository>
+ <repository>
+ <snapshots />
+ <id>java.net.shared</id>
+ <
name>Java.net Maven 1.x Repository for glassfish dependencies</name>
+ <
url>http://download.java.net/javaee5/external/shared</url>
+ <layout>legacy</layout>
+ </repository>
+ <repository>
+ <snapshots />
+ <id>download.java.net</id>
+ <
url>http://download.java.net/maven/2/</url>
+ </repository>
+ </repositories>
+</project>
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/META-INF/MANIFEST.MF
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/META-INF/MANIFEST.MF
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/META-INF/MANIFEST.MF 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/WEB-INF/web.xml
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/WEB-INF/web.xml
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/WEB-INF/web.xml 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,52 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<web-app version="2.5"
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_2_5.xsd">
+
+ <display-name>Jsf 2.0 Custom components Test Application</display-name>
+ <description>Jsf 2.0 Custom components Test Application</description>
+
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>server</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.FACELETS_LIBRARIES</param-name>
+ <param-value>/tags/mareshkau.taglib.xml</param-value>
+ </context-param>
+
+ <context-param>
+ <description>
+ Set this flag to true if you want the JavaServer Faces
+ Reference Implementation to validate the XML in your
+ faces-config.xml resources against the DTD. Default
+ value is false.
+ </description>
+ <param-name>com.sun.faces.validateXml</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <!-- Faces Servlet -->
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>/faces/*</url-pattern>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+ <welcome-file-list>
+ <welcome-file>index.jsp</welcome-file>
+ </welcome-file-list>
+</web-app>
\ No newline at end of file
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/index.jsp
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/index.jsp
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/index.jsp 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,9 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<%@ page contentType="text/html; charset=UTF-8"%>
+<html>
+<head>
+</head>
+ <body>
+ <jsp:forward page="/login.jsf" />
+ </body>
+</html>
\ No newline at end of file
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/login.xhtml
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/login.xhtml
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/login.xhtml 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,18 @@
+<!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:ez="http://java.sun.com/jsf/composite/ezcomp">
+<h:head>
+ <title>A simple example of EZComp</title>
+</h:head>
+<h:body>
+ <h:form>
+ <ez:loginPanel id="loginPanel">
+ <f:actionListener for="loginEvent"
+ binding="#{bean.loginEventListener}" />
+ </ez:loginPanel>
+ </h:form>
+</h:body>
+</html>
Added:
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/resources/ezcomp/loginPanel.xhtml
===================================================================
---
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/resources/ezcomp/loginPanel.xhtml
(rev 0)
+++
workspace/mareshkau/testProjects/jsf2CustomComponentTestApplication/src/main/webapp/resources/ezcomp/loginPanel.xhtml 2009-10-13
16:26:50 UTC (rev 18072)
@@ -0,0 +1,21 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+
xmlns:composite="http://java.sun.com/jsf/composite">
+<head>
+<title>Not present in rendered output</title>
+</head>
+<body>
+<composite:interface>
+ <composite:actionSource name="loginEvent" />
+</composite:interface>
+<composite:implementation>
+ <p>Username: <h:inputText id="usernameInput" /></p>
+ <p>Password: <h:inputSecret id="passwordInput" /></p>
+ <p><h:commandButton id="loginEvent" value="login"
/></p>
+</composite:implementation>
+</body>
+</html>
\ No newline at end of file