Author: scabanovich
Date: 2010-11-02 10:34:03 -0400 (Tue, 02 Nov 2010)
New Revision: 26188
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/cssparser-0.9.5.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/ehcache-1.6.0.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-components-api-4.0.0.20101004-M3.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-components-ui-4.0.0.20101004-M3.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-core-api-4.0.0.20101004-M3.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-core-impl-4.0.0.20101004-M3.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/sac-1.3.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/.preprocessing
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/.settings/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/.settings/org.jboss.tools.jst.web.xml
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/demo/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/demo/User.java
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/resources.properties
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/META-INF/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/.faces-config.xml.jsfdia
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/classes/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/classes/demo/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/classes/demo/User.class
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/classes/resources.properties
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/faces-config.xml
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/lib/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/web.xml
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/index.html
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/pages/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/pages/greeting.xhtml
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/pages/inputname.xhtml
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/resources/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/resources/demo/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/resources/demo/input.xhtml
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/templates/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/templates/common.xhtml
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/ant/
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/ant/build.properties
Modified:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFVersions.xml
Log:
JBIDE-7422
https://jira.jboss.org/browse/JBIDE-7422
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/cssparser-0.9.5.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/cssparser-0.9.5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/ehcache-1.6.0.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/ehcache-1.6.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-components-api-4.0.0.20101004-M3.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-components-api-4.0.0.20101004-M3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-components-ui-4.0.0.20101004-M3.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-components-ui-4.0.0.20101004-M3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-core-api-4.0.0.20101004-M3.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-core-api-4.0.0.20101004-M3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-core-impl-4.0.0.20101004-M3.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/richfaces-core-impl-4.0.0.20101004-M3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/sac-1.3.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces4.0/sac-1.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFVersions.xml
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFVersions.xml 2010-11-02
14:29:56 UTC (rev 26187)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFVersions.xml 2010-11-02
14:34:03 UTC (rev 26188)
@@ -23,4 +23,10 @@
<refLib type="servlet" location="../servlet" />
<projectTempl location="./jsf-2.0" />
</version>
+ <version displayName="JSF 2.0 & RichFaces 4.0"
servlet-version="3.0">
+ <lib type="core" location="../lib/jsf-1.2"/>
+ <lib type="common" location="../lib/RichFaces4.0" />
+ <refLib type="servlet" location="../servlet" />
+ <projectTempl location="./jsf-2.0-RichFaces-4.0" />
+ </version>
</versions>
\ No newline at end of file
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/.preprocessing
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/.preprocessing
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/.preprocessing 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1 @@
+WebContent/WEB-INF/web.xml
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/.settings/org.jboss.tools.jst.web.xml
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/.settings/org.jboss.tools.jst.web.xml
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/.settings/org.jboss.tools.jst.web.xml 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<file-systems application-name="" model-entity="FileSystems"
WORKSPACE_HOME="./WebContent/WEB-INF">
+ <file-system model-entity="FileSystemFolder"
location="%workspace.home%" NAME="WEB-INF"/>
+ <file-system model-entity="FileSystemFolder"
INFO="Content-Type=Web"
+ location="%workspace.home%/.." NAME="WEB-ROOT"/>
+ <file-system model-entity="FileSystemFolder"
+ location="%workspace.home%/../../JavaSource" NAME="src"/>
+ <file-system model-entity="FileSystemFolder"
+ location="%workspace.home%/lib" NAME="lib"/>
+ <file-system model-entity="FileSystemFolder"
+ location="%workspace.home%/classes" NAME="classes"/>
+ <file-system model-entity="FileSystemFolder"
+ location="%workspace.home%/../../ant" NAME="build"/>
+ <WEB model-entity="JstWeb" MODEL_PATH="/web.xml">
+ <MODULE model-entity="WebJSFModule"
MODEL_PATH="/faces-config.xml"
+ ROOT="WEB-ROOT" SRC="src"
URI="/WEB-INF/faces-config.xml"/>
+ </WEB>
+</file-systems>
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/.settings/org.jboss.tools.jst.web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/demo/User.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/demo/User.java
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/demo/User.java 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package demo;
+
+import javax.faces.bean.ManagedBean;
+import javax.faces.bean.SessionScoped;
+
+/**
+ * Created by JBoss Tools
+ */
+@ManagedBean(name="user")
+@SessionScoped
+public class User {
+ private String name;
+
+ public User() {
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String sayHello() {
+ return "greeting";
+ }
+}
\ No newline at end of file
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/demo/User.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/resources.properties
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/resources.properties
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/resources.properties 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,2 @@
+prompt=Your Name\:
+greeting=Hello
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/JavaSource/resources.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/META-INF/MANIFEST.MF
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/META-INF/MANIFEST.MF
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/META-INF/MANIFEST.MF 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/.faces-config.xml.jsfdia
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/.faces-config.xml.jsfdia
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/.faces-config.xml.jsfdia 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PROCESS model-entity="JSFProcess">
+ <PROCESS-ITEM NAME="rules:#pages#greeting.xhtml"
+ PATH="/pages/greeting.xhtml" SHAPE="240,33,0,0"
model-entity="JSFProcessGroup"/>
+ <PROCESS-ITEM NAME="rules:#pages#inputname.xhtml"
+ PATH="/pages/inputname.xhtml" SHAPE="32,17,0,0"
model-entity="JSFProcessGroup">
+ <PROCESS-ITEM ID="rules:#pages#inputname.xhtml:0" NAME="item"
+ PATH="/pages/inputname.xhtml" model-entity="JSFProcessItem">
+ <PROCESS-ITEM-OUTPUT ID="greeting::#pages#greeting.xhtml"
+ NAME="output" PATH="/pages/greeting.xhtml"
+ TARGET="rules:#pages#greeting.xhtml" TITLE="greeting"
model-entity="JSFProcessItemOutput"/>
+ </PROCESS-ITEM>
+ </PROCESS-ITEM>
+</PROCESS>
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/classes/demo/User.class
===================================================================
(Binary files differ)
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/classes/demo/User.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/classes/resources.properties
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/classes/resources.properties
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/classes/resources.properties 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,2 @@
+prompt=Your Name\:
+greeting=Hello
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/classes/resources.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/faces-config.xml
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/faces-config.xml
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/faces-config.xml 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<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">
+
+ <navigation-rule>
+ <from-view-id>/pages/inputname.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>greeting</from-outcome>
+ <to-view-id>/pages/greeting.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+
+ <application>
+ <resource-bundle>
+ <base-name>resources</base-name>
+ <var>msgs</var>
+ </resource-bundle>
+ </application>
+</faces-config>
\ No newline at end of file
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/faces-config.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/web.xml
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/web.xml
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/web.xml 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+#if ($servlet_version == "2.4")
+<web-app version="2.4"
+xmlns="http://java.sun.com/xml/ns/j2ee"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+#elseif ($servlet_version == "2.5")
+<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">
+#elseif ($servlet_version == "3.0")
+<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">
+#else
+<!DOCTYPE web-app PUBLIC
+ "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+#end
+
+ <display-name>${project.name}</display-name>
+ <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>*.jsf</url-pattern>
+ <url-pattern>/faces/*</url-pattern>
+ </servlet-mapping>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ <welcome-file>index.htm</welcome-file>
+ <welcome-file>index.jsp</welcome-file>
+ <welcome-file>default.html</welcome-file>
+ <welcome-file>default.htm</welcome-file>
+ <welcome-file>default.jsp</welcome-file>
+ </welcome-file-list>
+</web-app>
\ No newline at end of file
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/WEB-INF/web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/index.html
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/index.html
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/index.html 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1 @@
+<html><head><meta http-equiv="Refresh" content="0;
URL=pages/inputname.jsf"/></head></html>
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/index.html
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/pages/greeting.xhtml
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/pages/greeting.xhtml
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/pages/greeting.xhtml 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,14 @@
+<!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="/templates/common.xhtml">
+ <ui:define name="pageTitle">Greeting to User</ui:define>
+ <ui:define name="pageHeader">Greeting Page</ui:define>
+ <ui:define name="body">
+ #{msgs.greeting} #{user.name}!
+ </ui:define>
+ </ui:composition>
+</html>
\ No newline at end of file
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/pages/greeting.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/pages/inputname.xhtml
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/pages/inputname.xhtml
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/pages/inputname.xhtml 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,19 @@
+<!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:ez="http://java.sun.com/jsf/composite/demo">
+
+ <ui:composition template="/templates/common.xhtml">
+
+ <ui:define name="pageTitle">Input User Name</ui:define>
+
+ <ui:define name="pageHeader">RichFaces 4.0 Hello
Application</ui:define>
+
+ <ui:define name="body">
+ <h:message showSummary="true" showDetail="false"
style="color: red; font-weight: bold;" for="inputname" />
+ <ez:input id="inputname" label="${msgs.prompt}"
value="#{user.name}" action="#{user.sayHello}" submitlabel="Say
Hello"/>
+ </ui:define>
+ </ui:composition>
+</html>
\ No newline at end of file
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/pages/inputname.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/resources/demo/input.xhtml
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/resources/demo/input.xhtml
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/resources/demo/input.xhtml 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!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:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:composite="http://java.sun.com/jsf/composite">
+
+ <composite:interface>
+ <composite:attribute name="label"/>
+ <composite:attribute name="value" required="true"/>
+ <composite:attribute name="action" required="true"
method-signature="java.lang.String f()"/>
+ <composite:attribute name="submitlabel"/>
+ </composite:interface>
+
+ <composite:implementation>
+ <h:form>
+ <h:panelGrid columns="3">
+ <h:outputText value="#{cc.attrs.label}" />
+ <h:inputText value="#{cc.attrs.value}"/>
+ <h:commandButton action="#{cc.attrs.action}"
value="#{cc.attrs.submitlabel}" />
+ </h:panelGrid>
+ </h:form>
+ </composite:implementation>
+</html>
\ No newline at end of file
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/resources/demo/input.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/templates/common.xhtml
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/templates/common.xhtml
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/templates/common.xhtml 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,23 @@
+<!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:rich="http://richfaces.org/rich">
+
+ <h:head>
+ <title><ui:insert name="pageTitle">Page
Title</ui:insert></title>
+ </h:head>
+
+ <h:body style="text-align: center;">
+ <div align="center">
+ <rich:panel style="width:400px;">
+ <f:facet name="header">
+ <ui:insert name="pageHeader">Page Header</ui:insert>
+ </f:facet>
+ <ui:insert name="body">Page Body</ui:insert>
+ </rich:panel>
+ </div>
+ </h:body>
+
+</html>
\ No newline at end of file
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/WebContent/templates/common.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/ant/build.properties
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/ant/build.properties
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/ant/build.properties 2010-11-02
14:34:03 UTC (rev 26188)
@@ -0,0 +1,3 @@
+#
+#Fri Oct 29 18:36:59 MSD 2010
+classpath.external=
Property changes on:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/jsf-2.0-RichFaces-4.0/RichFaces/ant/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain