incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r426698 - in /incubator/adffaces/trunk/plugins: ./ maven-adf-archetype/ myfaces-archetype-trinidad/ myfaces-archetype-trinidad/src/main/resources/META-INF/ myfaces-archetype-trinidad/src/main/resources/archetype-resources/ myfaces-archetype...
Date Fri, 28 Jul 2006 23:17:41 GMT
Author: matzew
Date: Fri Jul 28 16:17:40 2006
New Revision: 426698

URL: http://svn.apache.org/viewvc?rev=426698&view=rev
Log:
myfaces-archetype-trinidad (cool name,isn't it :))

Added:
    incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/
      - copied from r426691, incubator/adffaces/trunk/plugins/maven-adf-archetype/
Removed:
    incubator/adffaces/trunk/plugins/maven-adf-archetype/
Modified:
    incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/pom.xml
    incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/META-INF/archetype.xml
    incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/pom.xml
    incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/java/org/apache/myfaces/adf/blank/HelloWorldBacking.java
    incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
    incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
    incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/index.jspx
    incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/page2.jspx
    incubator/adffaces/trunk/plugins/pom.xml

Modified: incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/pom.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/pom.xml?rev=426698&r1=426691&r2=426698&view=diff
==============================================================================
--- incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/pom.xml (original)
+++ incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/pom.xml Fri Jul 28 16:17:40
2006
@@ -19,16 +19,16 @@
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
-    <groupId>org.apache.myfaces.adfbuild</groupId>
+    <groupId>org.apache.myfaces.trinidadbuild</groupId>
     <artifactId>maven-plugin-parent</artifactId> 
     <version>incubator-alpha-1-SNAPSHOT</version>
   </parent>
 
-  <groupId>org.apache.myfaces.adfbuild</groupId>
-  <artifactId>maven-adf-archetype</artifactId>
+  <groupId>org.apache.myfaces.trinidadbuild</groupId>
+  <artifactId>myfaces-archetype-trinidad</artifactId>
   <version>1.0-SNAPSHOT</version>
   <packaging>maven-plugin</packaging>
-  <name>ADF Archetype</name>
-  <description>Archetype to ease the burden of creating a new application based with
ADF</description>
+  <name>Apache MyFaces Trinidad Archetype</name>
+  <description>Archetype to ease the burden of creating a new application based with
Trinidad</description>
 
 </project>

Modified: incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/META-INF/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/META-INF/archetype.xml?rev=426698&r1=426691&r2=426698&view=diff
==============================================================================
--- incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/META-INF/archetype.xml
(original)
+++ incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/META-INF/archetype.xml
Fri Jul 28 16:17:40 2006
@@ -17,7 +17,7 @@
  -->
 
 <archetype>
-  <id>adf-archetype</id>
+  <id>myfaces-archetype-trinidad</id>
   <resources>
     <resource>src/main/java/org/apache/myfaces/adf/blank/HelloWorldBacking.java</resource>
     <resource>src/main/webapp/index.jspx</resource>

Modified: incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/pom.xml?rev=426698&r1=426691&r2=426698&view=diff
==============================================================================
--- incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/pom.xml
(original)
+++ incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/pom.xml
Fri Jul 28 16:17:40 2006
@@ -102,17 +102,17 @@
       <scope>compile</scope>
     </dependency>
 
-    <!-- adf -->
+    <!-- Apache Trinidad -->
     <dependency>
-      <groupId>org.apache.myfaces.adf</groupId>
-      <artifactId>adf-faces-api</artifactId>
+      <groupId>org.apache.myfaces.trinidad</groupId>
+      <artifactId>trinidad-api</artifactId>
       <version>incubator-m1-SNAPSHOT</version>
       <scope>compile</scope>
     </dependency>
 
     <dependency>
-      <groupId>org.apache.myfaces.adf</groupId>
-      <artifactId>adf-faces-impl</artifactId>
+      <groupId>org.apache.myfaces.trinidad</groupId>
+      <artifactId>trinidad-impl</artifactId>
       <version>incubator-m1-SNAPSHOT</version>
       <scope>compile</scope>
     </dependency>

Modified: incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/java/org/apache/myfaces/adf/blank/HelloWorldBacking.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/java/org/apache/myfaces/adf/blank/HelloWorldBacking.java?rev=426698&r1=426691&r2=426698&view=diff
==============================================================================
--- incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/java/org/apache/myfaces/adf/blank/HelloWorldBacking.java
(original)
+++ incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/java/org/apache/myfaces/adf/blank/HelloWorldBacking.java
Fri Jul 28 16:17:40 2006
@@ -13,12 +13,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.myfaces.adf.blank;
+package org.apache.myfaces.trinidad.blank;
 
 import javax.faces.context.FacesContext;
 
-import org.apache.myfaces.adf.render.ExtendedRenderKitService;
-import org.apache.myfaces.adf.util.Service;
+import org.apache.myfaces.trinidad.render.ExtendedRenderKitService;
+import org.apache.myfaces.trinidad.util.Service;
 
 /**
  * A typical simple backing bean, that is backed to <code>helloworld.jsp</code>

Modified: incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml?rev=426698&r1=426691&r2=426698&view=diff
==============================================================================
--- incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
(original)
+++ incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
Fri Jul 28 16:17:40 2006
@@ -20,9 +20,9 @@
 <faces-config>
   
   <application>
-    <!-- Use the ADF RenderKit -->
+    <!-- Use the Trinidad RenderKit -->
     <default-render-kit-id>
-      org.apache.myfaces.adf.core
+      org.apache.myfaces.trinidad.core
     </default-render-kit-id>
   </application>
 
@@ -30,7 +30,7 @@
   <managed-bean>
     <managed-bean-name>helloWorldBacking</managed-bean-name>
     <managed-bean-class>
-       org.apache.myfaces.adf.blank.HelloWorldBacking
+       org.apache.myfaces.trinidad.blank.HelloWorldBacking
     </managed-bean-class>
     <managed-bean-scope>
        request

Modified: incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml?rev=426698&r1=426691&r2=426698&view=diff
==============================================================================
--- incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
(original)
+++ incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
Fri Jul 28 16:17:40 2006
@@ -18,7 +18,7 @@
          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"
          version="2.4">
-  <!-- Use client-side state saving.  In ADF Faces, it is an
+  <!-- Use client-side state saving.  In Trinidad, it is an
        optimized, token-based mechanism that is almost always a
        better choice than the standard JSF server-side state saving. -->
   <context-param>
@@ -27,31 +27,31 @@
     <!--param-value>server</param-value-->
   </context-param>
 
-  <!-- ADF Faces by default uses an optimized client-side state saving
+  <!-- Trinidad by default uses an optimized client-side state saving
        mechanism. To disable that, uncomment the following -->
   <!--context-param>
-    <param-name>org.apache.myfaces.adf.CLIENT_STATE_METHOD</param-name>
+    <param-name>org.apache.myfaces.trinidad.CLIENT_STATE_METHOD</param-name>
     <param-value>all</param-value>
   </context-param-->
 
-  <!-- ADF Faces also supports an optimized strategy for caching some
+  <!-- Trinidad also supports an optimized strategy for caching some
    view state at an application level, which significantly improves
    scalability.  However, it makes it harder to develop (updates to
    pages will not be noticed until the server is restarted), and in
-   some rare cases cannot be used for some pages (see ADF Faces
+   some rare cases cannot be used for some pages (see Trinidad
    documentation for more information) -->
   <context-param>
-    <param-name>org.apache.myfaces.adf.USE_APPLICATION_VIEW_CACHE</param-name>
+    <param-name>org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE</param-name>
     <param-value>false</param-value>
   </context-param>
 
-  <!-- If this parameter is enabled, ADF Faces will automatically
+  <!-- If this parameter is enabled, Trinidad will automatically
        check the modification date of your JSPs, and discard saved
        state when they change;  this makes development easier,
        but adds overhead that should be avoided when your application
        is deployed -->
   <context-param>
-    <param-name>org.apache.myfaces.adf.CHECK_FILE_MODIFICATION</param-name>
+    <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
     <param-value>true</param-value>
   </context-param>
 
@@ -60,20 +60,20 @@
        an API, which can persist component modifications (like,
        is a showDetail or tree expanded or collapsed). For providing
        a custom Change Persistence implementation inherit from the 
-       ADF Faces API's ChangeManager class. As the value you have 
+       Trinidad API's ChangeManager class. As the value you have 
        to use the fullqualified class name. -->
   <context-param>
-    <param-name>org.apache.myfaces.adf.CHANGE_PERSISTENCE</param-name>
+    <param-name>org.apache.myfaces.trinidad.CHANGE_PERSISTENCE</param-name>
     <param-value>session</param-value>
   </context-param>
 
   <filter>
-    <filter-name>adfFaces</filter-name>
-    <filter-class>org.apache.myfaces.adf.webapp.AdfFacesFilter</filter-class>
+    <filter-name>trinidad</filter-name>
+    <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
   </filter>
 
   <filter-mapping>
-    <filter-name>adfFaces</filter-name>
+    <filter-name>trinidad</filter-name>
     <servlet-name>faces</servlet-name>
   </filter-mapping>
 
@@ -91,7 +91,7 @@
   <!-- resource loader servlet -->
   <servlet>
     <servlet-name>resources</servlet-name>
-    <servlet-class>org.apache.myfaces.adf.webapp.ResourceServlet</servlet-class>
+    <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
   </servlet>
 
   <!-- Faces Servlet Mappings -->

Modified: incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/index.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/index.jspx?rev=426698&r1=426691&r2=426698&view=diff
==============================================================================
--- incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/index.jspx
(original)
+++ incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/index.jspx
Fri Jul 28 16:17:40 2006
@@ -16,18 +16,18 @@
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
           xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:af="http://myfaces.apache.org/adf/faces" >
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
-    <af:document title="ADF Archetype Demo">
-       <af:form>
+    <tr:document title="Apache MyFaces Trinidad Archetype Demo">
+       <tr:form>
        
-        <af:panelPage>
-          <af:inputText label="Your name" id="input1" value="#{helloWorldBacking.name}"
required="true"/>
-          <af:commandButton id="button1" text="press me" action="#{helloWorldBacking.send}"
/>
-        </af:panelPage>
+        <tr:panelPage>
+          <tr:inputText label="Your name" id="input1" value="#{helloWorldBacking.name}"
required="true"/>
+          <tr:commandButton id="button1" text="press me" action="#{helloWorldBacking.send}"
/>
+        </tr:panelPage>
        
-       </af:form>
-    </af:document>
+       </tr:form>
+    </tr:document>
   </f:view>
 </jsp:root>

Modified: incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/page2.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/page2.jspx?rev=426698&r1=426691&r2=426698&view=diff
==============================================================================
--- incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/page2.jspx
(original)
+++ incubator/adffaces/trunk/plugins/myfaces-archetype-trinidad/src/main/resources/archetype-resources/src/main/webapp/page2.jspx
Fri Jul 28 16:17:40 2006
@@ -16,18 +16,18 @@
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
           xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:af="http://myfaces.apache.org/adf/faces" >
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
-    <af:document title="ADF Archetype Demo">
-       <af:form>
+    <tr:document title="Apache MyFaces Trinidad Archetype Demo">
+       <tr:form>
        
-        <af:panelPage>
-          <af:outputText id="input1" value="Hello #{helloWorldBacking.name}. We hope you
enjoy Apache ADF Faces"/>
-          <af:commandLink id="link" text="GO HOME" action="back" />
-        </af:panelPage>
+        <tr:panelPage>
+          <tr:outputText id="input1" value="Hello #{helloWorldBacking.name}. We hope you
enjoy Apache MyFaces Trinidad"/>
+          <tr:commandLink id="link" text="GO HOME" action="back" />
+        </tr:panelPage>
        
-       </af:form>
-    </af:document>
+       </tr:form>
+    </tr:document>
   </f:view>
 </jsp:root>

Modified: incubator/adffaces/trunk/plugins/pom.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/plugins/pom.xml?rev=426698&r1=426697&r2=426698&view=diff
==============================================================================
--- incubator/adffaces/trunk/plugins/pom.xml (original)
+++ incubator/adffaces/trunk/plugins/pom.xml Fri Jul 28 16:17:40 2006
@@ -160,7 +160,7 @@
     <module>maven-jdev-plugin</module>
     <module>maven-javascript-plugin</module>
     <module>maven-xrts-plugin</module>
-    <!--module>maven-adf-archetype</module-->
+    <module>myfaces-archetype-trinidad</module>
   </modules>
 
   <distributionManagement>



Mime
View raw message