You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bridges-commits@portals.apache.org by ta...@apache.org on 2007/05/25 00:14:22 UTC

svn commit: r541451 - in /portals/bridges/trunk/applications/jsf-demo: pom.xml project.xml src/webapp/WEB-INF/view/calendar-view.jsp src/webapp/WEB-INF/web.xml src/webapp/tree.jsp src/webapp/treeTable.jsp

Author: taylor
Date: Thu May 24 15:14:21 2007
New Revision: 541451

URL: http://svn.apache.org/viewvc?view=rev&rev=541451
Log:
https://issues.apache.org/jira/browse/PB-63
migrate to latest version (Tomahawk)

Modified:
    portals/bridges/trunk/applications/jsf-demo/pom.xml
    portals/bridges/trunk/applications/jsf-demo/project.xml
    portals/bridges/trunk/applications/jsf-demo/src/webapp/WEB-INF/view/calendar-view.jsp
    portals/bridges/trunk/applications/jsf-demo/src/webapp/WEB-INF/web.xml
    portals/bridges/trunk/applications/jsf-demo/src/webapp/tree.jsp
    portals/bridges/trunk/applications/jsf-demo/src/webapp/treeTable.jsp

Modified: portals/bridges/trunk/applications/jsf-demo/pom.xml
URL: http://svn.apache.org/viewvc/portals/bridges/trunk/applications/jsf-demo/pom.xml?view=diff&rev=541451&r1=541450&r2=541451
==============================================================================
--- portals/bridges/trunk/applications/jsf-demo/pom.xml (original)
+++ portals/bridges/trunk/applications/jsf-demo/pom.xml Thu May 24 15:14:21 2007
@@ -109,7 +109,6 @@
          <groupId>myfaces</groupId>
          <artifactId>tomahawk</artifactId>
      </dependency>                           
-    
     <dependency>
       <groupId>org.apache.portals.bridges</groupId>
       <artifactId>portals-bridges-jsf</artifactId>

Modified: portals/bridges/trunk/applications/jsf-demo/project.xml
URL: http://svn.apache.org/viewvc/portals/bridges/trunk/applications/jsf-demo/project.xml?view=diff&rev=541451&r1=541450&r2=541451
==============================================================================
--- portals/bridges/trunk/applications/jsf-demo/project.xml (original)
+++ portals/bridges/trunk/applications/jsf-demo/project.xml Thu May 24 15:14:21 2007
@@ -22,7 +22,7 @@
     <pomVersion>3</pomVersion>
     <artifactId>jsf-demo</artifactId>
     <name>JSF Portlet Demo</name>
-    <package>org.apache.portals.webapp.example</package>
+    <package>org.apache.portals.bridges.jsf</package>
     <description>JSF Portlet Demo</description>
     <shortDescription>JSF Portlet Demo</shortDescription>
 
@@ -104,7 +104,6 @@
                 <war.bundle>${log4j.include}</war.bundle>
             </properties>
         </dependency>
-
         <dependency>
             <id>myfaces:myfaces-api</id>
             <version>${myfaces.version}</version>

Modified: portals/bridges/trunk/applications/jsf-demo/src/webapp/WEB-INF/view/calendar-view.jsp
URL: http://svn.apache.org/viewvc/portals/bridges/trunk/applications/jsf-demo/src/webapp/WEB-INF/view/calendar-view.jsp?view=diff&rev=541451&r1=541450&r2=541451
==============================================================================
--- portals/bridges/trunk/applications/jsf-demo/src/webapp/WEB-INF/view/calendar-view.jsp (original)
+++ portals/bridges/trunk/applications/jsf-demo/src/webapp/WEB-INF/view/calendar-view.jsp Thu May 24 15:14:21 2007
@@ -17,14 +17,14 @@
 <%@ page session="true" contentType="text/html;charset=utf-8"%>
 <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
 <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="x"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
 
 <f:loadBundle basename="org.apache.portals.applications.desktop.resources.Calendar" var="MESSAGE" />
 
 <f:view>
 
 <h:form id="calendarForm">
-<x:inputCalendar 
+<t:inputCalendar 
     value="#{calendar.date}"
     monthYearRowClass="portlet-section-header" 
     weekRowClass="portlet-section-subheader"

Modified: portals/bridges/trunk/applications/jsf-demo/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/portals/bridges/trunk/applications/jsf-demo/src/webapp/WEB-INF/web.xml?view=diff&rev=541451&r1=541450&r2=541451
==============================================================================
--- portals/bridges/trunk/applications/jsf-demo/src/webapp/WEB-INF/web.xml (original)
+++ portals/bridges/trunk/applications/jsf-demo/src/webapp/WEB-INF/web.xml Thu May 24 15:14:21 2007
@@ -21,81 +21,81 @@
 <web-app>
 	<display-name>JavaServer Faces Guess Number Sample Application</display-name>
 	<description>JavaServer Faces Guess Number Sample Application</description>
-    
-    <context-param>
-       <description>
-         OFF - for auto init on first invoke resource item from tomahawk-[1.1.3 -1.1.5].jar
-         VFigurov@asia-soft.kz
-       </description>
-       <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
-       <param-value>false</param-value>
-    </context-param>
-    
-	<context-param>
-    	<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
-    	<param-value>server</param-value>
-	</context-param>
-	<context-param>
-    	<param-name>javax.faces.application.CONFIG_FILES</param-name>
-    	<param-value>/WEB-INF/faces-config.xml</param-value>
-  	</context-param>
-   	<context-param>
-        <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
-        <param-value>true</param-value>
-        <description>
-            This parameter tells MyFaces if javascript code should be allowed in the
-            rendered HTML output.
-            If javascript is allowed, command_link anchors will have javascript code
-            that submits the corresponding form.
-            If javascript is not allowed, the state saving info and nested parameters
-            will be added as url parameters.
-            Default: "true"
-        </description>
-    </context-param>
-    
-    <context-param>
-        <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
-        <param-value>false</param-value>
-        <description>
-            This parameter tells MyFaces if javascript code should be allowed in the
-            rendered HTML output.
-            If javascript is allowed, command_link anchors will have javascript code
-            that submits the corresponding form.
-            If javascript is not allowed, the state saving info and nested parameters
-            will be added as url parameters.
-            Default: "false"
-
-            Setting this param to true should be combined with STATE_SAVING_METHOD "server" for
-            best results.
-
-            This is an EXPERIMENTAL feature. You also have to enable the detector filter/filter mapping below to get
-            JavaScript detection working.
-        </description>
-    </context-param>
-
-    <context-param>
-        <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
-        <param-value>true</param-value>
-        <description>
-            If true, rendered HTML code will be formatted, so that it is "human readable".
-            i.e. additional line separators and whitespace will be written, that do not
-            influence the HTML code.
-            Default: "true"
-        </description>
-    </context-param>
-
-    <context-param>
-        <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
-        <param-value>true</param-value>
-        <description>
-            If true, a javascript function will be rendered that is able to restore the
-            former vertical scroll on every request. Convenient feature if you have pages
-            with long lists and you do not want the browser page to always jump to the top
-            if you trigger a link or button action that stays on the same page.
-            Default: "false"
-        </description>
-    </context-param>
 
+<context-param>
+   <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
+   <param-value>false</param-value>
+   <description>
+     OFF - for auto init on first invoke resource item from tomahawk-[1.1.3 -1.1.5].jar
+     VFigurov@asia-soft.kz
+   </description>
+</context-param>
+
+<context-param>
+	<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+	<param-value>server</param-value>
+</context-param>
+<context-param>
+	<param-name>javax.faces.application.CONFIG_FILES</param-name>
+	<param-value>/WEB-INF/faces-config.xml</param-value>
+</context-param>
+<context-param>
+    <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
+    <param-value>true</param-value>
+    <description>
+        This parameter tells MyFaces if javascript code should be allowed in the
+        rendered HTML output.
+        If javascript is allowed, command_link anchors will have javascript code
+        that submits the corresponding form.
+        If javascript is not allowed, the state saving info and nested parameters
+        will be added as url parameters.
+        Default: "true"
+    </description>
+</context-param>
+
+<context-param>
+    <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
+    <param-value>false</param-value>
+    <description>
+        This parameter tells MyFaces if javascript code should be allowed in the
+        rendered HTML output.
+        If javascript is allowed, command_link anchors will have javascript code
+        that submits the corresponding form.
+        If javascript is not allowed, the state saving info and nested parameters
+        will be added as url parameters.
+        Default: "false"
+
+        Setting this param to true should be combined with STATE_SAVING_METHOD "server" for
+        best results.
+
+        This is an EXPERIMENTAL feature. You also have to enable the detector filter/filter mapping below to get
+        JavaScript detection working.
+    </description>
+</context-param>
+
+<context-param>
+    <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
+    <param-value>true</param-value>
+    <description>
+        If true, rendered HTML code will be formatted, so that it is "human readable".
+        i.e. additional line separators and whitespace will be written, that do not
+        influence the HTML code.
+        Default: "true"
+    </description>
+</context-param>
+
+<context-param>
+    <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
+    <param-value>true</param-value>
+    <description>
+        If true, a javascript function will be rendered that is able to restore the
+        former vertical scroll on every request. Convenient feature if you have pages
+        with long lists and you do not want the browser page to always jump to the top
+        if you trigger a link or button action that stays on the same page.
+        Default: "false"
+    </description>
+</context-param>
+        
     <!-- Extensions Filter -->
     <filter>
         <filter-name>extensionsFilter</filter-name>
@@ -134,6 +134,7 @@
         <filter-name>extensionsFilter</filter-name>
         <url-pattern>/faces/*</url-pattern>
     </filter-mapping>
+
   
   	<!-- Listener, that does all the startup work (configuration, init). -->
   	<listener>

Modified: portals/bridges/trunk/applications/jsf-demo/src/webapp/tree.jsp
URL: http://svn.apache.org/viewvc/portals/bridges/trunk/applications/jsf-demo/src/webapp/tree.jsp?view=diff&rev=541451&r1=541450&r2=541451
==============================================================================
--- portals/bridges/trunk/applications/jsf-demo/src/webapp/tree.jsp (original)
+++ portals/bridges/trunk/applications/jsf-demo/src/webapp/tree.jsp Thu May 24 15:14:21 2007
@@ -51,7 +51,7 @@
 <f:view>
     <f:verbatim><h2>Here is a tree example.</h2></f:verbatim>
 
-    <h:form>
+    <h:form id='tree1form'>
         <x:tree id="tree" value="#{treeModel}"
                 styleClass="tree"
                 nodeClass="treenode"

Modified: portals/bridges/trunk/applications/jsf-demo/src/webapp/treeTable.jsp
URL: http://svn.apache.org/viewvc/portals/bridges/trunk/applications/jsf-demo/src/webapp/treeTable.jsp?view=diff&rev=541451&r1=541450&r2=541451
==============================================================================
Binary files - no diff available.



---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-commits-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-commits-help@portals.apache.org