JBoss Rich Faces SVN: r6758 - in trunk/samples/richfaces-demo/src/main: java/org/richfaces/demo/fileUpload and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-12 11:12:26 -0400 (Wed, 12 Mar 2008)
New Revision: 6758
Added:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml
Modified:
trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml
trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml
Log:
Added: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java (rev 0)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java 2008-03-12 15:12:26 UTC (rev 6758)
@@ -0,0 +1,24 @@
+/**
+ *
+ */
+package org.richfaces.demo.fileUpload;
+
+import java.io.IOException;
+
+import org.richfaces.event.UploadEvent;
+import org.richfaces.model.UploadItem;
+
+/**
+ * @author Ilya Shaikovsky
+ *
+ */
+public class FileUploadBean {
+ public FileUploadBean() {
+ }
+
+ public void listener(UploadEvent event) throws IOException{
+ UploadItem item = event.getUploadItem();
+ System.out.println("FileUploadBean.listener()");
+ System.out.println("File : '" + item.getFileName() + "' was uploaded");
+ }
+}
Modified: trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-03-12 15:03:00 UTC (rev 6757)
+++ trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-03-12 15:12:26 UTC (rev 6758)
@@ -1,324 +1,329 @@
-<?xml version="1.0"?>
-<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
- "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
-<faces-config>
- <converter>
- <converter-id>listShuttleconverter</converter-id>
- <converter-class>org.richfaces.demo.listShuttle.Converter</converter-class>
- </converter>
- <managed-bean>
- <managed-bean-name>skinBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.common.SkinBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>skin</property-name>
- <property-class>java.lang.String</property-class>
- <value>blueSky</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>capitalsBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.capitals.CapitalsBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>ddmenu</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.ddmenu.Menu</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>calendarBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.calendar.CalendarBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>profile</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.wizard.Profile</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>userBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.ajaxsupport.UserBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>name</property-name>
- <property-class>java.lang.String</property-class>
- <value/>
- </managed-property>
- <managed-property>
- <property-name>screenWidth</property-name>
- <property-class>java.lang.Integer</property-class>
- <null-value/>
- </managed-property>
- <managed-property>
- <property-name>screenHeight</property-name>
- <property-class>java.lang.Integer</property-class>
- <null-value/>
- </managed-property>
- <managed-property>
- <property-name>job</property-name>
- <property-class>java.lang.String</property-class>
- <null-value/>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>dfsBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.datafilterslider.DemoSliderBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>demoInventoryList</property-name>
- <value>#{inventoryList}</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>dataTableScrollerBean</managed-bean-name>
- <managed-bean-class>org.richfaces.datatablescroller.DataTableScrollerBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>toggleBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.togglePanel.ToggleBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>inventoryList</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.datafilterslider.DemoInventoryList</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>suggestionBox</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.sb.SuggestionBox</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>gmBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.gmap.Bean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>zoom</property-name>
- <property-class>int</property-class>
- <value>17</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>environment</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.common.Environment</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>params</property-name>
- <property-class>java.util.Map</property-class>
- <map-entries>
- <map-entry>
- <key>devguide-location</key>
- <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/devguide</value>
- </map-entry>
- <map-entry>
- <key>tld-doc-location</key>
- <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/tlddoc</value>
- </map-entry>
- <map-entry>
- <key>java-doc-location</key>
- <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/apidoc</value>
- </map-entry>
- </map-entries>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>insValueBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.inputnumberslider.ValueBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>componentNavigator</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.common.ComponentNavigator</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>report</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.datatable.Report</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>tbBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.toolBar.TbBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>paintBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.paint2d.PaintBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>paintData</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.paint2d.PaintData</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- <managed-property>
- <property-name>color</property-name>
- <property-class>int</property-class>
- <value>1000</value>
- </managed-property>
- <managed-property>
- <property-name>scale</property-name>
- <property-class>float</property-class>
- <value>2</value>
- </managed-property>
- <managed-property>
- <property-name>text</property-name>
- <property-class>java.lang.String</property-class>
- <value>Paint 2D</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>treeDemoStateAdvisor</managed-bean-name>
- <managed-bean-class>org.richfaces.treemodeladaptor.TreeDemoStateAdvisor</managed-bean-class>
- <managed-bean-scope>application</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>fileSystemBean</managed-bean-name>
- <managed-bean-class>org.richfaces.treemodeladaptor.FileSystemBean</managed-bean-class>
- <managed-bean-scope>application</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>simpleTreeBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.tree.SimpleTreeBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>library</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.tree.Library</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>dndBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.dnd.DndBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>eventBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.dnd.EventBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- <managed-property>
- <property-name>dndBean</property-name>
- <property-class>org.richfaces.demo.dnd.DndBean</property-class>
- <value>#{dndBean}</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>toolTipData</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.tooltip.ToolTipData</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>rsBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.ajaxSamples.rsBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>rsBean2</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.ajaxSamples.rsBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>auctionDataModel</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.extendeddatamodel.AuctionDataModel</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- <managed-property>
- <property-name>dataProvider</property-name>
- <property-class>org.richfaces.demo.extendeddatamodel.AuctionDataProvider</property-class>
- <value>#{auctionDataProvider}</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>mediaBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.media.MediaBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>mediaData</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.media.MediaData</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>auctionDataProvider</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.extendeddatamodel.AuctionDataProvider</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>salesReport</managed-bean-name>
- <managed-bean-class>org.richfaces.datatable.SalesReport</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>updateBean</managed-bean-name>
- <managed-bean-class>org.richfaces.datatable.UpdateBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>panelMenu</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.pmenu.PanelMenu</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>current</property-name>
- <property-class>java.lang.String</property-class>
- <value>Nothing</value>
- </managed-property>
- <managed-property>
- <property-name>singleMode</property-name>
- <property-class>boolean</property-class>
- <value>true</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>toolBar</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.listShuttle.ToolBar</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>pickListBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.pickList.PickListBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>progressBarBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.progressBar.ProgressBarBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>comboBoxBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.comboBox.ComboBoxBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>inplaceComponentsBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.inplaces.InplaceComponentsBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <navigation-rule>
- <from-view-id>/richfaces/include/examples/wstep1.xhtml</from-view-id>
- <navigation-case>
- <from-outcome>next</from-outcome>
- <to-view-id>/richfaces/include/examples/wstep2.xhtml</to-view-id>
- </navigation-case>
- </navigation-rule>
- <navigation-rule>
- <from-view-id>/richfaces/include/examples/wstep2.xhtml</from-view-id>
- <navigation-case>
- <from-outcome>previous</from-outcome>
- <to-view-id>/richfaces/include/examples/wstep1.xhtml</to-view-id>
- </navigation-case>
- <navigation-case>
- <from-outcome>next</from-outcome>
- <to-view-id>/richfaces/include/examples/finalStep.xhtml</to-view-id>
- </navigation-case>
- </navigation-rule>
- <navigation-rule>
- <from-view-id>/richfaces/include/examples/finalStep.xhtml</from-view-id>
- <navigation-case>
- <from-outcome>previous</from-outcome>
- <to-view-id>/richfaces/include/examples/wstep2.xhtml</to-view-id>
- </navigation-case>
- </navigation-rule>
- <lifecycle>
- <phase-listener>org.richfaces.treemodeladaptor.PostbackPhaseListener</phase-listener>
- </lifecycle>
-</faces-config>
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
+<faces-config>
+ <converter>
+ <converter-id>listShuttleconverter</converter-id>
+ <converter-class>org.richfaces.demo.listShuttle.Converter</converter-class>
+ </converter>
+ <managed-bean>
+ <managed-bean-name>skinBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.common.SkinBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>skin</property-name>
+ <property-class>java.lang.String</property-class>
+ <value>blueSky</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>capitalsBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.capitals.CapitalsBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>ddmenu</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.ddmenu.Menu</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>calendarBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.calendar.CalendarBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>profile</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.wizard.Profile</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>userBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.ajaxsupport.UserBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>name</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>screenWidth</property-name>
+ <property-class>java.lang.Integer</property-class>
+ <null-value/>
+ </managed-property>
+ <managed-property>
+ <property-name>screenHeight</property-name>
+ <property-class>java.lang.Integer</property-class>
+ <null-value/>
+ </managed-property>
+ <managed-property>
+ <property-name>job</property-name>
+ <property-class>java.lang.String</property-class>
+ <null-value/>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>dfsBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datafilterslider.DemoSliderBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>demoInventoryList</property-name>
+ <value>#{inventoryList}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>dataTableScrollerBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.datatablescroller.DataTableScrollerBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>toggleBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.togglePanel.ToggleBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>inventoryList</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datafilterslider.DemoInventoryList</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>suggestionBox</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.sb.SuggestionBox</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>gmBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.gmap.Bean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>zoom</property-name>
+ <property-class>int</property-class>
+ <value>17</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>environment</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.common.Environment</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>params</property-name>
+ <property-class>java.util.Map</property-class>
+ <map-entries>
+ <map-entry>
+ <key>devguide-location</key>
+ <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/devguide</value>
+ </map-entry>
+ <map-entry>
+ <key>tld-doc-location</key>
+ <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/tlddoc</value>
+ </map-entry>
+ <map-entry>
+ <key>java-doc-location</key>
+ <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/apidoc</value>
+ </map-entry>
+ </map-entries>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>insValueBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.inputnumberslider.ValueBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>componentNavigator</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.common.ComponentNavigator</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>report</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datatable.Report</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>tbBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.toolBar.TbBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>paintBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.paint2d.PaintBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>paintData</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.paint2d.PaintData</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>color</property-name>
+ <property-class>int</property-class>
+ <value>1000</value>
+ </managed-property>
+ <managed-property>
+ <property-name>scale</property-name>
+ <property-class>float</property-class>
+ <value>2</value>
+ </managed-property>
+ <managed-property>
+ <property-name>text</property-name>
+ <property-class>java.lang.String</property-class>
+ <value>Paint 2D</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>treeDemoStateAdvisor</managed-bean-name>
+ <managed-bean-class>org.richfaces.treemodeladaptor.TreeDemoStateAdvisor</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>fileSystemBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.treemodeladaptor.FileSystemBean</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>simpleTreeBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tree.SimpleTreeBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>library</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tree.Library</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>dndBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.dnd.DndBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>eventBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.dnd.EventBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>dndBean</property-name>
+ <property-class>org.richfaces.demo.dnd.DndBean</property-class>
+ <value>#{dndBean}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>toolTipData</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tooltip.ToolTipData</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>rsBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.ajaxSamples.rsBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>rsBean2</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.ajaxSamples.rsBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>auctionDataModel</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.extendeddatamodel.AuctionDataModel</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>dataProvider</property-name>
+ <property-class>org.richfaces.demo.extendeddatamodel.AuctionDataProvider</property-class>
+ <value>#{auctionDataProvider}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>mediaBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.media.MediaBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>mediaData</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.media.MediaData</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>auctionDataProvider</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.extendeddatamodel.AuctionDataProvider</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>salesReport</managed-bean-name>
+ <managed-bean-class>org.richfaces.datatable.SalesReport</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>updateBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.datatable.UpdateBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>panelMenu</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.pmenu.PanelMenu</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>current</property-name>
+ <property-class>java.lang.String</property-class>
+ <value>Nothing</value>
+ </managed-property>
+ <managed-property>
+ <property-name>singleMode</property-name>
+ <property-class>boolean</property-class>
+ <value>true</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>toolBar</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.listShuttle.ToolBar</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>pickListBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.pickList.PickListBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>progressBarBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.progressBar.ProgressBarBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>comboBoxBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.comboBox.ComboBoxBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>inplaceComponentsBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.inplaces.InplaceComponentsBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>fileUploadBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.fileUpload.FileUploadBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <navigation-rule>
+ <from-view-id>/richfaces/include/examples/wstep1.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>next</from-outcome>
+ <to-view-id>/richfaces/include/examples/wstep2.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <navigation-rule>
+ <from-view-id>/richfaces/include/examples/wstep2.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>previous</from-outcome>
+ <to-view-id>/richfaces/include/examples/wstep1.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>next</from-outcome>
+ <to-view-id>/richfaces/include/examples/finalStep.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <navigation-rule>
+ <from-view-id>/richfaces/include/examples/finalStep.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>previous</from-outcome>
+ <to-view-id>/richfaces/include/examples/wstep2.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <lifecycle>
+ <phase-listener>org.richfaces.treemodeladaptor.PostbackPhaseListener</phase-listener>
+ </lifecycle>
+</faces-config>
Modified: trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml 2008-03-12 15:03:00 UTC (rev 6757)
+++ trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml 2008-03-12 15:12:26 UTC (rev 6758)
@@ -59,15 +59,23 @@
<context-param>
<param-name>org.richfaces.LoadScriptStrategy</param-name>
<param-value>DEFAULT</param-value>
- </context-param>
-
- <filter>
- <display-name>Ajax4jsf Filter</display-name>
+ </context-param>
+
+ <filter>
+ <display-name>Ajax4jsf Filter</display-name>
+ <filter-name>ajax4jsf</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ <init-param>
+ <param-name>createTempFiles</param-name>
+ <param-value>true</param-value>
+ </init-param>
+ <init-param>
+ <param-name>maxRequestSize</param-name>
+ <param-value>20000000</param-value>
+ </init-param>
+ </filter>
+ <filter-mapping>
<filter-name>ajax4jsf</filter-name>
- <filter-class>org.ajax4jsf.Filter</filter-class>
- </filter>
- <filter-mapping>
- <filter-name>ajax4jsf</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml 2008-03-12 15:12:26 UTC (rev 6758)
@@ -0,0 +1,11 @@
+<ui:composition 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:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <h:form>
+ <rich:fileUpload fileUploadListener="#{fileUploadBean.listener}" />
+ </h:form>
+
+</ui:composition>
\ No newline at end of file
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml 2008-03-12 15:12:26 UTC (rev 6758)
@@ -0,0 +1,26 @@
+<!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:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+ <p>
+ SHORT DESCRIPTION
+ </p>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/fileUpload/examples/fileUpload.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/fileUpload/examples/fileUpload.xhtml"/>
+ </ui:include>
+ </div>
+ <p>
+ DESCRIPTION
+ </p>
+ </ui:define>
+
+ </ui:composition>
+</html>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload.xhtml 2008-03-12 15:12:26 UTC (rev 6758)
@@ -0,0 +1,20 @@
+<!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">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Combo Box Component</ui:define>
+ <ui:define name="body">
+ <rich:tabPanel switchType="server" value="#{componentNavigator.activeTab}" styleClass="top_tab" contentClass="content_tab" headerClass="header_tabs_class" inactiveTabClass="inactive_tab" activeTabClass="active_tab">
+ <rich:tab label="Usage">
+ <ui:include src="/richfaces/fileUpload/usage.xhtml"/>
+ </rich:tab>
+ <ui:include src="/templates/include/tagInfo.xhtml">
+ <ui:param name="path" value="rich/fileUpload"/>
+ </ui:include>
+ </rich:tabPanel>
+ </ui:define>
+</ui:composition>
+</html>
16 years, 10 months
JBoss Rich Faces SVN: r6757 - trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2008-03-12 11:03:00 -0400 (Wed, 12 Mar 2008)
New Revision: 6757
Modified:
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
Log:
http://jira.jboss.com/jira/browse/RF-1484
Aliases added.
Modified: trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
===================================================================
--- trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-03-12 14:40:39 UTC (rev 6756)
+++ trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-03-12 15:03:00 UTC (rev 6757)
@@ -168,6 +168,13 @@
expand: function(){
if (!this.disabled) {
+ var parent = this.parentObj;
+ while (parent) {
+ if (parent.type && "node" == parent.type) {
+ parent.expand();
+ }
+ parent = parent.parentObj;
+ }
if (!this.expanded) {
if (this._getDirectChildrenByTag(this.content,"INPUT")[0]!=null){
this.inputState.value="opened";
@@ -400,12 +407,13 @@
},
doCollapse: function(e) {
- PanelMenu.doCollapse(this.itemId);
+ this.collapse();
},
doExpand: function(e) {
- PanelMenu.doExpand(this.itemId);
+ this.expand();
}
+
};
PanelMenu.doExpand = function (id) {
@@ -417,12 +425,6 @@
group.parentObj.lastExpanded.collapse();
}
}
- while (parent) {
- if (parent.type && "node" == parent.type) {
- parent.expand();
- }
- parent = parent.parentObj;
- }
if (!group.expanded && new Function(group.onopen+";return true;")()){
group.expand();
}
16 years, 10 months
JBoss Rich Faces SVN: r6756 - trunk/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-03-12 10:40:39 -0400 (Wed, 12 Mar 2008)
New Revision: 6756
Modified:
trunk/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/css/simpleTogglePanel.xcss
Log:
http://jira.jboss.com/jira/browse/RF-1913
Modified: trunk/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/css/simpleTogglePanel.xcss
===================================================================
--- trunk/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/css/simpleTogglePanel.xcss 2008-03-12 13:57:30 UTC (rev 6755)
+++ trunk/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/css/simpleTogglePanel.xcss 2008-03-12 14:40:39 UTC (rev 6756)
@@ -30,6 +30,7 @@
padding : 10px;
text-align : left;
vertical-align : top;
+ overflow: auto;
}
.dr-stglpanel-marker{
float: right;
16 years, 10 months
JBoss Rich Faces SVN: r6755 - trunk/samples/modalpanel-sample/src/main/webapp/pages.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-12 09:57:30 -0400 (Wed, 12 Mar 2008)
New Revision: 6755
Modified:
trunk/samples/modalpanel-sample/src/main/webapp/pages/index.jsp
Log:
http://jira.jboss.com/jira/browse/RF-2095
Modified: trunk/samples/modalpanel-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/modalpanel-sample/src/main/webapp/pages/index.jsp 2008-03-12 13:57:25 UTC (rev 6754)
+++ trunk/samples/modalpanel-sample/src/main/webapp/pages/index.jsp 2008-03-12 13:57:30 UTC (rev 6755)
@@ -143,8 +143,6 @@
</mp:modalPanel>
<f:verbatim>
- <a href="javascript:$('_form:_panel').component.syncShow();">Synchronous Show</a>
- <a href="javascript:Richfaces.syncShowModalPanel(':_panel');">Synchronous Show 2</a>
<a href="javascript:Richfaces.showModalPanel(':_panel');">Show</a>
<a href="javascript:Richfaces.showModalPanel(':_panel', {left: '120', top: 'auto'});">Show: left = 120; top = auto</a>
<a href="javascript:Richfaces.showModalPanel(':_panel', {top: 'auto', width: 800});">Show: width = 800; top = auto</a>
16 years, 10 months
JBoss Rich Faces SVN: r6754 - trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-12 09:57:25 -0400 (Wed, 12 Mar 2008)
New Revision: 6754
Modified:
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
Log:
http://jira.jboss.com/jira/browse/RF-2095
Modified: trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
===================================================================
--- trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2008-03-12 13:51:35 UTC (rev 6753)
+++ trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2008-03-12 13:57:25 UTC (rev 6754)
@@ -417,7 +417,7 @@
}
},
- _show: function(event, opts, synchronous) {
+ show: function(event, opts) {
var element = this.id;
if(this.invokeEvent("show",event,null,element)){
this.preventFocus();
@@ -610,30 +610,14 @@
Element.hide(eCdiv);
element.style.visibility = "";
- var showFunction = function() {
- Element.show(eCdiv);
+ Element.show(eCdiv);
- this.lastOnfocus();
-
- var event = {};
- event.parameters = opts || {};
- this.shown = true;
- }
+ this.lastOnfocus();
- if (synchronous) {
- showFunction.call(this);
- } else {
- setTimeout(showFunction.bind(this), 0);
- }
+ var event = {};
+ event.parameters = opts || {};
+ this.shown = true;
}
- },
-
- syncShow: function(event, opts) {
- this._show(event, opts, true);
- },
-
- show: function(event, opts) {
- this._show(event, opts, false);
},
startDrag: function(border) {
@@ -955,7 +939,7 @@
}
}
-Richfaces._showModalPanel = function (id, opts, event, sync) {
+Richfaces.showModalPanel = function (id, opts, event) {
var invoke =
(RichFaces.MSIE == RichFaces.navigatorType()) ?
@@ -980,25 +964,10 @@
panel = Richfaces.findModalPanel(id);
}
invoke(function() {
- if (sync) {
- panel.component.syncShow(event, opts);
- } else {
- panel.component.show(event, opts);
- }
+ panel.component.show(event, opts);
});
-
-
};
-Richfaces.showModalPanel = function (id, opts, event) {
- Richfaces._showModalPanel(id, opts, event, false);
-};
-
-Richfaces.syncShowModalPanel = function (id, opts, event) {
- Richfaces._showModalPanel(id, opts, event, true);
-};
-
-
Richfaces.hideModalPanel = function (id, opts, event) {
var panel = $(id);
if (!panel) {
16 years, 10 months
JBoss Rich Faces SVN: r6753 - trunk/samples/dataTableDemo/src/main/webapp/pages.
by richfaces-svn-commits@lists.jboss.org
Author: vbaranov
Date: 2008-03-12 09:51:35 -0400 (Wed, 12 Mar 2008)
New Revision: 6753
Modified:
trunk/samples/dataTableDemo/src/main/webapp/pages/index.jsp
Log:
Update test for http://jira.jboss.com/jira/browse/RF-2451
Modified: trunk/samples/dataTableDemo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/dataTableDemo/src/main/webapp/pages/index.jsp 2008-03-12 13:51:12 UTC (rev 6752)
+++ trunk/samples/dataTableDemo/src/main/webapp/pages/index.jsp 2008-03-12 13:51:35 UTC (rev 6753)
@@ -5,7 +5,13 @@
<html>
<head>
<title></title>
- </head>
+ <style>
+ .buttonStyle {
+ color:#050;
+ font-weight:bold;
+ }
+ </style>
+ </head>
<body>
<f:view >
<h:form id="skinForm" >
@@ -87,7 +93,7 @@
</data:column>
</data:subTable>
</data:dataTable>
- <a4j:commandButton value="Re-render table" reRender="master"></a4j:commandButton>
+ <a4j:commandButton value="Re-render table" reRender="master" styleClass="buttonStyle"></a4j:commandButton>
<a4j:commandButton value="Re-render table" reRender="master1"></a4j:commandButton>
<a4j:commandButton value="Re-render table" reRender="master2"></a4j:commandButton>
</h:panelGrid>
16 years, 10 months
JBoss Rich Faces SVN: r6752 - trunk/ui/core/src/main/templates/org/ajax4jsf/renderkit/html.
by richfaces-svn-commits@lists.jboss.org
Author: vbaranov
Date: 2008-03-12 09:51:12 -0400 (Wed, 12 Mar 2008)
New Revision: 6752
Modified:
trunk/ui/core/src/main/templates/org/ajax4jsf/renderkit/html/button.jspx
Log:
http://jira.jboss.com/jira/browse/RF-2451
Modified: trunk/ui/core/src/main/templates/org/ajax4jsf/renderkit/html/button.jspx
===================================================================
--- trunk/ui/core/src/main/templates/org/ajax4jsf/renderkit/html/button.jspx 2008-03-12 13:07:37 UTC (rev 6751)
+++ trunk/ui/core/src/main/templates/org/ajax4jsf/renderkit/html/button.jspx 2008-03-12 13:51:12 UTC (rev 6752)
@@ -42,6 +42,7 @@
x:value="#{this:getValue(component)}"
x:passThruWithExclusions="value,name,onclick,type,id"
onclick="#{this:getOnClick(context,component)}"
+ class="#{component.attributes['styleClass']}"
>
<jsp:scriptlet>encodeTypeAndImage(context,component);</jsp:scriptlet>
</input>
16 years, 10 months
JBoss Rich Faces SVN: r6751 - trunk/ui/panelmenu/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-12 09:07:37 -0400 (Wed, 12 Mar 2008)
New Revision: 6751
Modified:
trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java
Log:
updated tests
Modified: trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java
===================================================================
--- trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java 2008-03-12 13:07:23 UTC (rev 6750)
+++ trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java 2008-03-12 13:07:37 UTC (rev 6751)
@@ -21,7 +21,7 @@
package org.richfaces.component;
-import javax.faces.component.ActionSource;
+import javax.faces.component.ActionSource2;
import javax.faces.context.FacesContext;
import javax.faces.convert.BooleanConverter;
import javax.faces.el.MethodBinding;
@@ -33,7 +33,7 @@
import org.ajax4jsf.component.AjaxInputComponent;
-public abstract class UIPanelMenuGroup extends AjaxInputComponent implements ActionSource{
+public abstract class UIPanelMenuGroup extends AjaxInputComponent implements ActionSource2{
public static final String COMPONENT_TYPE = "org.richfaces.panelMenuGroup";
16 years, 10 months
JBoss Rich Faces SVN: r6750 - trunk/ui/core/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-12 09:07:23 -0400 (Wed, 12 Mar 2008)
New Revision: 6750
Modified:
trunk/ui/core/src/main/config/component/actionParameter.xml
trunk/ui/core/src/main/config/component/commandButton.xml
trunk/ui/core/src/main/config/component/commandLink.xml
trunk/ui/core/src/main/config/component/form.xml
trunk/ui/core/src/main/config/component/function.xml
trunk/ui/core/src/main/config/component/loadBundle.xml
trunk/ui/core/src/main/config/component/poll.xml
trunk/ui/core/src/main/config/component/portlet.xml
trunk/ui/core/src/main/config/component/push.xml
trunk/ui/core/src/main/config/component/support.xml
Log:
updated tests
Modified: trunk/ui/core/src/main/config/component/actionParameter.xml
===================================================================
--- trunk/ui/core/src/main/config/component/actionParameter.xml 2008-03-12 13:06:53 UTC (rev 6749)
+++ trunk/ui/core/src/main/config/component/actionParameter.xml 2008-03-12 13:07:23 UTC (rev 6750)
@@ -33,6 +33,7 @@
<superclass>
org.ajax4jsf.taglib.html.jsp.ActionParamTag
</superclass>
+ <test/>
<description>
<![CDATA[
A combination of the functionality of two JSF tags,
Modified: trunk/ui/core/src/main/config/component/commandButton.xml
===================================================================
--- trunk/ui/core/src/main/config/component/commandButton.xml 2008-03-12 13:06:53 UTC (rev 6749)
+++ trunk/ui/core/src/main/config/component/commandButton.xml 2008-03-12 13:07:23 UTC (rev 6750)
@@ -106,10 +106,5 @@
<classname>int</classname>
<description>Timeout ( in ms ) for request.</description>
</property>
- <property>
- <name>actionExpression</name>
- <classname>javax.el.MethodExpression</classname>
- <description>The action method binding expression.</description>
- </property>
</component>
</components>
\ No newline at end of file
Modified: trunk/ui/core/src/main/config/component/commandLink.xml
===================================================================
--- trunk/ui/core/src/main/config/component/commandLink.xml 2008-03-12 13:06:53 UTC (rev 6749)
+++ trunk/ui/core/src/main/config/component/commandLink.xml 2008-03-12 13:07:23 UTC (rev 6750)
@@ -87,10 +87,5 @@
<classname>int</classname>
<description>Timeout ( in ms ) for request.</description>
</property>
- <property>
- <name>actionExpression</name>
- <classname>javax.el.MethodExpression</classname>
- <description>The action method binding expression.</description>
- </property>
</component>
</components>
\ No newline at end of file
Modified: trunk/ui/core/src/main/config/component/form.xml
===================================================================
--- trunk/ui/core/src/main/config/component/form.xml 2008-03-12 13:06:53 UTC (rev 6749)
+++ trunk/ui/core/src/main/config/component/form.xml 2008-03-12 13:07:23 UTC (rev 6750)
@@ -102,23 +102,17 @@
Ajax-related version of html command link
</displayname>
<icon>icon</icon>
+ <test/>
</tag>
&html_universal_attributes;
&ui_command_attributes;
&html_anchor_attributes;
&html_events;
- <property hidden="true">
- <name>actionExpression</name>
- </property>
<property>
<name>disabled</name>
<classname>boolean</classname>
<description>When set for a form control, this boolean attribute disables the control for your input.</description>
</property>
- <property hidden="true">
- <name>actionExpression</name>
- </property>
-
</component>
</components>
\ No newline at end of file
Modified: trunk/ui/core/src/main/config/component/function.xml
===================================================================
--- trunk/ui/core/src/main/config/component/function.xml 2008-03-12 13:06:53 UTC (rev 6749)
+++ trunk/ui/core/src/main/config/component/function.xml 2008-03-12 13:07:23 UTC (rev 6750)
@@ -60,10 +60,5 @@
<name>value</name>
<classname>java.lang.Object</classname>
</property>
- <property>
- <name>actionExpression</name>
- <classname>javax.el.MethodExpression</classname>
- <description>The action method binding expression.</description>
- </property>
</component>
</components>
\ No newline at end of file
Modified: trunk/ui/core/src/main/config/component/loadBundle.xml
===================================================================
--- trunk/ui/core/src/main/config/component/loadBundle.xml 2008-03-12 13:06:53 UTC (rev 6749)
+++ trunk/ui/core/src/main/config/component/loadBundle.xml 2008-03-12 13:07:23 UTC (rev 6750)
@@ -27,9 +27,10 @@
Ajax-compatible version of f:loadBundle
</displayname>
<icon>icon</icon>
+ <test/>
</tag>
&ui_component_attributes;
- <property>
+ <property el="false">
<name>var</name>
<classname>java.lang.String</classname>
<description>
Modified: trunk/ui/core/src/main/config/component/poll.xml
===================================================================
--- trunk/ui/core/src/main/config/component/poll.xml 2008-03-12 13:06:53 UTC (rev 6749)
+++ trunk/ui/core/src/main/config/component/poll.xml 2008-03-12 13:07:23 UTC (rev 6750)
@@ -51,11 +51,6 @@
&ui_command_attributes;
&ajax_component_attributes;
<property>
- <name>actionExpression</name>
- <classname>javax.el.MethodExpression</classname>
- <description>The action method binding expression.</description>
- </property>
- <property>
<name>onsubmit</name>
<classname>java.lang.String</classname>
<description>
Modified: trunk/ui/core/src/main/config/component/portlet.xml
===================================================================
--- trunk/ui/core/src/main/config/component/portlet.xml 2008-03-12 13:06:53 UTC (rev 6749)
+++ trunk/ui/core/src/main/config/component/portlet.xml 2008-03-12 13:07:23 UTC (rev 6750)
@@ -23,6 +23,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
<description>
<![CDATA[
]]>
Modified: trunk/ui/core/src/main/config/component/push.xml
===================================================================
--- trunk/ui/core/src/main/config/component/push.xml 2008-03-12 13:06:53 UTC (rev 6749)
+++ trunk/ui/core/src/main/config/component/push.xml 2008-03-12 13:07:23 UTC (rev 6750)
@@ -62,11 +62,6 @@
</description>
<methodargs>java.util.EventListener</methodargs>
</property>
- <property>
- <name>actionExpression</name>
- <classname>javax.el.MethodExpression</classname>
- <description>The action method binding expression.</description>
- </property>
<!--
<property>
<name>onsubmit</name>
Modified: trunk/ui/core/src/main/config/component/support.xml
===================================================================
--- trunk/ui/core/src/main/config/component/support.xml 2008-03-12 13:06:53 UTC (rev 6749)
+++ trunk/ui/core/src/main/config/component/support.xml 2008-03-12 13:07:23 UTC (rev 6750)
@@ -72,6 +72,7 @@
-->
<displayname>Ajax Support</displayname>
<icon>icon</icon>
+ <test/>
</tag>
<taghandler>
<classname>org.ajax4jsf.taglib.html.facelets.AjaxSupportHandler</classname>
@@ -80,11 +81,6 @@
&ui_command_attributes;
&ajax_component_attributes;
<property>
- <name>actionExpression</name>
- <classname>javax.el.MethodExpression</classname>
- <description>The action method binding expression.</description>
- </property>
- <property>
<name>onsubmit</name>
<classname>java.lang.String</classname>
<description>
16 years, 10 months
JBoss Rich Faces SVN: r6749 - trunk/ui/fileUpload/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-12 09:06:53 -0400 (Wed, 12 Mar 2008)
New Revision: 6749
Modified:
trunk/ui/fileUpload/src/main/config/component/fileUpload.xml
Log:
updated tests
Modified: trunk/ui/fileUpload/src/main/config/component/fileUpload.xml
===================================================================
--- trunk/ui/fileUpload/src/main/config/component/fileUpload.xml 2008-03-12 13:06:40 UTC (rev 6748)
+++ trunk/ui/fileUpload/src/main/config/component/fileUpload.xml 2008-03-12 13:06:53 UTC (rev 6749)
@@ -52,7 +52,7 @@
</superclass>
<test>
<classname>org.richfaces.taglib.HtmlFileUploadTagTestCase</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ <superclassname>org.ajax4jsf.tests.AbstractJspTestCase</superclassname>
</test>
</tag>
&ui_component_attributes;
16 years, 10 months