myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gcrawf...@apache.org
Subject svn commit: r639510 - in /myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main: java/org/apache/myfaces/trinidaddemo/tagDemos/ webapp/WEB-INF/ webapp/demos/ webapp/demos/tags/
Date Fri, 21 Mar 2008 01:33:36 GMT
Author: gcrawford
Date: Thu Mar 20 18:33:31 2008
New Revision: 639510

URL: http://svn.apache.org/viewvc?rev=639510&view=rev
Log:
TRINIDAD-1022 add fileDownloadActionListener Demo

Added:
    myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/tagDemos/
      - copied from r639509, myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/tagDemos/
    myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/tagDemos/TestFileDownloadBean.java
      - copied unchanged from r639509, myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/tagDemos/TestFileDownloadBean.java
    myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tags/
      - copied from r639509, myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/demos/tags/
    myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tags/fileDownloadActionListener.jspx
      - copied unchanged from r639509, myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/demos/tags/fileDownloadActionListener.jspx
Modified:
    myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/WEB-INF/faces-config.xml
    myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/demos.jspx

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/WEB-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/WEB-INF/faces-config.xml?rev=639510&r1=639509&r2=639510&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/WEB-INF/faces-config.xml
(original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/WEB-INF/faces-config.xml
Thu Mar 20 18:33:31 2008
@@ -172,6 +172,16 @@
        session
     </managed-bean-scope>
   </managed-bean>
+  
+  <managed-bean>
+    <managed-bean-name>fileDownload</managed-bean-name>
+    <managed-bean-class>
+       org.apache.myfaces.trinidaddemo.tagDemos.TestFileDownloadBean
+    </managed-bean-class>
+    <managed-bean-scope>
+       session
+    </managed-bean-scope>
+  </managed-bean>
 
   <managed-bean>
     <managed-bean-name>messages</managed-bean-name>
@@ -1823,7 +1833,7 @@
       <from-outcome>guide</from-outcome>
       <to-view-id>/componentDemos.jspx</to-view-id>
       <redirect/>
-    </navigation-case>
+    </navigation-case>      
 
     <navigation-case>
       <from-outcome>emaildemo</from-outcome>

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/demos.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/demos.jspx?rev=639510&r1=639509&r2=639510&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/demos.jspx
(original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/demos.jspx
Thu Mar 20 18:33:31 2008
@@ -16,7 +16,7 @@
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.
-	   
+     
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
           xmlns:f="http://java.sun.com/jsf/core"
@@ -53,6 +53,8 @@
               <tr:commandLink text="Skin Demo" action="demos.skin" />
               <tr:goLink text="Show Detail Disclosure Demo"
                 destination="showDetailDiscloseOne.jspx" />
+              <tr:goLink text="FileDownloadActionListener Demo"
+                destination="tags/fileDownloadActionListener.jspx" />
               
             </tr:panelGroupLayout>
            </tr:panelHeader>



Mime
View raw message