JBoss Rich Faces SVN: r10683 - in trunk/test-applications/HelloWorld: .settings and 205 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-10-07 12:38:51 -0400 (Tue, 07 Oct 2008)
New Revision: 10683
Added:
trunk/test-applications/HelloWorld/pom.xml
trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/
trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/
trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/
trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/
trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/
trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/Authenticator.class
trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/Container.class
trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/ContainerManager.class
trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/ContainerService.class
trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/TestDataModel.class
trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/seam.properties
trunk/test-applications/HelloWorld/target/
trunk/test-applications/HelloWorld/target/classes/
trunk/test-applications/HelloWorld/target/mvn-eclipse-cache.properties
trunk/test-applications/HelloWorld/target/richfaces-test-seam.war
trunk/test-applications/HelloWorld/target/richfaces-test-seam/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/Calendar.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Columns/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Columns/Columns.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Columns/ColumnsProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/Combobox.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/ComboboxDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/ComboboxProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ComponentControl/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ComponentControl/ComponentControl.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ContextMenu/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ContextMenu/ContextMenu.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ContextMenu/ContextMenuProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/CustomizePage/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/CustomizePage/CustomizePage.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionList.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionListProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataFilterSlider/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataFilterSlider/DataFilterSlider.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataFilterSlider/DataFilterSliderProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataGrid/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataGrid/DataGrid.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataGrid/DataGridProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedList.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedListDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedListProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScroller.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScrollerDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScrollerProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScrollerStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTable.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTableDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTableProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTableStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DragAndDrop/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DragAndDrop/DragAndDrop.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenu.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenuDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenuProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenuStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Effect/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Effect/Effect.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTable.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTableDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTableProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTableStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/FileUpload/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/FileUpload/FileUpload.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Gmap/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Gmap/Gmap.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Gmap/GmapDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Gmap/GmapProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/HotKey/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/HotKey/HotKey.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceInput/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceInput/InplaceInput.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceInput/InplaceInputProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceSelect/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceSelect/InplaceSelect.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceSelect/InplaceSelectProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSlider.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSliderDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSliderProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSliderStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinner.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinnerDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinnerProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinnerStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/Insert.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/InsertProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.bsh
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.cpp
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.groovy
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.html
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.java
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.lzx
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.xml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttle.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttleDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttleProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttleStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/META-INF/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/META-INF/MANIFEST.MF
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/Message.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/MessageProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/MessageStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanel.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanelDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanelProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanelStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingList.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingListDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingListProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingListStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2D.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/Panel.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBar.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenu.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickList.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickListDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickListProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ProgressBar/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ProgressBar/ProgressBar.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ProgressBar/ProgressBarDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ScrollableDataTable/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ScrollableDataTable/ScrollableDataTable.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ScrollableDataTable/ScrollableDataTableDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ScrollableDataTable/ScrollableDataTableProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/Separator.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanel.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Skinning/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Skinning/Skinning.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SortingAndFiltering/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SortingAndFiltering/SortingAndFiltering.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/Spacer.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBox.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBoxDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBoxProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBoxStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanel.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanel.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBar.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBarDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBarProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/Tooltip.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tree/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tree/Tree.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tree/TreeDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tree/TreeProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/Validator.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/ValidatorDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/ValidatorProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/ValidatorStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarth.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarthDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarthProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/.faces-config.xml.jsfdia
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/HelloWorld-ds.xml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/Authenticator.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/Container.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/ContainerManager.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/ContainerService.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/TestDataModel.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/Bean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarValidator.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/columns/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/columns/Columns.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/combobox/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/combobox/Combobox.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/componentControl/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/componentControl/ComponentControl.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/contextMenu/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/contextMenu/ContextMenu.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/custom/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/custom/Custom.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/custom/CustomList.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/custom/UserBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataDefinitionList/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataGrid/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataGrid/Car.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataGrid/DataGrid.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataOrderedList/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataScroller/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataScroller/Data.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataScroller/DataScroller.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataTable/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataTable/ChildBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataTable/Data.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataTable/DataTable.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/ddMenu/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/ddMenu/DDMenu.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoInventoryItem.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoInventoryList.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoSliderBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dnd/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dnd/DndBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/effect/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/effect/Effect.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB$1.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/fileUpload/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/fileUpload/FileUpload.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/gmap/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/gmap/Gmap.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/hotKey/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/hotKey/HotKey.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inplaceInput/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inplaceInput/InplaceInput.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inplaceSelect/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inputNumberSlider/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inputNumberSpinner/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/insert/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/insert/Insert.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/jQuery/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/jQuery/JQuery.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/listShuttle/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/listShuttle/ListShuttle.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/message/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/message/Message.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/message/MessageValidator.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/modalPanel/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/modalPanel/ModalPanel.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/orderingList/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/orderingList/OrderingList.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/paint2D/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/paint2D/Paint2D.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/paint2D/PaintData.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panel/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panel/Panel.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panelBar/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panelBar/PanelBar.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panelMenu/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panelMenu/PanelMenu.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/pickList/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/pickList/PickList.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/progressBar/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/progressBar/ProgressBar.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/rich/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/rich/MapComponent.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/rich/Options.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/rich/RichBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/richPanels/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/richPanels/MapComponent.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/richPanels/RichPanelsBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sTP/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sb/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sb/Data.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sb/Sb.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/scrollableDataTable/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/separator/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/separator/Separator.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/skinning/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/skinning/Skinning.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sortingAndFiltering/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering$1.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/spacer/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/spacer/Spacer.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tabPanel/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tabPanel/TabPanel.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/togglePanel/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/togglePanel/TogglePanel.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/toolBar/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/toolBar/ToolBar.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/toolTip/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/toolTip/Tooltip.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Bean$1.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Bean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Library.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Organism.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Pathway.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeContainer.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeDndBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/Info$Pair.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/Info.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/converter/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/converter/OrderingListConverter.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/data/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/data/Data.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/event/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/event/Event.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/icon/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/icon/Icon.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/phaseTracker/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/ptComponent/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/ptComponent/PTComponent.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/skins/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/skins/Skins.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/style/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/style/Style.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/Bean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/DataBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/GraphValidatorBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/LengthBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/MaxBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/MinBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/MinMaxBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/NotEmptyBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/NotNullBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/TestValidable.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/Validable.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/ValidatorBean.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/virtualEarth/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/components.xml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/Authenticator.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/Container.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/ContainerManager.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/ContainerService.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/TestDataModel.class
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/seam.properties
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/faces-config.xml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/jboss-web.xml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/activation-1.1.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/antlr-2.7.6.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/antlr-runtime.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-beanutils-1.7.0.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-beanutils.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-collections-3.2.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-digester-1.8.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-digester.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-logging-1.0.4.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/dom4j-1.6.1-jboss.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/drools-compiler.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/drools-core.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/ejb-api-3.0.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/hibernate-commons-annotations-3.1.0.CR1.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/hibernate-core-3.3.0.CR1.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/hibernate-validator-3.1.0.CR1.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/itext-2.0.4.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/javassist-3.3.ga.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-el-2.0.0.GA.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-el.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-2.0.0.GA.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-debug-2.0.0.GA.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-debug.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ioc-2.0.0.GA.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ioc.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-mail-2.0.0.GA.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-mail.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-pdf-2.0.0.GA.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-pdf.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-remoting-2.0.0.GA.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-remoting.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ui-2.0.0.GA.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ui.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jbpm-jpdl.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-api-1.2_09.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-facelets-1.1.14.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-facelets.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-impl-1.2_09.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jstl-1.0.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jta-1.1.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/mail-1.4.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/mvel14.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/nekohtml-0.9.5.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/persistence-api-1.0.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-api-3.2.2.BETA5.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-api-3.3.0-SNAPSHOT.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-impl-3.2.2.BETA5.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-impl-3.3.0-SNAPSHOT.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-ui-3.2.2.BETA5.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-ui-3.3.0-SNAPSHOT.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/servlet-api-2.5.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/slf4j-api-1.4.2.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/slf4j-simple-1.4.2.jar
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/pages.xml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/web.xml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/error.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/home.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/img/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/img/dtpick.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/img/error.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/index.html
trunk/test-applications/HelloWorld/target/richfaces-test-seam/jQuery/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/jQuery/jQuery.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/display.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/edit.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/menu.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/template.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/login.page.xml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/login.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/Blank.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankDefault.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankProperty.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankStraightforward.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Info/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Info/Info.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Rich/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Rich/Rich.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/RichMenu/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/RichMenu/RichMenu.xhtml
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/458_1_big.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/458_2_big.jpg
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/ajax_process.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/ajax_stoped.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/asus.jpg
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/benq.jpg
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/collapse.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/error.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/expand.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/fatal.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/file-manager-reject.png
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/file-manager.png
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/header.png
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/info.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/item.png
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/masshtaby_01.jpg
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/passed.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/podb109_61.jpg
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/toshiba.jpg
trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/warn.gif
trunk/test-applications/HelloWorld/target/richfaces-test-seam/styles/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/styles/app.css
trunk/test-applications/HelloWorld/target/richfaces-test-seam/styles/styles.css
trunk/test-applications/HelloWorld/target/richfaces-test-seam/stylesheet/
trunk/test-applications/HelloWorld/target/richfaces-test-seam/stylesheet/theme.css
trunk/test-applications/HelloWorld/target/war/
trunk/test-applications/HelloWorld/target/war/work/
trunk/test-applications/HelloWorld/target/war/work/webapp-cache.xml
Removed:
trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component
trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.project.facet.core.xml
Modified:
trunk/test-applications/HelloWorld/.classpath
trunk/test-applications/HelloWorld/.project
trunk/test-applications/HelloWorld/.settings/org.eclipse.jdt.core.prefs
trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/Authenticator.java
trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/Container.java
trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/ContainerManager.java
trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/ContainerService.java
trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/TestDataModel.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/Bean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarValidator.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/columns/Columns.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/combobox/Combobox.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/componentControl/ComponentControl.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/contextMenu/ContextMenu.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/Custom.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/CustomList.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/UserBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataGrid/Car.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataGrid/DataGrid.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataScroller/Data.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataScroller/DataScroller.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/ChildBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/Data.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/DataTable.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/ddMenu/DDMenu.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoInventoryItem.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoInventoryList.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoSliderBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dnd/DndBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/effect/Effect.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/fileUpload/FileUpload.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/gmap/Gmap.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/hotKey/HotKey.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inplaceInput/InplaceInput.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/insert/Insert.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/jQuery/JQuery.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/listShuttle/ListShuttle.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/message/Message.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/message/MessageValidator.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/modalPanel/ModalPanel.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/orderingList/OrderingList.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/paint2D/Paint2D.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/paint2D/PaintData.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panel/Panel.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panelBar/PanelBar.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panelMenu/PanelMenu.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/pickList/PickList.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/progressBar/ProgressBar.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/MapComponent.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/Options.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/RichBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/richPanels/MapComponent.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/richPanels/RichPanelsBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sb/Data.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sb/Sb.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/separator/Separator.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/skinning/Skinning.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/spacer/Spacer.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tabPanel/TabPanel.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/togglePanel/TogglePanel.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/toolBar/ToolBar.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/toolTip/Tooltip.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Bean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Library.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Organism.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Pathway.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeContainer.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeDndBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/Info.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/OrderingListConverter.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/data/Data.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/event/Event.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/icon/Icon.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/ptComponent/PTComponent.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/skins/Skins.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/style/Style.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/Bean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/DataBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/GraphValidatorBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/LengthBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MaxBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MinBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MinMaxBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/NotEmptyBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/NotNullBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/TestValidable.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/Validable.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/ValidatorBean.java
trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.java
Log:
reconstruction for maven.
Modified: trunk/test-applications/HelloWorld/.classpath
===================================================================
--- trunk/test-applications/HelloWorld/.classpath 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/.classpath 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,16 +1,46 @@
-<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" output="WebContent/WEB-INF/dev" path="src/action"/>
- <classpathentry kind="src" path="src/model"/>
- <classpathentry kind="src" path="java"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre1.5.0_12"/>
- <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 4.2 Runtime"/>
- <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
- <classpathentry exported="true" kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
- <classpathentry kind="lib" path="E:/download/jhighlight-1.0.jar">
- <attributes>
- <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="output" path="build/classes"/>
-</classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
+ <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="M2_REPO/dom4j/dom4j/1.6.1-jboss/dom4j-1.6.1-jboss.jar"/>
+ <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar" sourcepath="M2_REPO/junit/junit/3.8.1/junit-3.8.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/richfaces/framework/richfaces-api/3.3.0-SNAPSHOT/richfaces-api-3.3.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/richfaces/framework/richfaces-api/3.3.0-SNAPSHOT/richfaces-api-3.3.0-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-pdf/2.0.0.GA/jboss-seam-pdf-2.0.0.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/uwyn/jhighlight/1.0/jhighlight-1.0.jar" sourcepath="M2_REPO/com/uwyn/jhighlight/1.0/jhighlight-1.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/transaction/jta/1.1/jta-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/faces/jsf-impl/1.2_09/jsf-impl-1.2_09.jar" sourcepath="M2_REPO/javax/faces/jsf-impl/1.2_09/jsf-impl-1.2_09-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14.jar" sourcepath="M2_REPO/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/mail/mail/1.4/mail-1.4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-validator/3.1.0.CR1/hibernate-validator-3.1.0.CR1.jar" sourcepath="M2_REPO/org/hibernate/hibernate-validator/3.1.0.CR1/hibernate-validator-3.1.0.CR1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/servlet/jstl/1.0/jstl-1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/el-impl/el-impl/1.0/el-impl-1.0.jar" sourcepath="M2_REPO/el-impl/el-impl/1.0/el-impl-1.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/jboss/javassist/3.3.ga/javassist-3.3.ga.jar"/>
+ <classpathentry kind="var" path="M2_REPO/nekohtml/nekohtml/0.9.5/nekohtml-0.9.5.jar" sourcepath="M2_REPO/nekohtml/nekohtml/0.9.5/nekohtml-0.9.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-core/3.3.0.CR1/hibernate-core-3.3.0.CR1.jar" sourcepath="M2_REPO/org/hibernate/hibernate-core/3.3.0.CR1/hibernate-core-3.3.0.CR1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.2/commons-collections-3.2.jar" sourcepath="M2_REPO/commons-collections/commons-collections/3.2/commons-collections-3.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-el/2.0.0.GA/jboss-el-2.0.0.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar" sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6.jar" sourcepath="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam/2.0.0.GA/jboss-seam-2.0.0.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/faces/jsf-api/1.2_09/jsf-api-1.2_09.jar" sourcepath="M2_REPO/javax/faces/jsf-api/1.2_09/jsf-api-1.2_09-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-commons-annotations/3.1.0.CR1/hibernate-commons-annotations-3.1.0.CR1.jar" sourcepath="M2_REPO/org/hibernate/hibernate-commons-annotations/3.1.0.CR1/hibernate-commons-annotations-3.1.0.CR1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/lowagie/itext/2.0.4/itext-2.0.4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-ioc/2.0.0.GA/jboss-seam-ioc-2.0.0.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/richfaces/framework/richfaces-impl/3.3.0-SNAPSHOT/richfaces-impl-3.3.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/richfaces/framework/richfaces-impl/3.3.0-SNAPSHOT/richfaces-impl-3.3.0-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-mail/2.0.0.GA/jboss-seam-mail-2.0.0.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/richfaces/ui/richfaces-ui/3.3.0-SNAPSHOT/richfaces-ui-3.3.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/richfaces/ui/richfaces-ui/3.3.0-SNAPSHOT/richfaces-ui-3.3.0-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.jar" sourcepath="M2_REPO/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-ui/2.0.0.GA/jboss-seam-ui-2.0.0.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-digester/commons-digester/1.8/commons-digester-1.8.jar" sourcepath="M2_REPO/commons-digester/commons-digester/1.8/commons-digester-1.8-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-simple/1.4.2/slf4j-simple-1.4.2.jar" sourcepath="M2_REPO/org/slf4j/slf4j-simple/1.4.2/slf4j-simple-1.4.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar" sourcepath="M2_REPO/javax/ejb/ejb-api/3.0/ejb-api-3.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2.jar" sourcepath="M2_REPO/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/el/el-api/1.0/el-api-1.0.jar" sourcepath="M2_REPO/javax/el/el-api/1.0/el-api-1.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-remoting/2.0.0.GA/jboss-seam-remoting-2.0.0.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-debug/2.0.0.GA/jboss-seam-debug-2.0.0.GA.jar"/>
+</classpath>
\ No newline at end of file
Modified: trunk/test-applications/HelloWorld/.project
===================================================================
--- trunk/test-applications/HelloWorld/.project 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/.project 2008-10-07 16:38:51 UTC (rev 10683)
@@ -10,39 +10,15 @@
<arguments>
</arguments>
</buildCommand>
- <buildCommand>
- <name>org.eclipse.wst.common.project.facet.core.builder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.wst.validation.validationbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.jboss.tools.common.verification.verifybuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.jboss.tools.seam.core.seambuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.hibernate.eclipse.console.hibernateBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
</buildSpec>
<natures>
- <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
- <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
- <nature>org.jboss.tools.jsf.jsfnature</nature>
- <nature>org.jboss.tools.seam.core.seamnature</nature>
- <nature>org.hibernate.eclipse.console.hibernateNature</nature>
</natures>
+ <linkedResources>
+ <link>
+ <name>lib</name>
+ <type>2</type>
+ <location>D:/JavaWorkspace/HelloWorld/WebContent/WEB-INF/lib</location>
+ </link>
+ </linkedResources>
</projectDescription>
Modified: trunk/test-applications/HelloWorld/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/test-applications/HelloWorld/.settings/org.eclipse.jdt.core.prefs 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/.settings/org.eclipse.jdt.core.prefs 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,5 @@
-#Fri Aug 22 20:26:50 EEST 2008
-eclipse.preferences.version=1
+#Tue Oct 07 19:06:27 EEST 2008
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
Deleted: trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project-modules id="moduleCoreId" project-version="1.5.0">
- <wb-module deploy-name="HelloWorld">
- <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/action"/>
- <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/model"/>
- <wb-resource deploy-path="/WEB-INF/classes" source-path="/dataScroller"/>
- <wb-resource deploy-path="/WEB-INF/classes" source-path="/java"/>
- <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
- <property name="context-root" value="HelloWorld"/>
- <property name="java-output-path" value="build/classes"/>
- </wb-module>
-</project-modules>
Deleted: trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<faceted-project>
- <runtime name="JBoss 4.2 Runtime"/>
- <fixed facet="jst.jsf"/>
- <fixed facet="jst.java"/>
- <fixed facet="jst.seam"/>
- <fixed facet="jst.web"/>
- <installed facet="jst.java" version="5.0"/>
- <installed facet="jst.web" version="2.5"/>
- <installed facet="jst.jsf" version="1.2"/>
- <installed facet="jst.seam" version="2.0"/>
-</faceted-project>
Added: trunk/test-applications/HelloWorld/pom.xml
===================================================================
--- trunk/test-applications/HelloWorld/pom.xml (rev 0)
+++ trunk/test-applications/HelloWorld/pom.xml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,80 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>test-applications</artifactId>
+ <groupId>org.richfaces</groupId>
+ <version>3.3.0-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.test-applications</groupId>
+ <artifactId>HelloWorld</artifactId>
+ <packaging>war</packaging>
+ <name>RichFaces Test Application (Facelets)</name>
+ <build>
+ <finalName>richfaces-test-seam</finalName>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-el</artifactId>
+ <version>2.0.0.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-debug</artifactId>
+ <version>2.0.0.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-ioc</artifactId>
+ <version>2.0.0.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-mail</artifactId>
+ <version>2.0.0.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-pdf</artifactId>
+ <version>2.0.0.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-remoting</artifactId>
+ <version>2.0.0.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-ui</artifactId>
+ <version>2.0.0.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam</artifactId>
+ <version>2.0.0.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.persistence</groupId>
+ <artifactId>persistence-api</artifactId>
+ <version>1.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.ejb</groupId>
+ <artifactId>ejb-api</artifactId>
+ <version>3.0</version>
+ </dependency>
+
+ </dependencies>
+
+</project>
\ No newline at end of file
Modified: trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/Authenticator.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/Authenticator.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/Authenticator.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session;
+package action.org.domain.HelloWorld.session;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Logger;
Modified: trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/Container.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/Container.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/Container.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session;
+package action.org.domain.HelloWorld.session;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
Modified: trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/ContainerManager.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/ContainerManager.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/ContainerManager.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session;
+package action.org.domain.HelloWorld.session;
import java.util.List;
Modified: trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/ContainerService.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/ContainerService.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/ContainerService.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session;
+package action.org.domain.HelloWorld.session;
import java.util.List;
Modified: trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/TestDataModel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/TestDataModel.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/action/org/domain/HelloWorld/session/TestDataModel.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session;
+package action.org.domain.HelloWorld.session;
import java.io.IOException;
import java.util.ArrayList;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/Bean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/Bean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/Bean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-package org.domain.HelloWorld.session.calendar;
+package model.org.domain.HelloWorld.session.calendar;
/**
* @author $Autor$
*
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-package org.domain.HelloWorld.session.calendar;
+package model.org.domain.HelloWorld.session.calendar;
import java.text.DateFormat;
import java.util.ArrayList;
@@ -29,7 +29,7 @@
import java.util.StringTokenizer;
import java.util.TimeZone;
import javax.faces.event.ValueChangeEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.annotations.Name;
import org.richfaces.component.html.HtmlCalendar;
import org.richfaces.event.CurrentDateChangeEvent;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-package org.domain.HelloWorld.session.calendar;
+package model.org.domain.HelloWorld.session.calendar;
import java.text.DateFormat;
import java.util.Calendar;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-package org.domain.HelloWorld.session.calendar;
+package model.org.domain.HelloWorld.session.calendar;
import org.richfaces.model.CalendarDataModelItem;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarValidator.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarValidator.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/calendar/CalendarValidator.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.calendar;
+package model.org.domain.HelloWorld.session.calendar;
import java.util.Calendar;
import java.util.Date;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/columns/Columns.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/columns/Columns.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/columns/Columns.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,11 +1,11 @@
-package org.domain.HelloWorld.session.columns;
+package model.org.domain.HelloWorld.session.columns;
import java.util.ArrayList;
import java.util.Comparator;
import org.richfaces.model.Ordering;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.data.Data;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/combobox/Combobox.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/combobox/Combobox.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/combobox/Combobox.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.combobox;
+package model.org.domain.HelloWorld.session.combobox;
import java.util.ArrayList;
import java.util.List;
@@ -7,8 +7,8 @@
import javax.faces.event.ActionEvent;
import javax.faces.event.ValueChangeEvent;
import javax.faces.model.SelectItem;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.data.Data;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/componentControl/ComponentControl.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/componentControl/ComponentControl.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/componentControl/ComponentControl.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
-package org.domain.HelloWorld.session.componentControl;
+package model.org.domain.HelloWorld.session.componentControl;
import org.richfaces.component.html.HtmlComponentControl;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/contextMenu/ContextMenu.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/contextMenu/ContextMenu.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/contextMenu/ContextMenu.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,9 +1,9 @@
-package org.domain.HelloWorld.session.contextMenu;
+package model.org.domain.HelloWorld.session.contextMenu;
import java.util.Map;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/Custom.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/Custom.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/Custom.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.custom;
+package model.org.domain.HelloWorld.session.custom;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/CustomList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/CustomList.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/CustomList.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.custom;
+package model.org.domain.HelloWorld.session.custom;
import java.util.ArrayList;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/UserBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/UserBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/custom/UserBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.custom;
+package model.org.domain.HelloWorld.session.custom;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,10 +1,10 @@
-package org.domain.HelloWorld.session.dataDefinitionList;
+package model.org.domain.HelloWorld.session.dataDefinitionList;
import java.util.ArrayList;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.data.Data;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataGrid/Car.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataGrid/Car.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataGrid/Car.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.dataGrid;
+package model.org.domain.HelloWorld.session.dataGrid;
public class Car {
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataGrid/DataGrid.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataGrid/DataGrid.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataGrid/DataGrid.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,9 +1,9 @@
-package org.domain.HelloWorld.session.dataGrid;
+package model.org.domain.HelloWorld.session.dataGrid;
import java.util.ArrayList;
import java.util.List;
import org.richfaces.component.html.HtmlDataGrid;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,12 +1,12 @@
-package org.domain.HelloWorld.session.dataOrderedList;
+package model.org.domain.HelloWorld.session.dataOrderedList;
import java.util.ArrayList;
import org.richfaces.component.html.HtmlDataOrderedList;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.data.Data;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataScroller/Data.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataScroller/Data.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataScroller/Data.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.dataScroller;
+package model.org.domain.HelloWorld.session.dataScroller;
public class Data {
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataScroller/DataScroller.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataScroller/DataScroller.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataScroller/DataScroller.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,8 +1,8 @@
-package org.domain.HelloWorld.session.dataScroller;
+package model.org.domain.HelloWorld.session.dataScroller;
import java.util.ArrayList;
import javax.faces.event.ActionEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/ChildBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/ChildBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/ChildBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.dataTable;
+package model.org.domain.HelloWorld.session.dataTable;
/**
* @author shura
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/Data.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/Data.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/Data.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.dataTable;
+package model.org.domain.HelloWorld.session.dataTable;
import java.util.ArrayList;
import java.util.List;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/DataTable.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/DataTable.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dataTable/DataTable.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,11 +1,11 @@
-package org.domain.HelloWorld.session.dataTable;
+package model.org.domain.HelloWorld.session.dataTable;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
import java.util.Properties;
import org.richfaces.component.html.HtmlDataTable;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/ddMenu/DDMenu.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/ddMenu/DDMenu.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/ddMenu/DDMenu.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
-package org.domain.HelloWorld.session.ddMenu;
+package model.org.domain.HelloWorld.session.ddMenu;
import javax.faces.event.ActionEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-package org.domain.HelloWorld.session.dfs;
+package model.org.domain.HelloWorld.session.dfs;
import java.util.List;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-package org.domain.HelloWorld.session.dfs;
+package model.org.domain.HelloWorld.session.dfs;
import java.util.*;
import java.math.BigDecimal;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoInventoryItem.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoInventoryItem.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoInventoryItem.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-package org.domain.HelloWorld.session.dfs;
+package model.org.domain.HelloWorld.session.dfs;
import java.math.BigDecimal;
import java.io.Serializable;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoInventoryList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoInventoryList.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoInventoryList.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -19,13 +19,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-package org.domain.HelloWorld.session.dfs;
+package model.org.domain.HelloWorld.session.dfs;
import java.util.ArrayList;
import java.util.List;
import javax.faces.component.UIData;
import javax.faces.event.ActionEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoSliderBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoSliderBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dfs/DemoSliderBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -19,11 +19,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-package org.domain.HelloWorld.session.dfs;
+package model.org.domain.HelloWorld.session.dfs;
import org.richfaces.component.html.HtmlDataFilterSlider;
import org.richfaces.event.DataFilterSliderEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dnd/DndBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dnd/DndBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/dnd/DndBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.dnd;
+package model.org.domain.HelloWorld.session.dnd;
import java.util.ArrayList;
@@ -8,7 +8,7 @@
import org.richfaces.component.html.HtmlDropSupport;
import org.richfaces.event.DragEvent;
import org.richfaces.event.DropEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/effect/Effect.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/effect/Effect.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/effect/Effect.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -19,10 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-package org.domain.HelloWorld.session.effect;
+package model.org.domain.HelloWorld.session.effect;
import org.richfaces.component.html.HtmlEffect;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.extendedDataTable;
+package model.org.domain.HelloWorld.session.extendedDataTable;
import java.io.Serializable;
import java.util.Date;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.extendedDataTable;
+package model.org.domain.HelloWorld.session.extendedDataTable;
import java.util.ArrayList;
import java.util.Date;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.extendedDataTable;
+package model.org.domain.HelloWorld.session.extendedDataTable;
import java.util.ArrayList;
import java.util.Comparator;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,11 +1,11 @@
-package org.domain.HelloWorld.session.extendedDataTable;
+package model.org.domain.HelloWorld.session.extendedDataTable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
import javax.faces.model.SelectItem;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/fileUpload/FileUpload.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/fileUpload/FileUpload.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/fileUpload/FileUpload.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,9 +1,9 @@
-package org.domain.HelloWorld.session.fileUpload;
+package model.org.domain.HelloWorld.session.fileUpload;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.util.ArrayList;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/gmap/Gmap.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/gmap/Gmap.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/gmap/Gmap.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.gmap;
+package model.org.domain.HelloWorld.session.gmap;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/hotKey/HotKey.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/hotKey/HotKey.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/hotKey/HotKey.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,10 +1,10 @@
/**
*
*/
-package org.domain.HelloWorld.session.hotKey;
+package model.org.domain.HelloWorld.session.hotKey;
import javax.faces.context.FacesContext;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inplaceInput/InplaceInput.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inplaceInput/InplaceInput.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inplaceInput/InplaceInput.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,9 +1,9 @@
-package org.domain.HelloWorld.session.inplaceInput;
+package model.org.domain.HelloWorld.session.inplaceInput;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
import javax.faces.event.ValueChangeEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,9 +1,9 @@
-package org.domain.HelloWorld.session.inplaceSelect;
+package model.org.domain.HelloWorld.session.inplaceSelect;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
import javax.faces.event.ValueChangeEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
-package org.domain.HelloWorld.session.inputNumberSlider;
+package model.org.domain.HelloWorld.session.inputNumberSlider;
import javax.faces.event.ValueChangeEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.inputNumberSpinner;
+package model.org.domain.HelloWorld.session.inputNumberSpinner;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/insert/Insert.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/insert/Insert.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/insert/Insert.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.insert;
+package model.org.domain.HelloWorld.session.insert;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/jQuery/JQuery.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/jQuery/JQuery.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/jQuery/JQuery.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.jQuery;
+package model.org.domain.HelloWorld.session.jQuery;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/listShuttle/ListShuttle.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/listShuttle/ListShuttle.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/listShuttle/ListShuttle.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,10 +1,10 @@
-package org.domain.HelloWorld.session.listShuttle;
+package model.org.domain.HelloWorld.session.listShuttle;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.data.Data;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/message/Message.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/message/Message.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/message/Message.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.message;
+package model.org.domain.HelloWorld.session.message;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/message/MessageValidator.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/message/MessageValidator.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/message/MessageValidator.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.message;
+package model.org.domain.HelloWorld.session.message;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/modalPanel/ModalPanel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/modalPanel/ModalPanel.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/modalPanel/ModalPanel.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,8 +1,8 @@
-package org.domain.HelloWorld.session.modalPanel;
+package model.org.domain.HelloWorld.session.modalPanel;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/orderingList/OrderingList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/orderingList/OrderingList.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/orderingList/OrderingList.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,10 +1,10 @@
-package org.domain.HelloWorld.session.orderingList;
+package model.org.domain.HelloWorld.session.orderingList;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.data.Data;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/paint2D/Paint2D.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/paint2D/Paint2D.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/paint2D/Paint2D.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -7,12 +7,12 @@
Author: Alex Yanul
Created: AY 7/30/2007 12:52:38 PM
*/
-package org.domain.HelloWorld.session.paint2D;
+package model.org.domain.HelloWorld.session.paint2D;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/paint2D/PaintData.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/paint2D/PaintData.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/paint2D/PaintData.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.paint2D;
+package model.org.domain.HelloWorld.session.paint2D;
import java.io.Serializable;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panel/Panel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panel/Panel.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panel/Panel.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
-package org.domain.HelloWorld.session.panel;
+package model.org.domain.HelloWorld.session.panel;
import javax.faces.event.ValueChangeEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panelBar/PanelBar.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panelBar/PanelBar.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panelBar/PanelBar.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
-package org.domain.HelloWorld.session.panelBar;
+package model.org.domain.HelloWorld.session.panelBar;
import javax.faces.event.ValueChangeEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panelMenu/PanelMenu.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panelMenu/PanelMenu.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/panelMenu/PanelMenu.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,9 +1,9 @@
-package org.domain.HelloWorld.session.panelMenu;
+package model.org.domain.HelloWorld.session.panelMenu;
import org.richfaces.component.html.HtmlPanelMenu;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
-import org.domain.HelloWorld.session.util.icon.Icon;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.icon.Icon;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/pickList/PickList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/pickList/PickList.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/pickList/PickList.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,11 +1,11 @@
-package org.domain.HelloWorld.session.pickList;
+package model.org.domain.HelloWorld.session.pickList;
import java.util.ArrayList;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
import javax.faces.event.ValueChangeEvent;
import javax.faces.model.SelectItem;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/progressBar/ProgressBar.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/progressBar/ProgressBar.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/progressBar/ProgressBar.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,8 +1,8 @@
-package org.domain.HelloWorld.session.progressBar;
+package model.org.domain.HelloWorld.session.progressBar;
import javax.faces.event.ActionEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.data.Data;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/MapComponent.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/MapComponent.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/MapComponent.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.rich;
+package model.org.domain.HelloWorld.session.rich;
import java.util.ArrayList;
import java.util.Map;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/Options.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/Options.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/Options.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.rich;
+package model.org.domain.HelloWorld.session.rich;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/RichBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/RichBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/rich/RichBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.rich;
+package model.org.domain.HelloWorld.session.rich;
import java.util.ArrayList;
import java.util.Iterator;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/richPanels/MapComponent.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/richPanels/MapComponent.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/richPanels/MapComponent.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.richPanels;
+package model.org.domain.HelloWorld.session.richPanels;
import java.util.ArrayList;
import java.util.HashMap;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/richPanels/RichPanelsBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/richPanels/RichPanelsBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/richPanels/RichPanelsBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.richPanels;
+package model.org.domain.HelloWorld.session.richPanels;
import java.util.ArrayList;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
-package org.domain.HelloWorld.session.sTP;
+package model.org.domain.HelloWorld.session.sTP;
import javax.faces.event.ActionEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sb/Data.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sb/Data.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sb/Data.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.sb;
+package model.org.domain.HelloWorld.session.sb;
public class Data {
private String city;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sb/Sb.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sb/Sb.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sb/Sb.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.sb;
+package model.org.domain.HelloWorld.session.sb;
import java.io.Serializable;
import java.util.ArrayList;
@@ -6,7 +6,7 @@
import java.util.List;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,10 +1,10 @@
-package org.domain.HelloWorld.session.scrollableDataTable;
+package model.org.domain.HelloWorld.session.scrollableDataTable;
import java.util.ArrayList;
import java.util.GregorianCalendar;
import org.ajax4jsf.model.DataComponentState;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.data.Data;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/separator/Separator.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/separator/Separator.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/separator/Separator.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.separator;
+package model.org.domain.HelloWorld.session.separator;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/skinning/Skinning.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/skinning/Skinning.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/skinning/Skinning.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.skinning;
+package model.org.domain.HelloWorld.session.skinning;
import java.util.ArrayList;
import javax.faces.model.SelectItem;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.sortingAndFiltering;
+package model.org.domain.HelloWorld.session.sortingAndFiltering;
import java.util.ArrayList;
import java.util.Comparator;
@@ -11,7 +11,7 @@
import org.richfaces.component.html.HtmlDataTable;
import org.richfaces.model.Ordering;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.data.Data;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Factory;
import org.jboss.seam.annotations.Name;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/spacer/Spacer.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/spacer/Spacer.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/spacer/Spacer.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.spacer;
+package model.org.domain.HelloWorld.session.spacer;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tabPanel/TabPanel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tabPanel/TabPanel.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tabPanel/TabPanel.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.tabPanel;
+package model.org.domain.HelloWorld.session.tabPanel;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/togglePanel/TogglePanel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/togglePanel/TogglePanel.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/togglePanel/TogglePanel.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.togglePanel;
+package model.org.domain.HelloWorld.session.togglePanel;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/toolBar/ToolBar.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/toolBar/ToolBar.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/toolBar/ToolBar.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.toolBar;
+package model.org.domain.HelloWorld.session.toolBar;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/toolTip/Tooltip.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/toolTip/Tooltip.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/toolTip/Tooltip.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.toolTip;
+package model.org.domain.HelloWorld.session.toolTip;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Bean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Bean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Bean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.tree;
+package model.org.domain.HelloWorld.session.tree;
import java.io.IOException;
import java.util.HashSet;
@@ -11,7 +11,7 @@
import javax.faces.context.FacesContext;
import javax.faces.event.FacesEvent;
import org.ajax4jsf.context.AjaxContext;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Library.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Library.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Library.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,5 @@
-package org.domain.HelloWorld.session.tree;
+package model.org.domain.HelloWorld.session.tree;
-
-
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Organism.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Organism.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Organism.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,5 @@
-package org.domain.HelloWorld.session.tree;
+package model.org.domain.HelloWorld.session.tree;
-
-
import java.util.ArrayList;
import java.util.Iterator;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Pathway.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Pathway.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/Pathway.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,5 @@
-package org.domain.HelloWorld.session.tree;
+package model.org.domain.HelloWorld.session.tree;
-
-
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.tree;
+package model.org.domain.HelloWorld.session.tree;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeContainer.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeContainer.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeContainer.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.tree;
+package model.org.domain.HelloWorld.session.tree;
import javax.faces.component.UIComponent;
import javax.faces.event.FacesEvent;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeDndBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeDndBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/tree/TreeDndBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.tree;
+package model.org.domain.HelloWorld.session.tree;
import java.io.IOException;
import java.io.InputStream;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.util.componentInfo;
+package model.org.domain.HelloWorld.session.util.componentInfo;
import java.util.HashMap;
import java.util.Map;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.util.componentInfo;
+package model.org.domain.HelloWorld.session.util.componentInfo;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Field;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/Info.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/Info.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/componentInfo/Info.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.util.componentInfo;
+package model.org.domain.HelloWorld.session.util.componentInfo;
import java.util.ArrayList;
import java.util.Iterator;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.util.converter;
+package model.org.domain.HelloWorld.session.util.converter;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,9 +1,9 @@
-package org.domain.HelloWorld.session.util.converter;
+package model.org.domain.HelloWorld.session.util.converter;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.data.Data;
public class ListShuttleConverter implements Converter {
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/OrderingListConverter.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/OrderingListConverter.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/converter/OrderingListConverter.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,9 +1,9 @@
-package org.domain.HelloWorld.session.util.converter;
+package model.org.domain.HelloWorld.session.util.converter;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.data.Data;
public class OrderingListConverter implements Converter {
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/data/Data.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/data/Data.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/data/Data.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.util.data;
+package model.org.domain.HelloWorld.session.util.data;
import java.util.Date;
import java.util.Random;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/event/Event.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/event/Event.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/event/Event.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.util.event;
+package model.org.domain.HelloWorld.session.util.event;
import javax.faces.model.SelectItem;
import java.util.ArrayList;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/icon/Icon.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/icon/Icon.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/icon/Icon.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.util.icon;
+package model.org.domain.HelloWorld.session.util.icon;
public class Icon {
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.util.phaseTracker;
+package model.org.domain.HelloWorld.session.util.phaseTracker;
import java.util.Iterator;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.util.phaseTracker;
+package model.org.domain.HelloWorld.session.util.phaseTracker;
import java.io.IOException;
import java.io.StringWriter;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/ptComponent/PTComponent.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/ptComponent/PTComponent.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/ptComponent/PTComponent.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,8 +1,8 @@
-package org.domain.HelloWorld.session.util.ptComponent;
+package model.org.domain.HelloWorld.session.util.ptComponent;
import javax.faces.component.UIPanel;
-import org.domain.HelloWorld.session.util.phaseTracker.PhaseTrackerComponent;;
+import model.org.domain.HelloWorld.session.util.phaseTracker.PhaseTrackerComponent;;
public class PTComponent {
private UIPanel component = new PhaseTrackerComponent();
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/skins/Skins.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/skins/Skins.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/skins/Skins.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.util.skins;
+package model.org.domain.HelloWorld.session.util.skins;
import java.util.Map;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/style/Style.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/style/Style.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/util/style/Style.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.util.style;
+package model.org.domain.HelloWorld.session.util.style;
-import org.domain.HelloWorld.session.rich.RichBean;
+import model.org.domain.HelloWorld.session.rich.RichBean;
public class Style {
private RichBean curentComponent;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/Bean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/Bean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/Bean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-package org.domain.HelloWorld.session.validator;
+package model.org.domain.HelloWorld.session.validator;
/**
* @author $Autor$
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/DataBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/DataBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/DataBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,15 +1,15 @@
/**
*
*/
-package org.domain.HelloWorld.session.validator;
+package model.org.domain.HelloWorld.session.validator;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
-import org.domain.HelloWorld.session.util.data.Data;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.data.Data;
import org.hibernate.validator.Max;
import org.hibernate.validator.Size;
import org.hibernate.validator.Valid;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/GraphValidatorBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/GraphValidatorBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/GraphValidatorBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.validator;
+package model.org.domain.HelloWorld.session.validator;
import java.util.ArrayList;
import java.util.List;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/LengthBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/LengthBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/LengthBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.validator;
+package model.org.domain.HelloWorld.session.validator;
import org.hibernate.validator.Length;
import org.hibernate.validator.NotEmpty;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MaxBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MaxBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MaxBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.validator;
+package model.org.domain.HelloWorld.session.validator;
import org.hibernate.validator.Length;
import org.hibernate.validator.Max;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MinBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MinBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MinBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.validator;
+package model.org.domain.HelloWorld.session.validator;
import org.hibernate.validator.Length;
import org.hibernate.validator.Min;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MinMaxBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MinMaxBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/MinMaxBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.validator;
+package model.org.domain.HelloWorld.session.validator;
import org.hibernate.validator.Length;
import org.hibernate.validator.Max;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/NotEmptyBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/NotEmptyBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/NotEmptyBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.validator;
+package model.org.domain.HelloWorld.session.validator;
import org.hibernate.validator.NotEmpty;
import org.hibernate.validator.NotNull;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/NotNullBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/NotNullBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/NotNullBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,7 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.validator;
+package model.org.domain.HelloWorld.session.validator;
import org.hibernate.validator.NotNull;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/TestValidable.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/TestValidable.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/TestValidable.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,5 @@
-package org.domain.HelloWorld.session.validator;
+package model.org.domain.HelloWorld.session.validator;
-
public interface TestValidable {
public String getText();
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/Validable.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/Validable.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/Validable.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,8 +1,7 @@
/**
*
*/
-package org.domain.HelloWorld.session.validator;
-
+package model.org.domain.HelloWorld.session.validator;
/**
* @author asmirnov
*
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/ValidatorBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/ValidatorBean.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/validator/ValidatorBean.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,4 +1,4 @@
-package org.domain.HelloWorld.session.validator;
+package model.org.domain.HelloWorld.session.validator;
import java.util.ArrayList;
import java.util.Date;
@@ -18,7 +18,7 @@
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.richfaces.component.UIBeanValidator;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
Modified: trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.java
===================================================================
--- trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.java 2008-10-07 14:44:01 UTC (rev 10682)
+++ trunk/test-applications/HelloWorld/src/main/java/model/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -1,6 +1,6 @@
-package org.domain.HelloWorld.session.virtualEarth;
+package model.org.domain.HelloWorld.session.virtualEarth;
-import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import model.org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
Added: trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/Authenticator.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/Authenticator.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/Container.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/Container.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/ContainerManager.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/ContainerManager.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/ContainerService.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/ContainerService.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/TestDataModel.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/org/domain/HelloWorld/session/TestDataModel.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/src/main/webapp/WEB-INF/dev/seam.properties
===================================================================
Added: trunk/test-applications/HelloWorld/target/mvn-eclipse-cache.properties
===================================================================
--- trunk/test-applications/HelloWorld/target/mvn-eclipse-cache.properties (rev 0)
+++ trunk/test-applications/HelloWorld/target/mvn-eclipse-cache.properties 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,2 @@
+#Temporary index for unavailable sources and javadocs
+#Tue Oct 07 19:06:27 EEST 2008
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/Calendar.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/Calendar.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/Calendar.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,183 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:s="http://jboss.com/products/seam/taglib" id="calendarSubviewID">
+
+ <h:messages />
+ <rich:messages showDetail="true"></rich:messages>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="Client mode"
+ rendered="#{calendarBean.renderedClient}" />
+ <h:outputText value="Ajax mode"
+ rendered="#{calendarBean.renderedAjax}" />
+
+ <rich:calendar id="calendarClientID" dataModel="#{calendarDataModel}"
+ style="#{style.style}" styleClass="#{style.styleClass}"
+ inputStyle="#{style.inputStyle}" locale="#{calendarBean.locale}"
+ popup="#{calendarBean.popup}"
+ preloadDateRangeBegin="#{calendarBean.prDateRangeBegin}"
+ preloadDateRangeEnd="#{calendarBean.prDateRangeEnd}"
+ datePattern="#{calendarBean.pattern}"
+ weekDayLabels="#{calendarBean.weekDayLabels}"
+ weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
+ monthLabels="#{calendarBean.monthLabels}"
+ monthLabelsShort="#{calendarBean.monthLabelsShort}"
+ value="#{calendarBean.selectedDate}"
+ currentDate="#{calendarBean.currentDate}"
+ jointPoint="#{calendarBean.jointPoint}"
+ direction="#{calendarBean.direction}"
+ enableManualInput="#{calendarBean.enableManualInput}"
+ showInput="#{calendarBean.showInput}"
+ buttonLabel="#{calendarBean.label}"
+ boundaryDatesMode="#{calendarBean.boundary}"
+ currentDateChangeListener="#{calendarBean.dcl}"
+ valueChangeListener="#{calendarBean.ddd}"
+ reRender="calendarPropertyID,counter" inputClass="ic"
+ buttonClass="bc" ajaxSingle="#{calendarBean.ajaxSingle}"
+ buttonIcon="#{calendarBean.icon}"
+ buttonIconDisabled="#{icon.iconFileManagerReject}"
+ disabled="#{calendarBean.disabled}"
+ bypassUpdates="#{calendarBean.bypassUpdates}"
+ zindex="#{calendarBean.zindex}"
+ toolTipMode="#{calendarBean.toolTipMode}"
+ rendered="#{calendarBean.renderedClient}" focus="popupModeID"
+ mode="client" required="#{calendarBean.required}"
+ requiredMessage="Required Message" timeZone="#{calendarBean.tmZone}"
+ cellHeight="#{calendarBean.cellHeight}"
+ cellWidth="#{calendarBean.cellWidth}"
+ showApplyButton="#{calendarBean.showApplyButton}"
+ showWeekDaysBar="#{calendarBean.showWeekDaysBar}"
+ showWeeksBar="#{calendarBean.showWeeksBar}"
+ todayControlMode="#{calendarBean.todayControlMode}"
+ immediate="#{calendarBean.immediate}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onchanged="#{event.onchanged}" oncollapse="#{event.oncollapse}"
+ oncomplete="#{event.oncomplete}"
+ oncurrentdateselect="#{event.oncurrentdateselect}"
+ ondatemouseout="#{event.ondatemouseout}"
+ ondatemouseover="#{event.ondatemouseover}"
+ ondateselect="#{event.ondateselect}"
+ ondateselected="#{event.ondateselected}" onexpand="#{event.onexpand}"
+ oninputblur="#{event.oninputblur}"
+ oninputchange="#{event.oninputchange}"
+ oninputclick="#{event.oninputclick}"
+ oninputfocus="#{event.oninputfocus}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputselect="#{event.oninputselect}"
+ ontimeselect="#{event.ontimeselect}"
+ ontimeselected="#{event.ontimeselected}"
+ binding="#{calendarBean.htmlCalendar}">
+ <f:facet name="weekDay">
+ <f:verbatim>
+ <span style="padding: 2px; font-size: 4">{weekDayLabel +
+ weekDayLabelShort}</span>
+ </f:verbatim>
+ </f:facet>
+
+ <f:facet name="optionalHeader">
+ <h:outputText value="optionalHeader Facet" />
+ </f:facet>
+
+ <f:facet name="optionalFooter">
+ <h:outputText value="optionalFooter Facet" />
+ </f:facet>
+
+ <f:validator validatorId="CalendarValidator" />
+
+ <h:panelGrid columns="2">
+ <f:verbatim>
+ <span style="padding: 2px;">{day}</span>
+ </f:verbatim>
+ <h:panelGrid>
+ <h:outputText styleClass="smallText" value="{data.enLabel}" />
+ <h:outputText styleClass="smallText" value="{data.frLabel}" />
+ <h:outputText styleClass="smallText" value="{data.deLabel}" />
+ </h:panelGrid>
+ </h:panelGrid>
+ </rich:calendar>
+
+ <rich:calendar id="calendarAjaxID" dataModel="#{calendarDataModel}"
+ locale="#{calendarBean.locale}" popup="#{calendarBean.popup}"
+ datePattern="#{calendarBean.pattern}"
+ weekDayLabels="#{calendarBean.weekDayLabels}"
+ weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
+ monthLabels="#{calendarBean.monthLabels}"
+ monthLabelsShort="#{calendarBean.monthLabelsShort}"
+ value="#{calendarBean.selectedDate}"
+ currentDate="#{calendarBean.currentDate}"
+ jointPoint="#{calendarBean.jointPoint}"
+ direction="#{calendarBean.direction}"
+ enableManualInput="#{calendarBean.enableManualInput}"
+ showInput="#{calendarBean.showInput}"
+ buttonLabel="#{calendarBean.label}"
+ boundaryDatesMode="#{calendarBean.boundary}"
+ currentDateChangeListener="#{calendarBean.dcl}"
+ valueChangeListener="#{calendarBean.ddd}"
+ reRender="calendarPropertyID,counter" inputClass="ic"
+ buttonClass="bc" ajaxSingle="#{calendarBean.ajaxSingle}"
+ buttonIcon="#{calendarBean.icon}"
+ buttonIconDisabled="#{icon.iconFileManagerReject}"
+ disabled="#{calendarBean.disabled}"
+ bypassUpdates="#{calendarBean.bypassUpdates}"
+ zindex="#{calendarBean.zindex}"
+ toolTipMode="#{calendarBean.toolTipMode}"
+ rendered="#{calendarBean.renderedAjax}" focus="popupModeID"
+ mode="ajax" required="#{calendarBean.required}"
+ requiredMessage="Required Message" timeZone="#{calendarBean.tmZone}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onchanged="#{event.onchanged}" oncollapse="#{event.oncollapse}"
+ oncomplete="#{event.oncomplete}"
+ oncurrentdateselect="#{event.oncurrentdateselect}"
+ ondatemouseout="#{event.ondatemouseout}"
+ ondatemouseover="#{event.ondatemouseover}"
+ ondateselect="#{event.ondateselect}"
+ ondateselected="#{event.ondateselected}" onexpand="#{event.onexpand}"
+ oninputblur="#{event.oninputblur}"
+ oninputchange="#{event.oninputchange}"
+ oninputclick="#{event.oninputclick}"
+ oninputfocus="#{event.oninputfocus}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputselect="#{event.oninputselect}"
+ ontimeselect="#{event.ontimeselect}"
+ ontimeselected="#{event.ontimeselected}"
+ validator="CalendarValidator">
+
+ <f:facet name="weekDay">
+ <f:verbatim>
+ <span style="padding: 2px; font-size: 4">{weekDayLabel +
+ weekDayLabelShort}</span>
+ </f:verbatim>
+ </f:facet>
+
+ <f:facet name="optionalHeader">
+ <h:outputText value="optionalHeader Facet" />
+ </f:facet>
+
+ <f:facet name="optionalFooter">
+ <h:outputText value="optionalFooter Facet" />
+ </f:facet>
+
+ <f:validator validatorId="CalendarValidator" />
+
+ <h:panelGrid columns="2">
+ <f:verbatim>
+ <span style="padding: 2px;">{day}</span>
+ </f:verbatim>
+ <h:panelGrid>
+ <h:outputText styleClass="smallText" value="{data.enLabel}" />
+ <h:outputText styleClass="smallText" value="{data.frLabel}" />
+ <h:outputText styleClass="smallText" value="{data.deLabel}" />
+ </h:panelGrid>
+ </h:panelGrid>
+ </rich:calendar>
+ </h:panelGrid>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,2 @@
+
+<rich:calendar></rich:calendar>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,252 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="calendarPropertySubviewID">
+ <h:commandButton action="#{calendarBean.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:panelGroup>
+ <a4j:commandButton value="reRender"
+ reRender="calendarClientID,calendarAjaxID"></a4j:commandButton>
+ </h:panelGroup>
+ <h:column></h:column>
+
+ <h:outputText value="Mode:" />
+ <h:selectOneRadio value="#{calendarBean.mode}" onchange="submit();">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ </h:selectOneRadio>
+
+
+ <h:outputText value="Select Locale:" />
+ <h:selectOneRadio onchange="submit()" value="en/US"
+ valueChangeListener="#{calendarBean.selectLocale}">
+ <f:selectItem itemLabel="US" itemValue="en/US" />
+ <f:selectItem itemLabel="DE" itemValue="de/DE" />
+ <f:selectItem itemLabel="FR" itemValue="fr/FR" />
+ <f:selectItem itemLabel="RU" itemValue="ru/RU" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Popup Mode:" />
+ <h:selectBooleanCheckbox id="popupModeID"
+ value="#{calendarBean.popup}" onclick="submit();" />
+
+ <h:outputText value="showApplyButton: "></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showApplyButton}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="showScrollerBar: "></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showScrollerBar}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="showWeeksBar: "></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showWeeksBar}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="showWeekDaysBar: "></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showWeekDaysBar}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="cellHeight: "></h:outputText>
+ <h:inputText value="#{calendarBean.cellHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="cellWidth: "></h:outputText>
+ <h:inputText value="#{calendarBean.cellWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="Custom day labels" />
+ <h:selectOneRadio value="#{calendarBean.todayControlMode}"
+ onchange="submit();">
+ <f:selectItem itemLabel="scroll" itemValue="scroll" />
+ <f:selectItem itemLabel="select" itemValue="select" />
+ <f:selectItem itemLabel="hidden" itemValue="hidden" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Custom day labels" />
+ <h:selectOneRadio value="#{calendarBean.weekDay}" onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="day labels" itemValue="long" />
+ <f:selectItem itemLabel="day labels short" itemValue="short" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Custom month labels" />
+ <h:selectOneRadio value="#{calendarBean.month}" onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="day labels" itemValue="long" />
+ <f:selectItem itemLabel="day labels short" itemValue="short" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Select Date Pattern:" />
+ <h:selectOneMenu value="#{calendarBean.pattern}" onchange="submit()">
+ <f:selectItem itemLabel="d/M/yy" itemValue="d/M/yy" />
+ <f:selectItem itemLabel="dd/M/yy" itemValue="dd/M/yy" />
+ <f:selectItem itemLabel="d/MMM/y" itemValue="d/MMM/y" />
+ <f:selectItem itemLabel="dd.MM.yyyy" itemValue="dd.MM.yyyy" />
+ <f:selectItem itemLabel="MMM d, yyyy" itemValue="MMM d, yyyy" />
+ <f:selectItem itemLabel="dd-MM-yyyy" itemValue="dd-MM-yyyy" />
+ <f:selectItem itemLabel="dd/M/yy HH:mm" itemValue="dd/M/yy HH:mm" />
+ <f:selectItem itemLabel="MMM d, yyyy h:mm a"
+ itemValue="MMM d, yyyy h:mm a" />
+ </h:selectOneMenu>
+
+ <h:outputText value="Preload date range begin(d.m.y)" />
+ <h:inputText value="#{calendarBean.preloadDateRangeBegin}"
+ onchange="submit();" />
+
+ <h:outputText value="Preload date range end(d.m.y)" />
+ <h:inputText value="#{calendarBean.preloadDateRangeEnd}"
+ onchange="submit();" />
+
+ <h:outputText value="z-index:" />
+ <h:inputText value="#{calendarBean.zindex}">
+ <a4j:support event="onchange"
+ reRender="calendarClientID,calendarAjaxID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="horizontalOffset: "></h:outputText>
+ <h:inputText value="#{calendarBean.horizontalOffset}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="verticalOffset:"></h:outputText>
+ <h:inputText value="#{calendarBean.verticalOffset}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="immediate: "></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.immediate}"></h:selectBooleanCheckbox>
+
+ <h:outputText value="reRender (counter):" />
+ <h:outputText id="counter" value="#{calendarBean.counter}" />
+
+ <h:outputText value="Required" />
+ <h:selectBooleanCheckbox value="#{calendarBean.required}"
+ onclick="submit()" />
+
+ <h:outputText value="Select Popup Joint Point:" />
+ <h:selectOneRadio onchange="submit()"
+ value="#{calendarBean.jointPoint}">
+ <f:selectItem itemLabel="bottom-right" itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left" />
+ <f:selectItem itemLabel="top-right" itemValue="top-right" />
+ <f:selectItem itemLabel="top-left" itemValue="top-left" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Select Popup Direction:" />
+ <h:selectOneRadio onchange="submit()"
+ value="#{calendarBean.direction}">
+ <f:selectItem itemLabel="bottom-right" itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left" />
+ <f:selectItem itemLabel="top-right" itemValue="top-right" />
+ <f:selectItem itemLabel="top-left" itemValue="top-left" />
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Time Zone:" />
+ <h:selectOneRadio valueChangeListener="#{calendarBean.timeZone}"
+ onchange="submit();">
+ <f:selectItem itemLabel="Eastern European Time"
+ itemValue="Eastern European Time" />
+ <f:selectItem itemLabel="Turkmenistan Time"
+ itemValue="Turkmenistan Time" />
+ <f:selectItem itemLabel="Korea Standard Time"
+ itemValue="Korea Standard Time" />
+ </h:selectOneRadio>
+
+
+ <h:outputText value="ToolTip Mode:" />
+ <h:selectOneRadio value="#{calendarBean.toolTipMode}"
+ onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="single" itemValue="single" />
+ <f:selectItem itemLabel="batch" itemValue="batch" />
+ </h:selectOneRadio>
+
+ <h:outputText value="BoundaryDatesMode:" />
+ <h:selectOneRadio onclick="submit()" value="#{calendarBean.boundary}">
+ <f:selectItem itemLabel="inactive" itemValue="inactive" />
+ <f:selectItem itemLabel="select" itemValue="select" />
+ <f:selectItem itemLabel="scroll" itemValue="scroll" />
+ </h:selectOneRadio>
+
+ <h:outputText value="EnableManualInput:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.enableManualInput}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="ShowInput:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showInput}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disabled:" />
+ <h:selectBooleanCheckbox value="#{calendarBean.disabled}"
+ onclick="submit()" />
+
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{calendarBean.rendered}"
+ onclick="submit()" />
+
+ <f:verbatim></f:verbatim>
+ <h:commandButton action="#{calendarBean.changeIcons}"
+ value="ChangeIcons" />
+
+ <h:outputText value="Current date: " />
+ <h:outputText value="#{calendarBean.currentDateAsText}" />
+
+ <h:outputText value="Selected date: " />
+ <h:outputText value="#{calendarBean.selectedDate}" />
+
+ <f:verbatim></f:verbatim>
+ <h:commandButton value="Submit" />
+ </h:panelGrid>
+
+ <h:panelGrid columns="3">
+ <h:column></h:column>
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.doExpand(event)"
+ value="expand"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.nextMonth()"
+ value="nextMonth"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.prevMonth()"
+ value="prevMonth"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.nextYear()"
+ value="nextYear"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.prevYear()"
+ value="prevYear"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.today()"
+ value="today"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:calendarSubviewID:calendarClientID').component.getSelectedDate(new Data().setFullYear(2010,0,14)))"
+ value="getSelectedDate"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:calendarSubviewID:calendarClientID').component.isDateEnabled(new Data()))"
+ value="isDateEnabled"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.selectDate(new Data())"
+ value="selectDate"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:calendarSubviewID:calendarClientID').component.getCurrentMonth())"
+ value="getCurrentMonth"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:calendarSubviewID:calendarClientID').component.getCurrentYear())"
+ value="getCurrentYear"></a4j:commandLink>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('calendarClientID').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Calendar/CalendarStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="calendarStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{calendarBean.bTest1}" value="run" reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Calendar}" />
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{calendarBean.bTest2}" value="run" reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Calendar}" />
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{calendarBean.bTest3}" value="run" reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Calendar}" />
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{calendarBean.bTest4}" value="run" reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Calendar}" />
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{calendarBean.bTest5}" value="run" reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Calendar}" />
+ </h:panelGrid>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Columns/Columns.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Columns/Columns.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Columns/Columns.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,94 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="columnsSubviewID">
+
+ <h:selectBooleanCheckbox value="#{columns.dataTableRendered}">
+ <a4j:support event="onchange" reRender="richGridID"></a4j:support>
+ </h:selectBooleanCheckbox>
+ <h:outputText value="rich:dataTable:" rendered="#{columns.dataTableRendered}"></h:outputText>
+ <h:outputText value="h:dataTable:" rendered="#{!columns.dataTableRendered}"></h:outputText>
+
+ <rich:dataTable id="richColumnsID" value="#{columns.data1}" var="d1" rendered="#{columns.dataTableRendered}">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="header (h)"></h:outputText>
+ </f:facet>
+ <h:outputText value="h: #{d1.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="footer (h)"></h:outputText>
+ </f:facet>
+ </h:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="header (rich)"></h:outputText>
+ </f:facet>
+ <h:outputText value="rich: #{d1.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="footer (rich)"></h:outputText>
+ </f:facet>
+ </rich:column>
+
+ <rich:columns value="#{columns.data2}" var="d2" footerClass="#{style.footerClass}" headerClass="#{style.headerClass}" breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
+ columns="#{columns.columns}" index="index" rowspan="#{columns.rowspan}" begin="#{columns.begin}" end="#{columns.end}" width="#{columns.width}" style="#{style.style}" styleClass="#{style.styleClass}"
+ sortOrder="#{columns.orderings[index]}" sortBy="#{d1.str0}"
+ filterBy="#{d1.str0}"
+ filterValue="#{columns.filterValue[index]}" filterMethod="#{columns.filterMethod}">
+ <f:facet name="header">
+ <h:outputText value="header #{d2.int0}"></h:outputText>
+ </f:facet>
+ <h:outputText value="#{index}. "></h:outputText>
+ <h:outputText value="#{d1.str0}, "></h:outputText>
+ <h:outputText value="#{d2.str0}"></h:outputText>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <f:facet name="footer">
+ <h:outputText value="footer #{d2.int0}"></h:outputText>
+ </f:facet>
+ </rich:columns>
+ </rich:dataTable>
+
+ <h:dataTable id="hColumnsID" value="#{columns.data1}" var="d1" rendered="#{!columns.dataTableRendered}" border="1">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="header (h)"></h:outputText>
+ </f:facet>
+ <h:outputText value="h: #{d1.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="footer (h)"></h:outputText>
+ </f:facet>
+ </h:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="header (rich)"></h:outputText>
+ </f:facet>
+ <h:outputText value="rich: #{d1.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="footer (rich)"></h:outputText>
+ </f:facet>
+ </rich:column>
+
+ <rich:columns value="#{columns.data2}" var="d2" breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
+ columns="#{columns.columns}" index="index" rowspan="#{columns.rowspan}" sortable="#{columns.sortable}"
+ begin="#{columns.begin}" end="#{columns.end}" width="#{columns.width}">
+ <f:facet name="header">
+ <h:outputText value="header #{d2.int0}"></h:outputText>
+ </f:facet>
+ <h:outputText value="#{index}. "></h:outputText>
+ <h:outputText value="#{d1.str0}, "></h:outputText>
+ <h:outputText value="#{d2.str0}"></h:outputText>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <f:facet name="footer">
+ <h:outputText value="footer #{d2.int0}"></h:outputText>
+ </f:facet>
+ </rich:columns>
+ </h:dataTable>
+
+ <f:verbatim><br/></f:verbatim>
+ <h:outputText value="test columns (*) "></h:outputText>
+
+ <rich:dataTable value="#{columns.data1}" var="data1">
+ <rich:columns columns="#{columns.columns}">
+ <h:outputText value="#{data1.str0}"></h:outputText>
+ </rich:columns>
+ </rich:dataTable>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Columns/ColumnsProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Columns/ColumnsProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Columns/ColumnsProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,57 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="columnsPropertyID">
+ <h:commandButton value="submit"></h:commandButton>
+ <a4j:commandButton value="submit [a4j]" reRender="columnsID"></a4j:commandButton>
+ <h:panelGrid columns="2">
+ <f:facet name="header">
+ <h:outputText value="columns"></h:outputText>
+ </f:facet>
+ <h:outputText value="Enter quantity of lines [data 1]" />
+ <h:panelGroup>
+ <h:inputText value="#{columns.length1}" />
+ <h:commandButton action="#{columns.addNewItem1}" value="ok"></h:commandButton>
+ </h:panelGroup>
+
+ <h:outputText value="Enter quantity of lines [data 2]" />
+ <h:panelGroup>
+ <h:inputText value="#{columns.length2}" />
+ <h:commandButton action="#{columns.addNewItem2}" value="ok"></h:commandButton>
+ </h:panelGroup>
+
+ <h:outputText value="filterMethod"></h:outputText>
+ <h:inputText value="#{columns.filterInput}"
+ onchange="submit();" />
+
+ <h:outputText value="columns (*):"></h:outputText>
+ <h:inputText value="#{columns.columns}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="rowspan:"></h:outputText>
+ <h:inputText value="#{columns.rowspan}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="colspan:"></h:outputText>
+ <h:inputText value="#{columns.colspan}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="begin:"></h:outputText>
+ <h:inputText value="#{columns.begin}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="end:"></h:outputText>
+ <h:inputText value="#{columns.end}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="width:"></h:outputText>
+ <h:inputText value="#{columns.width}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="sortable"></h:outputText>
+ <h:selectBooleanCheckbox value="#{columns.sortable}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="breakBefore:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{columns.breakBefore}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/Combobox.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/Combobox.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/Combobox.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,54 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="comboboxSubviewID">
+
+ <h:inputText value="For test tabbing tabindex = 3" tabindex="3" size="30"></h:inputText> <br/>
+
+ <rich:comboBox id="comboboxID" disabled="#{combobox.disabled}" defaultLabel="#{combobox.defaultLabel}"
+ buttonClass="#{style.buttonClass}"
+ buttonDisabledClass="#{style.buttonDisabledClass}"
+ buttonDisabledStyle="#{style.buttonDisabledStyle}"
+ buttonInactiveClass="#{style.buttonInactiveClass}"
+ buttonInactiveStyle="#{style.buttonInactiveStyle}"
+ buttonStyle="#{style.buttonStyle}"
+ inputClass="#{style.inputClass}"
+ inputDisabledClass="#{style.inputDisabledClass}"
+ inputDisabledStyle="#{style.inputDisabledStyle}"
+ inputInactiveClass="#{style.inputInactiveClass}"
+ inputInactiveStyle="#{style.inputInactiveStyle}"
+ itemClass="#{style.itemClass}"
+ inputStyle="#{style.inputStyle}"
+ listClass="#{style.listClass}"
+ listStyle="#{style.listStyle}"
+ itemSelectedClass="border:5px solid red"
+ filterNewValues="#{combobox.filterNewValues}"
+ rich-combobox-button="style"
+ directInputSuggestions="#{combobox.directInputSuggestions}" immediate="#{combobox.immediate}"
+ width="#{combobox.width}" valueChangeListener="#{combobox.valueChangeListener}"
+ tabindex="#{combobox.tabindex}" suggestionValues="#{combobox.suggestionValues}"
+ required="#{combobox.required}" requiredMessage="#{combobox.requiredMessage}"
+ rendered="#{combobox.rendered}" selectFirstOnUpdate="#{combobox.selectFirstOnUpdate}"
+ enableManualInput="#{combobox.enableManualInput}" listHeight="#{combobox.listHeight}" listWidth="#{combobox.listWidth}" style="#{style.style}" styleClass="#{style.styleClass}"
+ onblur="#{event.onblur}"
+ onchange="alert('onchange')"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ onfocus="#{event.onfocus}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onlistcall="#{event.onlistcall}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onselect="#{event.onselect}"
+ binding="#{combobox.myComboBox}"
+ align="#{combobox.align}"
+ buttonIconDisabled="/pics/ajax_process.gif"
+ accesskey="y">
+ <f:selectItem itemValue="GoshaGoshaGoshaGoshaGosha"/>
+ </rich:comboBox>
+
+ <a4j:commandButton value="reRender" reRender="comboboxID"></a4j:commandButton>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/ComboboxDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/ComboboxDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/ComboboxDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,7 @@
+ <rich:comboBox>
+ <f:selectItem itemValue="item 1"/>
+ <f:selectItem itemValue="item 2"/>
+ <f:selectItem itemValue="item 3"/>
+ <f:selectItem itemValue="item 4"/>
+ <f:selectItem itemValue="item 5"/>
+ </rich:comboBox>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/ComboboxProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/ComboboxProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Combobox/ComboboxProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,76 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="comboboxPropertySubviewID">
+
+ <h:commandButton action="#{combobox.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="defaultLabel"></h:outputText>
+ <h:inputText value="#{combobox.defaultLabel}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="filterNewValues"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.filterNewValues}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="tabindex"></h:outputText>
+ <h:inputText value="#{combobox.tabindex}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="width"></h:outputText>
+ <h:inputText value="#{combobox.width}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listHeight"></h:outputText>
+ <h:inputText value="#{combobox.listHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listWidth"></h:outputText>
+ <h:inputText value="#{combobox.listWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="enableManualInput"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.enableManualInput}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="selectFirstOnUpdate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.selectFirstOnUpdate}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="directInputSuggestions"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.directInputSuggestions}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="disabled"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.disabled}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.immediate}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="required"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.required}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage"></h:outputText>
+ <h:inputText value="#{combobox.requiredMessage}" onchange="submit();"></h:inputText>
+
+ <h:commandButton actionListener="#{combobox.checkBinding}" value="Binding"></h:commandButton>
+ <h:outputText value="#{combobox.bindLabel}"></h:outputText>
+
+ <h:outputText value="align"></h:outputText>
+ <h:inputText value="#{combobox.align}" onchange="submit();"></h:inputText>
+ </h:panelGrid>
+
+ <a4j:commandLink onclick="$('formID:comboboxSubviewID:comboboxID').component.showList()" value="showList"></a4j:commandLink>
+ <br />
+ <a4j:commandLink onclick="$('formID:comboboxSubviewID:comboboxID').component.hideList()" value="hideList"></a4j:commandLink>
+ <br />
+ <a4j:commandLink onclick="$('formID:comboboxSubviewID:comboboxID').component.enable()" value="enable"></a4j:commandLink>
+ <br />
+ <a4j:commandLink onclick="$('formID:comboboxSubviewID:comboboxID').component.disable()" value="disable"></a4j:commandLink>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <!--<h:outputText value="#{rich:findComponent('comboboxID').value}" />-->
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ComponentControl/ComponentControl.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ComponentControl/ComponentControl.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ComponentControl/ComponentControl.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,125 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="componentControlSubviewID">
+
+ <h:inputText value="test">
+ <rich:componentControl name="controlMe" event="onclick"
+ attachTiming="onload" for="ccToltipID" operation="show" binding="#{componentControl.htmlComponentControl}"/>
+ </h:inputText>
+
+ <rich:panel>
+ <rich:toolTip id="ccToltipID" followMouse="false"
+ direction="top-right" value="Help me, help!">
+ </rich:toolTip>
+ </rich:panel>
+
+ <rich:modalPanel id="ccModalPanelID"
+ onshow="alert(event.parameters.show)"
+ onhide="alert(event.parameters.hide)">
+ <h:outputLink id="hideButton1ID" onclick="return false;" value="#">
+ <f:verbatim>Close 1</f:verbatim>
+ </h:outputLink>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputLink id="hideButton2ID" onclick="return false;" value="#">
+ <f:verbatim>Close 2</f:verbatim>
+ </h:outputLink>
+ </rich:modalPanel>
+
+ <h:commandButton id="showButtonID" value="show ModalPanel">
+ <rich:componentControl for="ccModalPanelID" event="onclick"
+ disableDefault="true" operation="show"
+ params="show:'componentControl work(show)'" />
+ </h:commandButton>
+
+ <rich:componentControl attachTiming="onload"
+ attachTo="hideButton1ID, hideButton2ID" event="onclick"
+ for="ccModalPanelID" operation="hide"
+ params="hide:'componentControl work(hide)'" />
+
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
+ <h:commandButton action="#{componentControl.addHtmlComponentControl}" value="add test" />
+ <rich:calendar popup="#{componentControl.calendarPopup}"
+ id="ccCalendarID" />
+ <h:panelGrid columns="2">
+ <h:outputText value="popup calendar" />
+ <h:selectBooleanCheckbox id="calendarSelectID"
+ value="#{componentControl.calendarPopup}" onchange="submit();" />
+ </h:panelGrid>
+
+ <f:verbatim>
+ <br />
+ <a href="#" id="doExpandCalendarID">Calendar (doExpand)</a>
+ <br />
+ <a href="#" id="doNextYearCalendarID">Calendar (nextYear)</a>
+ <br />
+ <a href="#" id="doPrevYearCalendarID">Calendar (prevYear)</a>
+ <br />
+ <a href="#" id="doNextMonthCalendarID">Calendar (nextMonth)</a>
+ <br />
+ <a href="#" id="doPrevMonthCalendarID">Calendar (prevMonth)</a>
+ <br />
+ <a href="#" id="doTodayCalendarID">Calendar (today)</a>
+ <br />
+ <a href="#" id="doTodayCalendarRenderedID">Calendar (today)
+ rendered="false"</a>
+ </f:verbatim>
+
+ <rich:componentControl id="componentID" attachTo="doExpandCalendarID" for="ccCalendarID"
+ event="onclick" operation="doExpand" />
+ <rich:componentControl attachTo="doNextYearCalendarID"
+ for="ccCalendarID" event="onclick" operation="nextYear" />
+ <rich:componentControl attachTo="doPrevYearCalendarID"
+ for="ccCalendarID" event="onclick" operation="prevYear" />
+ <rich:componentControl attachTo="doNextMonthCalendarID"
+ for="ccCalendarID" event="onclick" operation="nextMonth" />
+ <rich:componentControl attachTo="doPrevMonthCalendarID"
+ for="ccCalendarID" event="onclick" operation="prevMonth" />
+ <rich:componentControl attachTo="doTodayCalendarID" for="ccCalendarID"
+ event="onclick" operation="today" />
+ <rich:componentControl attachTo="doTodayCalendarRenderedID"
+ for="ccCalendarID" rendered="false" event="onclick" operation="today" />
+
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
+
+ <rich:panelMenu id="ccContextMenuPanelMenuID">
+ <h:outputText value="click text" />
+ </rich:panelMenu>
+
+ <rich:contextMenu id="ccContextMenuID" submitMode="ajax"
+ onexpand="alert(event.parameters.expand)">
+ <rich:menuItem icon="/pics/header.png" value="tab1">
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="a">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="b">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="c">
+ </rich:menuItem>
+ </rich:contextMenu>
+ <rich:componentControl event="oncontextmenu"
+ attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID"
+ operation="show" params="expand:'show work'" />
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getOperation" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('componentID').operation}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ContextMenu/ContextMenu.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ContextMenu/ContextMenu.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ContextMenu/ContextMenu.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,376 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="contextMenuSubviewID">
+ <h:panelGrid columns="2">
+ <rich:panel style="width: 130px; height: 50px; background-color: #98FB98;" id="richPanel_1">
+ <h:outputText value="panel with contextMenu(DEFAULT)" /> <f:verbatim><br /></f:verbatim>
+ <h:outputText value="testing events" />
+ <rich:contextMenu id="contextMenuDefaultID" submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}" style="#{style.style}" styleClass="#{style.styleClass}" disabledItemClass="#{style.disabledItemClass}" disabledItemStyle="#{style.disabledItemStyle}" itemClass="#{style.itemClass}" itemStyle="#{style.itemStyle}" selectItemStyle="#{style.selectItemStyle}" selectItemClass="#{style.selectItemClass}"
+ oncollapse="#{event.oncollapse}" onexpand="#{event.onexpand}" ongroupactivate="#{event.ongroupactivate}" onitemselect="#{event.onitemselect}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" binding="#{contextMenu.htmlContextMenu}">
+ <rich:menuItem icon="/pics/header.png" value="abc" reRender="cmInfoID" style="#{style.styleA}" styleClass="#{style.styleClassA}">
+ <f:param name="cmdParam" value="abc" />
+ </rich:menuItem>
+ <rich:menuItem onbeforedomupdate="#{event.onbeforedomupdate}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}"><h:outputText value="event item"/></rich:menuItem>
+ <rich:menuItem icon="/pics/header.png" value="JSAPI Hide" onclick="$('formID:contextMenuSubviewID:contextMenuDefaultID').component.doHide()" reRender="cmInfoID">
+ <f:param name="cmdParam" value="hide" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="a" reRender="cmInfoID" iconClass="#{style.iconClassA}" iconStyle="#{style.iconStyleA}" selectClass="#{style.selectClassA}" styleClass="#{style.styleClassA}" selectStyle="#{style.selectStyleA}" style="#{style.styleA}">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value=" b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" reRender="cmInfoID">
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:menuItem>
+ <rich:menuGroup value="menuGroup">
+ <rich:menuItem icon="/pics/fatal.gif" value="a" reRender="cmInfoID">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="d" reRender="cmInfoID">
+ <f:param name="cmdParam" value="d" />
+ </rich:menuItem>
+ </rich:menuGroup>
+ </rich:contextMenu>
+ <a4j:commandLink onclick="$('formID:contextMenuSubviewID:contextMenuDefaultID').component.doShow()" value="JSAPI Show"></a4j:commandLink>
+ </rich:panel>
+
+
+ <rich:panel style="width: 130px; height: 50px; background-color: #98FB98;">
+ <h:outputText value="panel with contextMenu(Test)" />
+ <rich:contextMenu id="contextMenuID" attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}"
+ event="#{contextMenu.event}" disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}"
+ hideDelay="#{contextMenu.hideDelay}" showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="abc" reRender="cmInfoID">
+ <f:param name="cmdParam" value="abc" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ <rich:menuGroup value="menuGroup">
+ <rich:menuItem icon="/pics/fatal.gif" value="a" reRender="cmInfoID">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="d" reRender="cmInfoID">
+ <f:param name="cmdParam" value="d" />
+ </rich:menuItem>
+ </rich:menuGroup>
+ </rich:contextMenu>
+ </rich:panel>
+ </h:panelGrid>
+
+ <a4j:commandButton value="reRender" reRender="cmInfoID"></a4j:commandButton>
+
+ <h:panelGrid id="cmInfoID" columns="2">
+ <h:outputText value="Select items: " />
+ <h:outputText value="#{contextMenu.info}" style="color: red" />
+ </h:panelGrid>
+
+ <h:panelGrid id="pgcmTestID" columns="3">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" id="selectOneMenu_1">
+ <f:selectItem itemLabel="select1" itemValue="select1" />
+ <f:selectItem itemLabel="select2" itemValue="select2" />
+ <rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
+ disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
+ showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="select" reRender="cmInfoID">
+ <f:param name="cmdParam" value="select" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" action="alert('action work')" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ </rich:contextMenu>
+ </h:selectOneMenu>
+
+ <rich:tabPanel id="tpcmTestID" switchType="client">
+ <rich:tab id="t1cmTestID" label="tab1">
+ <rich:contextMenu submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}">
+ <rich:menuItem icon="/pics/header.png" value="tab1" reRender="cmInfoID">
+ <f:param name="cmdParam" value="tab1" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="a" reRender="cmInfoID">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value=" b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ </rich:contextMenu>
+ <h:outputText value="text1" />
+ </rich:tab>
+ <rich:tab id="t2cmTestID" label="tab2">
+ <rich:contextMenu submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}">
+ <rich:menuItem icon="/pics/header.png" value="tab2" reRender="cmInfoID">
+ <f:param name="cmdParam" value="tab2" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="a" reRender="cmInfoID">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value=" b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ </rich:contextMenu>
+ <h:outputText value="text2" />
+ </rich:tab>
+ <rich:tab id="t3cmTestID" label="tab3">
+ <rich:contextMenu submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}">
+ <rich:menuItem icon="/pics/header.png" value="tab3" reRender="cmInfoID">
+ <f:param name="cmdParam" value="tab3" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="a" reRender="cmInfoID">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value=" b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ </rich:contextMenu>
+ <h:outputText value="text3" />
+ </rich:tab>
+ <rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
+ disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
+ showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="tabPanel" reRender="cmInfoID">
+ <f:param name="cmdParam" value="tabPanel" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" action="alert('action work')" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ </rich:contextMenu>
+ </rich:tabPanel>
+
+ <h:graphicImage id="gicmID" value="/pics/asus.jpg" height="125px" width="150px">
+ <rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
+ disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
+ showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="graphicImage" reRender="cmInfoID">
+ <f:param name="cmdParam" value="graphicImage" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" action="alert('action work')" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ </rich:contextMenu>
+ </h:graphicImage>
+
+ <h:inputText id="itcmTestID" value="inputText">
+ <rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
+ disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
+ showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="inputText" reRender="cmInfoID">
+ <f:param name="cmdParam" value="inputText" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" action="alert('action work')" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ </rich:contextMenu>
+ </h:inputText>
+
+ <h:panelGrid id="pgTestID" columns="1" border="5" cellpadding="2" cellspacing="2">
+ <h:outputText value="panelGrid" />
+ <h:outputText value="" />
+ <rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
+ disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
+ showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="panelGrid" reRender="cmInfoID">
+ <f:param name="cmdParam" value="panelGrid" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" action="alert('action work')" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ </rich:contextMenu>
+ </h:panelGrid>
+ </h:panelGrid>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ContextMenu/ContextMenuProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ContextMenu/ContextMenuProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ContextMenu/ContextMenuProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,74 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="contextMenuPropertySubviewID">
+
+ <a4j:commandButton value="reRender" reRender="cmInfoID"></a4j:commandButton>
+ <a4j:commandButton action="submit();" immediate="true"
+ value="immediate submit(); (a4j)"></a4j:commandButton>
+ <h:commandButton action="submit();" value="submit();" />
+ <h:commandButton action="submit();" immediate="true"
+ value="immediate submit();" />
+ <h:commandButton action="#{contextMenu.addHtmlContextMenu}" value="add test" />
+ <h:panelGrid columns="2" style="top">
+ <h:outputText value="event:" />
+ <h:selectOneMenu value="#{contextMenu.event}" onchange="submit();">
+ <f:selectItem itemLabel="oncontextmenu" itemValue="oncontextmenu" />
+ <f:selectItem itemLabel="onclick" itemValue="onclick" />
+ <f:selectItem itemLabel="onmousemove" itemValue="onmousemove" />
+ </h:selectOneMenu>
+
+ <h:outputText value="popupWidth:" />
+ <h:inputText value="#{contextMenu.popupWidth}">
+ <a4j:support event="onchange" reRender="contextMenuID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="hideDelay:" />
+ <h:inputText value="#{contextMenu.hideDelay}">
+ <a4j:support event="onchange" reRender="contextMenuID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="showDelay" />
+ <h:inputText value="#{contextMenu.showDelay}">
+ <a4j:support event="onchange" reRender="contextMenuID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="submitMode:" />
+ <h:selectOneRadio value="#{contextMenu.submitMode}"
+ onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ </h:selectOneRadio>
+
+ <h:outputText value="attached" />
+ <h:selectBooleanCheckbox value="#{contextMenu.attached}"
+ onchange="submit();" />
+
+ <h:outputText value="disableDefaultMenu:" />
+ <h:selectBooleanCheckbox value="#{contextMenu.disableDefaultMenu}"
+ onchange="submit();">
+ <a4j:support event="onchange" reRender="contextMenuID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{contextMenu.rendered}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getEvent" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('contextMenuDefaultID').event}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/CustomizePage/CustomizePage.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/CustomizePage/CustomizePage.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/CustomizePage/CustomizePage.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<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">
+ <body>
+ <f:view>
+ <rich:separator lineType="solid" height="1" />
+ <table width="400">
+ <tbody>
+ <tr>
+ <td onmouseover="updateName('Alex')"
+ onmouseout="updateName('')">Alex</td>
+ <td onmouseover="updateName('Jonh')"
+ onmouseout="updateName('')">Jonh</td>
+ <td onmouseover="updateName('Roger')"
+ onmouseout="updateName('')">Roger</td>
+ </tr>
+ <tr>
+ <td colspan="3"><h:outputText id="showname"
+ value="Name: #{userBean.name}" /></td>
+ </tr>
+ </tbody>
+ </table>
+
+ <a4j:form>
+ <a4j:jsFunction id="updateName" name="updateName" reRender="showname">
+ <a4j:actionparam name="param1" assignTo="#{userBean.name}" />
+ </a4j:jsFunction>
+ </a4j:form>
+
+ <rich:separator height="1" style="padding-top:10px" />
+ </f:view>
+ </body>
+</ui:composition>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,3 @@
+ <rich:dataDefinitionList value="#{dataDefinitionList.arrDefault}" var="def">
+ <h:outputText value="#{def}" />
+ </rich:dataDefinitionList>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionList.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionList.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionList.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,18 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="dataDefinitionListSubviewID">
+ <rich:dataDefinitionList id="ddListID" value="#{dataDefinitionList.arr}" var="arr" first="#{dataDefinitionList.first}"
+ rendered="#{dataDefinitionList.rendered}" title="#{dataDefinitionList.title}" dir="#{dataDefinitionList.dir}"
+ rows="#{dataDefinitionList.rows}" style="#{style.style}" styleClass="#{style.styleClass}" columnClasses="#{style.columnClasses}" rowClasses="#{style.rowClasses}"
+ binding="#{dataDefinitionList.myDefinitionList}"
+ rowKeyVar="myVar">
+ <f:facet name="header">
+ <h:outputText value="Africa(header):" />
+ </f:facet>
+ <h:outputText value="#{arr.str0} " />
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <h:outputText value="#{myVar}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="Africa(footer);" />
+ </f:facet>
+ </rich:dataDefinitionList>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionListProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionListProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataDefinitionList/DataDefinitionListProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,51 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="dataDefinitionListPropertySubviewID">
+ <h:commandButton action="#{dataDefinitionList.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="title" />
+ <h:inputText value="#{dataDefinitionList.title}">
+ <a4j:support event="onchange" reRender="ddListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="first" />
+ <h:inputText value="#{dataDefinitionList.first}">
+ <a4j:support event="onchange" reRender="ddListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rows" />
+ <h:inputText value="#{dataDefinitionList.rows}">
+ <a4j:support event="onchange" reRender="ddListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="dir" />
+ <h:selectOneRadio value="#{dataDefinitionList.dir}">
+ <f:selectItem itemValue="LTR" itemLabel="LTR" />
+ <f:selectItem itemValue="RTL" itemLabel="RTL" />
+ <a4j:support event="onchange" reRender="ddListID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{dataDefinitionList.rendered}"
+ onchange="submit();" />
+
+ <h:commandButton actionListener="#{dataDefinitionList.checkBinding}"
+ value="Binding"></h:commandButton>
+ <h:outputText value="#{dataDefinitionList.bindLabel}"></h:outputText>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRowCount" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('ddListID').rowCount}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataFilterSlider/DataFilterSlider.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataFilterSlider/DataFilterSlider.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataFilterSlider/DataFilterSlider.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,85 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="dataFilterSliderSubviewID">
+
+ <rich:dataFilterSlider sliderListener="#{dfs.doSlide}" action="#{dfs.act}" actionListener="#{dfs.actListener}"
+ rendered="#{dfs.rendered}" binding="#{dfs.htmlDataFilterSlider}"
+ for="carList" forValRef="inventoryList.carInventory"
+ filterBy="getMileage" manualInput="true" storeResults="true" width="400px"
+ styleClass="#{style.styleClass}" rangeStyleClass="#{style.rangeStyleClass}" trailerStyleClass="#{style.trailerStyleClass}" style="#{style.style}" fieldStyleClass="#{style.fieldStyleClass}" trackStyleClass="#{style.trackStyleClass}" handleStyleClass="#{style.handleStyleClass}"
+ startRange="10000" endRange="60000" increment="10000"
+ trailer="true" handleValue="10000" id="dfsID"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onchange="#{event.onchange}" onclick="#{event.onclick}"
+ oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}"
+ onerror="#{event.onerror}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" onslide="#{event.onslide}"
+ onSlideSubmit="#{event.onSlideSubmit}">
+ </rich:dataFilterSlider>
+
+ <h:panelGrid id="list-body">
+ <h:dataTable id="carIndex" rows="10"
+ binding="#{inventoryList.carMakeIndexUIData}"
+ value="#{inventoryList.carMakeIndex}" var="category"
+ styleClass="list-table1" columnClasses="column-index"
+ rowClasses="list-row3">
+
+ <h:column>
+ <a4j:commandLink actionListener="#{inventoryList.filterCarList}"
+ reRender="carList">
+ <h:outputText value="#{category}" />
+ <f:attribute name="filterRule" value="showTable" />
+
+ </a4j:commandLink>
+ </h:column>
+ </h:dataTable>
+
+ <h:dataTable id="carList" rows="10" rendered="#{dfs.rendered}"
+ value="#{inventoryList.carInventory}" var="category"
+ rowClasses="list-row1, list-row2" columnClasses="column"
+ headerClass="list-header" styleClass="list-table2">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText styleClass="headerText" value="Make" />
+ </f:facet>
+ <h:outputText value="#{category.make}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText styleClass="headerText" value="Model" />
+ </f:facet>
+ <h:outputText value="#{category.model}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText styleClass="headerText"
+ value="#{inventoryList.priceColumnName}" />
+ </f:facet>
+ <h:outputText value="#{category.price}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText styleClass="headerText"
+ value="#{inventoryList.mileageColumnName}" />
+ </f:facet>
+ <h:outputText value="#{category.mileage}" />
+ </h:column>
+ </h:dataTable>
+ </h:panelGrid>
+ <h:outputText value="click reRender for update page(RF-1365)" />
+ <h:commandButton value="reRender" />
+
+ <h:panelGrid columns="2">
+ <a4j:commandButton style="" value="" rendered=""/>
+ <a4j:commandButton value="action" rendered="actionDFSID" style=" width : 95px;"></a4j:commandButton> />
+ <h:outputText id="actionDFSID" value="#{dfs.action}" />
+
+ <a4j:commandButton value="actionListener" rendered="actionListenerDFSID" style=" width : 95px;"></a4j:commandButton> />
+ <h:outputText id="actionListenerDFSID" value="#{dfs.actionListener}" />
+ </h:panelGrid>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataFilterSlider/DataFilterSliderProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataFilterSlider/DataFilterSliderProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataFilterSlider/DataFilterSliderProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="dataFilterSliderPropertySubviewID">
+ <h:commandButton action="#{dfs.addHtmlDataFilterSlider}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dfs.rendered}" onchange="submit();" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <!-- <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getEndRange" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('dfsID').endRange}" />
+ </rich:column>
+ </h:panelGrid> -->
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataGrid/DataGrid.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataGrid/DataGrid.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataGrid/DataGrid.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,56 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="dataGridSubviewID">
+
+ <rich:dataGrid id="dataGridID" value="#{dataGrid.allCars}" var="car" columns="#{dataGrid.columns}"
+ elements="#{dataGrid.elements}" first="#{dataGrid.first}" binding="#{dataGrid.htmlDataGrid}"
+ dir="#{dataGrid.dir}" border="#{dataGrid.border}"
+ cellpadding="#{dataGrid.cellpadding}" cellspacing="#{dataGrid.cellspacing}"
+ rendered="#{dataGrid.rendered}" width="#{dataGrid.width}"
+ captionClass="#{style.captionClass}"
+ captionStyle="#{style.captionStyle}"
+ columnClasses="#{style.columnClasses}"
+ footerClass="#{style.footerClass}"
+ headerClass="#{style.headerClass}"
+ rowClasses="#{style.rowClasses}"
+ style="#{style.style}"
+ styleClass="#{style.styleClass}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onRowClick="#{event.onRowClick}"
+ onRowDblClick="#{event.onRowDblClick}"
+ onRowMouseDown="#{event.onRowMouseDown}"
+ onRowMouseMove="#{event.onRowMouseMove}"
+ onRowMouseOut="#{event.onRowMouseOut}"
+ onRowMouseOver="#{event.onRowMouseOver}"
+ onRowMouseUp="#{event.onRowMouseUp}" >
+ <f:facet name="header">
+ <h:outputText value="Car Store"></h:outputText>
+ </f:facet>
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText value="#{car.make} #{car.model}"></h:outputText>
+ </f:facet>
+ <h:panelGrid columns="2">
+ <h:outputText value="Price:"></h:outputText>
+ <h:outputText value="#{car.price}" />
+ <h:outputText value="Mileage:"></h:outputText>
+ <h:outputText value="#{car.mileage}" />
+ <rich:inplaceInput defaultLabel="add comment here.." />
+ </h:panelGrid>
+ </rich:panel>
+ <f:facet name="footer">
+ <rich:datascroller></rich:datascroller>
+ </f:facet>
+ </rich:dataGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataGrid/DataGridProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataGrid/DataGridProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataGrid/DataGridProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,44 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="dataGridPropertySubviewID">
+
+ <h:commandButton action="#{dataGrid.submit}" value="Submit" />
+ <a4j:commandButton action="#{dataGrid.submitAjax}" value="Submit Ajax" reRender="panel" />
+ <br />
+ <h:commandButton value="add test" action="#{dataGrid.addHtmlDataGrid}"></h:commandButton>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="rendered: " />
+ <h:selectBooleanCheckbox onchange="submit();" label="rendered" value="#{dataGrid.rendered}" />
+
+ <h:outputText value="columns: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.columns}" />
+
+ <h:outputText value="elements: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.elements}" />
+
+ <h:outputText value="border: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.border}" />
+
+ <h:outputText value="dir: " />
+ <h:selectOneRadio value="#{dataGrid.dir}" onchange="submit();">
+ <f:selectItem itemValue="LTR" itemLabel="LTR" />
+ <f:selectItem itemValue="RTL" itemLabel="RTL" />
+ </h:selectOneRadio>
+
+ <h:outputText value="first: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.first}" />
+
+ <h:outputText value="cellspacing: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.cellspacing}" />
+
+ <h:outputText value="cellpadding: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.cellpadding}" />
+
+ <h:outputText value="width: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.width}" />
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedList.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedList.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedList.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,17 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="dataOrderedListSubviewID">
+ <rich:dataOrderedList id="doListID" value="#{dataOrderedList.arr}" var="arr" first="#{dataOrderedList.first}"
+ rendered="#{dataOrderedList.rendered}" title="#{dataOrderedList.title}" type="#{dataOrderedList.type}" dir="#{dataOrderedList.dir}"
+ rows="#{dataOrderedList.rows}"
+ columnClasses="#{style.columnClasses}" footerClass="style" headerClass="test" rowClasses="#{style.rowClasses}" style="#{style.style}" styleClass="#{style.styleClass}"
+ binding="#{dataOrderedList.myOrderedList}" >
+ <f:facet name="header">
+ <h:outputText value="HEADER" style="TEXT-DECORATION: underline;"/>
+ </f:facet>
+ <h:outputText value="#{arr.str0} " />
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <f:facet name="footer">
+ <h:outputText value="FOOTER" style="TEXT-DECORATION: underline;"/>
+ </f:facet>
+ </rich:dataOrderedList>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedListDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedListDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedListDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,4 @@
+
+<rich:dataOrderedList value="#{dataOrderedList.defaultArr}" var="def">
+ <h:outputText value="#{def}" />
+</rich:dataOrderedList>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedListProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedListProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataOrderedList/DataOrderedListProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,64 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="dataOrderedListPropertySubviewID">
+ <h:commandButton action="#{dataOrderedList.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="title" />
+ <h:inputText value="#{dataOrderedList.title}">
+ <a4j:support event="onchange" reRender="doListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="first" />
+ <h:inputText value="#{dataOrderedList.first}">
+ <a4j:support event="onchange" reRender="doListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rows" />
+ <h:inputText value="#{dataOrderedList.rows}">
+ <a4j:support event="onchange" reRender="doListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="dir" />
+ <h:selectOneRadio value="#{dataOrderedList.dir}">
+ <f:selectItem itemValue="LTR" itemLabel="LTR" />
+ <f:selectItem itemValue="RTL" itemLabel="RTL" />
+ <a4j:support event="onchange" reRender="doListID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="type" />
+ <h:selectOneMenu value="#{dataOrderedList.type}">
+ <f:selectItem itemValue="1" itemLabel="1" />
+ <f:selectItem itemValue="A" itemLabel="A" />
+ <f:selectItem itemValue="a" itemLabel="a" />
+ <f:selectItem itemValue="I" itemLabel="I" />
+ <f:selectItem itemValue="i" itemLabel="i" />
+ <f:selectItem itemValue="disc" itemLabel="disc" />
+ <f:selectItem itemValue="circle" itemLabel="circle" />
+ <f:selectItem itemValue="square" itemLabel="square" />
+ <a4j:support event="onchange" reRender="doListID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{dataOrderedList.rendered}"
+ onchange="submit();" />
+
+ <h:commandButton actionListener="#{dataOrderedList.checkBinding}"
+ value="Binding"></h:commandButton>
+ <h:outputText value="#{dataOrderedList.bindLabel}"></h:outputText>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRowCount" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('doListID').rowCount}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScroller.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScroller.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScroller.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,38 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="DataScrollerSubviewID">
+ <rich:dataTable id="dataTableId" value="#{dataScroller.dataTable}" sortMode="#{dataScroller.sortMode}"
+ var="dT" cellpadding="5px" rows="5" border="1" reRender="dsID">
+ <f:facet name="header">
+ <rich:datascroller inactiveStyle="#{style.inactiveStyle}" inactiveStyleClass="#{style.inactiveStyleClass}"
+ selectedStyle="#{style.selectedStyle}" selectedStyleClass="#{style.selectedStyleClass}" style="#{style.style}"
+ styleClass="#{style.styleClass}" tableStyle="#{style.tableStyle}" tableStyleClass="#{style.tableStyleClass}"
+ fastControls="#{dataScroller.fastControls}" action="#{dataScroller.act}" actionListener="#{dataScroller.actListener}"
+ align="#{dataScroller.align}" rendered="#{dataScroller.render}"
+ limitToList="#{dataScroller.limitToList}"
+ renderIfSinglePage="#{dataScroller.renderIfSinglePage}"
+ maxPages="#{dataScroller.maxPages}"
+ scrollerListener="#{dataScroller.ScrollerListener}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
+ ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" id="dsID"
+ binding="#{dataScroller.htmlDatascroller}">
+ </rich:datascroller>
+ </f:facet>
+ <rich:column sortBy="#{dT.data0}" filterBy="#{dT.data0}" filterEvent="onchange"
+ selfSorted="#{dataScroller.selfSorted}" sortOrder="#{dataScroller.sortOrder}" filterValue="#{dataScroller.filterValue}">
+ <h:outputText value="#{dT.data0}" />
+ </rich:column>
+ <rich:column sortBy="#{dT.data1}" filterBy="#{dT.data1}" filterEvent="onchange"
+ sortOrder="#{dataScroller.sortOrder}">
+ <h:outputText value="#{dT.data1} " />
+ </rich:column>
+ </rich:dataTable>
+ <h:panelGrid id="dataScrollerActionID" columns="1">
+ <a4j:commandButton value="Show action" reRender="dataScrollerActionID" style=" width : 95px;"></a4j:commandButton>
+ <h:outputText value="#{dataScroller.action}" />
+ <h:outputText value="#{dataScroller.actionListener}" />
+ </h:panelGrid>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScrollerDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScrollerProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScrollerProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScrollerProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,77 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="datascrollerPropertySubviewID">
+
+ <h:commandButton action="#{dataScroller.CutArray}" value="CutArray" />
+ <h:commandButton action="#{dataScroller.RestoreArray}" value="RestoreArray" />
+ <h:commandButton action="#{dataScroller.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="maxPages" />
+ <h:inputText value="#{dataScroller.maxPages}">
+ <a4j:support event="onchange" reRender="dataScrollerID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.render}"
+ onclick="submit();" />
+
+ <h:outputText value="renderIfSinglePage:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.renderIfSinglePage}"
+ onclick="submit();" />
+
+ <h:outputText value="limitToList:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.limitToList}"
+ onclick="submit();" />
+
+ <h:outputText value="fastControls" />
+ <h:selectOneRadio value="#{dataScroller.fastControls}">
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <f:selectItem itemLabel="show" itemValue="show" />
+ <f:selectItem itemLabel="hide" itemValue="hide" />
+ <a4j:support event="onclick" reRender="dataTableId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="align" />
+ <h:selectOneRadio value="#{dataScroller.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <a4j:support event="onclick" reRender="dataTableId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="sortMode"></h:outputText>
+ <h:selectOneRadio value="#{dataScroller.sortMode}">
+ <f:selectItem itemLabel="single" itemValue="single" />
+ <f:selectItem itemLabel="multi" itemValue="multi" />
+ <a4j:support event="onchange" reRender="dataTableId,dsID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="sortOrder"></h:outputText>
+ <h:selectOneRadio value="#{dataScroller.currentSortOrder}">
+ <f:selectItem itemLabel="ASCENDING" itemValue="ASCENDING" />
+ <f:selectItem itemLabel="DESCENDING" itemValue="DESCENDING" />
+ <f:selectItem itemLabel="UNSORTED" itemValue="UNSORTED" />
+ <a4j:support event="onchange" reRender="dataTableId,dsID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="selfSorted(1st)"></h:outputText>
+ <h:selectBooleanCheckbox value="#{dataScroller.selfSorted}">
+ <a4j:support event="onchange" reRender="dataTableId,dsID"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getPage" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText id="findID" value="#{rich:findComponent('dsID').page}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScrollerStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScrollerStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataScroller/DataScrollerStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="datascrollerStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{dataScroller.bTest1}" value="run" reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1DataScroller}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{dataScroller.bTest2}" value="run" reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2DataScroller}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{dataScroller.bTest3}" value="run" reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3DataScroller}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{dataScroller.bTest4}" value="run" reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4DataScroller}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{dataScroller.bTest5}" value="run" reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5DataScroller}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTable.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTable.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTable.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,76 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="DataTableSubviewID">
+
+ <rich:dataTable id="dataTableID" var="dataTableID" value="#{dataTable.mounths}" rowKeyVar="key"
+ captionClass="#{style.captionClass}" rowClasses="#{style.rowClasses}" headerClass="#{style.headerClass}" footerClass="#{style.footerClass}" styleClass="#{style.styleClass}" captionStyle="#{style.captionStyle}" columnClasses="#{style.columnClasses}"
+ onRowClick="#{event.onRowClick};" rendered="#{dataTable.rendered}"
+ align="#{dataTable.align}" bgcolor="red" border="#{dataTable.border}" columnsWidth="#{dataTable.columnsWidth}"
+ width="#{dataTable.width}" title="DataTableTite" onRowDblClick="#{event.onRowDblClick}" onRowMouseDown="#{event.onRowMouseDown}"
+ onRowMouseMove="#{event.onRowMouseMove}" onRowMouseOut="#{event.onRowMouseOut}" onRowMouseOver="#{event.onRowMouseOver}"
+ onRowMouseUp="#{event.onRowMouseUp}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" binding="#{dataTable.htmlDataTable}">
+ <f:facet name="caption">
+ <h:outputText value="caption facet" />
+ </f:facet>
+ <f:facet name="header">
+ <rich:columnGroup>
+ <rich:column rowspan="2" rendered="#{dataTable.r2rendered}">
+ <h:outputText value="2-row head" />
+ </rich:column>
+ <h:column rendered="#{dataTable.r2rendered}">
+ <h:outputText value="head in UIColumn" />
+ </h:column>
+ <rich:column breakBefore="true">
+ <h:outputText value="2-d row head" />
+ </rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="table foot" />
+ </f:facet>
+ <rich:columnGroup columnClasses="#{style.columnClassesA}" rowClasses="#{style.rowClassesA}" style="#{style.styleA}" styleClass="#{style.styleClassA}">
+ <rich:column id="mounth" >
+ <f:facet name="header">
+ <h:outputText value="mounth" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="-//-" />
+ </f:facet>
+ <h:outputText value="#{dataTableID.mounth}" />
+ </rich:column>
+ <rich:column rendered="#{dataTable.r2rendered}">
+ <f:facet name="header">
+ <h:outputText value="mounth" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="-//-" />
+ </f:facet>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <h:outputText value="#{dataTableID.town}" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:column styleClass="#{style.styleClassA}" headerClass="#{style.headerClassA}" footerClass="#{style.footerClassA}" style="#{style.styleA}" rendered="#{dataTable.r2rendered}">
+ <h:outputText value="#{dataTableID.day}" />
+ </rich:column>
+ <rich:subTable id="detail" var="detail" value="#{dataTableID.detail}"
+ columnClasses="#{style.columnClassesA}" footerClass="#{style.footerClassA}" headerClass="#{style.headerClassA}" rowClasses="#{style.rowClassesA}" onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onRowClick="#{event.onRowClick}"
+ onRowDblClick="#{event.onRowDblClick}" onRowMouseDown="#{event.onRowMouseDown}" onRowMouseMove="#{event.onRowMouseMove}"
+ onRowMouseOut="#{event.onRowMouseOut}" onRowMouseOver="#{event.onRowMouseOver}" onRowMouseUp="#{event.onRowMouseUp}">
+ <rich:column id="name">
+ <h:outputText value="#{detail.name}" />
+ </rich:column>
+ <rich:column id="qty" rendered="#{dataTable.r2rendered}">
+ <h:outputText value="#{detail.qty}" />
+ </rich:column>
+ </rich:subTable>
+ <rich:column id="total" footerClass="#{style.footerClassA}" headerClass="#{style.headerClassA}" style="#{style.styleA}" styleClass="#{style.styleClassA}" colspan="2">
+ <h:outputText value="#{dataTableID.total}" />
+ </rich:column>
+ </rich:dataTable>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTableDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTableProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTableProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTableProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,42 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="dataTablePropertySubviewID">
+ <h:commandButton action="#{dataTable.add}" value="add test" />
+ <h:panelGrid columns="2" style="top">
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneMenu value="#{dataTable.align}">
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right " itemValue="right" />
+ <a4j:support event="onclick" reRender="dataTableID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Border: "></h:outputText>
+ <h:inputText value="#{dataTable.border}">
+ <a4j:support event="onchange" reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Columns Width: "></h:outputText>
+ <h:inputText value="#{dataTable.columnsWidth}">
+ <a4j:support event="onchange" reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{dataTable.width}">
+ <a4j:support event="onchange" reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rendered:" />
+ <h:selectBooleanCheckbox value="#{dataTable.rendered}"
+ onclick="submit();" />
+
+ <h:outputText value=" row 2 rendered" />
+ <h:selectBooleanCheckbox value="#{dataTable.r2rendered}"
+ onclick="submit();" />
+
+ </h:panelGrid>
+ <br />
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTableStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTableStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable/DataTableStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="StraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{dataTable.bTest1}" value="run" reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1DataTable}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{dataTable.bTest2}" value="run" reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2DataTable}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{dataTable.bTest3}" value="run" reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3DataTable}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{dataTable.bTest4}" value="run" reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4DataTable}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{dataTable.bTest5}" value="run" reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5DataTable}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DataTable.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,105 @@
+<!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:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:a4j="http://richfaces.org/a4j">
+
+<ui:composition template="layout/template.xhtml">
+ <ui:define name="body">
+ <h:form>
+ <h:outputText value="#{sortingAndFiltering}" />
+ <rich:dataTable id="dataTableSAFID" value="#{sortingAndFiltering.data}" var="data12" binding="#{sortingAndFiltering.myDataTable}">
+ <rich:column sortBy="#{data12.int0}" selfSorted="true"
+ filterBy="#{data12.int0}">
+ <f:facet name="header">
+ <h:outputText value="#1" />
+ </f:facet>
+ <h:outputText value="#{data12.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#1" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data12.int1}" sortBy="#{data12.int1}" selfSorted="true"
+ filterEvent="ondblclick">
+ <f:facet name="header">
+ <h:outputText value="#2" />
+ </f:facet>
+ <h:outputText value="#{data12.int1}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#2" />
+ </f:facet>
+ </rich:column>
+ <rich:column sortBy="#{data12.str0}"
+ filterMethod="#{sortingAndFiltering.filterMethod}">
+ <f:facet name="header">
+ <h:outputText value="#3" />
+ </f:facet>
+ <h:outputText value="#{data12.str0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#3" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data12.int2}" selfSorted="true">
+ <f:facet name="header">
+ <h:outputText value="#4" />
+ </f:facet>
+ <h:outputText value="#{data12.int2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#4" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data12.str1}">
+ <f:facet name="header">
+ <h:outputText value="#5" />
+ </f:facet>
+ <h:outputText value="#{data12.str1}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#5" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterExpression="#{data12.int3 > sortingAndFiltering.filterValue}">
+ <f:facet name="header">
+ <h:outputText value="#6" />
+ </f:facet>
+ <s:link value="JBoss" action="#{sortingAndFiltering.navAction(data12)}"/>
+ <f:facet name="footer">
+ <h:outputText value="#6" />
+ </f:facet>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#7" />
+ </f:facet>
+ <h:graphicImage value="#{data12.str2}"></h:graphicImage>
+ <h:outputText value="#{data12.str2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#7" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data12.str3}">
+ <f:facet name="header">
+ <h:outputText value="#8" />
+ </f:facet>
+ <h:commandButton value="#{data12.str3}"></h:commandButton>
+ <f:facet name="footer">
+ <h:outputText value="#8" />
+ </f:facet>
+ </rich:column>
+ <rich:column sortBy="#{data12.bool0}">
+ <f:facet name="header">
+ <h:outputText value="#9" />
+ </f:facet>
+ <h:selectBooleanCheckbox value="#{data12.bool0}"></h:selectBooleanCheckbox>
+ <f:facet name="footer">
+ <h:outputText value="#9" />
+ </f:facet>
+ </rich:column>
+ </rich:dataTable>
+ </h:form>
+ </ui:define>
+</ui:composition>
+
+</html>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DragAndDrop/DragAndDrop.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DragAndDrop/DragAndDrop.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DragAndDrop/DragAndDrop.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,240 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="dataDefinitionListSubviewID">
+
+ <a4j:outputPanel ajaxRendered="true">
+ <h:messages />
+ </a4j:outputPanel>
+
+ <script>
+ DnD.CLIENT_VALIDATION_OFF = false;
+ </script>
+
+ <h:panelGroup id="dragValueText">
+ <h:outputText value="#{dndBean.dragValue}" />
+ </h:panelGroup>
+
+ <h:panelGrid columns="2">
+ <h:dataTable var="type" value="#{dndBean.types}">
+ <h:column>
+ <h:panelGrid styleClass="dropzoneDecoration" id="drag1">
+ <h:outputText value="#{type} - drag" />
+ <rich:dragSupport dragType="#{type}" dragValue="#{type} - value"
+ actionListener="#{dndBean.actListenerDrag}"
+ action="#{dndBean.dragAction}"
+ dragListener="#{dndBean.processDrag}"
+ oncomplete="#{event.oncomplete}" ondragend="#{event.ondragend}"
+ ondragstart="#{event.ondragstart}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}"
+ id="dragSupportID" binding="#{dndBean.htmlDrag}">
+ </rich:dragSupport>
+ </h:panelGrid>
+ </h:column>
+ </h:dataTable>
+
+ <h:dataTable var="type" value="#{dndBean.types}">
+ <h:column>
+ <h:panelGrid styleClass="dropzoneDecoration" id="drop2">
+ <h:outputText value="#{type} - drop" />
+ <rich:dropSupport reRender="dragValueText" id="dropSupportID"
+ rejectCursors="not-allowed"
+ acceptCursors="help"
+ actionListener="#{dndBean.actListenerDrop}"
+ action="#{dndBean.dropAction}" acceptedTypes="#{type}"
+ dropListener="#{dndBean.processDrop}" dropValue="#{type} - value"
+ ondragenter="#{event.ondragenter}"
+ ondragexit="#{event.ondragexit}" ondrop="#{event.ondrop}"
+ ondropend="#{event.ondropend}" oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}" binding="#{dndBean.htmlDrop}">
+ </rich:dropSupport>
+ </h:panelGrid>
+ </h:column>
+ </h:dataTable>
+
+ <h:panelGrid id="dndActionID" columns="1">
+ <h:commandButton action="#{dndBean.add1}" value="add Drag test" />
+ <h:commandButton action="#{dndBean.add2}" value="add Drop test" />
+ <a4j:commandButton value="Show action" reRender="dndActionID"
+ style=" width : 95px;"></a4j:commandButton>
+ <h:outputText value="#{dndBean.actionDrag}" />
+ <h:outputText value="#{dndBean.actionDrop}" />
+ <h:outputText value="#{dndBean.actionListenerDrag}" />
+ <h:outputText value="#{dndBean.actionListenerDrop}" />
+ </h:panelGrid>
+ </h:panelGrid>
+ <rich:dragIndicator id="indicator" acceptClass="accept"
+ rejectClass="reject" style="#{style.style}"
+ styleClass="#{style.styleClass}">
+ <f:facet name="single">
+ <f:verbatim>{marker} <b>{testDrag}</b> {label}</f:verbatim>
+ </f:facet>
+ <rich:dndParam name="accept" value="ACCEPT:" />
+ <rich:dndParam name="reject">
+ <f:verbatim>
+ <i style="text-decoration: line-through;">REJECT:</i>
+ </f:verbatim>
+ </rich:dndParam>
+ </rich:dragIndicator>
+
+ <rich:dragIndicator id="dIndicator" acceptClass="defaultIndicator"
+ rejectClass="reject">
+ <f:facet name="single">
+ <f:verbatim>{marker} <b>{testDrag}</b> {label}</f:verbatim>
+ </f:facet>
+ <rich:dndParam name="accept" value="ACCEPT:" />
+ <rich:dndParam name="reject">
+ <f:verbatim>
+ <i style="text-decoration: line-through;">REJECT:</i>
+ </f:verbatim>
+ </rich:dndParam>
+ </rich:dragIndicator>
+
+ <h:panelGrid columns="1" style="position: relative; left: 140px;">
+ <h:panelGrid columns="1"
+ style="position: absolute; top: 30px; left: 300px;">
+ <rich:dragIndicator id="defaultIndicator">
+ </rich:dragIndicator>
+ </h:panelGrid>
+ </h:panelGrid>
+
+ <h:panelGrid columns="4" cellspacing="20">
+ <h:panelGrid styleClass="dropzoneDecoration" id="grid1">
+ <f:verbatim>Accepts file and folder... Customizes</f:verbatim>
+ <rich:dropSupport id="zone1" oncomplete="#{event.oncomplete}"
+ ondragenter="#{event.ondragenter}"
+ ondragexit="#{event.ondragexit}" ondropend="#{event.ondropend}"
+ ondrop="#{event.ondrop}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ acceptedTypes="file, folder" typeMapping="{file: testDrop}">
+ <rich:dndParam name="testDrop">
+ <h:graphicImage height="16" width="16"
+ value="#{icon.iconFileManager}" />
+ </rich:dndParam>
+ </rich:dropSupport>
+ </h:panelGrid>
+
+ <h:panelGrid styleClass="dropzoneDecoration" id="grid2">
+ <f:verbatim>Accepts none</f:verbatim>
+ <rich:dropSupport>
+ </rich:dropSupport>
+ </h:panelGrid>
+
+ <h:panelGrid styleClass="dropzoneDecoration" id="grid3">
+ <f:verbatim>Accepts none... Customizes</f:verbatim>
+ <rich:dropSupport typeMapping="{file: testDrop}"
+ oncomplete="#{event.oncomplete}"
+ ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}"
+ ondropend="#{event.ondropend}" ondrop="#{event.ondrop}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="testDrop">
+ <h:graphicImage height="16" width="16"
+ value="#{icon.iconFileManagerReject}" />
+ </rich:dndParam>
+ </rich:dropSupport>
+ </h:panelGrid>
+
+ <h:panelGrid styleClass="dropzoneDecoration" id="grid4">
+ <f:verbatim>Accepts file and folder</f:verbatim>
+ <rich:dropSupport acceptedTypes="file, folder"
+ oncomplete="#{event.oncomplete}"
+ ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}"
+ ondropend="#{event.ondropend}" ondrop="#{event.ondrop}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="testDrop" value="testDropValue" />
+ </rich:dropSupport>
+ </h:panelGrid>
+
+ <h:panelGrid id="grid5">
+ <rich:dragSupport dragType="file" ondragend="#{event.ondragend}"
+ ondragstart="#{event.ondragstart}" ondropout="#{event.ondropout}"
+ ondropover="#{event.ondropover}" oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="label" value="Label" />
+ <rich:dndParam name="testDrag" value="testDragValue" />
+ </rich:dragSupport>
+ <f:verbatim>File Draggable - no indicator</f:verbatim>
+ </h:panelGrid>
+
+ <h:panelGrid id="grid6">
+ <rich:dragSupport dragType="file" dragIndicator="indicator"
+ ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}"
+ oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="label" value="Label" />
+ <rich:dndParam name="testDrag" value="testDragValue" />
+ </rich:dragSupport>
+ <f:verbatim>File Draggable with indicator</f:verbatim>
+ </h:panelGrid>
+
+ <h:panelGrid id="grid7">
+ <rich:dragSupport dragType="folder" dragIndicator="indicator"
+ ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}"
+ oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="label" value="Label" />
+ <rich:dndParam name="testDrag" value="testDragValue for Folder" />
+ </rich:dragSupport>
+ <f:verbatim>Folder Draggable with indicator</f:verbatim>
+ </h:panelGrid>
+
+ <h:outputText />
+
+ <h:panelGrid id="grid8">
+ <rich:dragSupport dragType="folder" ondragend="#{event.ondragend}"
+ ondragstart="#{event.ondragstart}" ondropout="#{event.ondropout}"
+ ondropover="#{event.ondropover}" oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="label" value="Label" />
+ <rich:dndParam name="testDrag" value="testDragValue for Folder" />
+ </rich:dragSupport>
+ <f:verbatim>Folder Draggable - no indicator</f:verbatim>
+ </h:panelGrid>
+
+ <h:panelGrid id="grid9">
+ <rich:dragSupport dragType="file" dragIndicator="defaultIndicator"
+ ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}">
+ <rich:dndParam name="testDrag" value="testDragValue" />
+ <rich:dndParam name="marker" value="testMarkerValue" />
+ <rich:dndParam name="label" value="testDragValue" />
+ </rich:dragSupport>
+ <f:verbatim>File Draggable with defaultIndicator</f:verbatim>
+ </h:panelGrid>
+
+ <h:panelGrid id="grid10">
+ <rich:dragSupport dragType="folder" dragIndicator="defaultIndicator"
+ ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}"
+ oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="label" value="testDragValue for Folder" />
+ </rich:dragSupport>
+ <f:verbatim>Folder Draggable with defaultIndicator</f:verbatim>
+ </h:panelGrid>
+ <h:outputText />
+ </h:panelGrid>
+
+ <h:panelGrid id="renderedId">
+ <rich:dragSupport dragType="file" dragIndicator="defaultIndicator"
+ ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}"
+ oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="marker" value="testMarkerValue" />
+ <rich:dndParam name="label" value="testDragValue" />
+ </rich:dragSupport>
+
+ <h:graphicImage id="dragImage" value="/pics/masshtaby_01.jpg"
+ width="200px" height="200px" />
+ <f:verbatim>dragSupport</f:verbatim>
+ </h:panelGrid>
+ <br />
+ <br />
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenu.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenu.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenu.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,71 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="DropDownMenuSubviewID">
+ <h:panelGrid columns="2">
+ <rich:spacer width="400px" height="400px"></rich:spacer>
+ <rich:panel>
+ <rich:dropDownMenu id="ddmId" disabled="#{dDMenu.disabledDDM}" value="DropDownMenu" submitMode="#{dDMenu.mode}" hideDelay="#{dDMenu.hideDelay}"
+ direction="#{dDMenu.direction}" horizontalOffset="#{dDMenu.horizontalOffset}" jointPoint="#{dDMenu.jointPoint}"
+ popupWidth="#{dDMenu.popupWidth}" showDelay="#{dDMenu.showDelay}" rendered="#{dDMenu.rendered}"
+ verticalOffset="#{dDMenu.verticalOffset}" styleClass="#{style.styleClass}" style="#{style.style}" event="#{dDMenu.event}"
+ oncollapse="#{event.oncollapse}" onexpand="#{event.onexpand}" ongroupactivate="#{event.ongroupactivate}" onitemselect="#{event.onitemselect}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" binding="#{dDMenu.htmlDDMenu}">
+
+ <rich:menuItem icon="#{dDMenu.icon}" onbeforedomupdate="#{event.onbeforedomupdate}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}">
+ <h:outputText value="Item1(test events)" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="#{dDMenu.icon}" onmousedown="alert('OnMouseDown')" selectClass="mousemove">
+ <h:outputText value="OnMouseDown" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem>
+ <h:outputText value="Item2" />
+ </rich:menuItem>
+ <rich:menuItem icon="#{dDMenu.icon}">
+ <h:outputText value="Item3" />
+ </rich:menuItem>
+ <rich:menuItem>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:menuItem>
+ <rich:menuSeparator/>
+ <rich:menuItem icon="/pics/info.gif" value="action" action="#{dDMenu.act}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{dDMenu.actListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/ajax_process.gif" iconDisabled="/pics/ajax_stoped.gif" disabled="#{dDMenu.disabled}">
+ <h:outputText value="Image"></h:outputText>
+ </rich:menuItem>
+ <rich:menuItem disabled="#{dDMenu.disabled}" icon="#{dDMenu.icon}">
+ <h:outputText value="Image:" />
+ <h:graphicImage value="/pics/ajax_process.gif" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuGroup value="Second level" direction="#{dDMenu.groupDirection}" disabled="#{dDMenu.disabled}" icon="#{dDMenu.icon}"
+ iconFolder="#{dDMenu.iconFolder}">
+ <rich:menuItem icon="#{dDMenu.icon}">
+ <h:outputText value="Item3" />
+ </rich:menuItem>
+ <rich:menuItem value="Item4">
+ <h:selectOneMenu value="#{dDMenu.selectMenu}">
+ <f:selectItem itemLabel="Honda Accord" itemValue="accord" />
+ <f:selectItem itemLabel="Toyota 4Runner" itemValue="4runner" />
+ <f:selectItem itemLabel="Nissan Z350" itemValue="nissan-z" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="#{dDMenu.icon}">
+ <h:outputText value="CheckBox " />
+ <h:selectBooleanCheckbox value="#{dDMenu.check}" onclick="submit()" />
+ </rich:menuItem>
+ </rich:menuGroup>
+ </rich:dropDownMenu>
+ </rich:panel>
+ </h:panelGrid>
+ <h:panelGrid id="dndActionID" columns="1">
+ <a4j:commandButton value="Show action" reRender="dndActionID" style=" width : 95px;"></a4j:commandButton>
+ <h:outputText value="#{dDMenu.action}" />
+ <h:outputText value="#{dDMenu.actionListener}" />
+ </h:panelGrid>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenuDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenuProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenuProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenuProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,129 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="dropDownMenuPropertySubviewID">
+ <style>
+.pic {
+ margin-bottom: -4px;
+ margin-right: 2px;
+}
+</style>
+
+ <rich:toolBar itemSeparator="line">
+ <rich:toolBarGroup itemSeparator="none">
+ <rich:dropDownMenu>
+ <f:facet name="label">
+ <h:panelGroup>
+ <h:graphicImage value="/pics/info.gif" styleClass="pic" />
+ <h:outputText value="File" />
+ </h:panelGroup>
+ </f:facet>
+ <rich:menuItem submitMode="ajax" value="Laptop" ajaxSingle="true"></rich:menuItem>
+ <rich:menuItem submitMode="ajax" value="Desktop" ajaxSingle="true"></rich:menuItem>
+ <rich:menuItem submitMode="ajax" value="Servers" ajaxSingle="true"></rich:menuItem>
+ </rich:dropDownMenu>
+ </rich:toolBarGroup>
+ </rich:toolBar>
+
+ <h:commandButton action="#{dDMenu.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="HideDelay (ms):" />
+ <h:inputText value="#{dDMenu.hideDelay}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="ShowDelay (ms):" />
+ <h:inputText value="#{dDMenu.showDelay}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="PopupWidth (px):" />
+ <h:inputText value="#{dDMenu.popupWidth}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="horizontalOffset (px):" />
+ <h:inputText value="#{dDMenu.horizontalOffset}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="verticalOffset (px):" />
+ <h:inputText value="#{dDMenu.verticalOffset}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="Mode:" />
+ <h:selectOneRadio value="#{dDMenu.mode}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Direction:" />
+ <h:selectOneRadio value="#{dDMenu.direction}">
+ <f:selectItem itemLabel="top-right" itemValue="top-right" />
+ <f:selectItem itemLabel="top-left" itemValue="top-left" />
+ <f:selectItem itemLabel="bottom-right" itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left" />
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="GroupDirection:" />
+ <h:selectOneRadio value="#{dDMenu.groupDirection}">
+ <f:selectItem itemLabel="top-up" itemValue="top-up" />
+ <f:selectItem itemLabel="top-down" itemValue="top-down" />
+ <f:selectItem itemLabel="bottom-up" itemValue="bottom-up" />
+ <f:selectItem itemLabel="bottom-down" itemValue="bottom-down" />
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="JointPoint:" />
+ <h:selectOneRadio value="#{dDMenu.jointPoint}">
+ <f:selectItem itemLabel="top-right" itemValue="tr" />
+ <f:selectItem itemLabel="top-left" itemValue="tl" />
+ <f:selectItem itemLabel="bottom-right" itemValue="br" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bl" />
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Menu appearance event:" />
+ <h:selectOneRadio value="#{dDMenu.event}" onclick="submit()">
+ <f:selectItem itemLabel="onclick" itemValue="onclick" />
+ <f:selectItem itemLabel="onmouseover" itemValue="onmouseover" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dDMenu.rendered}" onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disable some ddmenu:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{dDMenu.disabledDDM}">
+ <a4j:support reRender="ddmId" event="onclick" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disable some items:" />
+ <h:selectBooleanCheckbox value="#{dDMenu.disabled}">
+ <a4j:support reRender="ddmId" event="onclick" />
+ </h:selectBooleanCheckbox>
+ <h:commandButton action="#{dDMenu.changeIcons}" value="ChangeIcons" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSubmitMode" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('ddmId').submitMode}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenuStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenuStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/DropDownMenu/DropDownMenuStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="dropDownMenuStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{dDMenu.bTest1}" value="run" reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1DDMenu}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{dDMenu.bTest2}" value="run" reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2DDMenu}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{dDMenu.bTest3}" value="run" reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3DDMenu}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{dDMenu.bTest4}" value="run" reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4DDMenu}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{dDMenu.bTest5}" value="run" reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5DDMenu}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Effect/Effect.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Effect/Effect.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Effect/Effect.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,315 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="effectSubviewID">
+
+ <rich:panel id="indexID">
+ <a4j:commandLink value="Hide all"
+ onclick="hideFrm1(),hideFrm2(),hideFrm3(),hideFrm4(),hideFrm5()"></a4j:commandLink>
+
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
+ <h:outputText value="Menu:" />
+ <h:panelGrid columns="2">
+ <h:outputText value="1." />
+ <f:verbatim>
+ <span onclick="showFrm1(),hideIndexID()"><font color="blue">JSF
+ Components</font></span>
+ </f:verbatim>
+
+ <h:outputText value="2." />
+ <f:verbatim>
+ <span onclick="showFrm2(),hideIndexID()"><font color="blue">JSF
+ Component with Event and non-jsf target</font></span>
+ </f:verbatim>
+
+ <h:outputText value="3." />
+ <f:verbatim>
+ <span onclick="showFrm3(),hideIndexID()"><font color="blue">JSF
+ Component with Event and jsf target</font></span>
+ </f:verbatim>
+
+ <h:outputText value="4." />
+ <f:verbatim>
+ <span onclick="showFrm4(),hideIndexID()"><font color="blue">JSF
+ Component with Event.</font></span>
+ </f:verbatim>
+
+ <h:outputText value="5." />
+ <f:verbatim>
+ <span onclick="showFrm5(),hideIndexID()"><font color="blue">RichFace
+ Components.</font></span>
+ </f:verbatim>
+ </h:panelGrid>
+ </rich:panel>
+
+ <rich:panel id="frm1">
+ <h:outputText value="JSF Components:" />
+
+ <h:panelGrid id="panGrID" columns="2">
+ <h:outputText value="Time:" />
+ <h:inputText value="#{effect.time}" />
+
+ <f:verbatim>
+ <span onclick="hidePanel1(), hideImage1()"><font color="blue">Hide
+ Panel</font> </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/fatal.gif"
+ onclick="hidePanel1(), hideImage1()" />
+
+ <f:verbatim>
+ <span onclick="showPanel1(), showImage1()"><font color="blue">Show</font>
+ </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/warn.gif"
+ onclick="showPanel1(), showImage1()" />
+
+
+ <h:outputText value="Event (onclick):" />
+
+ <f:verbatim></f:verbatim>
+
+ <h:outputText value="No" />
+ <h:outputText value="Yes" />
+
+ <h:panelGroup id="form_1a_ID">
+ <h:panelGrid id="panel_1_ID" border="1"
+ style="background-color:#696969">
+ <f:facet name="header">
+ <h:outputText value="Panel Header" />
+ </f:facet>
+
+ <h:outputText value="Panel Content" />
+ </h:panelGrid>
+ </h:panelGroup>
+
+ <h:graphicImage id="asusID" value="/pics/asus.jpg" height="100px"
+ width="125px" onclick="hideImage1()" />
+
+ <h:panelGroup id="form_1b_ID">
+ <h:inputText value="onmouse and onclick">
+ <rich:effect event="onclick" type="Fold" id="effectID"
+ params="duration:0.5,from:0.4,to:1.0" binding="#{effect.htmlEffect}"/>
+ <rich:effect event="onmouseout" type="Highlight"
+ params="duration:0.5,from:1.0,to:0.4" />
+ </h:inputText>
+ </h:panelGroup>
+ </h:panelGrid>
+
+ <rich:effect for="panel_1_ID" name="hidePanel1" type="Fade"
+ params="duration:#{effect.time}" />
+ <rich:effect for="panel_1_ID" name="showPanel1" type="Appear" />
+
+ <rich:effect for="asusID" name="hideImage1" type="Fold"
+ params="duration:#{effect.time}" />
+ <rich:effect for="asusID" name="showImage1" type="Grow" />
+
+ <f:verbatim>
+ <br />
+ <span onclick="hideFrm1(),showIndexID()"><font color="blue">Close</font></span>
+ </f:verbatim>
+ </rich:panel>
+
+ <rich:panel id="frm2">
+ <h:outputText
+ value="JSF Component with Event and non-jsf target (onclick, onmouseout)" />
+
+ <h:panelGrid columns="2">
+ <h:graphicImage id="imageID" value="/pics/podb109_61.jpg" width="100"
+ height="50">
+ <rich:effect event="onclick" targetId="divID" type="Opacity"
+ params="duration:0.5,from:0.4,to:1.0" />
+ <rich:effect event="onmouseout" type="Opacity"
+ params="targetId:'divID',duration:0.5,from:1.0,to:0.4" />
+ </h:graphicImage>
+
+ <f:verbatim>
+ <div id="divID"
+ style="width: 100px; height: 50px; background-color: red"><rich:effect
+ event="onclick" targetId="imageID" type="Opacity"
+ params="duration:0.5,from:0.4,to:1.0" /> <rich:effect
+ event="onmouseout" type="Opacity"
+ params="targetId:'imageID',duration:0.5,from:1.0,to:0.4" /></div>
+ </f:verbatim>
+ </h:panelGrid>
+
+ <f:verbatim>
+ <br />
+ <span onclick="hideFrm2(),showIndexID()"><font color="blue">Close</font></span>
+ </f:verbatim>
+ </rich:panel>
+
+ <rich:panel id="frm3">
+ <h:outputText
+ value="JSF Component with Event and jsf target (onclick, onmouseout)" />
+
+ <h:panelGrid id="gridID" border="1" style="background-color:green">
+ <h:outputText value="Panel Content" />
+ <rich:effect event="onclick" targetId="imgID" type="Opacity"
+ params="duration:0.5,from:0.4,to:1.0" />
+ <rich:effect event="onmouseout" targetId="imgID" type="Opacity"
+ params="duration:0.5,from:1.0,to:0.4" />
+ </h:panelGrid>
+
+ <h:graphicImage id="imgID" value="/pics/podb109_61.jpg" width="93"
+ height="30px">
+ <rich:effect event="onmouseout" targetId="gridID" type="Opacity"
+ params="duration:0.5,from:0.4,to:1.0" />
+ <rich:effect event="onclick" targetId="gridID" type="Opacity"
+ params="duration:0.5,from:1.0,to:0.4" />
+ </h:graphicImage>
+
+ <f:verbatim>
+ <br />
+ <span onclick="hideFrm3(),showIndexID()"><font color="blue">Close</font></span>
+ </f:verbatim>
+ </rich:panel>
+
+ <rich:panel id="frm4">
+ <h:outputText value="1. (Event 2)" />
+ <h:graphicImage id="img_1_ID" value="/pics/asus.jpg" width="200px"
+ height="150px" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText value="2. (Hide 1)" />
+ <h:graphicImage id="img_2_ID" value="/pics/benq.jpg" width="200px"
+ height="150px" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText value="3. (Pulsate 3, Show 1)" />
+ <h:graphicImage id="img_3_ID" value="/pics/toshiba.jpg" width="200px"
+ height="150px">
+ <rich:effect event="onclick" type="Pulsate" />
+ </h:graphicImage>
+
+ <rich:effect event="onclick" for="img_1_ID" targetId="img_2_ID"
+ type="BlindDown" />
+ <rich:effect event="onclick" for="img_2_ID" targetId="img_1_ID"
+ type="Puff" />
+ <rich:effect event="onclick" for="img_3_ID" targetId="img_1_ID"
+ type="Grow" params="duration:0.8" />
+
+ <f:verbatim>
+ <br />
+ <span onclick="hideFrm4(),showIndexID()"><font color="blue">Close</font></span>
+ </f:verbatim>
+ </rich:panel>
+
+ <rich:panel id="frm5">
+ <h:panelGrid id="panelGrdID" columns="2">
+ <f:verbatim>
+ <span onclick="hideRichPanel()"><font color="blue">Hide
+ Panel</font> </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/fatal.gif" onclick="hideRichPanel()" />
+
+ <f:verbatim>
+ <span onclick="showRichPanel()"><font color="blue">Show
+ Panel</font> </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/warn.gif" onclick="showRichPanel()" />
+
+ <f:verbatim>
+ <span onclick="hideRichTabPanel()"><font color="blue">Hide
+ Tab Panel</font> </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/fatal.gif" onclick="hideRichTabPanel()" />
+
+ <f:verbatim>
+ <span onclick="showRichTabPanel()"><font color="blue">Show
+ Tab Panel</font> </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/warn.gif" onclick="showRichTabPanel()" />
+ </h:panelGrid>
+
+ <rich:panel id="richPanelID">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel" />
+ </f:facet>
+ <f:verbatim>
+ This is a panel. This is a panel. This is a panel. This is a panel. <br />
+ This is a panel. This is a panel. This is a panel. This is a panel.
+ </f:verbatim>
+ <rich:effect event="onclick" type="Opacity"
+ params="duration:0.6,from:0.3,to:1.0" />
+ <rich:effect event="onmouseout" type="Opacity"
+ params="duration:0.6,from:1.0,to:0.3" />
+ </rich:panel>
+
+ <rich:tabPanel id="tabPanelID"
+ headerAlignment="Header of the tabPanel" height="200px"
+ switchType="ajax" rendered="true" title="Title">
+
+ <rich:tab id="tab1" label="label 1">
+ <h:outputText value="This is tab panel 1" styleClass="text1"></h:outputText>
+ </rich:tab>
+
+ <rich:tab id="tab2" label="label 2">
+ <h:outputText value="This is tab panel 2" styleClass="text1"></h:outputText>
+ </rich:tab>
+
+ <rich:tab id="tab3" label="label 3">
+ <h:outputText value="This is tab panel 3" styleClass="text1"></h:outputText>
+ </rich:tab>
+
+ <rich:effect event="onclick" type="Opacity"
+ params="duration:0.4,from:1.0,to:0.4" />
+ <rich:effect event="onmouseout" type="Opacity"
+ params="duration:0.4,from:0.4,to:1.0" />
+ </rich:tabPanel>
+
+ <rich:effect for="richPanelID" event="" name="hideRichPanel"
+ type="Fade" />
+ <rich:effect for="richPanelID" event="" name="showRichPanel"
+ type="Appear" />
+
+ <rich:effect for="tabPanelID" event="" name="hideRichTabPanel"
+ type="Fade" />
+ <rich:effect for="tabPanelID" event="" name="showRichTabPanel"
+ type="Appear" />
+
+ <f:verbatim>
+ <br />
+ <span onclick="hideFrm5(),showIndexID()"><font color="blue">Close</font></span>
+ </f:verbatim>
+ </rich:panel>
+
+
+ <rich:effect for="indexID" name="hideIndexID" type="SlideUp" />
+ <rich:effect for="indexID" name="showIndexID" type="SlideDown" />
+
+ <rich:effect for="frm1" name="hideFrm1" type="Fade" />
+ <rich:effect for="frm1" name="showFrm1" type="Appear" />
+
+ <rich:effect for="frm2" name="hideFrm2" type="Fade" />
+ <rich:effect for="frm2" name="showFrm2" type="Appear" />
+
+ <rich:effect for="frm3" name="hideFrm3" type="Fade" />
+ <rich:effect for="frm3" name="showFrm3" type="Appear" />
+
+ <rich:effect for="frm4" name="hideFrm4" type="Fade" />
+ <rich:effect for="frm4" name="showFrm4" type="Appear" />
+
+ <rich:effect for="frm5" name="hideFrm5" type="Fade" />
+ <rich:effect for="frm5" name="showFrm5" type="Appear" />
+
+ <br />
+ <h:commandButton action="#{effect.add}" value="add test" />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getParams" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('effectID').params}" />
+ </rich:column>
+ </h:panelGrid>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTable.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTable.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTable.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,107 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="extendedDataTableSubviewID">
+
+ <style type="text/css">
+.leftColumn {
+ width: 50%;
+ height: 100%;
+}
+
+.rightColumn {
+ width: 50%;
+ height: 100%;
+}
+
+.table {
+ cell-padding: 10;
+ cell-spacing: 10;
+}
+
+.mainPanel {
+ width: 100%;
+ height: 100%;
+}
+
+.leftPanel {
+ width: 100%;
+ height: 100%;
+}
+
+.rightPanel {
+ width: 100%;
+ height: 100%;
+}
+</style>
+
+ <rich:extendedDataTable id="demoTable"
+ value="#{extendedDataTableBean.dataModel}" var="patient"
+ style="margin: 0 auto;"
+ rows="#{extendedDataTableControlBean.rowsNumber}"
+ width="#{extendedDataTableControlBean.width}"
+ height="#{extendedDataTableControlBean.height}"
+ selectedClass="dataTableSelectedRow" footerClass="demo-footer"
+ sortMode="#{extendedDataTableControlBean.sortMode}"
+ selectionMode="#{extendedDataTableControlBean.selectionMode}"
+ selection="#{extendedDataTableBean.selection}" rowKeyVar="rkvar"
+ tableState="#{extendedDataTableBean.tableState}"
+ binding="#{extendedDataTableControlBean.extDTable}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ onRowClick="#{event.onRowClick}"
+ onRowDblClick="#{event.onRowDblClick}"
+ onRowMouseDown="#{event.onRowMouseDown}"
+ onRowMouseMove="#{event.onRowMouseMove}"
+ onRowMouseOut="#{event.onRowMouseOut}"
+ onRowMouseOver="#{event.onRowMouseOver}"
+ onRowMouseUp="#{event.onRowMouseUp}"
+ onselectionchange="#{event.onselectionchange}"
+ border="#{extendedDataTableControlBean.border}"
+ cellpadding="#{extendedDataTableControlBean.cellpadding}"
+ cellspacing="#{extendedDataTableControlBean.cellspacing}"
+ dir="#{extendedDataTableControlBean.dir}"
+ first="#{extendedDataTableControlBean.first}"
+ frame="#{extendedDataTableControlBean.frame}"
+ groupingColumn="#{extendedDataTableControlBean.groupingColumn}"
+ rendered="#{extendedDataTableControlBean.rendered}"
+ sortPriority="#{extendedDataTableControlBean.sortPriority}">
+ <rich:column id="firstName" headerClass="dataTableHeader" width="25%"
+ label="First name" sortable="true" sortBy="#{patient.firstName}"
+ filterBy="#{patient.firstName}" filterEvent="onkeyup">
+ <f:facet name="header">
+ <h:outputText value="First name" />
+ </f:facet>
+ <h:outputText id="text" value="#{patient.firstName}">
+ <rich:toolTip value="sasasasasasa" />
+ </h:outputText>
+ </rich:column>
+ <rich:column id="lastName" headerClass="dataTableHeader" width="25%"
+ label="Last name" sortable="true" sortBy="#{patient.lastName}"
+ filterBy="#{patient.lastName}" filterEvent="onkeyup">
+ <f:facet name="header">
+ <h:outputText value="Last name" />
+ </f:facet>
+ <h:outputText value="#{patient.lastName}" />
+ </rich:column>
+ <rich:column id="admissionDate" headerClass="dataTableHeader"
+ width="50%" label="Admission name" sortable="true"
+ sortBy="#{patient.admissionDate}">
+ <f:facet name="header">
+ <h:outputText value="Admission name" />
+ </f:facet>
+ <h:outputText value="#{patient.admissionDate}" />
+ </rich:column>
+ <a4j:support event="onselectionchange"
+ action="#{extendedDataTableBean.takeSelection}"
+ reRender="selectedPatients">
+ </a4j:support>
+ </rich:extendedDataTable>
+ <rich:datascroller style="width: #{extendedDataTableControlBean.width}"
+ rendered="#{extendedDataTableControlBean.paginated}" for="demoTable">
+ </rich:datascroller>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTableDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTableProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTableProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTableProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,141 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="extendedDataTablePropertySubviewID">
+
+ <h:panelGrid columns="2">
+ <h:outputLabel value="Width" for="tableWidthInput" />
+ <h:inputText id="tableWidthInput"
+ value="#{extendedDataTableControlBean.width}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputLabel value="Height" for="tableHeightInput" />
+ <h:inputText id="tableHeightInput"
+ value="#{extendedDataTableControlBean.height}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputLabel value="Number of patients"
+ for="tablePatientsNumberInput" />
+ <h:inputText id="tablePatientsNumberInput"
+ value="#{extendedDataTableBean.patientsNumber}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputLabel value="Sort mode" for="tableSortModeSelect" />
+ <h:selectOneMenu id="tableSortModeSelect"
+ value="#{extendedDataTableControlBean.sortMode}">
+ <f:selectItems
+ value="#{extendedDataTableControlBean.sortModeSelectItems}" />
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputLabel value="Selection mode" for="tableSelectionModeSelect" />
+ <h:selectOneMenu id="tableSelectionModeSelect"
+ value="#{extendedDataTableControlBean.selectionMode}">
+ <f:selectItems
+ value="#{extendedDataTableControlBean.selectionModeSelectItems}" />
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="paginated" />
+ <h:selectBooleanCheckbox id="paginatedCheckbox"
+ value="#{extendedDataTableControlBean.paginated}" onclick="submit()" />
+
+ <h:outputLabel value="Number of rows" for="tableRowsNumberInput" />
+ <h:inputText id="tableRowsNumberInput"
+ value="#{extendedDataTableControlBean.rowsNumber}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:commandButton value="binding"
+ actionListener="#{extendedDataTableControlBean.checkBinding}" />
+ <h:outputText value="#{extendedDataTableControlBean.bindLabel}"
+ id="bindLabel" />
+
+ <h:outputText value="border" />
+ <h:inputText value="#{extendedDataTableControlBean.border}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="cellpadding" />
+ <h:inputText value="#{extendedDataTableControlBean.cellpadding}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="cellspacing" />
+ <h:inputText value="#{extendedDataTableControlBean.cellspacing}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="dir" />
+ <h:selectOneRadio value="#{extendedDataTableControlBean.dir}">
+ <f:selectItem itemLabel="RTL" itemValue="RTL" />
+ <f:selectItem itemLabel="LTR" itemValue="LTR" />
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="first" />
+ <h:inputText value="#{extendedDataTableControlBean.first}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="frame" />
+ <h:panelGroup>
+ <h:inputText value="#{extendedDataTableControlBean.frame}"
+ id="inputFrame">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+ <h:outputLabel value="void, above, below, hsides, lhs, rhs, vsides, box and border" for="inputFrame" />
+ </h:panelGroup>
+
+ <h:outputText value="groupingColumn" />
+ <h:inputText value="#{extendedDataTableControlBean.groupingColumn}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox
+ value="#{extendedDataTableControlBean.rendered}" onclick="submit()" />
+
+ <h:outputText value="sortPriority" />
+ <h:inputText value="#{extendedDataTableControlBean.sortPriority}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ </h:panelGrid>
+ <br />
+ <h:commandButton value="add test"
+ action="#{extendedDataTableControlBean.addExtDTable}"></h:commandButton>
+ <a4j:commandButton value="Update values" reRender="mainPanel">
+ </a4j:commandButton>
+ <br />
+
+ <rich:spacer height="5px" width="100%">
+ </rich:spacer>
+ <rich:dataTable id="selectedPatients"
+ value="#{extendedDataTableBean.selectedItems}" var="selectedPatient">
+ <f:facet name="header">
+ <h:outputText value="Selected patient" />
+ </f:facet>
+ <rich:column id="selectedFirstName" headerClass="dataTableHeader"
+ label="First name">
+ <f:facet name="header">
+ <h:outputText value="First name" />
+ </f:facet>
+ <h:outputText value="#{selectedPatient.firstName}" />
+ </rich:column>
+ <rich:column id="selectedLastName" headerClass="dataTableHeader"
+ label="Last name">
+ <f:facet name="header">
+ <h:outputText value="Last name" />
+ </f:facet>
+ <h:outputText value="#{selectedPatient.lastName}" />
+ </rich:column>
+ </rich:dataTable>
+ <rich:messages>
+ </rich:messages>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTableStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTableStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ExtendedDataTable/ExtendedDataTableStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,8 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="extendedDataTablePropertySubviewID">
+<!-- Insert your custom tests here -->
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/FileUpload/FileUpload.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/FileUpload/FileUpload.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/FileUpload/FileUpload.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,68 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="FileUploadSubviewID">
+ <rich:fileUpload allowFlash="#{fileUpload.allowFlash}" id="fileUploadID" disabled="#{fileUpload.disabled}"
+ autoclear="#{fileUpload.autoclear}" required="#{fileUpload.required}"
+ requiredMessage="#{fileUpload.requiredMessage}"
+ rendered="#{fileUpload.rendered}"
+ listHeight="#{fileUpload.listHeight}"
+ listWidth="#{fileUpload.listHeight}" uploadData="#{fileUpload.data}"
+ maxFilesQuantity="#{fileUpload.maxFilesQuantity}"
+ fileUploadListener="#{fileUpload.fileUploadListener}">
+ <f:facet name="label">
+ <h:outputText value="{_KB}KB from {KB}KB uploaded :[ {mm}:{ss} ]"></h:outputText>
+ </f:facet>
+ </rich:fileUpload>
+ <h:commandButton action="#{fileUpload.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="acceptedTypes"></h:outputText>
+ <h:inputText value="#{fileUpload.acceptedTypes}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listHeight"></h:outputText>
+ <h:inputText value="#{fileUpload.listHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listWidth"></h:outputText>
+ <h:inputText value="#{fileUpload.listWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="maxFilesQuantity"></h:outputText>
+ <h:inputText value="#{fileUpload.maxFilesQuantity}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="autoclear"></h:outputText>
+ <h:selectBooleanCheckbox value="#{fileUpload.autoclear}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="disabled"></h:outputText>
+ <h:selectBooleanCheckbox value="#{fileUpload.disabled}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{fileUpload.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="required"></h:outputText>
+ <h:selectBooleanCheckbox value="#{fileUpload.required}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="allowFlash" />
+ <h:selectOneRadio value="#{fileUpload.allowFlash}">
+ <f:selectItem itemValue="true" itemLabel="true" />
+ <f:selectItem itemValue="false" itemLabel="false" />
+ <f:selectItem itemValue="auto" itemLabel="auto" />
+ <a4j:support event="onchange" reRender="fileUploadID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="requiredMessage"></h:outputText>
+ <h:inputText value="#{fileUpload.requiredMessage}"
+ onchange="submit();"></h:inputText>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="File name:"></h:outputText>
+ <h:outputText value="#{fileUpload.upload.file.name}"></h:outputText>
+ </h:panelGrid>
+
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Gmap/Gmap.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Gmap/Gmap.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Gmap/Gmap.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,70 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="GmapSubviewID">
+ <rich:gmap id="gMapID" enableInfoWindow="#{gmap.enableInfoWindow}" mapType="#{gmap.mapType}" lng="#{gmap.lng}" lat="#{gmap.lat}"
+ warningMessage="#{gmap.warningMessage}" rendered="#{gmap.rendered}" zoom="#{gmap.zoom}"
+ enableContinuousZoom="#{gmap.continuousZoom}" enableDoubleClickZoom="#{gmap.doubleClickZoom}" enableDragging="#{gmap.dragging}"
+ gmapVar="map" oninit="#{event.oninit}" showGLargeMapControl="#{gmap.showGLargeMapControl}" showGMapTypeControl="#{gmap.showGMapTypeControl}"
+ showGScaleControl="#{gmap.showGScaleControl}" locale="#{gmap.locale}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ style="#{style.style}" styleClass="#{style.styleClass}" binding="#{gmap.htmlGMap}" gmapKey="ABQIAAAA0U0BoP4B9ZWzZ0Uncpxc9BSkiBOrQ7kN79cmmrq2_ldwWa2-oxT-qOZFpk4tRWODJPlZHWqQTROI4Q"/>
+
+ <h:panelGroup>
+ <f:verbatim><br />
+ Controls:<br />
+ <a href="javascript:void(0);" onclick="map.hideControls();return false;">Remove</a>
+ <a href="javascript:void(0);" onclick="map.showControls();return false;">Show</a>
+ <br />
+ <br />
+ Type:<br />
+ <a href="javascript:void(0);" onclick="map.setMapType(G_NORMAL_MAP);return false;">Normal</a>
+ <a href="javascript:void(0);" onclick="map.setMapType(G_SATELLITE_MAP);return false;">Satellite</a>
+ <a href="javascript:void(0);" onclick="map.setMapType(G_HYBRID_MAP);return false;">Hybrid</a>
+ <br />
+ <br />
+ Zoom:<br />
+ <a href="javascript:void(0);" onclick="map.zoomIn();return false;">In</a>
+ <a href="javascript:void(0);" onclick="map.zoomOut();return false;">Out</a>
+ <br />
+ <br />
+ <a href="javascript:void(0);" onclick="showExadel();return false;">Show Exadel Office</a>
+ <br />
+ <a href="javascript:void(0);" onclick="showExadelInMinsk();return false;">Show Exadel in Belarus</a>
+ </f:verbatim>
+ </h:panelGroup>
+
+ <a4j:outputPanel>
+ <script>
+
+ function createMarker(point,html) {
+ var marker = new GMarker(point);
+ GEvent.addListener(marker, "click", function() {
+ marker.openInfoWindowHtml(html);
+ });
+ return marker;
+ }
+
+ function showExadelInMinsk() {
+ var point = new GLatLng(53.92316,27.510737, 53.92316,27.510737);
+ map.setCenter(point);
+ var marker = createMarker(point,'Go to the <a target="_blank" href="http://www.exadel.com">Exadle Web Site</a>');
+ map.setZoom(16);
+ map.addOverlay(marker);
+ }
+
+ function showExadel() {
+ var point = new GLatLng(37.9721046, -122.0424842834);
+ map.setCenter(point);
+ var marker = createMarker(point,'Go to the <a target="_blank" href="http://www.exadel.com">Exadle Web Site</a>');
+ map.setZoom(16);
+ map.addOverlay(marker);
+ }
+
+ function setCenter(lag, lat, zoom) {
+ map.setCenter(new GLatLng(lag, lat), zoom);
+ var ulp = new GPoint(lag,lat);
+ var ul = G_NORMAL_MAP.getProjection().fromPixelToLatLng(ulp,zoom);
+ }
+ </script>
+ </a4j:outputPanel>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Gmap/GmapDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Gmap/GmapProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Gmap/GmapProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Gmap/GmapProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,76 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="GmapPropertySubviewID">
+ <h:commandButton action="#{gmap.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="mapType"></h:outputText>
+ <h:selectOneMenu value="#{gmap.mapType}" onchange="submit();">
+ <f:selectItem itemLabel="G_NORMAL_MAP" itemValue="G_NORMAL_MAP" />
+ <f:selectItem itemLabel="G_SATELLITE_MAP" itemValue="G_SATELLITE_MAP" />
+ <f:selectItem itemLabel="G_HYBRID_MAP" itemValue="G_HYBRID_MAP" />
+ </h:selectOneMenu>
+
+ <h:outputText value="enableInfoWindow:"></h:outputText>
+ <h:selectOneRadio value="#{gmap.enableInfoWindow}"
+ onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="showGLargeMapControl:"></h:outputText>
+ <h:selectOneRadio value="#{gmap.showGLargeMapControl}"
+ onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="showGMapTypeControl:"></h:outputText>
+ <h:selectOneRadio value="#{gmap.showGMapTypeControl}"
+ onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="showGScaleControl:"></h:outputText>
+ <h:selectOneRadio value="#{gmap.showGScaleControl}"
+ onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="warningMessage:"></h:outputText>
+ <h:inputText value="#{gmap.warningMessage}" onclick="submit()"></h:inputText>
+
+ <h:outputText value="lng:"></h:outputText>
+ <h:inputText value="#{gmap.lng}" onchange="submit()"></h:inputText>
+
+ <h:outputText value="lat:"></h:outputText>
+ <h:inputText value="#{gmap.lat}" onchange="submit()"></h:inputText>
+
+ <h:outputText value="Dragging:" />
+ <h:selectOneRadio value="#{gmap.dragging}" onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Continuous Zoom:" />
+ <h:selectOneRadio value="#{gmap.continuousZoom}" onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Double Click Zoom:" />
+ <h:selectOneRadio value="#{gmap.doubleClickZoom}" onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{gmap.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/HotKey/HotKey.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/HotKey/HotKey.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/HotKey/HotKey.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,89 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="hotKeySubviewID">
+
+ <rich:calendar id="hotKeyCalendarID" popup="false" />
+ <h:commandButton id="commandButtonID" onclick="return false;" value="test select"></h:commandButton>
+ <rich:hotKey id="hotKeyID" binding="#{hotKey.binding}"
+ disableInInput="#{hotKey.disableInInput}" handler="#{hotKey.handler}"
+ key="#{hotKey.key}" rendered="#{hotKey.rendered}"
+ selector="#{hotKey.selector}" timing="#{hotKey.timing}" type="#{hotKey.type}" />
+
+ <h:panelGrid columns="2">
+ <h:outputText value="type"></h:outputText>
+ <h:selectOneMenu value="#{hotKey.type}">
+ <f:selectItem itemLabel="onkeydown" itemValue="onkeydown" />
+ <f:selectItem itemLabel="onkeypress" itemValue="onkeypress" />
+ <f:selectItem itemLabel="onkeyup" itemValue="onkeyup" />
+ <a4j:support reRender="hotKeyID" event="onchange"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="key"></h:outputText>
+ <h:inputText value="#{hotKey.key}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="timing"></h:outputText>
+ <h:selectOneMenu value="#{hotKey.timing}" onchange="submit();">
+ <f:selectItem itemLabel="onload" itemValue="onload" />
+ <f:selectItem itemLabel="immediate" itemValue="immediate" />
+ </h:selectOneMenu>
+
+ <h:outputText value="selector"></h:outputText>
+ <h:selectOneMenu value="#{hotKey.selector}">
+ <f:selectItem itemLabel="" itemValue="" />
+ <f:selectItem itemLabel="Button" itemValue="#commandButtonID" />
+ <a4j:support reRender="hotKeyID" event="onchange"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="handler"></h:outputText>
+ <h:selectOneMenu value="#{hotKey.handler}" onchange="submit();">
+ <f:selectItem
+ itemValue="$('formID:hotKeySubviewID:hotKeyCalendarID').component.nextYear();"
+ itemLabel="nextYear(Calendar)" />
+ <f:selectItem itemValue="alert('work')" itemLabel="alert('work')" />
+ </h:selectOneMenu>
+
+ <h:outputText value="disableInInput"></h:outputText>
+ <h:selectBooleanCheckbox value="#{hotKey.disableInInput}">
+ <a4j:support reRender="hotKeyID" event="onchange"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{hotKey.rendered}">
+ <a4j:support reRender="hotKeyID" event="onchange"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="test binding: "></h:outputText>
+ <h:outputText value="#{hotKey.bindingInfo}"></h:outputText>
+
+ <h:commandButton onclick="$('formID:hotKeySubviewID:hotKeyID').component.enable(); return false;" value="enable"></h:commandButton>
+ <h:commandButton onclick="$('formID:hotKeySubviewID:hotKeyID').component.disable(); return false;" value="disable"></h:commandButton>
+ </h:panelGrid>
+ <f:verbatim><hr /></f:verbatim>
+
+ <rich:hotKey id="jsID" timing="onregistercall" />
+
+ <h:panelGrid columns="2">
+ <h:commandButton id="jsAddCCID" value="add hotkey: alt+z" onclick="return false;"></h:commandButton>
+ <h:commandButton id="jsRemoveCCID" value="remove hotkey: alt+z" onclick="return false;"></h:commandButton>
+
+ <rich:componentControl disableDefault="true" attachTo="jsAddCCID" for="jsID" event="onclick" operation="add">
+ <f:param name="key" value="alt+z" />
+ <f:param name="handler" value="alert('alt+z')" />
+ </rich:componentControl>
+
+ <rich:componentControl disableDefault="true" attachTo="jsRemoveCCID" for="jsID" event="onclick" operation="remove">
+ <f:param name="key" value="alt+z" />
+ </rich:componentControl>
+ </h:panelGrid>
+ <f:verbatim><hr /></f:verbatim>
+ <h:commandButton action="#{hotKey.add}" value="add test" />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <!--<h:outputText value="#{rich:findComponent('hotKeyID').rendererType}" />-->
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceInput/InplaceInput.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceInput/InplaceInput.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceInput/InplaceInput.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,66 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inplaceInputSubviewID">
+
+<h:inputText value="For verify tabbing tabindex=3" size="25" tabindex="3"></h:inputText> <br/>
+
+This is because such an error can easily be made at programming level, <br />
+and while invisible for the user who does not understand or cannot <br />
+acquire the source code, many of those
+<rich:inplaceInput id = "inplaceInputId"
+ inputWidth="#{inplaceInput.inputWidth}"
+ valueChangeListener="#{inplaceInput.valueChangeListener}"
+ maxInputWidth="#{inplaceInput.maxInputWidth}"
+ minInputWidth="#{inplaceInput.minInputWidth}"
+ required="#{inplaceInput.required}"
+ requiredMessage="#{inplaceInput.requiredMessage}"
+ tabindex="#{inplaceInput.tabindex}"
+ editEvent="#{inplaceInput.editEvent}"
+ defaultLabel="#{inplaceInput.defaultLabel}"
+ controlsVerticalPosition="#{inplaceInput.controlsVerticalPosition}"
+ controlsHorizontalPosition="#{inplaceInput.controlsHorizontalPosition}"
+ value="#{inplaceInput.value}"
+ selectOnEdit="#{inplaceInput.selectOnEdit}"
+ showControls="#{inplaceInput.showControls}"
+ rendered="#{inplaceInput.rendered}"
+ immediate="#{inplaceInput.immediate}"
+ layout = "#{inplaceInput.layout}"
+ onblur="#{event.onblur}"
+ onchange="#{event.onchange}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ oneditactivated="#{event.oneditactivated}"
+ oneditactivation="#{event.oneditactivation}"
+ onfocus="#{event.onfocus}"
+ oninputclick="#{event.oninputclick}"
+ oninputdblclick="#{event.oninputdblclick}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputmousedown="#{event.oninputmousedown}"
+ oninputmousemove="#{event.oninputmousemove}"
+ oninputmouseout="#{event.oninputmouseout}"
+ oninputmouseover="#{event.oninputmouseover}"
+ oninputmouseup="#{event.oninputmouseup}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onselect="#{event.onselect}"
+ onviewactivated="#{evant.onviewactivated}"
+ onviewactivation="#{event.onviewactivation}"
+ binding="#{inplaceInput.myInplaceInput}"
+ converter="inplaceInputConverter"
+ converterMessage="Can't convert">
+ </rich:inplaceInput>
+ are easy to exploit.
+ <h:panelGrid columns="2">
+ <a4j:commandButton value="reRender" reRender="inplaceInputValueCLID, inplaceInputId"></a4j:commandButton>
+ <h:outputText id="inplaceInputValueCLID"
+ value="#{inplaceInput.valueCL}"></h:outputText>
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceInput/InplaceInputProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceInput/InplaceInputProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceInput/InplaceInputProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,126 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="inplaceInputPropertySubviewID">
+ <h:commandButton action="#{inplaceInput.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="value"></h:outputText>
+ <h:outputText id="inplaceInputValueID" value="#{inplaceInput.value}"
+ onchange="submit();">
+ </h:outputText>
+
+ <h:outputText value="defaultLabel"></h:outputText>
+ <h:inputText value="#{inplaceInput.defaultLabel}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="inputWidth"></h:outputText>
+ <h:inputText value="#{inplaceInput.inputWidth}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="maxInputWidth"></h:outputText>
+ <h:inputText value="#{inplaceInput.maxInputWidth}"
+ onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="minInputWidth"></h:outputText>
+ <h:inputText value="#{inplaceInput.minInputWidth}"
+ onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="tabindex"></h:outputText>
+ <h:inputText value="#{inplaceInput.tabindex}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="editEvent"></h:outputText>
+ <h:inputText value="#{inplaceInput.editEvent}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="controlsVerticalPosition"></h:outputText>
+ <h:selectOneRadio value="#{inplaceInput.controlsVerticalPosition}"
+ onchange="submit();">
+ <f:selectItem itemLabel="top" itemValue="top" />
+ <f:selectItem itemLabel="bottom" itemValue="bottom" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ </h:selectOneRadio>
+
+ <h:outputText value="controlsHorizontalPosition"></h:outputText>
+ <h:selectOneRadio value="#{inplaceInput.controlsHorizontalPosition}"
+ onchange="submit();">
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="left" itemValue="left" />
+ </h:selectOneRadio>
+
+ <h:outputText value="selectOnEdit"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceInput.selectOnEdit}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="showControls"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceInput.showControls}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceInput.rendered}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceInput.immediate}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="required"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceInput.required}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage"></h:outputText>
+ <h:inputText value="#{inplaceInput.requiredMessage}"
+ onchange="submit();">
+ </h:inputText>
+
+ <h:commandButton actionListener="#{inplaceInput.checkBinding}"
+ value="Binding"></h:commandButton>
+ <h:outputText value="#{inplaceInput.bindLabel}"></h:outputText>
+
+ <h:outputText value="layout"></h:outputText>
+ <h:inputText value="#{inplaceInput.layout}" onchange="submit();">
+ </h:inputText>
+
+ </h:panelGrid>
+
+ <a4j:commandLink
+ onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.edit()"
+ value="edit"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.save()"
+ value="save"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.cancel()"
+ value="cancel"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.getValue()"
+ value="getValue"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.setValue('setValue')"
+ value="setValuel"></a4j:commandLink>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('inplaceInputId').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceSelect/InplaceSelect.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceSelect/InplaceSelect.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceSelect/InplaceSelect.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,76 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inplaceSelectSubviewID">
+
+<h:inputText value="For verify tabbing tabindex=3" size="25" tabindex="3"></h:inputText> <br/>
+
+This is because such an error can easily be made at programming level, <br />
+and while invisible for the user who does not understand or cannot <br />
+acquire the source code, many of those
+<rich:inplaceSelect id="inplaceSelectID"
+ tabindex="#{inplaceSelect.tabindex}"
+ editEvent="#{inplaceSelect.editEvent}"
+ maxSelectWidth="#{inplaceSelect.maxSelectWidth}"
+ minSelectWidth="#{inplaceSelect.minSelectWidth}"
+ selectWidth="#{inplaceSelect.selectWidth}"
+ defaultLabel="#{inplaceSelect.defaultLabel}"
+ controlsVerticalPosition="#{inplaceSelect.controlsVerticalPosition}"
+ controlsHorizontalPosition="#{inplaceSelect.controlsHorizontalPosition}"
+ listWidth="#{inplaceSelect.listWidth}"
+ listHeight="#{inplaceSelect.listHeight}"
+ showControls="#{inplaceSelect.showControls}"
+ editOnTab="#{inplaceSelect.editOnTab}"
+ openOnEdit="#{inplaceSelect.openOnEdit}"
+ rendered="#{inplaceSelect.rendered}"
+ immediate="#{inplaceSelect.immediate}"
+ binding="#{inplaceSelect.myInplaceSelect}"
+ required="#{inplaceSelect.required}"
+ requiredMessage="#{inplaceSelect.requiredMessage}"
+ onblur="#{event.onblur}"
+ onchange="#{event.onchange}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ oneditactivated="#{event.oneditactivated}"
+ oneditactivation="#{event.oneditactivation}"
+ onfocus="#{event.onfocus}"
+ oninputblur="#{event.oninputblur}"
+ oninputclick="#{event.oninputclick}"
+ oninputdblclick="#{event.oninputdblclick}"
+ oninputfocus="#{event.oninputfocus}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputmousedown="#{event.oninputmousedown}"
+ oninputmousemove="#{event.oninputmousemove}"
+ oninputmouseout="#{event.oninputmouseout}"
+ oninputmouseover="#{event.oninputmouseover}"
+ oninputmouseup="#{event.oninputmouseup}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onselect="#{event.onselect}"
+ onviewactivated="#{evant.onviewactivated}"
+ onviewactivation="#{event.onviewactivation}"
+ layout="#{inplaceSelect.layout}"
+ valueChangeListener="#{inplaceSelect.valueChangeListener}"
+ value="#{inplaceSelect.value}" >
+
+ <f:selectItem itemLabel="errors" itemValue="errors" />
+ <f:selectItem itemLabel="fatals" itemValue="fatals" />
+ <f:selectItem itemLabel="infos" itemValue="infos" />
+ <f:selectItem itemLabel="passeds" itemValue="passeds" />
+ <f:selectItem itemLabel="warns" itemValue="warns" />
+ </rich:inplaceSelect>
+
+ are easy to exploit.
+ <h:panelGrid columns="2">
+ <a4j:commandButton value="reRender" reRender="inplaceSelectValueCLID, inplaceSelectID"></a4j:commandButton>
+ <h:outputText id="inplaceSelectValueCLID"
+ value="#{inplaceSelect.valueCL}"></h:outputText>
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceSelect/InplaceSelectProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceSelect/InplaceSelectProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/InplaceSelect/InplaceSelectProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,121 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="inplaceSelectPropertySubviewID">
+ <h:commandButton action="#{inplaceSelect.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="value"></h:outputText>
+ <h:outputText value="#{inplaceSelect.value}"></h:outputText>
+
+ <h:outputText value="defaultLabel"></h:outputText>
+ <h:inputText value="#{inplaceSelect.defaultLabel}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="editEvent"></h:outputText>
+ <h:inputText value="#{inplaceSelect.editEvent}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="selectWidth"></h:outputText>
+ <h:inputText value="#{inplaceSelect.selectWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="maxSelectWidth"></h:outputText>
+ <h:inputText value="#{inplaceSelect.maxSelectWidth}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="minSelectWidth"></h:outputText>
+ <h:inputText value="#{inplaceSelect.minSelectWidth}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="listWidth"></h:outputText>
+ <h:inputText value="#{inplaceSelect.listWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listHeight"></h:outputText>
+ <h:inputText value="#{inplaceSelect.listHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="controlsVerticalPosition"></h:outputText>
+ <h:selectOneRadio value="#{inplaceSelect.controlsVerticalPosition}"
+ onchange="submit();">
+ <f:selectItem itemLabel="top" itemValue="top" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="bottom" itemValue="bottom" />
+ </h:selectOneRadio>
+
+ <h:outputText value="controlsHorizontalPosition"></h:outputText>
+ <h:selectOneRadio value="#{inplaceSelect.controlsHorizontalPosition}"
+ onchange="submit();">
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="left" itemValue="left" />
+ </h:selectOneRadio>
+ <h:outputText value="tabindex"></h:outputText>
+ <h:inputText value="#{inplaceSelect.tabindex}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="showControls"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.showControls}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="applyFromControlsOnly"></h:outputText>
+ <h:selectBooleanCheckbox
+ value="#{inplaceSelect.applyFromControlsOnly}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="openOnEdit"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.openOnEdit}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:commandButton actionListener="#{inplaceSelect.checkBinding}"
+ value="Binding"></h:commandButton>
+ <h:outputText value="#{inplaceSelect.bindLabel}"></h:outputText>
+
+ <h:outputText value="immediate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.immediate}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="required"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.required}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage"></h:outputText>
+ <h:inputText value="#{inplaceSelect.requiredMessage}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="layout"></h:outputText>
+ <h:inputText value="#{inplaceSelect.layout}" onchange="submit();"></h:inputText>
+
+ </h:panelGrid>
+
+ <a4j:commandLink
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.edit()"
+ value="edit"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.save()"
+ value="save"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.cancel()"
+ value="cancel"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.getValue()"
+ value="getValue"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.setValue('setValue')"
+ value="setValuel"></a4j:commandLink>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('inplaceSelectID').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSlider.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSlider.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSlider.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,27 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inputNumberSliderSubviewID">
+ <h:panelGrid columns="1">
+ <rich:inputNumberSlider id="SliderId" barStyle="#{style.barStyle}" handleSelectedClass="#{style.handleSelectedClass}" inputStyle="#{style.inputStyle}" tipStyle="#{style.tipStyle}" style="#{style.style}" immediate="#{inputNumberSlider.immediate}"
+ inputPosition="#{inputNumberSlider.inputPosition}" showToolTip="#{inputNumberSlider.showToolTip}"
+ tabindex="#{inputNumberSlider.tabindex}" value="#{inputNumberSlider.value}" valueChangeListener="#{inputNumberSlider.valueChangeListener}"
+ required="#{inputNumberSlider.rendered}" requiredMessage="#{inputNumberSlider.requiredMessage}"
+ disabled="#{inputNumberSlider.disabled}" enableManualInput="#{inputNumberSlider.enableManualInput}"
+ inputSize="#{inputNumberSlider.inputSize}" maxValue="#{inputNumberSlider.maxValue}" minValue="#{inputNumberSlider.minValue}"
+ rendered="#{inputNumberSlider.rendered}" showBoundaryValues="#{inputNumberSlider.showBoundaryValues}"
+ step="#{inputNumberSlider.step}" showInput="#{inputNumberSlider.showInput}" width="#{inputNumberSlider.width}"
+ barClass="#{style.barClass}" tipClass="#{style.barClass}" inputClass="#{style.inputClass}"
+ handleClass="#{style.handleStyle}" styleClass="#{style.tipStyle}"
+ maxlength="#{inputNumberSlider.maxlength}"
+ onblur="#{event.onblur}" onchange="#{event.onchange}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onerror="#{event.onerror}" onfocus="#{event.onfocus}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}" onslide="#{event.onslide}"
+ binding="#{inputNumberSlider.htmlINS}" >
+ </rich:inputNumberSlider>
+ <h:panelGroup>
+ <a4j:commandButton value="valueChangeListener (show)" reRender="valueCLID" />
+ <h:outputText id="valueCLID" value=" #{inputNumberSlider.valueChangeListener}" />
+ </h:panelGroup>
+ </h:panelGrid>
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSliderDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSliderProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSliderProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSliderProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,120 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="inputNumberSliderPropertySubviewID">
+ <h:commandButton action="#{inputNumberSlider.add}" value="add test" />
+ <h:panelGrid columns="2" cellspacing="10px" border="1">
+ <h:outputText value="value" />
+ <h:inputText value="#{inputNumberSlider.value}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="inputPosition"></h:outputText>
+ <h:selectOneRadio value="#{inputNumberSlider.inputPosition}">
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Width:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.width}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Max Value:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.maxValue}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Min Value:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.minValue}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Input Size:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.inputSize}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Input MaxLength:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.maxlength}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Step:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.step}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="tabindex" />
+ <h:inputText value="#{inputNumberSlider.tabindex}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.disabled}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.rendered}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Manual Input:"></h:outputText>
+ <h:selectBooleanCheckbox
+ value="#{inputNumberSlider.enableManualInput}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Boundary Values:"></h:outputText>
+ <h:selectBooleanCheckbox
+ value="#{inputNumberSlider.showBoundaryValues}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Show Input:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.showInput}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="showToolTip" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.showToolTip}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="required" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.required}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage" />
+ <h:inputText value="#{inputNumberSlider.requiredMessage}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="immediate" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.immediate}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Switch Styles" />
+ <a4j:commandButton id="slBtn" value="#{inputNumberSlider.btnLabel}"
+ action="#{inputNumberSlider.doStyles}" reRender="SliderId,slBtn">
+ </a4j:commandButton>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('SliderId').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSliderStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSliderStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSlider/InputNumberSliderStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inputNumberSliderStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest1}" value="run" reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1INSlider}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest2}" value="run" reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2INSlider}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest3}" value="run" reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3INSlider}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest4}" value="run" reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4INSlider}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest5}" value="run" reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5INSlider}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinner.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinner.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinner.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inputNumberSpinnerSubviewID">
+ <h:messages></h:messages>
+
+ <rich:inputNumberSpinner id="SpinnerID" tabindex="#{inputNumberSpinner.tabindex}" cycled="#{inputNumberSpinner.cycled}"
+ disabled="#{inputNumberSpinner.disabled}" maxValue="#{inputNumberSpinner.max}" minValue="#{inputNumberSpinner.min}"
+ step="#{inputNumberSpinner.step}" rendered="#{inputNumberSpinner.rendered}" value="#{inputNumberSpinner.value}"
+ inputClass="#{style.inputClass}" styleClass="#{style.styleClass}" inputStyle="#{style.inputStyle}" style="#{style.style}"
+ enableManualInput="#{inputNumberSpinner.manualInput}" inputSize="#{inputNumberSpinner.inputSize}"
+ onmousedown="#{event.onmousedown}" onblur="#{event.onblur}"
+ onchange="#{event.onchange}" onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ onerror="#{event.onerror}"
+ onfocus="#{event.onfocus}"
+ onselect="#{event.onselect}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ ondownclick="#{event.ondownclick}" onupclick="#{event.onupclick}"
+ binding="#{inputNumberSpinner.htmlINSpinner}"></rich:inputNumberSpinner>
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinnerDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinnerProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinnerProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinnerProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,63 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="iNSpinnerPropertySubviewID">
+ <h:commandButton action="#{inputNumberSpinner.add}" value="add test" />
+ <h:panelGrid columns="2" cellpadding="10px" border="1">
+ <h:outputText value="Max: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.max}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Min: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.min}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Step: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.step}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Size: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.inputSize}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Cycled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.cycled}">
+ <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Manual Input:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.manualInput}">
+ <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.disabled}">
+ <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.rendered}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{inputNumberSpinner.doStyles}"
+ value="#{inputNumberSpinner.btnLabel}" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('SpinnerID').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinnerStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinnerStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/InputNumberSpinner/InputNumberSpinnerStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="iNSpinnerStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest1}" value="run" reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1INSpinner}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest2}" value="run" reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2INSpinner}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest3}" value="run" reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3INSpinner}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest4}" value="run" reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4INSpinner}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest5}" value="run" reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5INSpinner}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/Insert.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/Insert.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/Insert.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,9 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="insertSubviewID">
+ <h:messages />
+
+ <rich:panel id="panelID" header="Highlight: #{insert.highlight}; File: #{insert.src}">
+ <rich:insert id="insertID" highlight="#{insert.highlight}"
+ rendered="#{insert.rendered}" src="#{insert.src}" binding="#{insert.htmlInsert}"></rich:insert>
+ </rich:panel>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/InsertProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/InsertProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/InsertProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,47 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="InsertPropertySubviewID">
+<h:commandButton action="#{insert.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Highlight:" />
+ <h:selectOneMenu value="#{insert.highlight}">
+ <f:selectItem itemValue="HTML" itemLabel="HTML" />
+ <f:selectItem itemValue="GROOVY" itemLabel="GROOVY" />
+ <f:selectItem itemValue="JAVA" itemLabel="JAVA" />
+ <f:selectItem itemValue="BEANSHELL" itemLabel="BEANSHELL" />
+ <f:selectItem itemValue="BSH" itemLabel="BSH" />
+ <f:selectItem itemValue="XML" itemLabel="XML" />
+ <f:selectItem itemValue="XHTML" itemLabel="XHTML" />
+ <f:selectItem itemValue="LZX" itemLabel="LZX" />
+ <f:selectItem itemValue="CPP" itemLabel="CPP" />
+ <f:selectItem itemValue="CXX" itemLabel="CXX" />
+ <a4j:support event="onclick" reRender="panelID,insertID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Select file:" />
+ <h:selectOneMenu value="#{insert.src}">
+ <f:selectItem itemValue="/Insert/src/test.html" itemLabel="HTML" />
+ <f:selectItem itemValue="/Insert/src/test.java" itemLabel="JAVA" />
+ <f:selectItem itemValue="/Insert/src/test.groovy" itemLabel="GROOVY" />
+ <f:selectItem itemValue="/Insert/src/test.bsh" itemLabel="BEANSHELL,BSH" />
+ <f:selectItem itemValue="/Insert/src/test.xml" itemLabel="XML" />
+ <f:selectItem itemValue="/Insert/Insert.xhtml" itemLabel="XHTML" />
+ <f:selectItem itemValue="/Insert/src/test.lzx" itemLabel="LZX" />
+ <f:selectItem itemValue="/Insert/src/test.cpp" itemLabel="CPP,CXX" />
+ <a4j:support event="onclick" reRender="panelID,insertID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Rendered" />
+ <h:selectBooleanCheckbox value="#{insert.rendered}" onchange="submit();"/>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSrc" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('insertID').src}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.bsh
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.bsh (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.bsh 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,76 @@
+import javax.swing.*;
+import javax.swing.event.*;
+import javax.swing.text.*;
+import java.awt.event.*;
+import java.awt.*;
+
+JFrame browser( startingUrl ) {
+ invoke( method, args ) {}
+
+ windowClosing(WindowEvent we) {
+ we.getWindow().setVisible(false);
+ }
+
+ setPage( url ) {
+ try {
+ pane.setPage( url );
+ } catch(Exception e) {
+ statusBar.setText("Error opening page: "+url);
+ }
+ }
+
+ hyperlinkUpdate( HyperlinkEvent he ) {
+ type = he.getEventType();
+ if (type == HyperlinkEvent.EventType.ENTERED) {
+ pane.setCursor(
+ Cursor.getPredefinedCursor( Cursor.HAND_CURSOR) );
+ statusBar.setText(he.getURL().toString());
+ } else
+ if (type == HyperlinkEvent.EventType.EXITED) {
+ pane.setCursor( Cursor.getDefaultCursor() );
+ statusBar.setText(" ");
+ } else {
+ setPage( he.getURL() );
+ if (urlField != null)
+ urlField.setText(he.getURL().toString());
+ }
+ }
+
+ frame = new JFrame("Browser");
+ frame.setSize(400,300);
+ frame.addWindowListener( this );
+
+ urlPanel = new JPanel();
+ urlPanel.setLayout(new BorderLayout());
+ urlField = new JTextField(startingUrl);
+ urlPanel.add(new JLabel("Site: "), BorderLayout.WEST);
+ urlPanel.add(urlField, BorderLayout.CENTER);
+
+ statusBar = new JLabel(" ");
+ pane = new JEditorPane();
+ pane.setEditable(false);
+ setPage( startingUrl );
+ jsp = new JScrollPane(pane);
+
+ frame.getContentPane().add(jsp, BorderLayout.CENTER);
+ frame.getContentPane().add(urlPanel, BorderLayout.SOUTH);
+ frame.getContentPane().add(statusBar, BorderLayout.NORTH);
+
+ // This is the equivalent of an inner class in bsh.
+ urlTextHandler() {
+ actionPerformed(ActionEvent ae) {
+ setPage( ae.getActionCommand() );
+ }
+ return this;
+ }
+
+ urlField.addActionListener( urlTextHandler() );
+ pane.addHyperlinkListener( (HyperlinkListener)this );
+
+ return frame;
+}
+
+browser = browser("http://java.sun.com/");
+browser.show();
+
+
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.cpp
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.cpp (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.cpp 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,119 @@
+extern LArc RiflemanTBL[];
+class CRifleman : public LFsaAppl
+{
+public:
+ int GetNumber();
+ void SetNumber(int n);
+ void SetLink(CRifleman *pFsaLeft,
+ CRifleman
+*pFsaRigtht);
+ CRifleman *pFsaRightMan;
+ CRifleman *pFsaLeftMan;
+ CRifleman();
+ CRifleman(int n, CWnd* pW, LArc
+ *pTBL=RiflemanTBL);
+ virtual ~CRifleman();
+ bool operator==(const CRifleman
+ &var) const;
+ bool operator<(const CRifleman
+ &var) const;
+ bool operator!=(const CRifleman
+ &var) const;
+ bool operator>(const CRifleman
+ &var) const;
+protected:
+ CWnd* pParentWnd;
+ CFireApp *pApp; // ��������� �� ������
+ // ��������� ������ ���������
+ int x1(); // Is fire?
+ int x2(); // Is ready?
+ int x3(); // Number is equal to zero? Shot!
+ int x4(); //
+ void y1(); // To place number.
+ void y2(); // To reduce number by unit.
+ void y3(); // Gunshot
+ void y4(); //
+ void y5(); //
+ int nNumber;
+ int nSaveNumber;
+ int nLengthQueue; // Length of queue.
+ int nCurrentQueue; //
+};
+typedef vector<CRifleman*>
+TIArrayRifleman;
+typedef vector<CRifleman*>:
+:iterator TIIteratorRifleman;
+extern LArc RiflemanTBL[];
+CRifleman::CRifleman():LFsaAppl() { }
+CRifleman::CRifleman(int n, CWnd* pW,
+LArc* pTBL):
+LFsaAppl(pTBL)
+{
+ pParentWnd = pW;
+ pFsaRightMan = NULL;
+ pFsaLeftMan = NULL;
+ nNumber = n;
+ nLengthQueue = 5;
+ nCurrentQueue = nLengthQueue;
+ if (pParentWnd)
+ {
+ pApp = (CFireApp*)AfxGetApp();
+ FLoad(pApp->pNetFsa,1);
+ }
+}
+bool CRifleman::operator==(const CRifleman
+&var) const
+{
+ if (nNumber==var.nNumber) return true;
+ else return false;
+}
+void CRifleman::SetLink(CRifleman
+* pFsaLeft, CRifleman *
+pFsaRigtht)
+{
+ pFsaRightMan = pFsaRigtht;
+ pFsaLeftMan = pFsaLeft;
+}
+LArc RiflemanTBL[] = {
+ LArc("���", "�����", "x1", "y1"),
+ LArc("�����", "�����", "x2", "y2"),
+ LArc("�����", "�����", "x3", "y2"),
+ LArc("�����", "�������", "^x3", "y3y4"),
+ LArc("�������", "�������", "x4", "y3y5"),
+ LArc("�������", "���", "^x4", "-"),
+ LArc()
+ };
+int CRifleman::x1()
+{
+ if (!pFsaLeftMan) return false;
+ return string((pFsaLeftMan)-
+ >FGetState()) == "�����";
+}
+int CRifleman::x2()
+{
+ if (!pFsaRightMan) return true;
+ else return string((pFsaRightMan)-
+ >FGetState()) ==
+"�����";
+}
+int CRifleman::x3() { return nNumber; }
+int CRifleman::x4() { return nCurrentQueue; }
+void CRifleman::y1()
+{
+ int n = pFsaLeftMan->GetNumber();
+ SetNumber(n+1);
+}
+void CRifleman::y2() { nNumber-; }
+void CRifleman::y3() { }
+void CRifleman::y4()
+{
+ nCurrentQueue = nLengthQueue;
+}
+// ������������ �������� ����� ����������
+void CRifleman::y5()
+{
+ CFDelay *pCFDelay;
+ pCFDelay = new CFDelay(200);
+ pCFDelay->FCall(this);
+ nCurrentQueue-;
+}
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.groovy
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.groovy (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.groovy 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,34 @@
+import groovy.swing.SwingBuilder
+import groovy.net.soap.SoapClient
+
+proxy = new SoapClient("http://www.webservicex.net/CurrencyConvertor.asmx?WSDL")
+
+def currency = ['USD', 'EUR', 'CAD', 'GBP', 'AUD']
+def rate = 0.0
+
+swing = new SwingBuilder()
+
+refresh = swing.action(
+ name:'Refresh',
+ closure:this.&refreshText,
+ mnemonic:'R'
+)
+
+frame = swing.frame(title:'Currency Demo') {
+ panel {
+ label 'Currency rate from '
+ comboBox(id:'from', items:currency)
+ label ' to '
+ comboBox(id:'to', items:currency)
+ label ' is '
+ textField(id:'currency', columns:10, rate.toString())
+ button(text:'Go !', action:refresh)
+ }
+}
+frame.pack()
+frame.show()
+
+def refreshText(event) {
+ rate = proxy.ConversionRate(swing.from.getSelectedItem(), swing.to.getSelectedItem())
+ swing.currency.text = rate
+}
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.html
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.html (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.html 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,18 @@
+<html>
+ <head>
+ </head>
+ <body>
+ html page
+ <br>
+ html page
+ <br>
+ html page
+ <br>
+ html page
+ <br>
+ html page
+ <br>
+ html page
+ <br>
+ </body>
+</html>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.java
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.java (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.java 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,291 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit;
+
+import java.io.IOException;
+import java.util.Iterator;
+import java.util.Map;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+import org.ajax4jsf.renderkit.HeaderResourcesRendererBase;
+import org.ajax4jsf.renderkit.compiler.TemplateContext;
+import org.richfaces.skin.Skin;
+import org.ajax4jsf.util.style.CSSFormat;
+import org.richfaces.component.UIPanelMenu;
+import org.richfaces.component.UIPanelMenuGroup;
+import org.richfaces.component.UIPanelMenuItem;
+import org.richfaces.renderkit.html.PanelMenuGroupRenderer;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconChevron;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconChevronDown;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconChevronUp;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconDisc;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconGrid;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconSpacer;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconTriangle;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconTriangleDown;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconTriangleUp;
+import org.ajax4jsf.renderkit.RendererUtils.HTML;
+
+/**
+ * @author hans
+ *
+ */
+public abstract class PanelMenuRendererBase extends HeaderResourcesRendererBase {
+
+ public final static String PANEL_MENU_SPACER_ICON_NAME = "spacer";
+
+ public void insertSpacerImages(FacesContext context , UIComponent component) throws IOException {
+ ResponseWriter writer = context.getResponseWriter();
+ int level = calculateLevel(component);
+ //StringBuffer buffer = new StringBuffer();
+ String src = getIconByType("custom",false,context,component);
+ int w = 16; //width(context);
+
+ for (int i=0;i<level;i++){
+ writer.startElement("img", component);
+ writer.writeAttribute("src", src, null);
+ writer.writeAttribute("alt", "", null);
+ writer.writeAttribute("hspace", "0", null);
+ writer.writeAttribute("vspace", "0", null);
+ writer.writeAttribute("height", String.valueOf(w), null);
+ writer.writeAttribute("width", String.valueOf(w), null);
+ writer.endElement("img");
+ }
+ }
+
+ protected int calculateLevel (UIComponent component){
+ int level = 0;
+ UIComponent parent = component.getParent();
+ while(parent != null){
+ if(parent instanceof UIPanelMenu){
+ return level;
+ } else if(parent instanceof UIPanelMenuGroup){
+ level++;
+ }
+ parent = parent.getParent();
+ }
+ return level;
+ }
+
+ /**
+ * If icon type is a pre-defined value, return corresponding image, otherwise
+ * otherwise
+ * @param iconType
+ * @param context
+ * @param component
+ * @return URI of requested image
+ */
+ protected String getIconByType(String iconType, boolean isTopLevel, FacesContext context,
+ UIComponent component){
+
+ String source = "";
+ String color = "";
+ Skin skin = getSkin(context);
+
+ if (isTopLevel){
+ color = (String) skin.getParameter(context,"panelmenu.headerBulletColor");
+ } else {
+ color = (String) skin.getParameter(context,"panelmenu.itemBulletColor");
+ }
+ if(iconType != null && !iconType.equals("none")){
+ if (iconType.equals("custom") || "".equals(iconType)){
+ source = getResource(PanelMenuIconSpacer.class.getName()).getUri(context, color);
+ } else if (iconType.equals("spacer")){
+ source = getResource(PanelMenuIconSpacer.class.getName()).getUri(context, color);
+ } else if (iconType.equals("triangle")) {
+ source = getResource(PanelMenuIconTriangle.class.getName()).getUri(context, color);
+ } else if (iconType.equals("triangleDown")) {
+ source = getResource(PanelMenuIconTriangleDown.class.getName()).getUri(context, color);
+ } else if (iconType.equals("triangleUp")) {
+ source = getResource(PanelMenuIconTriangleUp.class.getName()).getUri(context, color);
+ } else if (iconType.equals("chevron")) {
+ source = getResource(PanelMenuIconChevron.class.getName()).getUri(context, color);
+ } else if (iconType.equals("chevronUp")) {
+ source = getResource(PanelMenuIconChevronUp.class.getName()).getUri(context, color);
+ } else if (iconType.equals("chevronDown")) {
+ source = getResource(PanelMenuIconChevronDown.class.getName()).getUri(context, color);
+// } else if (iconType.equals("square")) {
+// source = getResource(PanelMenuIconSquare.class.getName()).getUri(context, color);
+ } else if (iconType.equals("disc")) {
+ source = getResource(PanelMenuIconDisc.class.getName()).getUri(context, color);
+ } else if (iconType.equals("grid")) {
+ source = getResource(PanelMenuIconGrid.class.getName()).getUri(context, color);
+ } else {
+ //TODO by nick - dima - TemplateContext is deprecated and shouldn't be used
+ source = (String)getUtils().encodeResourceURL(new TemplateContext(this,context,component),iconType);
+ }
+ }
+ return source;
+ }
+
+ protected UIPanelMenu findMenu (UIComponent component){
+ if (component instanceof UIPanelMenu) return (UIPanelMenu)component;
+ UIComponent parent = component;
+ while(parent != null){
+ if(parent instanceof UIPanelMenu){
+ return (UIPanelMenu) parent;
+ }
+ parent = parent.getParent();
+ }
+ return (UIPanelMenu) parent;
+ }
+
+ public String getHideStyle(FacesContext context, UIComponent component) {
+ if (!(component.getParent() instanceof UIPanelMenu)) {
+ CSSFormat format = new CSSFormat();
+ format.add("display", "none");
+ if(component.getParent() instanceof UIPanelMenuGroup) {
+ UIPanelMenuGroup parent = (UIPanelMenuGroup)component.getParent();
+ PanelMenuGroupRenderer renderer = (PanelMenuGroupRenderer) context.getRenderKit().getRenderer(parent.getFamily(), parent.getRendererType());
+ try {
+ if ( renderer.isOpened(context, parent) ){
+ return "";
+ } else
+ return format.toString();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ } else return format.toString();
+ }
+ return "";
+ }
+
+ public void insertLabel(FacesContext context, UIComponent component) throws IOException {
+ Object value = component.getAttributes().get("label");
+ if (value!=null){
+ context.getResponseWriter().write(value.toString());
+ }
+ }
+
+ protected boolean isChildrenExpanded(UIComponent component){
+ if (component.getChildren() != null){
+ Iterator itr = component.getChildren().iterator();
+ while(itr.hasNext()){
+ UIComponent child = (UIComponent)itr.next();
+ if(child instanceof UIPanelMenuGroup){
+ if( ((UIPanelMenuGroup)child).isExpanded() ){
+ return true;
+ } else {
+ return isChildrenExpanded(child);
+ }
+ }
+ }
+ }
+ return false;
+ }
+
+ protected boolean isParentDisabled(UIComponent component){
+ boolean returnValue = false;
+ UIComponent parent = component.getParent();
+ if(parent instanceof UIPanelMenuGroup){
+ UIPanelMenuGroup parentGroup = (UIPanelMenuGroup)parent;
+ if(parentGroup.isDisabled()){
+ returnValue = true;
+ } else {
+ returnValue = isParentDisabled(parentGroup);
+ }
+ }
+ return returnValue;
+ }
+
+ protected boolean isSubmitted(FacesContext context, UIComponent component){
+ boolean submitted = false;
+ String clientId = component.getClientId(context);
+ Map requestParameterMap = context.getExternalContext().getRequestParameterMap();
+
+ Object value = requestParameterMap.get("panelMenuAction"+clientId);
+ if (clientId!=null&&value!=null){
+ if (value.equals(clientId)) {
+ submitted = true;
+ }
+ }
+ return submitted;
+ }
+
+ protected String getItemMode(UIComponent component) {
+ String parentExpandMode = findMenu(component).getExpandMode();
+ String parentMode = findMenu(component).getMode();
+ if (null == parentMode || "".equals(parentMode))
+ parentMode = "server";
+ if (null == parentExpandMode || "".equals(parentExpandMode))
+ parentExpandMode = "none";
+ String mode = "none";
+ if (component instanceof UIPanelMenuGroup) {
+ UIPanelMenuGroup group = (UIPanelMenuGroup) component;
+ if (null != group.getExpandMode() && ! "".equals(group.getExpandMode()))
+ mode = group.getExpandMode();
+ else
+ mode = parentExpandMode;
+ } else if (component instanceof UIPanelMenuItem) {
+ UIPanelMenuItem item = (UIPanelMenuItem) component;
+ if (null != item.getMode() && ! "".equals(item.getMode()))
+ mode = item.getMode();
+ else
+ mode = parentMode;
+ }
+ return mode;
+ }
+
+ /**
+ *
+ * @param component
+ * @return
+ */
+ public boolean isTopLevel(UIComponent component){
+ UIComponent parent = component.getParent();
+ while( !(parent instanceof UIPanelMenu) && !(parent instanceof UIPanelMenuGroup)) {
+ parent = parent.getParent();
+ }
+ if(parent instanceof UIPanelMenu){
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ /**
+ *
+ * @param writer
+ * @param iconType
+ * @param imageSrc
+ * @param component
+ * @throws IOException
+ */
+ public void drawIcon(ResponseWriter writer, String iconType, String imageSrc, UIComponent component, String id) throws IOException{
+ if (iconType != null && !iconType.equals("") && !iconType.equals("none")){
+ int h = 16; //width(context);
+ writer.startElement("img", component);
+ writer.writeAttribute("src", imageSrc, null);
+ writer.writeAttribute("alt", "", null);
+ writer.writeAttribute("vspace", "0", null);
+ writer.writeAttribute("hspace", "0", null);
+ writer.writeAttribute("width", String.valueOf(h), null);
+ writer.writeAttribute("height", String.valueOf(h), null);
+ writer.writeAttribute("id", id, null);
+ writer.endElement("img");
+ }
+
+ }
+
+}
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.lzx
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.lzx (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.lzx 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <canvas debug="false" bgcolor='#D4D0C8'>
+
+ <dataset name='dset' request='true' type='http' src='/app/user/list?keyword='/>
+ <grid id="gd" datapath="dset:/rowset" contentdatapath="row" doesenter="true">
+ <gridcolumn width='100'>name<text datapath='@name'></text></gridcolumn>
+ <gridcolumn width='100'>email<text datapath='@email'></text> </gridcolumn>
+ </grid>
+ </canvas>
+
+
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.xml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.xml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Insert/src/test.xml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE components PUBLIC "-//EXADEL//Generator config/EN" "http://exadel.com/dtds/component-config.dtd" >
+<components>
+ <component>
+ <name>org.richfaces.PanelBar</name>
+ <family>org.richfaces.PanelBar</family>
+ <classname>org.richfaces.component.html.HtmlPanelBar</classname>
+ <superclass>org.richfaces.component.UIPanelBar</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelBarComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
+ <description>
+ <![CDATA[A component with categories sliding up and down to reveal and hide items under selected
+ categories (as used in Microsoft Outlook).
+ ]]>
+ </description>
+ <renderer generate="true" override="true">
+ <name>org.richfaces.PanelBarRenderer</name>
+ <template>panelBar.jspx</template>
+ </renderer>
+ <tag>
+ <name>panelBar</name>
+ <classname>org.richfaces.taglib.PanelBarTag</classname>
+ <superclass>
+ org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
+ </superclass>
+ </tag>
+ <property>
+ <name>converterMessage</name>
+ <classname>java.lang.String</classname>
+ <description>
+ A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter.
+ </description>
+ </property>
+ <property>
+ <name>requiredMessage</name>
+ <classname>java.lang.String</classname>
+ <description>
+ A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used.
+ </description>
+ </property>
+ <property>
+ <name>validatorMessage</name>
+ <classname>java.lang.String</classname>
+ <description>
+ A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator.
+ </description>
+ </property>
+ <property>
+ <name>width</name>
+ <classname>java.lang.String</classname>
+ <description>The width of the slide panel. Might be defined as pixels or as percentage.
+ The default width is 100%</description>
+ <defaultvalue><![CDATA["100%"]]></defaultvalue>
+ </property>
+
+ <property>
+ <name>height</name>
+ <classname>java.lang.String</classname>
+ <description>The height of the slide panel. Might be defined as pixels or as percentage.
+ The default height is 100%</description>
+ <defaultvalue><![CDATA["100%"]]></defaultvalue>
+ </property>
+ <property>
+ <name>style</name>
+ <classname>java.lang.String</classname>
+ <description>CSS style(s) is/are to be applied when this component is rendered</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>styleClass</name>
+ <classname>java.lang.String</classname>
+ <description>Corresponds to the HTML class attribute.</description>
+ </property>
+ <property>
+ <name>headerStyleActive</name>
+ <classname>java.lang.String</classname>
+ <description>The component header style active</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>headerClassActive</name>
+ <classname>java.lang.String</classname>
+ <description>The component header style class active</description>
+ </property>
+ <property>
+ <name>value</name>
+ <classname>java.lang.String</classname>
+ <description>Id of expanded panelBarItem</description>
+ </property>
+ <property >
+ <name>converter</name>
+ <classname>javax.faces.convert.Converter</classname>
+ <description>
+ Id of Converter to be used or reference to a Converter.
+ </description>
+ </property>
+ <property hidden="true">
+ <name>localValueSet</name>
+ <classname>boolean</classname>
+ </property>
+ <property hidden="true">
+ <name>switchType</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property>
+ <name>onclick</name>
+ <classname>java.lang.String</classname>
+ <description>JavaScript code for call before header onclick</description>
+ </property>
+ <property>
+ <name>selectedPanel</name>
+ <classname>java.lang.Object</classname>
+ <description>Attribure defines name of selected item</description>
+ </property>
+
+ &ui_component_attributes;
+ &header_component_attributes;
+ &content_component_attributes;
+ &ui_input_attributes;
+ <!--
+ <taghandler>
+ <classname>org.ajax4jsf.tag.TestHandler</classname>
+ </taghandler>
+ -->
+
+ <property hidden="true">
+ <name>valid</name>
+ <classname>java.lang.String</classname>
+ </property>
+ </component>
+
+ <component>
+ <name>org.richfaces.PanelBarItem</name>
+ <family>org.richfaces.PanelBarItem</family>
+ <description>Slider Panel Item</description>
+ <classname>org.richfaces.component.html.HtmlPanelBarItem</classname>
+ <superclass>org.richfaces.component.UIPanelBarItem</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelBarItemComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
+ <renderer generate="true" override="true">
+ <name>org.richfaces.PanelBarItemRenderer</name>
+ <template>panelBarItem.jspx</template>
+ </renderer>
+ <tag>
+ <name>panelBarItem</name>
+ <classname>org.richfaces.taglib.PanelBarItemTag</classname>
+ <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
+ <description>A child component of a slide panel component</description>
+ </tag>
+
+ <property>
+ <name>label</name>
+ <classname>java.lang.String</classname>
+ <description>Label text appears on a panel item header</description>
+ <defaultvalue><![CDATA["auto generated label"]]></defaultvalue>
+ </property>
+ <property>
+ <name>headerStyleActive</name>
+ <classname>java.lang.String</classname>
+ <description>The component header style active</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>headerClassActive</name>
+ <classname>java.lang.String</classname>
+ <description>The component header style class active</description>
+ </property>
+ <property>
+ <name>name</name>
+ <classname>java.lang.Object</classname>
+ <description>Attribute defines item name</description>
+ <defaultvalue>getId()</defaultvalue>
+ </property>
+
+ &ui_component_attributes;
+ &header_component_attributes;
+ &content_component_attributes;
+ <property hidden="true">
+ <name>expanded</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Notifies that an element has to be expanded
+ </description>
+ <defaultvalue><![CDATA["false"]]></defaultvalue>
+ </property>
+ </component>
+
+</components>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttle.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttle.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttle.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,91 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="listShuttleSubviewID">
+ <rich:listShuttle id="listShuttleID" var="item"
+ sourceValue="#{listShuttle.sourceValue}" targetValue="#{listShuttle.targetValue}"
+ bottomControlLabel="#{listShuttle.bottomControlLabel}" copyAllControlLabel="#{listShuttle.copyAllControlLabel}"
+ copyControlLabel="#{listShuttle.copyControlLabel}" downControlLabel="#{listShuttle.downControlLabel}"
+ fastMoveControlsVisible="#{listShuttle.fastMoveControlsVisible}" converter="listShuttleConverter"
+ fastOrderControlsVisible="#{listShuttle.fastOrderControlsVisible}" first="#{listShuttle.first}"
+ moveControlsVisible="#{listShuttle.moveControlsVisible}" orderControlsVisible="#{listShuttle.orderControlsVisible}"
+ removeAllControlLabel="#{listShuttle.removeAllControlLabel}" removeControlLabel="#{listShuttle.removeControlLabel}"
+ sourceSelection="#{listShuttle.sourceSelection}" targetSelection="#{listShuttle.targetSelection}"
+ showButtonLabels="#{listShuttle.showButtonLabels}" switchByClick="#{listShuttle.switchByClick}"
+ targetListWidth="#{listShuttle.targetListWidth}" sourceListWidth="#{listShuttle.sourceListWidth}"
+ listsHeight="#{listShuttle.listsHeight}" sourceCaptionLabel="#{listShuttle.sourceCaptionLabel}"
+ targetCaptionLabel="#{listShuttle.targetCaptionLabel}"
+ topControlLabel="#{listShuttle.topControlLabel}" upControlLabel="#{listShuttle.upControlLabel}"
+ onmousemove="#{event.onmousemove}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onorderchanged="#{event.onorderchanged}" ontopclick="#{event.ontopclick}"
+ onupclick="#{event.onupclick}" ondownclick="#{event.ondownclick}" onbottomclick="#{event.onbottomclick}" binding="#{listShuttle.htmlListShuttle}">
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Number" />
+ </f:facet>
+ <h:outputText value="#{item.int0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:inputText value="#{item.str0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Button" />
+ </f:facet>
+ <h:commandButton onclick="submit();" action="#{listShuttle.cbAction}" value="#{item.str0} submit();"/>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:inputText value="#{item.str1}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link" />
+ </f:facet>
+ <a4j:commandLink action="#{listShuttle.clAction}" value="#{item.str1} submit()" reRender="listShuttleID"></a4j:commandLink>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="select" />
+ </f:facet>
+ <h:selectOneMenu value="#{item.str2}">
+ <f:selectItem itemLabel="select0" itemValue="select0" />
+ <f:selectItem itemLabel="select1" itemValue="select1" />
+ <f:selectItem itemLabel="select2" itemValue="select2" />
+ <f:selectItem itemLabel="select3" itemValue="select3" />
+ <f:selectItem itemLabel="select4" itemValue="select4" />
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:selectOneMenu>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Text" />
+ </f:facet>
+ <h:outputText value="#{item.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="graphicImage" />
+ </f:facet>
+ <h:graphicImage value="#{item.str3}" />
+ </h:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Link"></h:outputText>
+ </f:facet>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:column>
+ </rich:listShuttle>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttleDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttleProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttleProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttleProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,194 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="listShuttlePropertySubviewID">
+ <h:commandButton action="#{listShuttle.add}" value="add test" />
+
+ <h:panelGrid columns="3">
+ <h:column></h:column>
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.hide()"
+ value="hide"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.show()"
+ value="show"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isShown())"
+ value="isShown"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.enable()"
+ value="enable"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.disable()"
+ value="disable"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isEnabled())"
+ value="isEnabled"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.up()"
+ value="up"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.down()"
+ value="down"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.top()"
+ value="top"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.bottom()"
+ value="bottom"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copy()"
+ value="copy"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.remove()"
+ value="remove"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copyAll()"
+ value="copyAll"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.removeAll()"
+ value="removeAll"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getSelection())"
+ value="targetList.getSelection"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getSelection())"
+ value="sourceList.getSelection"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getItems())"
+ value="targetList.getItems"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getItems())"
+ value="sourceList.getItems"></a4j:commandLink>
+ </h:panelGrid>
+
+ <h:panelGrid columns="2">
+ <h:column></h:column>
+ <h:panelGroup>
+ <a4j:commandButton value="reRender" reRender="listShuttleID"></a4j:commandButton>
+ <a4j:commandButton immediate="true" reRender="listShuttleID"
+ value="immediate submit(); (a4j)"></a4j:commandButton>
+ <h:commandButton value="submit();" />
+ <h:commandButton immediate="true" value="immediate submit();" />
+ </h:panelGroup>
+
+ <h:outputText value="Enter quantity of lines" />
+ <h:panelGroup>
+ <h:inputText value="#{listShuttle.lenght}" />
+ <a4j:commandButton action="#{listShuttle.addNewItem}"
+ reRender="listShuttleID" value="ok" />
+ </h:panelGroup>
+
+ <h:outputText value="first" />
+ <h:inputText value="#{listShuttle.first}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="showButtonLabels" />
+ <h:selectBooleanCheckbox value="#{listShuttle.showButtonLabels}"
+ onchange="submit();" />
+
+ <h:outputText value="orderControlsVisible" />
+ <h:selectBooleanCheckbox value="#{listShuttle.orderControlsVisible}"
+ onchange="submit();" />
+
+ <h:outputText value="moveControlsVisible" />
+ <h:selectBooleanCheckbox value="#{listShuttle.moveControlsVisible}"
+ onchange="submit();" />
+
+ <h:outputText value="fastOrderControlsVisible" />
+ <h:selectBooleanCheckbox
+ value="#{listShuttle.fastOrderControlsVisible}" onchange="submit();" />
+
+ <h:outputText value="fastMoveControlsVisible" />
+ <h:selectBooleanCheckbox
+ value="#{listShuttle.fastMoveControlsVisible}" onchange="submit();" />
+
+ <h:outputText value="switchByClick" />
+ <h:selectBooleanCheckbox value="#{listShuttle.switchByClick}"
+ onchange="submit();" />
+
+ <h:outputText value="sourceCaptionLabel" />
+ <h:inputText value="#{listShuttle.sourceCaptionLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="targetCaptionLabel" />
+ <h:inputText value="#{listShuttle.targetCaptionLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="sourceListWidth" />
+ <h:inputText value="#{listShuttle.sourceListWidth}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="targetListWidth" />
+ <h:inputText value="#{listShuttle.targetListWidth}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="listsHeight" />
+ <h:inputText value="#{listShuttle.listsHeight}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="copyControlLabel" />
+ <h:inputText value="#{listShuttle.copyControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="removeControlLabel" />
+ <h:inputText value="#{listShuttle.removeControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="copyAllControlLabel" />
+ <h:inputText value="#{listShuttle.copyAllControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="removeAllControlLabel" />
+ <h:inputText value="#{listShuttle.removeAllControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="bottomControlLabel" />
+ <h:inputText value="#{listShuttle.bottomControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="downControlLabel" />
+ <h:inputText value="#{listShuttle.downControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="topControlLabel" />
+ <h:inputText value="#{listShuttle.topControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="upControlLabel" />
+ <h:inputText value="#{listShuttle.upControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+ </h:panelGrid>
+
+ <br />
+ <br />
+ <!-- <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getActiveItem" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('listShuttleID').activeItem}" />
+ </rich:column>
+ </h:panelGrid>-->
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttleStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttleStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ListShuttle/ListShuttleStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,144 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="listShuttleStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <a4j:commandButton value="Show selection (reRender)" reRender="infoLSID"></a4j:commandButton>
+ <h:column>
+ <h:selectBooleanCheckbox value="#{listShuttle.showSelect}" onclick="submit();" />
+ </h:column>
+ <h:column>
+ <h:dataTable id="infoLSID" value="#{listShuttle.info}" var="info" rendered="#{listShuttle.showSelect}" border="1">
+ <h:column>
+ <h:outputText value="#{info}" />
+ </h:column>
+ </h:dataTable>
+ </h:column>
+
+ <a4j:commandButton value="Show all source (reRender)" reRender="allInfoLSSourceID"></a4j:commandButton>
+ <h:column>
+ <h:selectBooleanCheckbox value="#{listShuttle.showAllSourceData}" onclick="submit();" />
+ </h:column>
+ <h:column>
+ <h:dataTable id="allInfoLSSourceID" value="#{listShuttle.sourceValue}" var="allInfo" rendered="#{listShuttle.showAllSourceData}" border="1">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Number" />
+ </f:facet>
+ <h:outputText value="#{allInfo.int0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Button" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0} submit();" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1} submit()" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="select" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str2}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Text" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="graphicImage" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+ </h:dataTable>
+ </h:column>
+
+ <a4j:commandButton value="Show all target (reRender)" reRender="allInfoLSTargetID"></a4j:commandButton>
+ <h:column>
+ <h:selectBooleanCheckbox value="#{listShuttle.showAllTargetData}" onclick="submit();" />
+ </h:column>
+ <h:column>
+ <h:dataTable id="allInfoLSTargetID" value="#{listShuttle.targetValue}" var="allInfo" rendered="#{listShuttle.showAllTargetData}" border="1">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Number" />
+ </f:facet>
+ <h:outputText value="#{allInfo.int0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Button" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0} submit();" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1} submit()" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="select" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str2}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Text" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="graphicImage" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+ </h:dataTable>
+ </h:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/META-INF/MANIFEST.MF
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/META-INF/MANIFEST.MF (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/META-INF/MANIFEST.MF 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/Message.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/Message.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/Message.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,64 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="messageSubviewID">
+ <rich:panel>
+ <h:outputText value="Rich Message Demo:" />
+
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
+ <rich:message for="#{message.msg}" tooltip="#{message.tooltip}" showDetail="#{message.showDetail}"
+ showSummary="#{message.showSummary}" passedLabel="No Error" errorLabelClass="errorLabel" fatalLabelClass="warnLabel"
+ infoLabelClass="infoLabel" warnLabelClass="fatalLabel" title="#{message.title}" id="messageID" binding="#{message.htmlMessage}">
+
+
+ <f:facet name="errorMarker">
+ <h:graphicImage url="/pics/error.gif" />
+ </f:facet>
+
+ <f:facet name="fatalMarker">
+ <h:graphicImage url="/pics/fatal.gif" />
+ </f:facet>
+
+ <f:facet name="infoMarker">
+ <h:graphicImage url="/pics/info.gif" />
+ </f:facet>
+
+ <f:facet name="warnMarker">
+ <h:graphicImage url="/pics/warn.gif" />
+ </f:facet>
+
+ <f:facet name="passedMarker">
+ <h:graphicImage url="/pics/passed.gif" />
+ </f:facet>
+ </rich:message>
+
+ <rich:separator></rich:separator>
+
+ <h:outputText value="Rich Messages Demo" />
+ <rich:messages layout="#{message.layout}" tooltip="#{message.tooltip}" showDetail="#{message.showDetail}"
+ showSummary="#{message.showSummary}" passedLabel="No Error" errorLabelClass="errorLabel" fatalLabelClass="warnLabel"
+ infoLabelClass="infoLabel" warnLabelClass="fatalLabel" warnMarkerClass="markerWarn" infoMarkerClass="markerInfo"
+ errorMarkerClass="markerError" fatalMarkerClass="markerFatal" errorClass="errorClass" fatalClass="fatalClass"
+ warnClass="warnClass" infoClass="infoClass" labelClass="labelClass" styleClass="class" title="#{message.title}"
+ id="messagesID" binding="#{message.htmlMessages}">
+ <f:facet name="errorMarker">
+ <h:graphicImage url="/pics/error.gif" />
+ </f:facet>
+ <f:facet name="fatalMarker">
+ <h:graphicImage url="/pics/fatal.gif" />
+ </f:facet>
+ <f:facet name="infoMarker">
+ <h:graphicImage url="/pics/info.gif" />
+ </f:facet>
+ <f:facet name="warnMarker">
+ <h:graphicImage url="/pics/warn.gif" />
+ </f:facet>
+ <f:facet name="passedMarker">
+ <h:graphicImage url="/pics/passed.gif" />
+ </f:facet>
+ <h:outputText value="#{messages.summary}">
+ </h:outputText>
+ </rich:messages>
+ </rich:panel>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/MessageProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/MessageProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/MessageProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,110 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="MessagePropertySubviewID">
+ <h:commandButton action="#{message.add1}" value="add Message test" />
+ <br/>
+ <h:commandButton action="#{message.add2}" value="add Messages test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="1." />
+ <h:selectOneMenu id="select1" value="#{message.select1}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="2." />
+ <h:selectOneMenu id="select2" value="#{message.select2}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="3." />
+ <h:selectOneMenu id="select3" value="#{message.select3}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="4." />
+ <h:selectOneMenu id="select4" value="#{message.select4}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="5." />
+ <h:selectOneMenu id="select5" value="#{message.select5}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="Rich Message Demo:" />
+ <h:selectOneMenu value="#{message.msg}">
+ <f:selectItem itemValue="no" itemLabel="no" />
+ <f:selectItem itemValue="select1" itemLabel="1" />
+ <f:selectItem itemValue="select2" itemLabel="2" />
+ <f:selectItem itemValue="select3" itemLabel="3" />
+ <f:selectItem itemValue="select4" itemLabel="4" />
+ <f:selectItem itemValue="select5" itemLabel="5" />
+ </h:selectOneMenu>
+
+ <h:outputText value="Title:" />
+ <h:inputText value="#{message.title}" />
+
+ <h:outputText value="Show Detail:" />
+ <h:selectBooleanCheckbox value="#{message.showDetail}" />
+
+ <h:outputText value="ShowSummary" />
+ <h:selectBooleanCheckbox value="#{message.showSummary}" />
+
+ <h:outputText value="Tooltip" />
+ <h:selectBooleanCheckbox value="#{message.tooltip}" />
+
+ <h:outputText value="Layout:" />
+ <h:selectOneMenu value="#{message.layout}">
+ <f:selectItem itemValue="table" itemLabel="table" />
+ <f:selectItem itemValue="list" itemLabel="list" />
+ </h:selectOneMenu>
+
+ <h:commandButton value="submit" />
+ <a4j:commandButton value="submit ajax" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getFor(message)" reRender="findID1"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID1">
+ <h:outputText value="#{rich:findComponent('messageID').for}" />
+ </rich:column>
+ <rich:column>
+ <a4j:commandLink value="getRendererType(messages)" reRender="findID2"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID2">
+ <h:outputText
+ value="#{rich:findComponent('messagesID').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/MessageStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/MessageStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Message/MessageStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,26 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="MessageStraightforwardSubviewID">
+ <rich:simpleTogglePanel switchType="client" opened="true" label="modalPanel straightforward">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{message.bTest1}" value="run" onclick="submit()"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Message}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{message.bTest2}" value="run" onclick="submit()"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Message}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{message.bTest3}" value="run" onclick="submit()"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Message}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{message.bTest4}" value="run" onclick="submit()"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Message}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{message.bTest5}" value="run" onclick="submit()"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Message}"/>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanel.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanel.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanel.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,101 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="modalPanelSubviewID">
+
+ <rich:modalPanel id="modalPanelID"
+ binding="#{modalPanel.htmlModalPanel}"
+ visualOptions="#{modalPanel.visualOptions}" left="#{modalPanel.left}"
+ top="#{modalPanel.top}" minHeight="#{modalPanel.minHeight}"
+ minWidth="#{modalPanel.minWidth}" height="#{modalPanel.height}"
+ width="#{modalPanel.width}" moveable="#{modalPanel.moveable}"
+ resizeable="#{modalPanel.resizeable}"
+ keepVisualState="#{modalPanel.keepVisualState}"
+ rendered="#{modalPanel.rendered}" zindex="#{modalPanel.zindex}"
+ autosized="#{modalPanel.autosized}"
+ shadowDepth="#{modalPanel.shadowDepth}"
+ shadowOpacity="#{modalPanel.shadowOpacity}"
+ showWhenRendered="#{modalPanel.showWhenRendered}"
+ controlsClass="#{style.controlsClass}"
+ headerClass="#{style.headerClass}" styleClass="#{style.styleClass}"
+ onhide="#{event.onhide}" onmaskclick="#{event.onmaskclick}"
+ onmaskcontextmenu="#{event.onmaskcontextmenu}"
+ onmaskdblclick="#{event.onmaskdblclick}"
+ onmaskmousedown="#{event.onmaskmousedown}"
+ onmaskmousemove="#{event.onmaskmousemove}"
+ onmaskmouseout="#{event.onmaskmouseout}"
+ onmaskmouseover="#{event.onmaskmouseover}"
+ onmaskmouseup="#{event.onmaskmouseup}"
+ onmove="#{event.onmove}"
+ onresize="#{event.onresize}" onshow="#{event.onshow}"
+ onbeforehide="#{event.onbeforehide}"
+ onbeforeshow="#{event.onbeforeshow}" >
+ <f:facet name="header">
+ <h:outputText value="Heder goes here..." />
+ </f:facet>
+ <f:facet name="controls">
+ <h:graphicImage value="/pics/error.gif" onclick="Richfaces.hideModalPanel('modalPanelID'); return false;" />
+ </f:facet>
+
+ <h:outputText value="This is Modal Panel example" />
+ <h:selectOneMenu value="#{richBean.srcContainer}" >
+ <f:selectItems value="#{richBean.listContainer}" />
+ </h:selectOneMenu>
+
+ <h:inputText value="#{modalPanel.inputTextTest}" />
+ <h:selectOneListbox value="#{modalPanel.selectOneListboxTest}">
+ <f:selectItem itemLabel="item 1" itemValue="item 1" />
+ <f:selectItem itemLabel="item 2" itemValue="item 2" />
+ <f:selectItem itemLabel="item 3" itemValue="item 3" />
+ </h:selectOneListbox>
+
+ <f:verbatim><br /><br /></f:verbatim>
+ <rich:spacer width="20" height="20"></rich:spacer>
+
+ <h:outputLink value="http://localhost:8080/facelets"><f:verbatim>http://localhost:8080/facelets/</f:verbatim></h:outputLink>
+ <f:verbatim><br /><br /></f:verbatim>
+ <a4j:commandLink onclick="Richfaces.showModalPanel('modalPanel2ID');return false;" value="show ModalPanel 2"></a4j:commandLink>
+ <f:verbatim><br /><br /></f:verbatim>
+ <h:outputLink onclick="Richfaces.hideModalPanel('modalPanelID');return false;" ><f:verbatim>Close</f:verbatim></h:outputLink>
+ </rich:modalPanel>
+
+ <rich:modalPanel id="modalPanel2ID" autosized="true" resizeable="false">
+ <br />
+ <h:inputText value="input"></h:inputText>
+ <br />
+ <h:outputLink onclick="Richfaces.hideModalPanel('modalPanel2ID');return false;" ><f:verbatim>Close</f:verbatim></h:outputLink>
+
+
+ </rich:modalPanel>
+
+ <rich:modalPanel id="modalPanel3ID"
+ minHeight="100"
+ minWidth="200"
+ moveable="true"
+ resizeable="true"
+ keepVisualState="true">
+ <f:facet name="header">
+ <h:outputText value="Events..." />
+ </f:facet>
+ <f:facet name="controls">
+ <h:commandLink value="Close" onclick="Richfaces.hideModalPanel('modalPanel3ID');" />
+ </f:facet>
+
+ <h:outputText value="Eventsaaaaaaaaaaaaaaaa ..." />
+ <rich:calendar popup="true" />
+ </rich:modalPanel>
+ <a onclick="Richfaces.showModalPanel('modalPanelID');" href="#">show ModalPanel 1</a>
+ <br />
+ <a4j:commandLink onclick="Richfaces.showModalPanel('modalPanel2ID');return false;" value="show ModalPanel 2"></a4j:commandLink>
+ <f:verbatim><br /></f:verbatim>
+ <h:outputText value="click on image for open Modal Panel 3" />
+ <h:graphicImage value="/pics/info.gif">
+ <rich:componentControl event="onclick" for="modalPanel3ID" operation="show"></rich:componentControl>
+ </h:graphicImage>
+ <f:verbatim>
+ <br /><br />
+ <div id="idDiv1" align="center" style="position: relative; font-size: 50px; z-index: 2; color: navy" >z-index1</div>
+ <div id="idDiv2" align="center" style="position: relative; font-size: 50px; z-index: 2; color: navy">z-index2</div>
+ </f:verbatim>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanelDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanelProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanelProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanelProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,86 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="ModalPanelPropertySubviewID">
+<h:commandButton value="add test" action="#{modalPanel.addHtmlModalPanel}"></h:commandButton>
+ <h:panelGrid columns="2">
+ <h:outputText value="visualOptions"></h:outputText>
+ <h:inputText value="#{modalPanel.visualOptions}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="shadowDepth" />
+ <h:inputText value="#{modalPanel.shadowDepth}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="shadowOpacity" />
+ <h:inputText value="#{modalPanel.shadowOpacity}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="keepVisualState" />
+ <h:selectBooleanCheckbox value="#{modalPanel.keepVisualState}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="left" />
+ <h:inputText value="#{modalPanel.left}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="top" />
+ <h:inputText value="#{modalPanel.top}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{modalPanel.rendered}"
+ onchange="submit();">
+
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="showWhenRendered" />
+ <h:selectBooleanCheckbox value="#{modalPanel.showWhenRendered}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="zindex" />
+ <h:selectOneRadio value="#{modalPanel.zindex}">
+ <f:selectItem itemLabel="1" itemValue="1" />
+ <f:selectItem itemLabel="3" itemValue="3" />
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Width:" />
+ <h:inputText value="#{modalPanel.width}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height:" />
+ <h:inputText value="#{modalPanel.height}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="minWidth:" />
+ <h:inputText value="#{modalPanel.minWidth}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="minHeight:" />
+ <h:inputText value="#{modalPanel.minHeight}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="autosized:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.autosized}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="resizeable:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.resizeable}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Moveable:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.moveable}">
+ <a4j:support event="onclick" reRender="modalPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanelStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanelStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ModalPanel/ModalPanelStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="ModalPanelStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{modalPanel.bTest1}" value="run" reRender="modalPanelID,mpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1ModalPanel}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{modalPanel.bTest2}" value="run" reRender="modalPanelID,mpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2ModalPanel}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{modalPanel.bTest3}" value="run" reRender="modalPanelID,mpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3ModalPanel}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{modalPanel.bTest4}" value="run" reRender="modalPanelID,mpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4ModalPanel}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{modalPanel.bTest5}" value="run" reRender="modalPanelID,mpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5ModalPanel}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingList.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingList.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingList.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,113 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="orderingListSubviewID">
+
+ <a4j:outputPanel ajaxRendered="true">
+ <h:messages />
+ </a4j:outputPanel>
+
+ <rich:orderingList id="orderingListID" value="#{orderingList.list}" var="item" listHeight="#{orderingList.listHeight}"
+ listWidth="#{orderingList.listWidth}" controlsType="#{orderingList.controlsType}" converter="orderingListConverter"
+ bottomControlLabel="#{orderingList.bottomControlLabel}" captionLabel="#{orderingList.captionLabel}"
+ topControlLabel="#{orderingList.topControlLabel}" upControlLabel="#{orderingList.upControlLabel}"
+ controlsHorizontalAlign="#{orderingList.controlsHorizontalAlign}" controlsVerticalAlign="#{orderingList.controlsVerticalAlign}"
+ downControlLabel="#{orderingList.downControlLabel}"
+ orderControlsVisible="#{orderingList.orderControlsVisible}" fastOrderControlsVisible="#{orderingList.fastOrderControlsVisible}"
+ rendered="#{orderingList.rendered}" showButtonLabels="#{orderingList.showButtonLabels}" selection="#{orderingList.selection}"
+ onmousemove="#{event.onmousemove}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onorderchanged="#{event.onorderchanged}" ontopclick="#{event.ontopclick}" onupclick="#{event.onupclick}"
+ ondownclick="#{event.ondownclick}" onbottomclick="#{event.onbottomclick}" onheaderclick="#{event.onheaderclick}" binding="#{orderingList.htmlOL}">
+ <f:facet name="header">
+ <h:outputText value="header" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="footer" />
+ </f:facet>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Number" />
+ </f:facet>
+ <h:outputText value="#{item.int0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:inputText value="#{item.str0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Button" />
+ </f:facet>
+ <h:commandButton onclick="submit();" action="#{orderingList.cbAction}" value="#{item.str0} submit();" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:inputText value="#{item.str1}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link" />
+ </f:facet>
+ <a4j:commandLink action="#{orderingList.clAction}" value="#{item.str1} submit()" reRender="orderingListID"></a4j:commandLink>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="select" />
+ </f:facet>
+ <h:selectOneMenu value="#{item.str2}" >
+ <f:selectItem itemLabel="select0" itemValue="select0" />
+ <f:selectItem itemLabel="select1" itemValue="select1" />
+ <f:selectItem itemLabel="select2" itemValue="select2" />
+ <f:selectItem itemLabel="select3" itemValue="select3" />
+ <f:selectItem itemLabel="select4" itemValue="select4" />
+ <a4j:support event="onclick" reRender="orderingListID"></a4j:support>
+ </h:selectOneMenu>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Text" />
+ </f:facet>
+ <h:outputText value="#{item.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="graphicImage" />
+ </f:facet>
+ <h:graphicImage value="#{item.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link"></h:outputText>
+ </f:facet>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </h:column>
+ </rich:orderingList>
+ <h:panelGrid columns="3">
+ <h:column></h:column>
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.doHide()" value="Hide"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.doShow()" value="Show"></a4j:commandLink>
+ <a4j:commandLink onclick="alert($('formID:orderingListSubviewID:orderingListID').component.isShown)" value="isShown"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.Enable()" value="Enable"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.Disable()" value="Disable"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.isEnabled()" value="isEnabled"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.moveUp" value="moveUp"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.moveDown" value="moveDown"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.moveTop" value="moveTop"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.moveBottom" value="moveBottom"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.getSelection" value="getSelection"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.getItems" value="getItems"></a4j:commandLink>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingListDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingListProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingListProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingListProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,107 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="orderingListPropertySubviewID">
+ <h:commandButton action="#{orderingList.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Enter quantity of lines" />
+ <h:panelGroup>
+ <h:inputText value="#{orderingList.lenght}" />
+ <a4j:commandButton action="#{orderingList.addNewItem}"
+ reRender="orderingListID" value="ok" />
+ </h:panelGroup>
+
+ <h:outputText value="controlsType" />
+ <h:selectOneRadio value="#{orderingList.controlsType}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="button" itemValue="button" />
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="captionLabel" />
+ <h:inputText value="#{orderingList.captionLabel}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="listHeight:" />
+ <h:inputText value="#{orderingList.listHeight}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="listWidth" />
+ <h:inputText value="#{orderingList.listWidth}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="controlsVerticalAlign" />
+ <h:selectOneRadio value="#{orderingList.controlsVerticalAlign}">
+ <f:selectItem itemLabel="top" itemValue="top" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="bottom" itemValue="bottom" />
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="controlsHorizontalAlign" />
+ <h:selectOneRadio value="#{orderingList.controlsHorizontalAlign}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="upControlLabel" />
+ <h:inputText value="#{orderingList.upControlLabel}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="bottomControlLabel" />
+ <h:inputText value="#{orderingList.bottomControlLabel}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="topControlLabel" />
+ <h:inputText value="#{orderingList.topControlLabel}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="downControlLabel" />
+ <h:inputText value="#{orderingList.downControlLabel}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="showButtonLabels" />
+ <h:selectBooleanCheckbox value="#{orderingList.showButtonLabels}">
+ <a4j:support event="onclick" reRender="orderingListID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="fastOrderControlsVisible" />
+ <h:selectBooleanCheckbox
+ value="#{orderingList.fastOrderControlsVisible}">
+ <a4j:support event="onclick" reRender="orderingListID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="orderControlsVisible" />
+ <h:selectBooleanCheckbox value="#{orderingList.orderControlsVisible}">
+ <a4j:support event="onclick" reRender="orderingListID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{orderingList.rendered}"
+ onclick="submit();">
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getActiveItem" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('orderingListID').activeItem}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingListStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingListStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/OrderingList/OrderingListStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,109 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="orderingListStraightforwardSubviewID">
+
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{orderingList.bTest1}" value="run" reRender="richGridID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1OrderingList}" />
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{orderingList.bTest2}" value="run" reRender="richGridID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2OrderingList}" />
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{orderingList.bTest3}" value="run" reRender="richGridID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3OrderingList}" />
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{orderingList.bTest4}" value="run" reRender="richGridID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4OrderingList}" />
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{orderingList.bTest5}" value="run" reRender="richGridID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5OrderingList}" />
+
+ <a4j:commandButton value="Show selection (reRender)" reRender="infoPanelID"></a4j:commandButton>
+ <h:column>
+ <h:selectBooleanCheckbox value="#{orderingList.showSelect}" onclick="submit();" />
+ </h:column>
+ <h:column>
+ <h:dataTable id="infoPanelID" value="#{orderingList.info}" var="info" rendered="#{orderingList.showSelect}" border="1">
+ <h:column>
+ <h:outputText value="#{info}" />
+ </h:column>
+ </h:dataTable>
+ </h:column>
+
+ <a4j:commandButton value="Show all data (reRender)" reRender="allInfoPanelID"></a4j:commandButton>
+ <h:column>
+ <h:selectBooleanCheckbox value="#{orderingList.showAllData}" onclick="submit();" />
+ </h:column>
+ <h:column>
+ <h:dataTable id="allInfoPanelID" value="#{orderingList.list}" var="allInfo" rendered="#{orderingList.showAllData}" border="1">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Number" />
+ </f:facet>
+ <h:outputText value="#{allInfo.int0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Button" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0} submit();" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1} submit()" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="select" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str2}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Text" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="graphicImage" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+ </h:dataTable>
+ </h:column>
+
+ <h:panelGroup>
+ <a4j:commandButton value="reRender" reRender="orderingListID"></a4j:commandButton>
+ <a4j:commandButton immediate="true" reRender="orderingListID" value="immediate submit(); (a4j)"></a4j:commandButton>
+ <h:commandButton value="submit();" />
+ <h:commandButton immediate="true" value="immediate submit();" />
+ </h:panelGroup>
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2D.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2D.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2D.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,7 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="paint2DSubviewID">
+ <rich:paint2D id="paint2dID" cacheable="#{paint2D.cacheable}" paint="#{paint2D.paint}" data="#{paintData}" width="#{paint2D.width}" height="#{paint2D.height}"
+ align="#{paint2D.align}" hspace="#{paint2D.hspace}" vspace="#{paint2D.vspace}" bgcolor="#{paint2D.bgcolor}"
+ format="#{paint2D.format}" title="#{paint2D.title}" styleClass="#{paint2D.styleString}" border="#{paint2D.border}"
+ rendered="#{paint2D.rendered}" binding="#{paint2D.htmlPaint2D}"/>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1 @@
+<rich:paint2D paint="#{paint2D.paint}" data="#{paintData}" width="200" height="200" />
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,94 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="Paint2DPropertySubviewID">
+<h:commandButton action="#{paint2D.add}" value="add test" />
+ <h:panelGrid columns="2" cellpadding="5px" border="2">
+ <h:outputText value="Text"></h:outputText>
+ <h:inputText value="#{paintData.text}">
+ <a4j:support event="onchange" reRender="paint2dID" />
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{paint2D.width}">
+ <a4j:support event="onchange" reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height: "></h:outputText>
+ <h:inputText value="#{paint2D.height}">
+ <a4j:support event="onchange" reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Vertical space: "></h:outputText>
+ <h:inputText value="#{paint2D.vspace}">
+ <a4j:support event="onchange" reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Horizontal space: "></h:outputText>
+ <h:inputText value="#{paint2D.hspace}">
+ <a4j:support event="onchange" reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="cacheable:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{paint2D.cacheable}" onchange="submit();"/>
+
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneMenu value="#{paint2D.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="middle" itemValue="middle" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="bottom" itemValue="bottom" />
+ <f:selectItem itemLabel="top" itemValue="top" />
+ <a4j:support event="onclick" reRender="paint2dID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Format:"></h:outputText>
+ <h:selectOneMenu value="#{paint2D.format}">
+ <f:selectItem itemLabel="jpeg" itemValue="jpeg" />
+ <f:selectItem itemLabel="gif" itemValue="gif" />
+ <f:selectItem itemLabel="png" itemValue="png" />
+ <a4j:support event="onclick" reRender="paint2dID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Background Colour"></h:outputText>
+ <h:selectOneMenu value="#{paint2D.bgcolor}">
+ <f:selectItem itemLabel="aqua" itemValue="aqua" />
+ <f:selectItem itemLabel="blue" itemValue="blue" />
+ <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
+ <f:selectItem itemLabel="gray" itemValue="gray" />
+ <f:selectItem itemLabel="lime" itemValue="lime" />
+ <f:selectItem itemLabel="maroon" itemValue="maroon" />
+ <f:selectItem itemLabel="purple" itemValue="purple" />
+ <f:selectItem itemLabel="red" itemValue="red" />
+ <f:selectItem itemLabel="silver" itemValue="silver" />
+ <f:selectItem itemLabel="teal" itemValue="teal" />
+ <f:selectItem itemLabel="yellow" itemValue="yellow" />
+ <f:selectItem itemLabel="white" itemValue="white" />
+ <a4j:support event="onclick" reRender="paint2dID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Style" />
+ <h:selectBooleanCheckbox value="#{paint2D.style}">
+ <a4j:support event="onclick" reRender="paint2dID,borderID" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Border: "></h:outputText>
+ <h:inputText id="borderID" disabled="#{paint2D.style}" value="#{paint2D.border}">
+ <a4j:support event="onchange" reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{paint2D.rendered}">
+ <a4j:support event="onclick" reRender="paint2dID"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getData" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('paint2dID').data.text}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Paint2D/Paint2DStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,26 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="Paint2DStraightforwardSubviewID">
+ <rich:simpleTogglePanel switchType="client" opened="true" label="paint2D straightforward">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{paint2D.bTest1}" value="run" reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Paint2D}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{paint2D.bTest2}" value="run" reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Paint2D}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{paint2D.bTest3}" value="run" reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Paint2D}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{paint2D.bTest4}" value="run" reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Paint2D}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{paint2D.bTest5}" value="run" reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Paint2D}"/>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/Panel.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/Panel.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/Panel.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,112 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelSubviewID">
+<h:panelGrid columnClasses="panel" border="0" columns="3">
+ <rich:panel styleClass="top" headerClass="hea" bodyClass="bo">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim>This panel contains custom headerClass and bodyClass</f:verbatim>
+ </rich:panel>
+ <rich:panel styleClass="top2" headerClass="hea2" bodyClass="bo2">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim> This panel also contains custom headerClass and bodyClass. The background is not a 3D anymore.</f:verbatim>
+ </rich:panel>
+
+ <h:panelGroup>
+ <h:form>
+ <rich:panel onmouseover="document.getElementById(this.id+'_header').style.background='#60BA01';document.getElementById(this.id+'_body').style.background='#F4FFF8'"
+ onmouseout="document.getElementById(this.id+'_header').style.background='#4C9600';document.getElementById(this.id+'_body').style.background='#E4FFC8'"
+ style="width:200px;" headerClass="hea2" bodyClass="bo3" binding="#{panel.htmlPanel}">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim>Base on the previous layout, but form element and javascript behaviour are added</f:verbatim>
+ <br/>
+ <h:inputText/>
+ </rich:panel>
+ </h:form>
+ </h:panelGroup>
+
+ <rich:panel style="width:200px;" headerClass="hea" bodyClass="bo3">
+ <f:facet name="header">
+ <h:outputText value="Scrolling Text Panel"/>
+ </f:facet>
+ <f:verbatim>
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ </f:verbatim>
+ </rich:panel>
+
+ <rich:panel styleClass="top">
+ <f:verbatim>This is a panel without the header</f:verbatim>
+ </rich:panel>
+</h:panelGrid>
+<rich:panel style="position: absolute; top: 116px; right: 100px; "
+ styleClass="top">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim>
+ This is a panel with absolute position on the screen.<br />
+ Resize the browser's window for fun.
+ </f:verbatim>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+</rich:panel>
+<h:outputText value="Panel 1, rendered: #{!panel.rendered}; Panel 2, rendered #{panel.rendered};"></h:outputText>
+
+<rich:panel rendered="#{!panel.rendered}" id="p1" style="width:#{panel.width};height:#{panel.height};overflow:auto;"
+ ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onclick="showEvent('onclickInputID', 'onclick work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')"
+ onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
+ onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
+ <f:facet name="header">
+ <h:outputText id="t1" value="#{panel.title[0]} (Panel 1)"/>
+ </f:facet>
+
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText id="t2" value="#{panel.title[1]}"/>
+ </f:facet>
+ <h:panelGrid columns="2">
+ <h:outputText id="o1" value="width #{panel.title[2]}, eg. 250px"></h:outputText>
+ <h:inputText value="#{w}">
+ <a4j:support event="onchange" reRender="p3"></a4j:support>
+ </h:inputText>
+
+ <h:outputText id="o2" value="height #{panel.title[2]}, eg. 200px"></h:outputText>
+ <h:inputText value="#{h}">
+ <a4j:support event="onchange" reRender="p3"></a4j:support>
+ </h:inputText>
+ </h:panelGrid>
+
+ <rich:panel id="p3" style="width:#{w};height:#{h};overflow:auto;">
+ <f:facet name="header">
+ <h:outputText id="t3" value="#{panel.title[2]}"/>
+ </f:facet>
+ <h:graphicImage value="/pics/asus.jpg" width="150" height="100"></h:graphicImage>
+
+ </rich:panel>
+ </rich:panel>
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}"/>
+ </h:selectOneMenu>
+</rich:panel>
+
+<rich:panel id="panelId" rendered="#{panel.rendered}"
+ style="width:#{panel.width};height:#{panel.height}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
+ <f:verbatim>This is panel 2 example...(Test events)</f:verbatim>
+</rich:panel>
+</f:subview>
+
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,7 @@
+<rich:panel styleClass="top">
+ <f:facet name="header">
+ <h:outputText value="default panel" />
+ </f:facet>
+
+ <h:outputText value="This is default panel. content here" />
+</rich:panel>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,38 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="PanelPropertySubviewID">
+ <h:commandButton action="#{panel.add}" value="add test" />
+ <h:panelGrid columns="2" cellpadding="10px">
+ <h:outputText value="Title"></h:outputText>
+ <h:inputText valueChangeListener="#{panel.makeTitle}">
+ <a4j:support event="onchange" reRender="t1,t2,t3,o1,o2"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{panel.width}">
+ <a4j:support event="onchange" reRender="panelId,p1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height: "></h:outputText>
+ <h:inputText value="#{panel.height}">
+ <a4j:support event="onchange" reRender="panelId,p1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panel.rendered}" onclick="submit()"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('panelId').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Panel/PanelStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="PanelStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{panel.bTest1}" value="run" reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Panel}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{panel.bTest2}" value="run" reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Panel}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{panel.bTest3}" value="run" reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Panel}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{panel.bTest4}" value="run" reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Panel}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{panel.bTest5}" value="run" reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Panel}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBar.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBar.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBar.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,32 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelBarSubviewID">
+ <rich:panelBar id="pBId" height="#{panelBar.height}" width="#{panelBar.width}" contentClass="#{panelBar.contentStyle}"
+ styleClass="#{panelBar.style}" selectedPanel="pBiId4" onclick="#{event.onclick}" onitemchange="#{event.onitemchange}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" binding="#{panelBar.htmlPanelBar}">
+ <rich:panelBarItem rendered="#{panelBar.rendered}" id="pBiId1" label="#{panelBar.label[0]}"
+ headerClass="#{panelBar.headerStyle}">
+ <h:outputText value="Some text..."></h:outputText>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:panelBarItem>
+
+ <rich:panelBarItem id="pBiId2" label="#{panelBar.label[1]}" headerClass="#{panelBar.headerStyle}">
+ <h:graphicImage value="/pics/masshtaby_01.jpg" width="300" height="200"></h:graphicImage>
+ </rich:panelBarItem>
+
+ <rich:panelBarItem id="pBiId3" label="#{panelBar.label[2]}" headerClass="#{panelBar.headerStyle}">
+ <f:facet name="openMarker">
+ <h:graphicImage value="/pics/ajax_process.gif"></h:graphicImage>
+ </f:facet>
+ <f:facet name="closeMarker">
+ <h:graphicImage value="/pics/ajax_stoped.gif"></h:graphicImage>
+ </f:facet>
+ <h:graphicImage value="/pics/podb109_61.jpg" width="300" height="200"></h:graphicImage>
+ </rich:panelBarItem>
+
+ <rich:panelBarItem id="pBiId4" label="#{panelBar.label[3]}" headerClass="#{panelBar.headerStyle}">
+ <h:outputText value="Select Panel"></h:outputText>
+ </rich:panelBarItem>
+ </rich:panelBar>
+
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,8 @@
+<rich:panelBar>
+ <rich:panelBarItem>
+ <h:outputText value="bar item 1" />
+ </rich:panelBarItem>
+ <rich:panelBarItem>
+ <h:outputText value="bar item 2" />
+ </rich:panelBarItem>
+</rich:panelBar>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,44 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="panelBarPropertySubviewID">
+ <h:commandButton action="#{panelBar.add}" value="add test" />
+ <h:panelGrid columns="2" cellspacing="10px">
+ <h:outputText value="Label: "></h:outputText>
+ <h:inputText valueChangeListener="#{panelBar.makeLabels}">
+ <a4j:support event="onchange" reRender="pBId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{panelBar.width}">
+ <a4j:support event="onchange" reRender="pBId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height: "></h:outputText>
+ <h:inputText value="#{panelBar.height}">
+ <a4j:support event="onchange" reRender="pBId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelBar.rendered}">
+ <a4j:support event="onchange" reRender="pBId" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{panelBar.doStyles}"
+ value="#{panelBar.btnLabel}" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSelectedPanel" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('pBId').selectedPanel}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelBar/PanelBarStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelBarStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{panelBar.bTest1}" value="run" reRender="pbPropertyID,pBId"></a4j:commandButton>
+ <h:outputText value="#{msg.t1PanelBar}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{panelBar.bTest2}" value="run" reRender="pbPropertyID,pBId"></a4j:commandButton>
+ <h:outputText value="#{msg.t2PanelBar}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{panelBar.bTest3}" value="run" reRender="pbPropertyID,pBId"></a4j:commandButton>
+ <h:outputText value="#{msg.t3PanelBar}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{panelBar.bTest4}" value="run" reRender="pbPropertyID,pBId"></a4j:commandButton>
+ <h:outputText value="#{msg.t4PanelBar}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{panelBar.bTest5}" value="run" reRender="pbPropertyID,pBId"></a4j:commandButton>
+ <h:outputText value="#{msg.t5PanelBar}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenu.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenu.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenu.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,183 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelMenuSubviewID">
+ <rich:panelMenu id="panelMenuID" disabled="#{panelMenu.disabled}" width="#{panelMenu.width}" selectedChild="thisChild"
+ expandSingle="#{panelMenu.expandSingle}" mode="#{panelMenu.mode}" value="PanelMenu" rendered="#{panelMenu.rendered}"
+ iconCollapsedGroup="#{panelMenu.icon.collapsedGroup}" iconCollapsedTopGroup="#{panelMenu.icon.collapsedTopGroup}"
+ iconDisabledGroup="#{panelMenu.icon.disabledGroup}" iconDisabledItem="#{panelMenu.icon.disabledItem}"
+ iconExpandedGroup="#{panelMenu.icon.expandedGroup}" iconExpandedTopGroup="#{panelMenu.icon.expandedTopGroup}"
+ iconItem="#{panelMenu.icon.item}" iconTopDisabledItem="#{panelMenu.icon.disabledItem}"
+ iconTopDisableGroup="#{panelMenu.icon.disabledGroup}" iconTopItem="#{panelMenu.icon.topItem}"
+ iconGroupPosition="#{panelMenu.iconGroupPosition}" iconGroupTopPosition="#{panelMenu.iconGroupTopPosition}"
+ iconItemPosition="#{panelMenu.iconItemPosition}" iconItemTopPosition="#{panelMenu.iconItemTopPosition}" styleClass="sPanel"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" ongroupcollapse="#{event.ongroupcollapse}"
+ ongroupexpand="#{event.ongroupexpand}" onitemhover="#{event.onitemhover}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" binding="#{panelMenu.htmlPanelMenu}">
+
+ <rich:panelMenuItem label="Item 1(Test event)" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onbeforedomupdate="#{event.onbeforedomupdate}" oncomplete="#{event.oncomplete}" onmouseup="#{event.onmouseup}"></rich:panelMenuItem>
+
+ <rich:panelMenuItem>
+ <h:outputText value="select "></h:outputText>
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}" />
+ </h:selectOneMenu>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem>
+ <ui:include src="${richBean.pathComponentContainer}" />
+ </rich:panelMenuItem>
+ <rich:panelMenuItem disabled="true" iconDisabled="/pics/ajax_stoped.gif">
+ <h:outputText value="Disabled Item" />
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item Image">
+ <h:graphicImage value="/pics/item.png"></h:graphicImage>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem>
+ <h:outputText value="Item4" />
+ </rich:panelMenuItem>
+ <rich:panelMenuItem>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="CheckBox">
+ <h:selectBooleanCheckbox value="false"></h:selectBooleanCheckbox>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem>
+ <h:outputText value="CheckBox 2"></h:outputText>
+ <h:selectBooleanCheckbox value="false"></h:selectBooleanCheckbox>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Action" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
+
+ <rich:panelMenuGroup label="Group 1(expanded=true)" expanded="true">
+ <rich:panelMenuItem label="Item 1" disabled="true"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 1 (action)" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+
+ <rich:panelMenuGroup label="Group 1_1 (align)" align="#{panelMenu.align}">
+ <rich:panelMenuItem label="Imem 1_1">
+ <h:inputText value="#{panelMenu.inputText}"></h:inputText>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem label="Item 1_2"></rich:panelMenuItem>
+
+ <rich:panelMenuGroup label="Group 1_1_1">
+ <rich:panelMenuItem label="Item 1 (action)" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_1_2">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 4"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_2 (disabled, action)" disabled="true" onmousedown="alert('Disabled');">
+ <rich:panelMenuItem label="Item 1_2_1"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_3">
+ <rich:panelMenuItem label="Item 1_3_1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 1_3_1"></rich:panelMenuItem>
+
+ <rich:panelMenuGroup label="Group disabled" disabled="true">
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
+
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 2 ">
+ <rich:panelMenuItem label="Item 2_1"></rich:panelMenuItem>
+
+ <rich:panelMenuGroup label="Group 2_2">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 3">
+ <rich:panelMenuItem label="Item 3_1">
+ <f:verbatim>
+ <br />
+ text <br />
+ text <br />
+ text
+ </f:verbatim>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3_2">
+ <h:graphicImage value="/pics/benq.jpg" width="150px" height="100px"></h:graphicImage>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3_3"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ </rich:panelMenu>
+
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
+
+ <h:outputText id="info"
+ value="Expand Mode: #{panelMenu.mode}, Disabled: #{!panelMenu.disabled}, Align: #{panelMenu.align}, Tab Index: #{panelMenu.tabIndex}"></h:outputText>
+ <!-- triangleUp triangle triangleDown disc chevron chevronUp chevronDown grid -->
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
+ <rich:panelMenu id="panelMenuID2" expandMode="#{panelMenu.mode}" disabled="#{!panelMenu.disabled}" width="#{panelMenu.width}"
+ selectedChild="thisChild" styleClass="body">
+ <rich:panelMenuGroup label="Group 1 (tabIdex, my Image)" tabindex="#{panelMenu.tabIndex}" align="#{panelMenu.align}">
+ <rich:panelMenuGroup label="Group 1_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuGroup label="Group 1_1_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_2 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuGroup label="Group 1_2_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (iconDisabled)" iconDisabled="#{icon.iconHeader}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (icon)" disabled="true" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (iconDisabled)" disabled="true" iconDisabled="#{icon.iconItem}"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item "></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_3" align="#{panelMenu.align}" iconCollapsed="#{icon.iconCollapse}"
+ iconExpanded="#{icon.iconExpand}" iconDisabled="#{icon.disabled}">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <!-- triangleUp triangle triangleDown disc chevron chevronUp chevronDown grid -->
+ <rich:panelMenuItem label="Item (disc)" icon="disc"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (grid)" icon="grid"></rich:panelMenuItem>
+ <rich:panelMenuGroup label="Group" iconCollapsed="triangleDown" iconExpanded="triangleUp" iconDisabled="triangle">
+ <rich:panelMenuGroup label="Group" iconCollapsed="chevronDown" iconExpanded="chevronUp" iconDisabled="chevron">
+ <rich:panelMenuItem label="Item (disc)" icon="disc"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (grid)" iconDisabled="grid"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (grid)" icon="grid"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (disc)" iconDisabled="disc"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item "></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_3" iconCollapsed="chevronDown" iconExpanded="chevronUp" iconDisabled="chevron">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
+ </rich:panelMenu>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,8 @@
+<rich:panelMenu>
+ <rich:panelMenuItem label="item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="item 2"></rich:panelMenuItem>
+ <rich:panelMenuGroup label="gruop">
+ <rich:panelMenuItem label="item 3"></rich:panelMenuItem>
+ <rich:panelMenuItem label="item 4"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+</rich:panelMenu>>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,355 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="panelMenuPropertySubviewID">
+ <h:commandButton action="#{panelMenu.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Width"></h:outputText>
+ <h:inputText value="#{panelMenu.width}">
+ <a4j:support event="onchange"
+ reRender="panelMenuID,panelMenuID2,info"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Tab Index"></h:outputText>
+ <h:inputText value="#{panelMenu.tabIndex}">
+ <a4j:support event="onchange"
+ reRender="panelMenuID,panelMenuID2,info"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Expand Single"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelMenu.expandSingle}">
+ <a4j:support event="onchange" reRender="panelMenuID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Mode"></h:outputText>
+ <h:selectOneRadio value="#{panelMenu.mode}" id="Mode1ID"
+ onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Expand mode"></h:outputText>
+ <h:selectOneRadio value="#{panelMenu.expandMode}" onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Disabled"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelMenu.disabled}">
+ <a4j:support event="onchange"
+ reRender="panelMenuID,panelMenuID2,info"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelMenu.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+
+ <h:panelGrid columns="4">
+ <h:outputText value="Icon"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.icon}" onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.item}" onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item " itemValue="#{icon.iconItem}" />
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Disabled"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.disabled}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Disabled Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.disabledItem}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Top Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.topItem}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Top Disabled Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.topDisabledItem}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Expanded Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.expandedGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon CollapsedGroup"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.collapsedGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Disabled Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.disabledGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Expanded Top Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.expandedTopGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Collapsed Top Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.collapsedTopGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Top Disable Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.topDisableGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Expanded"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.expanded}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Collapsed"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.collapsed}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+ </h:panelGrid>
+ <br />
+ <h:panelGrid columns="4">
+ <h:outputText value="icon Group Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconGroupPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Group Top Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconGroupTopPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Item Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconItemPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Item Top Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconItemTopPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+ </h:panelGrid>
+ <h:panelGrid columns="3">
+ <h:column></h:column>
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink
+ onclick="PanelMenu.doExpand($('formID:panelMenuSubviewID:panelMenuID'));return false;"
+ value="doExpand"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="PanelMenu.doCollapse($('formID:panelMenuSubviewID:panelMenuID'));return false;"
+ value="doCollapse"></a4j:commandLink>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('panelMenuID').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/PanelMenu/PanelMenuStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelMenuStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{panelMenu.bTest1}" value="run" reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+ <h:outputText value="#{msg.t1PanelMenu}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{panelMenu.bTest2}" value="run" reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+ <h:outputText value="#{msg.t2PanelMenu}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{panelMenu.bTest3}" value="run" reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+ <h:outputText value="#{msg.t3PanelMenu}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{panelMenu.bTest4}" value="run" reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+ <h:outputText value="#{msg.t4PanelMenu}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{panelMenu.bTest5}" value="run" reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+ <h:outputText value="#{msg.t5PanelMenu}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickList.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickList.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickList.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,47 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="pickListSubviewID">
+
+ <rich:pickList id="pickListID" value="#{pickList.value}"
+ showButtonsLabel="#{pickList.showButtonLabels}"
+ valueChangeListener="#{pickList.valueChangeListener}"
+ controlClass="#{style.controlClass}" listClass="#{style.listClass}"
+ style="#{style.style}" styleClass="#{style.styleClass}"
+ copyAllControlLabel="#{pickList.copyAllControlLabel}"
+ copyControlLabel="#{pickList.copyControlLabel}"
+ disabled="#{pickList.copyControlLabel}"
+ immediate="#{pickList.immediate}"
+ listsHeight="#{pickList.listsHeight}"
+ moveControlsVerticalAlign="#{pickList.moveControlsVerticalAlign}"
+ removeAllControlLabel="#{pickList.removeAllControlLabel}"
+ removeControlLabel="#{pickList.removeControlLabel}"
+ rendered="#{pickList.rendered}"
+ sourceListWidth="#{pickList.sourceListWidth}"
+ title="#{pickList.title}" switchByClick="#{pickList.switchByClick}"
+ targetListWidth="#{pickList.targetListWidth}"
+ required="#{pickList.required}"
+ requiredMessage="#{pickList.requiredMessage}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ binding="#{pickList.myPickList}">
+ <f:selectItem itemValue="selectItem" itemLabel="selectItem" />
+ <f:selectItem itemValue="selectItem 1" itemLabel="selectItem 1" />
+ <f:selectItem itemValue="selectItem 2" itemLabel="selectItem 2" />
+ <f:selectItems value="#{pickList.data}" />
+ </rich:pickList>
+ <h:panelGrid columns="2">
+ <a4j:commandButton value="refresh" reRender="pickListvalueCLID"></a4j:commandButton>
+ <h:outputText id="pickListvalueCLID" value="#{pickList.valueCL}"></h:outputText>
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickListDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickListDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickListDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,7 @@
+<rich:pickList>
+ <f:selectItem itemValue="Item 1" itemLabel="Item 1" />
+ <f:selectItem itemValue="Item 2" itemLabel="Item 2" />
+ <f:selectItem itemValue="Item 3" itemLabel="Item 3" />
+ <f:selectItem itemValue="Item 4" itemLabel="Item 4" />
+ <f:selectItem itemValue="Item 5" itemLabel="Item 5" />
+</rich:pickList>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickListProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickListProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/PickList/PickListProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,96 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="pickListPropertySubviewID">
+ <h:commandButton action="#{pickList.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <a4j:commandButton reRender="pickListTargenID" value="refresh target"></a4j:commandButton>
+ <h:dataTable id="pickListTargenID" value="#{pickList.value}"
+ var="list" border="1">
+ <h:column>
+ <h:outputText value="#{list}"></h:outputText>
+ </h:column>
+ </h:dataTable>
+
+ <h:outputText value="title:"></h:outputText>
+ <h:inputText value="#{pickList.title}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="moveControlsVerticalAlign:"></h:outputText>
+ <h:inputText value="#{pickList.moveControlsVerticalAlign}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="showButtonLabels:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.showButtonLabels}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="copyAllControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.copyAllControlLabel}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="copyControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.copyControlLabel}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="removeControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.removeControlLabel}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="removeAllControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.removeAllControlLabel}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="switchByClick:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.switchByClick}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="listsHeight:"></h:outputText>
+ <h:inputText value="#{pickList.listsHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="sourceListWidth:"></h:outputText>
+ <h:inputText value="#{pickList.sourceListWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="targetListWidth:"></h:outputText>
+ <h:inputText value="#{pickList.targetListWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="fastOrderControlsVisible:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.fastOrderControlsVisible}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered:"></h:outputText>
+
+ <h:selectBooleanCheckbox value="#{pickList.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.immediate}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.disabled}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="required:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.required}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage:"></h:outputText>
+ <h:inputText value="#{pickList.requiredMessage}" onchange="submit();"></h:inputText>
+
+ <h:commandButton actionListener="#{pickList.checkBinding}"
+ value="Binding"></h:commandButton>
+ <h:outputText value="#{pickList.bindLabel}"></h:outputText>
+
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSelectedValues" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('pickListID').selectedValues}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ProgressBar/ProgressBar.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ProgressBar/ProgressBar.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ProgressBar/ProgressBar.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,118 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="progressBarSubviewID">
+
+ <rich:progressBar id="progressBarID" value="#{progressBar.value}"
+ style="width: 450px; height: 19px;#{style.style};" completeClass="#{style.completeClass}" finishClass="#{style.finishClass}" initialClass="#{style.initialClass}" remainClass="#{style.remainClass}" styleClass="#{style.styleClass}"
+ mode="#{progressBar.mode}" enabled="#{progressBar.enabled}"
+ actionListener="#{progressBar.actionListener}"
+ interval="#{progressBar.interval}"
+ maxValue="#{progressBar.maxValue}" minValue="#{progressBar.minValue}"
+ rendered="#{progressBar.rendered}" reRender="loadInfoPBID,valuePBID"
+ progressVar="progressVar" parameters="params:'%'"
+ reRenderAfterComplete="completedPBID"
+ ignoreDupResponses="#{progressBar.ignoreDupResponses}"
+ dualColoredLabel="#{progressBar.dualColoredLabel}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
+ ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" onsubmit="#{event.onsubmit}" binding="#{progressBar.htmlProgressBar}">
+ <f:facet name="initial">
+ <h:outputText value="Process not started"></h:outputText>
+ </f:facet>
+ <f:facet name="complete">
+ <h:outputText value="Process completed"></h:outputText>
+ </f:facet>
+ <h:outputText
+ value="{progressVar} | {minValue} {params} / {value} {params}/ {maxValue} {params}"></h:outputText>
+ <h:outputText id="loadInfoPBID"
+ value="[Load: #{progressBar.loadInfo}] " />
+ <h:graphicImage value="/pics/ajax_process.gif" />
+
+ </rich:progressBar>
+
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
+ <h:outputText
+ value="[parameters=params:'%'], [{progressVar} | {minValue} {params} / {value} {params}/ {maxValue} {params}]" />
+ <br />
+ <h:commandButton action="#{progressBar.add}" value="add test" />
+ <h:panelGrid columns="1">
+ <a4j:commandButton value="getValue"
+ onclick="alert($('formID:progressBarSubviewID:progressBarID').component.getValue())"></a4j:commandButton>
+ <a4j:commandLink value="setLabel"
+ onclick="$('formID:progressBarSubviewID:progressBarID').component.setLabel('setLabel work')"></a4j:commandLink>
+ <a4j:commandLink value="disable"
+ onclick="$('formID:progressBarSubviewID:progressBarID').component.disable();"></a4j:commandLink>
+ <a4j:commandLink value="enable"
+ onclick="$('formID:progressBarSubviewID:progressBarID').component.enable(event);"></a4j:commandLink>
+ </h:panelGrid>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="first value:" />
+ <h:outputText value="#{progressBar.value}" />
+ <h:outputText value="completed value:" />
+ <h:outputText id="completedPBID" value="#{progressBar.value}" />
+ </h:panelGrid>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="value:" />
+ <h:inputText id="valuePBID" value="#{progressBar.value}">
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="interval:" />
+ <h:inputText value="#{progressBar.interval}">
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="mode:" />
+ <h:selectOneRadio value="#{progressBar.mode}">
+ <f:selectItem itemValue="ajax" itemLabel="ajax"/>
+ <f:selectItem itemValue="client" itemLabel="client" />
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="enabled" />
+ <h:selectBooleanCheckbox value="#{progressBar.enabled}">
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="permanent:" />
+ <h:selectBooleanCheckbox value="#{progressBar.permanent}"
+ onchange="submit();" />
+
+ <h:outputText value="minValue:" />
+ <h:inputText value="#{progressBar.minValue}" onchange="submit();" />
+
+ <h:outputText value="maxValue:" />
+ <h:inputText value="#{progressBar.maxValue}" onchange="submit();" />
+
+ <h:outputText value="dualColoredLabel:" />
+ <h:selectBooleanCheckbox value="#{progressBar.dualColoredLabel}"
+ onchange="submit();" />
+
+ <h:outputText value="ignoreDupResponses" />
+ <h:selectBooleanCheckbox value="#{progressBar.ignoreDupResponses}"
+ onchange="submit();" />
+
+ <h:outputText value="rendered:" />
+ <h:selectBooleanCheckbox value="#{progressBar.rendered}"
+ onchange="submit();" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{rich:findComponent('progressBarID').value}" id="findID"/>
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ProgressBar/ProgressBarDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ScrollableDataTable/ScrollableDataTable.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ScrollableDataTable/ScrollableDataTable.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ScrollableDataTable/ScrollableDataTable.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,100 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="scrollableDataTableSubviewID">
+ <h:panelGrid columns="6" border="1" style="font-size:12px">
+ <h:outputText value="#1"></h:outputText>
+ <h:outputText value="#2"></h:outputText>
+ <h:outputText value="#3"></h:outputText>
+ <h:outputText value="#4"></h:outputText>
+ <h:outputText value="#5"></h:outputText>
+ <h:outputText value="#6"></h:outputText>
+
+ <h:panelGrid columns="1" title="1">
+ <h:outputText value="sortExpression"/>
+ <h:outputText value="sortable='true'"/>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="2">
+ <h:outputText value="sortExpression"/>
+ <h:outputText value="sortable='false'"/>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="3">
+ <h:outputText value="sortExpression"/>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="4">
+ <h:outputText value="sortExpression"/>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="5">
+ <h:outputText value="sortExpression"/>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="6">
+ <h:outputText value=""/>
+ </h:panelGrid>
+ </h:panelGrid>
+ <rich:scrollableDataTable id="sdt" var="sdt" rowKeyVar="key" onRowDblClick="alert('row:#{key}')"
+ ajaxSingle="#{scrollableDT.ajaxSingle}"
+ binding="#{scrollableDT.htmlScrollableDataTable}"
+ value="#{scrollableDT.data}" rows="#{scrollableDT.rows}"
+ width="#{scrollableDT.width}" height="#{scrollableDT.height}"
+ hideWhenScrolling="#{scrollableDT.hideWhenScrolling}"
+ reRender="inputID" frozenColCount="#{scrollableDT.frozenColCount}"
+ first="#{scrollableDT.first}" ignoreDupResponses="#{scrollableDT.ignoreDupResponses}"
+ bypassUpdates="#{scrollableDT.bypassUpdates}" rendered="#{scrollableDT.rendered}"
+ limitToList="#{scrollableDT.limitToList}"
+
+ timeout="#{scrollableDT.timeout}" sortMode="#{scrollableDT.sortMode}"
+ selection="#{scrollableDT.selection}" eventsQueue="myEventsQueue"
+ captionClass="#{style.captionClass}" columnClasses="#{style.columnClasses}" footerClass="#{style.footerClass}" headerClass="#{style.headerClass}" rowClasses="#{style.rowClasses}" activeClass="#{style.activeClass}" styleClass="#{style.styleClass}" style="#{style.style}" selectedClass="#{style.selectedClass}"
+ onbeforedomupdate="#{event.onbeforedomupdate}" oncomplete="#{event.oncomplete}" onRowClick="#{event.onRowClick}" onRowMouseDown="#{event.onRowMouseDown}" onRowMouseUp="#{event.onRowMouseUp}" onselectionchange="#{event.onselectionchange}">
+ <f:facet name="header">
+ <h:outputText value="facet header"></h:outputText>
+ </f:facet>
+ <rich:column sortExpression="#{sdt.int0}" sortable="true">
+ <f:facet name="header"><h:outputText value="#"/></f:facet>
+ <h:outputText value="#{sdt.int0}"></h:outputText>
+ <f:facet name="footer"><h:outputText value="#"/></f:facet>
+ </rich:column>
+
+ <rich:column sortExpression="#{sdt.str0}" sortable="false">
+ <f:facet name="header"><h:outputText value="Text"></h:outputText> </f:facet>
+ <h:outputText value="#{sdt.str0}"></h:outputText>
+ <f:facet name="footer"><h:outputText value="Text"></h:outputText> </f:facet>
+ </rich:column>
+
+ <rich:column sortExpression="#{sdt.str1}">
+ <f:facet name="header"><h:outputText value="Link"></h:outputText> </f:facet>
+ <a4j:commandLink value="#{sdt.str1}" reRender="sdt"></a4j:commandLink>
+ <f:facet name="footer"><h:outputText value="Link"></h:outputText> </f:facet>
+ </rich:column>
+
+ <rich:column sortExpression="#{sdt.str2}">
+ <f:facet name="header"><h:outputText value="Select"></h:outputText> </f:facet>
+ <h:selectOneMenu value="#{sdt.str2}">
+ <f:selectItem itemLabel="select0" itemValue="select0" />
+ <f:selectItem itemLabel="select1" itemValue="select1" />
+ <f:selectItem itemLabel="select2" itemValue="select2" />
+ <f:selectItem itemLabel="select3" itemValue="select3" />
+ <f:selectItem itemLabel="select4" itemValue="select4" />
+ </h:selectOneMenu>
+ <f:facet name="footer"><h:outputText value="Select"></h:outputText> </f:facet>
+ </rich:column>
+
+ <rich:column sortExpression="#{sdt.str3}">
+ <f:facet name="header"><h:outputText value="Select"></h:outputText> </f:facet>
+ <h:graphicImage value="#{sdt.str3}"></h:graphicImage>
+ <f:facet name="footer"><h:outputText value="Select"></h:outputText> </f:facet>
+ </rich:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Link"></h:outputText>
+ </f:facet>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <f:facet name="footer">
+ <h:outputText value="Link"></h:outputText>
+ </f:facet>
+ </rich:column>
+
+ <f:facet name="footer">
+ <h:outputText value="facet footer"></h:outputText>
+ </f:facet>
+ </rich:scrollableDataTable>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ScrollableDataTable/ScrollableDataTableDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ScrollableDataTable/ScrollableDataTableProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ScrollableDataTable/ScrollableDataTableProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ScrollableDataTable/ScrollableDataTableProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,62 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="scrollableDataTablePropertySubviewID">
+<h:commandButton action="#{scrollableDT.addHtmlScrollableDataTable}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="length:"></h:outputText>
+ <h:panelGroup>
+ <h:inputText value="#{scrollableDT.dataLength}"></h:inputText>
+ <a4j:commandButton action="#{scrollableDT.addNewItem}"
+ reRender="sdt" value="ok" />
+ </h:panelGroup>
+
+ <h:outputText value="rows:" />
+ <h:inputText value="#{scrollableDT.rows}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="first:"></h:outputText>
+ <h:inputText value="#{scrollableDT.first}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="timeout"></h:outputText>
+ <h:inputText value="#{scrollableDT.timeout}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="width:" />
+ <h:inputText value="#{scrollableDT.width}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="height:"></h:outputText>
+ <h:inputText value="#{scrollableDT.height}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="frozenColCount"></h:outputText>
+ <h:inputText value="#{scrollableDT.frozenColCount}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="limitToList"></h:outputText>
+ <h:selectBooleanCheckbox value="#{scrollableDT.limitToList}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="bypassUpdates:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{scrollableDT.bypassUpdates}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="ajaxSingle:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{scrollableDT.ajaxSingle}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{scrollableDT.rendered}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="hideWhenScrolling:" />
+ <h:selectBooleanCheckbox value="#{scrollableDT.hideWhenScrolling}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="sortMode" />
+ <h:selectOneRadio value="#{sortingAndFiltering.sortMode}" onchange="submit();">
+ <f:selectItem itemLabel="single" itemValue="single" />
+ <f:selectItem itemLabel="multi" itemValue="multi" />
+ </h:selectOneRadio>
+ </h:panelGrid>
+ <a4j:commandButton value="reRender" reRender="sdt"></a4j:commandButton>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/Separator.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/Separator.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/Separator.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,15 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="separatorSubviewID">
+ <h:outputText value="Some text one..." styleClass="text"></h:outputText>
+ <rich:separator id="separatorId" rendered="#{separator.rendered}" width="#{separator.width}" height="#{separator.height}"
+ title="#{separator.title}" lineType="#{separator.lineType}" align="#{separator.align}"
+ style="#{style.style}" styleClass="#{style.styleClass}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ binding="#{separator.htmlSeparator}"></rich:separator>
+ <h:outputText value="Some text two..." styleClass="text"></h:outputText>
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,2 @@
+
+<rich:separator width="150" height="10"></rich:separator>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,62 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="SeparatorPropertySubviewID">
+ <h:commandButton action="#{separator.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Width (px or %): "></h:outputText>
+ <h:inputText value="#{separator.width}">
+ <a4j:support event="onchange" reRender="separatorId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height (px or %):"></h:outputText>
+ <h:inputText value="#{separator.height}">
+ <a4j:support event="onchange" reRender="separatorId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="LineType:"></h:outputText>
+ <h:selectOneRadio value="#{separator.lineType}" layout="pageDirection">
+ <f:selectItem itemLabel="beveled" itemValue="beveled" />
+ <f:selectItem itemLabel="dotted" itemValue="dotted" />
+ <f:selectItem itemLabel="dashed" itemValue="dashed" />
+ <f:selectItem itemLabel="double" itemValue="double" />
+ <f:selectItem itemLabel="solid" itemValue="solid" />
+ <a4j:support event="onclick" reRender="separatorId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneRadio value="#{separator.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="separatorId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Title:"></h:outputText>
+ <h:inputText value="#{separator.title}">
+ <a4j:support event="onchange" reRender="separatorId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{separator.rendered}"
+ onclick="submit()"></h:selectBooleanCheckbox>
+
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{separator.doStyles}"
+ value="#{separator.btnLabel}" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getHeight" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText id="findID"
+ value="#{rich:findComponent('separatorId').height}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Separator/SeparatorStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="SeparatorStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{separator.bTest1}" value="run" reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Separator}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{separator.bTest2}" value="run" reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Separator}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{separator.bTest3}" value="run" reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Separator}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{separator.bTest4}" value="run" reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Separator}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{separator.bTest5}" value="run" reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Separator}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanel.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanel.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanel.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,76 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="simpleTogglePanelSubviewID">
+
+ <rich:simpleTogglePanel id="stpIncludeID" switchType="client">
+ <f:facet name="closeMarker">
+ <h:outputText value="Close it"/>
+ </f:facet>
+
+ <f:facet name="openMarker">
+ <h:outputText value="Open it"/>
+ </f:facet>
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}"/>
+ </h:selectOneMenu>
+
+ </rich:simpleTogglePanel>
+ <rich:simpleTogglePanel id="sTP" bodyClass="body" headerClass="head" label="simpleTogglePanel with some text" action="#{simpleTogglePanel.act}" actionListener="#{simpleTogglePanel.actListener}"
+ width="#{simpleTogglePanel.width}" height="#{simpleTogglePanel.height}" switchType="#{simpleTogglePanel.switchType}"
+ style="#{style.style}" styleClass="#{style.styleClass}"
+ oncollapse="#{event.oncollapse}" onbeforedomupdate="#{event.onbeforedomupdate}" onexpand="#{event.onexpand}"
+ opened="#{event.opened}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" binding="#{simpleTogglePanel.htmlSTP}">
+ <f:facet name="closeMarker">
+ <h:outputText value="Close It"/>
+ </f:facet>
+ <f:facet name="openMarker">
+ <h:outputText value="Open It"/>
+ </f:facet>
+ <f:verbatim>
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ </f:verbatim>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:simpleTogglePanel>
+
+ <rich:simpleTogglePanel id="sTP1" headerClass="head" label="simpleTogglePanel wiht image" width="#{simpleTogglePanel.width}" action="#{simpleTogglePanel.act}" actionListener="#{simpleTogglePanel.actListener}"
+ height="#{simpleTogglePanel.height}" rendered="#{simpleTogglePanel.rendered}" switchType="#{simpleTogglePanel.switchType}"
+ opened="false" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
+ <h:graphicImage value="/pics/podb109_61.jpg" width="500" height="300"></h:graphicImage>
+ </rich:simpleTogglePanel>
+
+ <rich:simpleTogglePanel id="sTP2" label="Focus simpleTogglePanle" width="#{simpleTogglePanel.width}" ignoreDupResponses="true" action="#{simpleTogglePanel.act}" actionListener="#{simpleTogglePanel.actListener}"
+ focus="#{simpleTogglePanel.focus}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
+ <f:facet name="closeMarker">
+ <h:graphicImage value="/pics/ajax_stoped.gif"></h:graphicImage>
+ </f:facet>
+ <f:facet name="openMarker">
+ <h:graphicImage value="/pics/ajax_process.gif"></h:graphicImage>
+ </f:facet>
+ <rich:simpleTogglePanel id="INsTP">
+ <h:panelGrid columns="2">
+ <h:graphicImage value="/pics/podb109_61.jpg" width="250px" height="200px"></h:graphicImage>
+ <f:verbatim>
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ </f:verbatim>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+ </rich:simpleTogglePanel>
+ <h:panelGrid id="simpleTogglePanelActionID" columns="1">
+ <a4j:commandButton value="Show action" reRender="simpleTogglePanelActionID" style=" width : 95px;"></a4j:commandButton>
+ <h:outputText value="#{simpleTogglePanel.action}" />
+ <h:outputText value="#{simpleTogglePanel.actionListener}" />
+ </h:panelGrid>
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,10 @@
+ <rich:simpleTogglePanel switchType="client">
+ <f:facet name="closeMarker">
+ <h:outputText value="Close it"/>
+ </f:facet>
+
+ <f:facet name="openMarker">
+ <h:outputText value="Open it"/>
+ </f:facet>
+ <h:outputText value="default simpleTogglePanel" />
+ </rich:simpleTogglePanel>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,40 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="stpPropertySubviewID">
+<h:commandButton action="#{simpleTogglePanel.add}" value="add test" />
+ <h:panelGrid columns="2" border="1">
+ <h:outputText value="Width:">
+ </h:outputText>
+ <h:inputText value="#{simpleTogglePanel.width}">
+ <a4j:support event="onchange" reRender="sTP,sTP1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height:">
+ </h:outputText>
+ <h:inputText value="#{simpleTogglePanel.height}">
+ <a4j:support event="onchange" reRender="sTP,sTP1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Switch Type:"></h:outputText>
+ <h:selectOneRadio value="#{simpleTogglePanel.switchType}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onclick" reRender="sTP,sTP1,sTP2"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{simpleTogglePanel.rendered}" onclick="submit()">
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue(for 2nd stPanel)" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('sTP').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="stpStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest1}" value="run" reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1SimpleTP}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest2}" value="run" reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2SimpleTP}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest3}" value="run" reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3SimpleTP}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest4}" value="run" reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4SimpleTP}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest5}" value="run" reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5SimpleTP}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Skinning/Skinning.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Skinning/Skinning.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Skinning/Skinning.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,326 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="skinningSubviewID">
+ <rich:dataTable columns="4" value="">
+ <f:facet name="caption">
+ <h:outputText value="Standard controls skinning feature provides styling for standard HTML elements so that they become highly compliant with RichFaces look and feel. Skinning can be applied to all page controls based on element name and type attribute (where applicable). Also this feature provides a set of CSS styles so that skinning can be applied by assigning rich-.. classes to particular elements or to container element that nests controls." />
+ </f:facet>
+ <f:facet name="header">
+ <rich:columnGroup>
+ <rich:column><h:outputText value="Name of Component" /></rich:column>
+ <rich:column><h:outputText value="styleClass of Component" /></rich:column>
+ <rich:column><h:outputText value="Component is enabled" /></rich:column>
+ <rich:column><h:outputText value="Component is disabled" /></rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="" />
+ </f:facet>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="inputText" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.inputTextStyleClass}" />
+ </rich:column>
+ <rich:column>
+ <h:inputText styleClass="#{skinning.inputTextStyleClass}" value="#{skinning.inputText}" />
+ </rich:column>
+ <rich:column>
+ <h:inputText styleClass="#{skinning.inputTextStyleClass}" value="#{skinning.inputText}" disabled="true"/>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="inputSecret" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.inputSecretStyleClass}" />
+ </rich:column>
+ <rich:column>
+ <h:inputSecret styleClass="#{skinning.inputSecretStyleClass}" value="#{skinning.inputSecret}" redisplay="true"/>
+ </rich:column>
+ <rich:column>
+ <h:inputSecret styleClass="#{skinning.inputSecretStyleClass}" value="#{skinning.inputSecret}" disabled="true" redisplay="true"/>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="input" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-input" />
+ </rich:column>
+ <rich:column>
+ <input class="rich-input" value="input" ></input>
+ </rich:column>
+ <rich:column>
+ <input class="rich-input" value="input" disabled="true" ></input>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="inputTextarea" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.inputTextareaStyleClass}" />
+ </rich:column>
+ <rich:column>
+ <h:inputTextarea styleClass="#{skinning.inputTextareaStyleClass}" value="#{skinning.inputTextarea}" />
+ </rich:column>
+ <rich:column>
+ <h:inputTextarea styleClass="#{skinning.inputTextareaStyleClass}" value="#{skinning.inputTextarea}" disabled="true" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectBooleanCheckbox" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectBooleanCheckboxStyleClass}" />
+ </rich:column>
+ <rich:column>
+ <h:selectBooleanCheckbox styleClass="#{skinning.selectBooleanCheckboxStyleClass}" value="#{skinning.selectBooleanCheckbox1}" />
+ <h:selectBooleanCheckbox styleClass="#{skinning.selectBooleanCheckboxStyleClass}" value="#{skinning.selectBooleanCheckbox2}" />
+ </rich:column>
+ <rich:column>
+ <h:selectBooleanCheckbox styleClass="#{skinning.selectBooleanCheckboxStyleClass}" value="#{skinning.selectBooleanCheckbox1}" disabled="true"/>
+ <h:selectBooleanCheckbox styleClass="#{skinning.selectBooleanCheckboxStyleClass}" value="#{skinning.selectBooleanCheckbox2}" disabled="true" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectManyCheckbox" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectManyCheckbox}" />
+ </rich:column>
+ <rich:column>
+ <h:selectManyCheckbox styleClass="#{skinning.selectManyCheckbox}" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyCheckbox>
+ </rich:column>
+ <rich:column>
+ <h:selectManyCheckbox styleClass="#{skinning.selectManyCheckbox}" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyCheckbox>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectManyListbox" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectManyListbox}" />
+ </rich:column>
+ <rich:column>
+ <h:selectManyListbox styleClass="#{skinning.selectManyListbox}" style="height: 55px;" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyListbox>
+ </rich:column>
+ <rich:column>
+ <h:selectManyListbox styleClass="#{skinning.selectManyListbox}" style="height: 55px;" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyListbox>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectManyMenu" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectManyMenu}" />
+ </rich:column>
+ <rich:column>
+ <h:selectManyMenu styleClass="#{skinning.selectManyMenu}" style="height: 55px;" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyMenu>
+ </rich:column>
+ <rich:column>
+ <h:selectManyMenu styleClass="#{skinning.selectManyMenu}" style="height: 55px;" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyMenu>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectOneListbox" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectOneListbox}" />
+ </rich:column>
+ <rich:column>
+ <h:selectOneListbox styleClass="#{skinning.selectOneListbox}" style="height: 55px;" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneListbox>
+ </rich:column>
+ <rich:column>
+ <h:selectOneListbox styleClass="#{skinning.selectOneListbox}" style="height: 55px;" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneListbox>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectOneMenu" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectOneMenu}" />
+ </rich:column>
+ <rich:column>
+ <h:selectOneMenu styleClass="#{skinning.selectOneMenu}" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneMenu>
+ </rich:column>
+ <rich:column>
+ <h:selectOneMenu styleClass="#{skinning.selectOneMenu}" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneMenu>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectOneRadio" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectOneRadio}" />
+ </rich:column>
+ <rich:column>
+ <h:selectOneRadio styleClass="#{skinning.selectOneRadio}" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneRadio>
+ </rich:column>
+ <rich:column>
+ <h:selectOneRadio styleClass="#{skinning.selectOneRadio}" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneRadio>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="commandButton" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.commandButton}" />
+ </rich:column>
+ <rich:column>
+ <h:commandButton styleClass="#{skinning.commandButton}" value="commandButton" />
+ </rich:column>
+ <rich:column>
+ <h:commandButton styleClass="#{skinning.commandButton}" value="commandButton" disabled="true" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="button" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-button" />
+ </rich:column>
+ <rich:column>
+ <button class="rich-button" >button</button>
+ </rich:column>
+ <rich:column>
+ <button class="rich-button" disabled="true" >button</button>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="commandLink" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.commandLink}" />
+ </rich:column>
+ <rich:column>
+ <h:commandLink styleClass="#{skinning.commandLink}" value="commandLink" />
+ </rich:column>
+ <rich:column>
+ <h:commandLink styleClass="#{skinning.commandLink}" value="commandLink" disabled="true" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="outputLink" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.outputLink}" />
+ </rich:column>
+ <rich:column>
+ <h:outputLink styleClass="#{skinning.outputLink}"><h:outputText value="outputLink" /></h:outputLink>
+ </rich:column>
+ <rich:column>
+ <h:outputLink styleClass="#{skinning.outputLink}" disabled="true"><h:outputText value="outputLink" /></h:outputLink>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="a" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-link" />
+ </rich:column>
+ <rich:column>
+ <a href="http://localhost:8081/jsp/pages/Rich/Rich.jsf" class="rich-link" >link</a>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="component has not disabled state" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="fieldset and legend" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-fieldset, rich-legend" />
+ </rich:column>
+ <rich:column>
+ <fieldset class="rich-fieldset">
+ <legend class="rich-legend">Student</legend>
+ </fieldset>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="components have not disabled state" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="hr" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-hr" />
+ </rich:column>
+ <rich:column>
+ <hr class="rich-hr" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="components have not disabled state" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="isindex" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-isindex" />
+ </rich:column>
+ <rich:column>
+ <isindex class="rich-isindex" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="components have not disabled state" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="keygen" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-keygen" />
+ </rich:column>
+ <rich:column>
+ <keygen class="rich-keygen" />
+ </rich:column>
+ <rich:column>
+ <keygen disabled="true" class="rich-keygen" />
+ </rich:column>
+ </rich:columnGroup>
+ </rich:dataTable>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/SortingAndFiltering/SortingAndFiltering.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/SortingAndFiltering/SortingAndFiltering.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/SortingAndFiltering/SortingAndFiltering.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,233 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="sortingAndFilteringSubviewID">
+ <h:panelGrid columns="9" border="1" style="font-size:12px">
+ <h:outputText value="#1"></h:outputText>
+ <h:outputText value="#2"></h:outputText>
+ <h:outputText value="#3"></h:outputText>
+ <h:outputText value="#4"></h:outputText>
+ <h:outputText value="#5"></h:outputText>
+ <h:outputText value="#6"></h:outputText>
+ <h:outputText value="#7"></h:outputText>
+ <h:outputText value="#8"></h:outputText>
+ <h:outputText value="#9"></h:outputText>
+ <h:panelGrid columns="1" title="1">
+ <h:outputText value="sortBy"></h:outputText>
+ <h:outputText value="selfSorted='#{sortingAndFiltering.selfSorted}'"></h:outputText>
+ <h:outputText value="sortOrder='#{sortingAndFiltering.sortOrder}'"></h:outputText>
+ <h:outputText value="filterBy"></h:outputText>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="2">
+ <h:outputText value="sortBy"></h:outputText>
+ <h:outputText value="selfSorted='#{sortingAndFiltering.selfSorted}'"></h:outputText>
+ <h:outputText value="filterBy"></h:outputText>
+ <h:outputText value="filterEvent='ondblclick'" />
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="3">
+ <h:outputText value="sortBy"></h:outputText>
+ <h:outputText value="sortOrder='#{sortingAndFiltering.sortOrder}'"></h:outputText>
+ <h:outputText value="filterMethod" />
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="4">
+ <h:outputText value="selfSorted='#{sortingAndFiltering.selfSorted}'"></h:outputText>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="5">
+ <h:outputText value="sortOrder='#{sortingAndFiltering.sortOrder}'"></h:outputText>
+ <h:outputText value="comparator: sort by length" />
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="6">
+ <h:outputText value=" filterExpression='data > filterValue"></h:outputText>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="7">
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="8">
+ <h:outputText value="filterBy" />
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="9">
+ <h:outputText value="sortBy"></h:outputText>
+ </h:panelGrid>
+ </h:panelGrid>
+ <rich:dataTable id="dataTableSAFID" value="#{sortingAndFiltering.data}" var="data" sortMode="#{sortingAndFiltering.sortMode}">
+ <rich:column sortBy="#{data.int0}" selfSorted="#{sortingAndFiltering.selfSorted}" sortOrder="#{sortingAndFiltering.sortOrder}"
+ filterBy="#{data.int0}">
+ <f:facet name="header">
+ <h:outputText value="#1" />
+ </f:facet>
+ <h:outputText value="#{data.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#1" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data.int1}" sortBy="#{data.int1}" selfSorted="#{sortingAndFiltering.selfSorted}"
+ filterEvent="ondblclick">
+ <f:facet name="header">
+ <h:outputText value="#2" />
+ </f:facet>
+ <h:outputText value="#{data.int1}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#2" />
+ </f:facet>
+ </rich:column>
+ <rich:column sortBy="#{data.str0}" sortOrder="#{sortingAndFiltering.sortOrder}"
+ filterMethod="#{sortingAndFiltering.filterMethod}">
+ <f:facet name="header">
+ <h:outputText value="#3" />
+ </f:facet>
+ <h:outputText value="#{data.str0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#3" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data.int2}" selfSorted="#{sortingAndFiltering.selfSorted}">
+ <f:facet name="header">
+ <h:outputText value="#4" />
+ </f:facet>
+ <h:outputText value="#{data.int2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#4" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data.str1}" sortOrder="#{sortingAndFiltering.sortOrder}" comparator="#{sortingAndFiltering.comparator}">
+ <f:facet name="header">
+ <h:outputText value="#5" />
+ </f:facet>
+ <h:outputText value="#{data.str1}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#5" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterExpression="#{data.int3 > sortingAndFiltering.filterValue}">
+ <f:facet name="header">
+ <h:outputText value="#6" />
+ </f:facet>
+ <h:outputText value="#{data.int3}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#6" />
+ </f:facet>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#7" />
+ </f:facet>
+ <h:graphicImage value="#{data.str2}"></h:graphicImage>
+ <h:outputText value="#{data.str2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#7" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data.str3}">
+ <f:facet name="header">
+ <h:outputText value="#8" />
+ </f:facet>
+ <h:commandButton value="#{data.str3}"></h:commandButton>
+ <f:facet name="footer">
+ <h:outputText value="#8" />
+ </f:facet>
+ </rich:column>
+ <rich:column sortBy="#{data.bool0}">
+ <f:facet name="header">
+ <h:outputText value="#9" />
+ </f:facet>
+ <h:selectBooleanCheckbox value="#{data.bool0}"></h:selectBooleanCheckbox>
+ <f:facet name="footer">
+ <h:outputText value="#9" />
+ </f:facet>
+ </rich:column>
+ </rich:dataTable>
+
+ <rich:dataTable id="dataTableFilterValueID" value="#{sortingAndFiltering.data}" var="data">
+ <rich:column filterValue="/pics/error.gif">
+ <f:facet name="header">
+ <h:outputText value="#7(filterValue='/pics/error.gif)'" />
+ </f:facet>
+ <h:graphicImage value="#{data.str2}"></h:graphicImage>
+ <h:outputText value=" [#{data.str2}]"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#7" />
+ </f:facet>
+ </rich:column>
+ </rich:dataTable>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="filterMethod (#3):"></h:outputText>
+ <h:inputText value="#{sortingAndFiltering.filterInput}" onchange="submit();" />
+
+ <h:outputText value="filterValue (#6):"></h:outputText>
+ <h:inputText value="#{sortingAndFiltering.filterValue}" onchange="submit();" />
+
+ <h:outputText value="sortMode" />
+ <h:selectOneRadio value="#{sortingAndFiltering.sortMode}" onchange="submit();">
+ <f:selectItem itemLabel="single" itemValue="single" />
+ <f:selectItem itemLabel="multi" itemValue="multi" />
+ </h:selectOneRadio>
+
+ <h:outputText value="selfSorted" />
+ <h:selectBooleanCheckbox value="#{sortingAndFiltering.selfSorted}" onchange="submit();" />
+
+ <h:outputText value="sortOrder" />
+ <h:selectOneRadio value="#{sortingAndFiltering.currentSortOrder}" onchange="submit();">
+ <f:selectItem itemLabel="DESCENDING" itemValue="DESCENDING" />
+ <f:selectItem itemLabel="UNSORTED" itemValue="UNSORTED" />
+ <f:selectItem itemLabel="ASCENDING" itemValue="ASCENDING" />
+ </h:selectOneRadio>
+ </h:panelGrid>
+ <br/>
+ <rich:dataTable value="#{sortingAndFiltering.data}" var="cap" width="500px" rows="15">
+
+ <f:facet name="header">
+
+ <rich:columnGroup>
+
+ <rich:column colspan="3">
+
+ <h:outputText value="Filtering Example"/>
+
+ </rich:column>
+
+ <rich:column breakBefore="true">
+
+ <h:outputText value="State Name"/>
+
+ </rich:column>
+
+ <rich:column>
+
+ <h:outputText value="State Capital"/>
+
+ </rich:column>
+
+ <rich:column>
+
+ <h:outputText value="State Time Zone"/>
+
+ </rich:column>
+
+ </rich:columnGroup>
+
+ </f:facet>
+
+ <rich:column filterBy="#{cap.str0}" >
+
+ <h:outputText value="#{cap.str0}"/>
+
+ </rich:column>
+
+ <rich:column filterBy="#{cap.str1}" >
+
+ <h:outputText value="#{cap.str1}"/>
+
+ </rich:column>
+
+ <rich:column filterBy="#{cap.str3}">
+
+ <h:outputText value="#{cap.str3}"/>
+
+ </rich:column>
+
+ <f:facet name="footer">
+
+ <rich:datascroller renderIfSinglePage="false"/>
+
+ </f:facet>
+
+ </rich:dataTable>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/Spacer.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/Spacer.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/Spacer.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="spacerSubviewID">
+ <style type="text/css">
+.text {
+ font-size: 20px;
+}
+
+.spacer {
+ background-color: aqua;
+}
+</style>
+ <h:outputText value="Some text one..." styleClass="text"></h:outputText>
+
+ <rich:spacer id="spacerId" title="#{spacer.title}" width="#{spacer.width}" height="#{spacer.height}" rendered="#{spacer.rendered}"
+ styleClass="#{spacer.style}" style="#{style.style}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ binding="#{spacer.htmlSpacer}">
+ </rich:spacer>
+ <h:outputText value="Some text two..." styleClass="text"></h:outputText>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1 @@
+<rich:spacer width="100" height="50" style="background-color: red"></rich:spacer>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,44 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="spacerPropertySubviewID">
+ <h:commandButton action="#{spacer.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Width (px or %):"></h:outputText>
+ <h:inputText value="#{spacer.width}">
+ <a4j:support event="onchange" reRender="spacerId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height (px or %):"></h:outputText>
+ <h:inputText value="#{spacer.height}">
+ <a4j:support event="onchange" reRender="spacerId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="title:"></h:outputText>
+ <h:inputText value="#{spacer.title}">
+ <a4j:support event="onchange" reRender="spacerId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{spacer.rendered}" onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Style" />
+ <a4j:commandButton id="btn" action="#{spacer.doStyle}"
+ value="#{spacer.btn}" reRender="spacerId, btn"></a4j:commandButton>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText id="findID"
+ value="#{rich:findComponent('spacerId').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Spacer/SpacerStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="spacerStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{spacer.bTest1}" value="run" reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Spacer}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{spacer.bTest2}" value="run" reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Spacer}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{spacer.bTest3}" value="run" reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Spacer}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{spacer.bTest4}" value="run" reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Spacer}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{spacer.bTest5}" value="run" reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Spacer}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBox.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBox.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBox.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,72 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="suggestionBoxSubviewID">
+<h:messages showDetail="true" />
+ <f:verbatim>Suggestion Box will suggest you Town's names if it's started with the "a" or "A" letter
+ <br />
+ </f:verbatim>
+ <h:inputText value="#{sb.property}" id="text">
+ <f:validateLength minimum="0" maximum="30"/>
+ </h:inputText>
+ <rich:suggestionbox id="suggestionBoxId"
+ ajaxSingle="#{sb.ajaxSingle}"
+ bgcolor="#{sb.bgColor}"
+ binding="#{sb.mySuggestionBox}"
+ bypassUpdates="#{sb.bypassUpdates}"
+ cellpadding="#{sb.cellpadding}"
+ cellspacing="#{sb.cellspacing}"
+ dir="#{sb.dir}"
+ entryClass="#{style.entryClass}"
+ eventsQueue="myEventsQueue"
+ fetchValue="#{result.text}"
+ first="#{sb.first}"
+ for="text"
+ frame="#{sb.frame}"
+ frequency="#{sb.frequency}"
+ height="#{sb.height}"
+ ignoreDupResponses="#{sb.ignoreDupResponses}"
+ immediate="#{sb.immediate}"
+ limitToList="false"
+ minChars="#{sb.minchars}"
+ nothingLabel="#{sb.nothingLabel}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ oncomplete="#{event.oncomplete}"
+ onobjectchange="#{event.onobjectchange}"
+ onselect="#{event.onselect}"
+ onsubmit="#{event.onsubmit}"
+ popupStyle="background-color: black;"
+ usingSuggestObjects="#{sb.usingSuggestObjects}"
+ rendered="#{sb.rendered}"
+ requestDelay="#{sb.requestDelay}"
+ selfRendered="#{sb.selfRendered}"
+ var="result"
+ suggestionAction="#{sb.autocomplete}"
+ width="#{sb.width}"
+ border="#{sb.border}"
+ zindex="#{sb.zindex}"
+ rules="#{sb.rules}"
+ tokens="#{sb.tokens}"
+ title="#{result.text}"
+ summary="summary"
+ shadowOpacity="#{sb.shadowOpacity}"
+ shadowDepth="#{sb.shadowDepth}"
+ selectValueClass="mousemove"
+ style="#{style.style}"
+ styleClass="#{style.styleClass}"
+ selectedClass="#{style.selectedClass}"
+ rowClasses="#{style.rowClasses}" >
+
+ <h:column>
+ <h:outputText value="#{result.city}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.contry}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.flag}" />
+ </h:column>
+ <h:column>
+ <a4j:htmlCommandLink actionListener="#{sb.selectValue}" value="Click me!"/>
+ </h:column>
+ </rich:suggestionbox>
+ <div style="position: relative; font-size: 50px; z-index: 2; color: navy">z-index</div>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBoxDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBoxProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBoxProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBoxProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,167 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="suggestionboxPropertySubviewID">
+
+ <h:panelGrid columns="2" cellpadding="5px">
+ <h:outputText value="ajaxSingle"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.ajaxSingle}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="bgcolor"></h:outputText>
+ <h:selectOneMenu value="#{sb.bgColor}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="aqua" itemValue="aqua" />
+ <f:selectItem itemLabel="blue" itemValue="blue" />
+ <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
+ <f:selectItem itemLabel="gray" itemValue="gray" />
+ <f:selectItem itemLabel="lime" itemValue="lime" />
+ <f:selectItem itemLabel="maroon" itemValue="maroon" />
+ <f:selectItem itemLabel="purple" itemValue="purple" />
+ <f:selectItem itemLabel="red" itemValue="red" />
+ <f:selectItem itemLabel="silver" itemValue="silver" />
+ <f:selectItem itemLabel="teal" itemValue="teal" />
+ <f:selectItem itemLabel="yellow" itemValue="yellow" />
+ <f:selectItem itemLabel="white" itemValue="white" />
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:commandButton id="bindingButtonID"
+ actionListener="#{sb.checkBinding}" value="binding and param" />
+ <h:outputText value="#{sb.bindLabel}" />
+
+ <h:outputText value="border" />
+ <h:inputText value="#{sb.border}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="bypassUpdates"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.bypassUpdates}"
+ onchange="submit();" />
+
+ <h:outputText value="cellpadding" />
+ <h:inputText value="#{sb.cellpadding}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="cellspacing" />
+ <h:inputText value="#{sb.cellspacing}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="dir"></h:outputText>
+ <h:selectOneMenu value="#{sb.dir}">
+ <f:selectItem itemLabel="RTL" itemValue="RTL" />
+ <f:selectItem itemLabel="LTR" itemValue="LTR" />
+ </h:selectOneMenu>
+
+ <h:outputText value="first" />
+ <h:inputText value="#{sb.first}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="frame"></h:outputText>
+ <h:selectOneMenu value="#{sb.frame}">
+ <f:selectItem itemLabel="void" itemValue="void" />
+ <f:selectItem itemLabel="above" itemValue="above" />
+ <f:selectItem itemLabel="below" itemValue="below" />
+ <f:selectItem itemLabel="hsides" itemValue="hsides" />
+ <f:selectItem itemLabel="lhs" itemValue="lhs" />
+ <f:selectItem itemLabel="rhs" itemValue="rhs" />
+ <f:selectItem itemLabel="vsides" itemValue="vsides" />
+ <f:selectItem itemLabel="box" itemValue="box" />
+ <f:selectItem itemLabel="border " itemValue="border " />
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="frequency" />
+ <h:inputText value="#{sb.frequency}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="height" />
+ <h:inputText value="#{sb.height}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="ignoreDupResponses"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.ignoreDupResponses}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.immediate}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="minChars" />
+ <h:inputText value="#{sb.minchars}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="nothingLabel" />
+ <h:inputText value="#{sb.nothingLabel}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="usingSuggestObjects"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.usingSuggestObjects}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="z-index"></h:outputText>
+ <h:selectOneRadio value="#{sb.zindex}">
+ <f:selectItem itemLabel="1" itemValue="1" />
+ <f:selectItem itemLabel="3" itemValue="3" />
+ <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="requestDelay"></h:outputText>
+ <h:inputText value="#{sb.requestDelay}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="value" />
+ <h:inputText value="#{sb.value}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width" />
+ <h:inputText value="#{sb.width}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="tokens:"></h:outputText>
+ <h:inputText value="#{sb.tokens}"></h:inputText>
+
+ <h:outputText value="Shadow Opacity"></h:outputText>
+ <h:selectOneRadio value="#{sb.shadowOpacity}">
+ <f:selectItem itemLabel="1" itemValue="1" />
+ <f:selectItem itemLabel="3" itemValue="2" />
+ <f:selectItem itemLabel="5" itemValue="3" />
+ <f:selectItem itemLabel="7" itemValue="4" />
+ <f:selectItem itemLabel="9" itemValue="5" />
+ <f:selectItem itemLabel="11" itemValue="6" />
+ <f:selectItem itemLabel="13" itemValue="7" />
+ <f:selectItem itemLabel="15" itemValue="8" />
+ <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Shadow Depth"></h:outputText>
+ <h:selectOneRadio value="#{sb.shadowDepth}">
+ <f:selectItem itemLabel="3" itemValue="3" />
+ <f:selectItem itemLabel="4" itemValue="4" />
+ <f:selectItem itemLabel="5" itemValue="5" />
+ <f:selectItem itemLabel="6" itemValue="6" />
+ <f:selectItem itemLabel="7" itemValue="6" />
+ <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="selfRendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.selfRendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBoxStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBoxStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/SuggestionBox/SuggestionBoxStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="suggestionboxStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{sb.bTest1}" value="run" reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+ <h:outputText value="#{msg.t1SB}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{sb.bTest2}" value="run" reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+ <h:outputText value="#{msg.t2SB}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{sb.bTest3}" value="run" reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+ <h:outputText value="#{msg.t3SB}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{sb.bTest4}" value="run" reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+ <h:outputText value="#{msg.t4SB}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{sb.bTest5}" value="run" reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+ <h:outputText value="#{msg.t5SB}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanel.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanel.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanel.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,38 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="tabPanelSubviewID">
+ <rich:tabPanel id="tabPanelId" headerAlignment="#{tabPanel.headerAlignment}" width="#{tabPanel.width}"
+ contentStyle="#{style.contentStyle}" headerClass="#{style.headerClass}" style="#{style.style}" styleClass="#{style.styleClass}" tabClass="#{style.tabClass}"
+ height="#{tabPanel.height}" rendered="#{tabPanel.rendered}" title="#{tabPanel.title}" switchType="#{tabPanel.switchType}"
+ headerSpacing="#{tabPanel.headerSpacing}" selectedTab="#{tabPanel.selectedTab}" activeTabClass="#{tabPanel.activeTabStyle}"
+ disabledTabClass="#{tabPanel.disabledTabStyle}" inactiveTabClass="#{tabPanel.inactiveTabStyle}"
+ contentClass="#{tabPanel.contentStyle}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" binding="#{tabPanel.htmlTabPanel}">
+
+ <rich:tab id="tabOne" labelWidth="#{tabPanel.labelWidth}" label="#{tabPanel.label}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" ontabenter="#{event.ontabenter}" ontableave="#{event.ontableave}">
+ <h:outputText value="This is tab panel test example" styleClass="text1"></h:outputText>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:tab>
+ <rich:tab id="tabTwo" label="Tab with image" disabled="#{tabPanel.disabledTab}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" ontabenter="#{event.ontabenter}" ontableave="#{event.ontableave}">
+ <f:facet name="header">
+ <h:outputText value="client switchType from facet" />
+ </f:facet>
+ <h:graphicImage value="/pics/masshtaby_01.jpg" width="560" height="383"></h:graphicImage>
+ </rich:tab>
+ <rich:tab id="tabThree" label="Tab with some text" disabled="#{tabPanel.disabledTab}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" ontabenter="#{event.ontabenter}" ontableave="#{event.ontableave}">
+ <h:outputText
+ value=" Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text..." />
+ </rich:tab>
+ </rich:tabPanel>
+
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,7 @@
+<rich:tabPanel>
+ <rich:tab label="tab1">
+ <h:outputText value="tab 1" />
+ </rich:tab>
+ <rich:tab label="tab2">
+ </rich:tab>
+</rich:tabPanel>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,81 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="tabPanelStraightforwardSubviewID">
+ <h:commandButton action="#{tabPanel.add}" value="add test" />
+ <h:panelGrid columns="2" cellspacing="10px">
+ <h:outputText value="Width (px or %):"></h:outputText>
+ <h:inputText value="#{tabPanel.width}" onchange="submit();" />
+
+ <h:outputText value="Height (px or %):"></h:outputText>
+ <h:inputText value="#{tabPanel.height}" onchange="submit();" />
+
+ <h:outputText value="Title:"></h:outputText>
+ <h:inputText value="#{tabPanel.title}">
+ <a4j:support event="onchange" reRender="tabPanelId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="LabelWidth:"></h:outputText>
+ <h:inputText value="#{tabPanel.labelWidth}" onchange="submit();" />
+
+ <h:outputText value="SwitchType:"></h:outputText>
+ <h:selectOneRadio value="#{tabPanel.switchType}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onchange" reRender="tabPanelId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Header Alignment:"></h:outputText>
+ <h:selectOneRadio value="#{tabPanel.headerAlignment}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onchange" reRender="tabPanelId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Header Spacing:"></h:outputText>
+ <h:inputText value="#{tabPanel.headerSpacing}">
+ <a4j:support event="onchange" reRender="tabPanelId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Selected Tab:"></h:outputText>
+ <h:selectOneRadio value="#{tabPanel.selectedTab}" onchange="submit();">
+ <f:selectItem itemLabel="1" itemValue="tabOne" />
+ <f:selectItem itemLabel="2" itemValue="tabTwo" />
+ <f:selectItem itemLabel="3" itemValue="tabThr" />
+ </h:selectOneRadio>
+
+ <h:outputText value="immediate" />
+ <h:selectBooleanCheckbox value="#{tabPanel.immediate}">
+ <a4j:support event="onchange" reRender="tabPanelId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tabPanel.rendered}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disable Tab"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tabPanel.disabledTab}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{tabPanel.doStyles}"
+ value="#{tabPanel.btnLabel}" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSelectedTab" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('tabPanelId').selectedTab}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/TabPanel/TabPanelStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="tabPanelPropertySubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{tabPanel.bTest1}" value="run" reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+ <h:outputText value="#{msg.t1TabPanel}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{tabPanel.bTest2}" value="run" reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+ <h:outputText value="#{msg.t2TabPanel}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{tabPanel.bTest3}" value="run" reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+ <h:outputText value="#{msg.t3TabPanel}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{tabPanel.bTest4}" value="run" reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+ <h:outputText value="#{msg.t4TabPanel}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{tabPanel.bTest5}" value="run" reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+ <h:outputText value="#{msg.t5TabPanel}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanel.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanel.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanel.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,147 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="togglePanelSubviewID">
+
+ <rich:togglePanel id="panel1" switchType="#{togglePanel.switchType}" initialState="asus" stateOrder="asus,blank" styleClass="#{style.styleClass}" style="width:300px!important;#{style.style};"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" binding="#{togglePanel.htmlToglePanel}">
+ <f:facet name="blank">
+ <rich:panel>
+ <f:facet name="header">
+ <h:panelGroup>
+ <rich:toggleControl id="toggleControl_blank" for="togglePanelSubviewID:panel1">
+ <h:outputText value="Expand" style="font-weight: bold;" />
+ <h:graphicImage url="/pics/collapse.gif" style="border-width: 0px;" />
+ </rich:toggleControl>
+ </h:panelGroup>
+ </f:facet>
+ </rich:panel>
+ </f:facet>
+
+ <f:facet name="asus">
+ <rich:panel style="overflow: auto">
+ <f:facet name="header">
+ <h:panelGroup>
+ <rich:toggleControl id="toggleControl_panel1" for="togglePanelSubviewID:panel1">
+ <h:outputText value="Collapse" style="font-weight: bold;" />
+ <h:graphicImage url="/pics/expand.gif" style="border-width: 0px;" />
+ </rich:toggleControl>
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGrid columns="2" border="0" style="width: 100%;background-color: white;">
+ <h:graphicImage url="/pics/asus.jpg" height="300" width="300" alt="asus.jpg" />
+ <h:panelGroup>
+ <h:outputText style="font: 18px;font-weight: bold;" value="Asus F 3 Tc" />
+ <f:verbatim>
+ Processor: AMD Turion 64 X 2 - 1600 Mhz<br />
+ RAM: 1024 Mb<br />
+ HDD: 100 Gb<br />
+ Screen: 15.4 WXGA<br />
+ Video: NVIDIA GeForce Go 7300<br />
+ Drive: DVD- RW DL<br />
+ </f:verbatim>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </h:panelGroup>
+ </h:panelGrid>
+ </rich:panel>
+ </f:facet>
+ </rich:togglePanel>
+
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
+
+ <rich:togglePanel id="panel2" switchType="#{togglePanel.switchType}" initialState="#{togglePanel.initialState}"
+ stateOrder="#{togglePanel.stateOrder}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}">
+ <f:facet name="asus">
+ <rich:panel>
+ <f:facet name="header">
+ <h:panelGroup>
+ <h:outputText value="Customizable toggle panel" style="font-weight: bold;" />
+ <rich:toggleControl id="toggleControl_panel_1" for="togglePanelSubviewID:panel2">
+ <h:outputText value="Next"></h:outputText>
+ <h:graphicImage url="/pics/expand.gif" style="border-width: 0px;" />
+ </rich:toggleControl>
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGrid columns="2" border="0" style="width: 100%;background-color: white;">
+ <h:graphicImage url="/pics/asus.jpg" height="300" width="300" alt="asus.jpg" />
+ <h:panelGroup>
+ <h:outputText style="font: 18px;font-weight: bold;" value="Asus F 3 Tc" />
+ <f:verbatim>
+ Processor: AMD Turion 64 X 2 - 1600 Mhz<br />
+ RAM: 1024 Mb<br />
+ HDD: 100 Gb<br />
+ Screen: 15.4 WXGA<br />
+ Video: NVIDIA GeForce Go 7300<br />
+ Drive: DVD- RW DL<br />
+ </f:verbatim>
+ </h:panelGroup>
+ </h:panelGrid>
+ </rich:panel>
+ </f:facet>
+
+ <f:facet name="benq">
+ <rich:panel>
+ <f:facet name="header">
+ <h:panelGroup>
+ <h:outputText value="Customizable toggle panel" style="font-weight: bold;" />
+ <rich:toggleControl id="toggleControl_panel_2" for="togglePanelSubviewID:panel2">
+ <h:outputText value="Next"></h:outputText>
+ <h:graphicImage url="/pics/expand.gif" style="border-width: 0px;" />
+ </rich:toggleControl>
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGrid columns="2" border="0" style="width: 100%;background-color: yellow;">
+ <h:graphicImage url="/pics/benq.jpg" height="300" width="300" alt="benq.jpg" />
+ <h:panelGroup>
+ <h:outputText style="font: 18px;font-weight: bold;" value="BenQ A 52" />
+ <f:verbatim>
+ Processor: Core Duo T2250 (1.73GHz)<br />
+ RAM: 1024 Mb<br />
+ HDD: 100 Gb<br />
+ Screen: 15.4 WXGA<br />
+ Video: ATI Mobility Radeon X 200<br />
+ Drive: DVD- RW D<br />
+ </f:verbatim>
+ </h:panelGroup>
+ </h:panelGrid>
+ </rich:panel>
+ </f:facet>
+
+ <f:facet name="toshiba">
+ <rich:panel>
+ <f:facet name="header">
+ <h:panelGroup>
+ <h:outputText value="Customizable toggle panel" style="font-weight: bold;" />
+ <rich:toggleControl id="toggleControl_panel_3" for="togglePanelSubviewID:panel2">
+ <h:outputText value="Next"></h:outputText>
+ <h:graphicImage url="/pics/expand.gif" style="border-width: 0px;" />
+ </rich:toggleControl>
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGrid columns="2" border="0" style="width: 100%;background-color: orange;">
+ <h:graphicImage url="/pics/toshiba.jpg" height="300" width="300" alt="toshiba.jpg" />
+ <h:panelGroup>
+ <h:outputText style="font: 18px;font-weight: bold;" value="Toshiba Satellite A 100-784" />
+ <f:verbatim>
+ Processor: Intel Core Duo T2250 - 1.73GHz<br />
+ RAM: 1024 Mb<br />
+ HDD: 100 Gb<br />
+ Screen: 15.4 WXGA<br />
+ Video: Intel Graphics Media 950<br />
+ Drive: DVD- RW DL<br />
+ </f:verbatim>
+ </h:panelGroup>
+ </h:panelGrid>
+ </rich:panel>
+ </f:facet>
+ </rich:togglePanel>
+
+ <ui:debug hotkey="L"></ui:debug>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,14 @@
+ <rich:togglePanel switchType="client" stateOrder="closed,tip1">
+
+ <f:facet name="closed">
+ <rich:toggleControl>
+ <h:graphicImage style="border-width:0" value="/pics/ajax_process.gif" />
+ </rich:toggleControl>
+ </f:facet>
+
+ <f:facet name="tip1">
+ <rich:toggleControl>
+ <h:graphicImage style="border-width:0" value="/pics/ajax_stoped.gif" />
+ </rich:toggleControl>
+ </f:facet>
+ </rich:togglePanel>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,46 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="togglePanelPropertySubviewID">
+ <h:commandButton action="#{togglePanel.add}" value="add test" />
+ <h:panelGrid columns="2" cellpadding="5px" cellspacing="5px">
+ <h:outputText value="InitialState:"></h:outputText>
+ <h:selectOneRadio value="#{togglePanel.initialState}">
+ <f:selectItem itemLabel="Asus" itemValue="asus" />
+ <f:selectItem itemLabel="Benq" itemValue="benq" />
+ <f:selectItem itemLabel="toshiba" itemValue="toshiba" />
+ <a4j:support event="onchange" reRender="tooggleTest:panel2"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="StateOrder:"></h:outputText>
+ <h:selectOneRadio value="#{togglePanel.stateOrder}">
+ <f:selectItem itemLabel="Asus,Benq,Toshiba"
+ itemValue="asus,benq,toshiba" />
+ <f:selectItem itemLabel="Toshiba, Asus, Benq"
+ itemValue="toshiba,asus,benq" />
+ <a4j:support event="onchange" reRender="tooggleTest:panel2"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="switchType:"></h:outputText>
+ <h:selectOneRadio value="#{togglePanel.switchType}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onclick" reRender="panel1,panel2"></a4j:support>
+ </h:selectOneRadio>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getStateOrder" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('panel2').stateOrder}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/TogglePanel/TogglePanelStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="togglePanelStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{togglePanel.bTest1}" value="run" reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1TogglePanel}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{togglePanel.bTest2}" value="run" reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2TogglePanel}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{togglePanel.bTest3}" value="run" reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3TogglePanel}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{togglePanel.bTest4}" value="run" reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4TogglePanel}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{togglePanel.bTest5}" value="run" reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5TogglePanel}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBar.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBar.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBar.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,35 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="toolBarSubviewID">
+ <h:messages></h:messages>
+
+ <rich:toolBar id="toolBarId" width="#{toolBar.width}"
+ height="#{toolBar.height}" rendered="#{toolBar.rendered}"
+ itemSeparator="#{toolBar.itemSeparator}"
+ contentClass="#{toolBar.contentStyle}"
+ separatorClass="#{toolBar.separatorStyle}"
+ contentStyle="contentStyle" style="#{style.style}"
+ styleClass="#{style.styleClass}"
+ binding="#{toolBar.htmlToolBar}">
+ <h:outputText value="ToolBar" style="font-style: italic"></h:outputText>
+
+ <rich:toolBarGroup>
+ <h:outputText value="Width:"></h:outputText>
+ <h:inputText value="#{toolBar.width}">
+ <a4j:support event="onchange" reRender="toolBarId"></a4j:support>
+ </h:inputText>
+ </rich:toolBarGroup>
+
+ <rich:toolBarGroup>
+ <h:outputText value="Height:"></h:outputText>
+ <h:inputText value="#{toolBar.height}">
+ <a4j:support event="onchange" reRender="toolBarId"></a4j:support>
+ </h:inputText>
+ </rich:toolBarGroup>
+
+ <rich:toolBarGroup location="#{toolBar.location}">
+ <h:graphicImage value="/pics/ajax_process.gif"></h:graphicImage>
+ </rich:toolBarGroup>
+
+ </rich:toolBar>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBarDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBarDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBarDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,4 @@
+<rich:toolBar>
+<h:outputText value="File" />
+<h:outputText value="Edit" />
+</rich:toolBar>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBarProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBarProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/ToolBar/ToolBarProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,45 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="toolBarPropertySubviewID">
+ <h:commandButton action="#{toolBar.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Image location:"></h:outputText>
+ <h:selectOneRadio value="#{toolBar.location}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="toolBarId"></a4j:support>
+ </h:selectOneRadio>
+
+
+ <h:outputText value="itemSeparator:"></h:outputText>
+ <h:selectOneRadio value="#{toolBar.itemSeparator}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="line" itemValue="line" />
+ <f:selectItem itemLabel="square" itemValue="square" />
+ <f:selectItem itemLabel="disc" itemValue="disc" />
+ <f:selectItem itemLabel="grid" itemValue="grid" />
+ <a4j:support event="onclick" reRender="toolBarId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Switch Styles" />
+ <a4j:commandButton id="slBtn" value="#{toolBar.btnLabel}"
+ action="#{toolBar.doStyles}" reRender="toolBarId,slBtn">
+ </a4j:commandButton>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getItemSeparator" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('toolBarId').itemSeparator}" />
+ </rich:column>
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/Tooltip.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/Tooltip.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/Tooltip.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,64 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="tooltipSubviewID">
+ <h:messages></h:messages>
+
+ <h:inputText value="Text" id="inp1" size="50">
+ <rich:toolTip id="toolTipID" value="toolTip for input text" >
+ <f:facet name="defaultContent">
+ <f:verbatim>DEFAULT VALUE</f:verbatim>
+ </f:facet>
+ </rich:toolTip>
+ </h:inputText>
+ <h:panelGrid columns="2">
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doShow(event)" value="doShow"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doHide(event)" value="doHide"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doEnable" value="doEnable"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doDisable" value="doDisable"></a4j:commandLink>
+ </h:panelGrid>
+ <h:selectOneListbox value="1" id="ddl">
+ <rich:toolTip value="1231231">
+ <f:facet name="defaultContent">
+ <f:verbatim>DEFAULT VALUE DropDown</f:verbatim>
+ </f:facet>
+ </rich:toolTip>
+ </h:selectOneListbox>
+
+ <f:verbatim>
+ <br/>
+ <br/>
+ </f:verbatim>
+
+ <h:outputText value=" Test tooltip:"></h:outputText>
+ <f:verbatim>
+ <br/>
+ </f:verbatim>
+
+ <rich:panel style="width:50px; height:50px; background-color: gray">
+ <rich:toolTip id="tooltipID" value="#{tooltip.value}" mode="#{tooltip.mode}" styleClass="#{style.styleClass}" style="#{style.style}"
+ hideDelay="#{tooltip.hideDelay}" showDelay="#{tooltip.showDelay}" layout="#{tooltip.layout}"
+ horizontalOffset="#{tooltip.horizontalOffset}" verticalOffset="#{tooltip.verticalOffset}" followMouse="#{tooltip.followMouse}"
+ direction="#{tooltip.direction}" disabled="#{tooltip.disabled}" rendered="#{tooltip.rendered}"
+ event="#{tooltip.event}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}"
+ onhide="#{event.onhide}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onshow="#{event.onshow}"
+ binding="#{tooltip.htmlToolTip}">
+ <h:graphicImage id="pricsID" value="/pics/ajax_process.gif"></h:graphicImage>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:toolTip>
+ </rich:panel>
+
+ <f:verbatim>
+ <br/>
+ </f:verbatim>
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}"/>
+ </h:selectOneMenu>
+ <rich:panel style="width:50px; height:50px; background-color: gray">
+ <rich:toolTip id="includeToolTIpID" hideDelay="5000" showDelay="0" value="test include">
+ <ui:include src="${richBean.pathComponentContainer}"/>
+ </rich:toolTip>
+ </rich:panel>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,4 @@
+
+<h:outputText value="Default tooltip!">
+ <rich:toolTip value="tooltip"></rich:toolTip>
+</h:outputText>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,141 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="toolTipStraightforwardSubviewID">
+ <h:commandButton action="#{tooltip.add}" value="add test" />
+ <h:panelGrid columns="2">
+
+ <a4j:commandLink
+ onclick="$('formID:tooltipSubviewID:tooltipID').component.show(event)"
+ value="show"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:tooltipSubviewID:tooltipID').component.hide(event)"
+ value="hide"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:tooltipSubviewID:tooltipID').component.enable(event)"
+ value="enable"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:tooltipSubviewID:tooltipID').component.disable(event)"
+ value="disable"></a4j:commandLink>
+
+ <a href="#" id="showToolTipID">componentControl(show)</a>
+ <rich:componentControl attachTo="showToolTipID" for="tooltipID"
+ event="onclick" operation="show" />
+
+ <a href="#" id="hideToolTipID">componentControl(hide)</a>
+ <rich:componentControl attachTo="hideToolTipID" for="tooltipID"
+ event="onclick" operation="hide" />
+
+ <a href="#" id="enableToolTipID">componentControl(enable)</a>
+ <rich:componentControl attachTo="enableToolTipID" for="tooltipID"
+ event="onclick" operation="enable" />
+
+ <a href="#" id="disableToolTipID">componentControl(disable)</a>
+ <rich:componentControl attachTo="disableToolTipID" for="tooltipID"
+ event="onclick" operation="disable" />
+
+ <h:outputText value="Text:"></h:outputText>
+ <h:inputText value="#{tooltip.value}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="Delay"></h:outputText>
+ <h:inputText value="#{tooltip.delay}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="showDelay"></h:outputText>
+ <h:inputText value="#{tooltip.showDelay}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="hideDelay"></h:outputText>
+ <h:inputText value="#{tooltip.hideDelay}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="event:" />
+ <h:selectOneMenu value="#{tooltip.event}" onchange="submit();">
+ <f:selectItem itemLabel="onmouseover" itemValue="onmouseover" />
+ <f:selectItem itemLabel="onclick" itemValue="onclick" />
+ <f:selectItem itemLabel="onmouseup" itemValue="onmouseup" />
+ </h:selectOneMenu>
+
+ <h:outputText value="Layout:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.layout}">
+ <f:selectItem itemLabel="inline" itemValue="inline" />
+ <f:selectItem itemLabel="block" itemValue="block" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Mode:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.mode}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Horizontal offset:"></h:outputText>
+ <h:inputText value="#{tooltip.horizontalOffset}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="Vertical offset:"></h:outputText>
+ <h:inputText value="#{tooltip.verticalOffset}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="Follow mouse:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.followMouse}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Direction:" />
+ <h:selectOneRadio value="#{tooltip.direction}">
+ <f:selectItem itemLabel="top-right" itemValue="top-right" />
+ <f:selectItem itemLabel="top-left" itemValue="top-left" />
+ <f:selectItem itemLabel="bottom-right" itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Style:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.style}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="border:3px; font:bold 14px;"
+ itemValue="border:3px; font:bold 14px;" />
+ <f:selectItem
+ itemLabel="border:green 3px solid; background-color:yellow;"
+ itemValue="border:green 3px solid; background-color:yellow;" />
+ <f:selectItem
+ itemLabel="border:green 2px solid; font-family:monospace;"
+ itemValue="border:green 2px solid; font-family:monospace;" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Disambled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.disabled}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.rendered}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
+
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('tooltipID').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tooltip/TooltipStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="toolTipPropertySubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{tooltip.bTest1}" value="run" reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Tooltip}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{tooltip.bTest2}" value="run" reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Tooltip}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{tooltip.bTest3}" value="run" reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Tooltip}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{tooltip.bTest4}" value="run" reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Tooltip}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{tooltip.bTest5}" value="run" reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Tooltip}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tree/Tree.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tree/Tree.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tree/Tree.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,194 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="treeSubviewID">
+<style type="text/css">
+.LeftTreePane {
+
+}
+
+.RightTreePane {
+
+}
+
+.TreeContainer {
+ overflow: auto;
+ height: 400px;
+ border: 3px inset gray;
+}
+</style>
+<script type="text/javascript">
+ // <![CDATA[
+ function blinkElement(elt) {
+ while (elt.tagName.toLowerCase() != 'table') {
+ elt = elt.parentNode;
+ }
+
+ elt.style.borderColor= '#5555FF';
+ elt.style.borderStyle= 'dotted';
+ elt.style.borderWidth = '3px';
+ setTimeout( function() { this.style.borderStyle = 'none'; }.bind(elt), 300);
+ }
+ // ]]>
+ </script>
+ <a4j:outputPanel ajaxRendered="true">
+ <h:messages />
+ </a4j:outputPanel>
+
+ <rich:tree id="tree" switchType="#{treeBean.switchType}" value="#{treeBean.data}" var="data" selectedClass="#{style.selectedClass}" styleClass="#{style.styleClass}" style="#{style.style}" highlightedClass="#{style.highlightedClass}"
+ nodeFace="#{data.name != 'param-value' ? 'input' : 'text'}" changeExpandListener="#{treeBean.onExpand}"
+ nodeSelectListener="#{treeBean.onSelect}" binding="#{treeBean.tree}" onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode" oncollapse="window.status='collapsedNode: '+ event.collapsedNode"
+ ajaxSubmitSelection="true" reRender="outputText, selectOneListbox" preserveModel="none" dragIndicator="treeIndicator"
+ immediate="false" acceptedTypes="file1" dragType="#{treeBean.dragOn ? 'file1' : ''}" iconCollapsed="#{treeBean.iconCollapsed}"
+ iconExpanded="#{treeBean.iconExpanded}" iconLeaf="#{treeBean.iconLeaf}" icon="#{treeBean.icon}" dropListener="#{treeBean.processDrop}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" ondragend="#{event.ondragend}" ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondragstart="#{event.ondragstart}" ondrop="#{event.ondrop}" ondropend="#{event.ondropend}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onbeforedomupdate="#{event.onbeforedomupdate}" oncomplete="#{event.oncomplete}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}">
+
+ <f:facet name="icon">
+ <h:outputText value="icon" rendered="#{treeBean.renderFacets}" />
+ </f:facet>
+ <f:facet name="iconLeaf">
+ <h:outputText value="leaf" rendered="#{treeBean.renderFacets}" />
+ </f:facet>
+ <f:facet name="iconExpanded">
+ <h:outputText value="expanded" rendered="#{treeBean.renderFacets}" />
+ </f:facet>
+ <f:facet name="iconCollapsed">
+ <h:outputText value="collapsed" rendered="#{treeBean.renderFacets}" />
+ </f:facet>
+
+ <rich:dndParam name="treeParam" value="Tree Parameter" />
+ <rich:dndParam name="accept" value="accept" />
+
+ <rich:treeNode type="input" dropListener="#{treeBean.processDrop}"
+ oncollapse="Element.removeClassName(event['treeItem'].getElement(), 'colored')"
+ onexpand="Element.addClassName(event['treeItem'].getElement(), 'colored')"
+ onbeforedomupdate="#{event.onbeforedomupdate}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" oncontextmenu="#{event.oncontextmenu}" ondblclick="#{event.ondblclick}" ondragend="#{event.ondragend}" ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondragstart="#{event.ondragstart}" ondrop="#{event.ondrop}" ondropend="#{event.ondropend}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselected="#{event.onselected}">
+ <h:outputText value="#{data} : " />
+ <h:inputText value="#{data.name}" required="true" styleClass="inputs">
+ </h:inputText>
+
+ <rich:dndParam name="nodeParam" value="Node Parameter" />
+
+ </rich:treeNode>
+ <rich:treeNode type="text" nodeClass="customNode" acceptedTypes="file2" onselected="return false;">
+ <h:outputText value="#{data}" />
+ </rich:treeNode>
+ </rich:tree>
+
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
+ <h:outputText value="Enter path to expand:" />
+ <h:inputText value="#{treeBean.pathToExpand}">
+ <a4j:support event="onchange" reRender="tree" action="#{treeBean.expandNode}" />
+ </h:inputText>
+
+ <rich:separator></rich:separator>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="Change tree switchType:" />
+ <h:selectOneRadio value="#{treeBean.switchType}" onclick="submit()">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Drag switch:" />
+ <h:selectBooleanCheckbox value="#{treeBean.dragOn}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="Render facets:" />
+ <h:selectBooleanCheckbox value="#{treeBean.renderFacets}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:commandButton value="#{treeBean.commandButtonCaption}" actionListener="#{treeBean.changeIcons}" />
+ </h:panelGrid>
+
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
+
+ <rich:tree id="testTree" var="_data" switchType="ajax" ajaxSubmitSelection="true" preserveModel="none" value="#{treeBean.data1}"
+ nodeSelectListener="#{treeBean.onSelectInc}" nodeFace="node">
+ <rich:treeNode type="node">
+ <h:outputText value="#{_data}" />
+ </rich:treeNode>
+ </rich:tree>
+ <rich:separator></rich:separator>
+ <h:outputText value="Tree without treeNode:"></h:outputText>
+ <rich:separator></rich:separator>
+
+ <rich:tree switchType="client" style="width:300px" value="#{pathwayBean.pathwayTree}" var="item" nodeFace="#{item.type}">
+ <rich:treeNode type="library">
+ <h:outputText value="#{item.type}" />
+ </rich:treeNode>
+ <rich:treeNode type="pathway">
+ <h:outputText value="#{item.name}" />
+ </rich:treeNode>
+ <rich:treeNode type="organism">
+ <h:outputText value="#{item.name}" />
+ </rich:treeNode>
+ </rich:tree>
+
+ <rich:spacer></rich:spacer>
+ <!-- Drag and Drop API for rich:tree component -->
+ <div style="FONT-WEIGHT: bold;">Drag and Drop example</div>
+ <br />
+
+ <rich:dragIndicator id="treeIndicator">
+ <f:facet name="single">
+ <f:verbatim>{marker} {nodeParam}({treeParam})</f:verbatim>
+ </f:facet>
+ </rich:dragIndicator>
+
+ <h:panelGrid columns="2" columnClasses="LeftTreePane,RightTreePane">
+
+ <h:panelGroup id="leftContainer" layout="block"
+ styleClass="TreeContainer">
+ <h:outputText escape="false"
+ value="Selected Node: #{treeDndBean.leftSelectedNodeTitle}"
+ id="selectedNodeL" />
+
+ <rich:tree id="leftTree" style="width:300px"
+ nodeSelectListener="#{treeDndBean.processLSelection}"
+ reRender="selectedNodeL" ajaxSubmitSelection="true"
+ switchType="client" value="#{treeDndBean.treeNodeLeft}"
+ changeExpandListener="#{treeDndBean.onExpand}"
+ binding="#{treeDndBean.leftTree}"
+ onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode"
+ oncollapse="window.status='collapsedNode: '+event.collapsedNode"
+ dropListener="#{treeDndBean.onDrop}"
+ dragListener="#{treeDndBean.onDrag}" dragIndicator="treeIndicator"
+ acceptedTypes="treeNode" dragType="treeNode" rowKeyVar="key"
+ var="item" >
+
+ <rich:dndParam name="treeParam" value="leftTree" />
+ </rich:tree>
+
+ </h:panelGroup>
+
+ <h:panelGroup id="rightContainer" layout="block"
+ styleClass="TreeContainer">
+ <h:outputText escape="false"
+ value="Selected Node: #{treeDndBean.rightSelectedNodeTitle}"
+ id="selectedNodeR" />
+
+ <rich:tree id="rightTree" style="width:300px"
+ nodeSelectListener="#{treeDndBean.processRSelection}"
+ reRender="selectedNodeR,rightContainer" ajaxSubmitSelection="true"
+ switchType="client" value="#{treeDndBean.treeNodeRight}"
+ changeExpandListener="#{treeDndBean.onExpand}"
+ binding="#{treeDndBean.rightTree}"
+ onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode"
+ oncollapse="window.status='collapsedNode: '+event.collapsedNode"
+ rowKeyVar="key" dropListener="#{treeDndBean.onDrop}"
+ dragListener="#{treeDndBean.onDrag}" dragIndicator="treeIndicator"
+ acceptedTypes="treeNode" dragType="treeNode" var="item">
+ <rich:dndParam name="treeParam" value="rightTree" />
+ </rich:tree>
+ </h:panelGroup>
+
+ </h:panelGrid>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tree/TreeDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tree/TreeProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tree/TreeProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Tree/TreeProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,20 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="treePropertySubviewID">
+ <br />
+ <h:commandButton action="#{treeBean.add}" value="add test" />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getAdviseNodeSelected" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('tree').adviseNodeSelected}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/Validator.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/Validator.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/Validator.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,159 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="validatorSubviewID">
+ <a4j:region>
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText>Single input field with label and message. Validated by AJAX on every changing.</h:outputText>
+ </f:facet>
+ <h:outputLabel for="ltext" value="#{lengthBean.textDescription}" />
+ <h:inputText id="ltext" value="#{lengthBean.text}">
+ <rich:ajaxValidator event="onchange" />
+ </h:inputText>
+ <rich:message for="ltext" showDetail="true" showSummary="true" />
+ </rich:panel>
+ <h2>Input fields with label and message in the JSF dataTable.
+ Each field validated by AJAX on "onchange" event</h2>
+ <rich:graphValidator value="#{dataValidator}"
+ binding="#{dataValidator.graphValidatorComponent}" id="graphValidatorID"
+ rendered="#{dataValidator.rendered}">
+ <rich:dataTable value="#{dataValidator.beans}" var="vBean" id="table">
+ <f:facet name="header">
+ <h:outputText
+ value="Validate values in the data table. Total sum for an all integer values validated for a value less then 20" />
+ </f:facet>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="text field" />
+ </f:facet>
+ <h:outputLabel for="text" value="#{vBean.textDescription}" />
+ <h:inputText id="text" value="#{vBean.text}">
+ <rich:ajaxValidator event="onchange" />
+ </h:inputText>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="integer field" />
+ </f:facet>
+ <h:outputLabel for="intValue" value="#{vBean.intDescription}" />
+ <h:inputText id="intValue" value="#{vBean.intValue}">
+ <rich:ajaxValidator event="onchange" />
+ </h:inputText>
+ <rich:message for="intValue" showDetail="true" showSummary="true" />
+ </h:column>
+ <f:facet name="footer">
+ <h:panelGroup>
+ <h:outputText>in addition to fields validation, total sum for an all integer values validated for a value less then 20.</h:outputText>
+ <a4j:commandButton value="Submit all fields"></a4j:commandButton>
+ </h:panelGroup>
+ </f:facet>
+ </rich:dataTable>
+ </rich:graphValidator>
+ </a4j:region>
+ <br />
+
+ <!--<rich:graphValidator value="#{graphValidator}">-->
+ <h:panelGrid columns="2" border="2" id="panelGridID">
+
+ <f:facet name="header">
+ <h:outputText value="Ajax Validator test" />
+ </f:facet>
+
+ <h:outputLabel for="mailValue" value="Mail validation:" />
+ <h:panelGroup>
+ <h:inputText value="#{validator.text}" id="mailValue">
+ <rich:ajaxValidator ajaxSingle="#{validator.ajaxSingle}"
+ binding="#{validator.ajaxValidatorComponent}"
+ data="{param1:'param1',param2:'param2'}"
+ disableDefault="#{validator.disableDefault}" event="onchange"
+ eventsQueue="#{validator.eventsQueue}" focus="mailValue"
+ id="ajaxValidatorID"
+ ignoreDupResponses="#{validator.ignoreDupResponses}"
+ immediate="#{validator.immediate}"
+ limitToList="#{validator.limitToList}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}"
+ parentProperties="#{validator.parentProperties}"
+ process="mailValue,booleanValue,assertTrue,eanValue,creditValue"
+ rendered="#{validator.rendered}"
+ renderRegionOnly="#{validator.renderRegionOnly}"
+ requestDelay="#{validator.requestDelay}"
+ reRender="mailValue,booleanValue,assertTrue,eanValue,creditValue"
+ selfRendered="#{validator.selfRendered}" status="mailValue"
+ submitted="#{validator.submitted}" timeout="#{validator.timeout}"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="mailValue" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="booleanValue" value="AssertFalse validation:" />
+ <h:panelGroup>
+ <h:selectBooleanCheckbox value="#{validator.booleanValue}"
+ id="booleanValue">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:selectBooleanCheckbox>
+ <rich:message for="booleanValue" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="assertTrue" value="AssertTrue validation:" />
+ <h:panelGroup>
+ <h:selectBooleanCheckbox value="#{validator.assertTrue}"
+ id="assertTrue">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:selectBooleanCheckbox>
+ <rich:message for="assertTrue" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="eanValue" value="EAN validation:" />
+ <h:panelGroup>
+ <h:inputText value="#{validator.ean}" id="eanValue">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="eanValue" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="creditValue" value="CreditCardNumber validation:" />
+ <h:panelGroup>
+ <h:inputText value="#{validator.creditValue}" id="creditValue">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="creditValue" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="sizeValues" value="Size validation:" />
+ <h:panelGroup>
+ <h:selectOneMenu value="#{validator.sizeValue}">
+ <f:selectItems id="sizeValues" value="#{validator.sizeValues}"></f:selectItems>
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:selectOneMenu>
+ <rich:message for="sizeValues" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="digit" value="Digits validation:(x.xxx)" />
+ <h:panelGroup>
+ <h:inputText value="#{validator.digit}" id="digit">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="digit" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="range" value="Range validation(0-15):" />
+ <h:panelGroup>
+ <h:inputText value="#{validator.rangeValue}" id="range">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="range" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputText value="total length should be less than 50" />
+ <a4j:commandButton value="validate all fields" reRender="panelGridID"></a4j:commandButton>
+
+ <f:facet name="footer">
+ <h:outputText value="...together with graphValidator" />
+ </f:facet>
+
+ </h:panelGrid>
+ <!--</rich:graphValidator>-->
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/ValidatorDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/ValidatorProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/ValidatorProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/ValidatorProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,83 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="validatorPropertySubviewID">
+ <h:commandButton value="add(ajaxValidator) test"
+ action="#{validator.add}"></h:commandButton>
+ <rich:spacer height="2" width="20"></rich:spacer>
+ <h:commandButton value="add(graphValidator) test" action="#{data.add}"></h:commandButton>
+ <br />
+ <br />
+ <h:panelGrid columns="2">
+ <h:outputText value="Ajax Validator test"
+ style="align:center; font-weight:bold;" />
+ <h:outputText value="Graph Validator test"
+ style="align:center; font-weight:bold;" />
+ <h:panelGrid columns="2" border="2">
+
+ <h:outputText value="ajaxSingle" />
+ <h:selectBooleanCheckbox value="#{validator.ajaxSingle}"
+ onchange="submit();" />
+
+ <h:commandButton actionListener="#{validator.checkBinding}"
+ value="Binding" />
+ <h:outputText value="#{validator.bindLabel}" />
+
+ <h:outputText value="disableDefault" />
+ <h:selectBooleanCheckbox value="#{validator.disableDefault}"
+ onchange="submit();" />
+
+ <h:outputText value="eventsQueue" />
+ <h:inputText value="#{validator.eventsQueue}">
+ <a4j:support event="onchange" reRender="ajaxValidatorID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="ignoreDupResponces" />
+ <h:selectBooleanCheckbox value="#{validator.ignoreDupResponses}"
+ onchange="submit();" />
+
+ <h:outputText value="immediate" />
+ <h:selectBooleanCheckbox value="#{validator.immediate}"
+ onchange="submit();" />
+
+ <h:outputText value="limitToList" />
+ <h:selectBooleanCheckbox value="#{validator.limitToList}"
+ onchange="submit();" />
+
+ <h:outputText value="renderRegionOnly" />
+ <h:selectBooleanCheckbox value="#{validator.renderRegionOnly}"
+ onchange="submit();" />
+
+ <h:outputText value="requestDelay" />
+ <h:inputText value="#{validator.requestDelay}">
+ <a4j:support event="onchange" reRender="ajaxValidatorID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="selfRendered" />
+ <h:selectBooleanCheckbox value="#{validator.selfRendered}"
+ onchange="submit();" />
+
+ <h:outputText value="submitted" />
+ <h:selectBooleanCheckbox value="#{validator.submitted}"
+ onchange="submit();" />
+
+ <h:outputText value="timeout" />
+ <h:inputText value="#{validator.timeout}">
+ <a4j:support event="onchange" reRender="ajaxValidatorID"></a4j:support>
+ </h:inputText>
+ </h:panelGrid>
+
+
+ <h:panelGrid columns="2" border="2" style="float:top;">
+ <h:commandButton actionListener="#{dataValidator.checkBinding}"
+ value="Binding" />
+ <h:outputText value="#{dataValidator.bindLabel}" />
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{dataValidator.rendered}"
+ onchange="submit();" />
+ </h:panelGrid>
+
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/ValidatorStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/ValidatorStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/Validator/ValidatorStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,71 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="validatorStraightforwardSubviewID">
+ <a4j:region>
+ <rich:dataTable value="#{dataValidator.data}" var="data" id="SizeValidationID">
+ showSummary="true" />
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#1" />
+ </f:facet>
+ <a4j:commandLink value="Select" reRender="SizeValidationID"></a4j:commandLink>
+ <f:facet name="footer">
+ <h:outputText value="#1" />
+ </f:facet>
+ </rich:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#4" />
+ </f:facet>
+ <h:outputText value="#{data.int2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#4" />
+ </f:facet>
+ </rich:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#5" />
+ </f:facet>
+ <h:outputText value="#{data.str1}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#5" />
+ </f:facet>
+ </rich:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#7" />
+ </f:facet>
+ <h:graphicImage value="#{data.str2}"></h:graphicImage>
+ <h:outputText value="#{data.str2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#7" />
+ </f:facet>
+ </rich:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#9" />
+ </f:facet>
+ <h:selectBooleanCheckbox value="#{data.bool0}"></h:selectBooleanCheckbox>
+ <f:facet name="footer">
+ <h:outputText value="#9" />
+ </f:facet>
+ </rich:column>
+ </rich:dataTable>
+ </a4j:region>
+ <br />
+ <a4j:region>
+ <h:outputText value="Enter quantity of lines [data]" />
+ <h:panelGroup>
+ <h:inputText value="#{dataValidator.length}"/>
+ <a4j:commandButton action="#{dataValidator.addNewItem}" value="ok"
+ reRender="SizeValidationID"></a4j:commandButton>
+ </h:panelGroup>
+ </a4j:region>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarth.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarth.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarth.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,33 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="virtualEarthSubviewID">
+ <h:panelGrid columns="2">
+
+ <rich:virtualEarth id="vEarthID" lng="#{virtualEarth.lng}" onLoadMap="#{event.onLoadMap}" rendered="#{virtualEarth.rendered}" version="#{virtualEarth.version}" lat="#{virtualEarth.lat}" zoom="#{virtualEarth.zoom}"
+ dashboardSize="#{virtualEarth.dashboardSize}" mapStyle="#{virtualEarth.mapStyle}" var="map"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" binding="#{virtualEarth.htmlVirtualEarth}"/>
+
+ </h:panelGrid>
+
+ <a4j:outputPanel>
+ <script>
+ function createMarker(point,html) {
+ var marker = new GMarker(point);
+ GEvent.addListener(marker, "click", function() {
+ marker.openInfoWindowHtml(html);
+ });
+ return marker;
+ }
+ function showExadel() {
+ var point = new VELatLong(37.9721046, -122.0424842834);
+ map.SetCenterAndZoom(point, 16);
+ map.SetMapStyle(VEMapStyle.Birdseye);
+ }
+ function showExadelInMinsk() {
+ var point = new VELatLong(53.92316,27.510737);
+ map.SetCenterAndZoom(point, 16);
+ map.SetMapStyle(VEMapStyle.Birdseye);
+ }
+ </script>
+ </a4j:outputPanel>
+</f:subview>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarthDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarthDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarthDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1 @@
+<rich:virtualEarth></rich:virtualEarth>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarthProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarthProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/VirtualEarth/VirtualEarthProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,72 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="virtualEarthPropertySubviewID">
+ <h:commandButton action="#{virtualEarth.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="lat(-97 < x > 97):"></h:outputText>
+ <h:inputText value="#{virtualEarth.lat}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="lng(-180 < x > 180):"></h:outputText>
+ <h:inputText value="#{virtualEarth.lng}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="dashboardSize"></h:outputText>
+ <h:selectOneMenu value="#{virtualEarth.dashboardSize}"
+ onchange="submit();">
+ <f:selectItem itemLabel="Normal" itemValue="Normal" />
+ <f:selectItem itemLabel="Small" itemValue="Small" />
+ <f:selectItem itemLabel="Tiny" itemValue="Tiny" />
+ </h:selectOneMenu>
+
+ <h:outputText value="mapStyle"></h:outputText>
+ <h:selectOneMenu value="#{virtualEarth.mapStyle}" onchange="submit();">
+ <f:selectItem itemLabel="Birdseye" itemValue="Birdseye" />
+ <f:selectItem itemLabel="Hybrid" itemValue="Hybrid" />
+ <f:selectItem itemLabel="Aerial" itemValue="Aerial" />
+ <f:selectItem itemLabel="Road" itemValue="Road" />
+ </h:selectOneMenu>
+
+ <h:outputText value="rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{virtualEarth.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <h:panelGroup>
+ <f:verbatim>
+ Dashboard:<br />
+ <a href="javascript:void(0);"
+ onclick="map.HideDashboard();return false;">Remove</a>
+ <a href="javascript:void(0);"
+ onclick="map.ShowDashboard();return false;">Show</a>
+ <br />
+ <br />
+ Type:<br />
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Road);return false;">Road</a>
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Aerial);return false;">Aerial</a>
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Hybrid);return false;">Hybrid</a>
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Birdseye);return false;">Birdseye</a>
+ <br />
+ <br />
+ Zoom:<br />
+ <a href="javascript:void(0);" onclick="map.ZoomIn();return false;">In</a>
+ <a href="javascript:void(0);" onclick="map.ZoomOut();return false;">Out</a>
+ <br />
+ <br />
+ <a href="javascript:void(0);" onclick="showExadel();return false;">Show
+ Exadel Office</a>
+ <br />
+ <a href="javascript:void(0);"
+ onclick="showExadelInMinsk();return false;">Show Exadel in
+ Belarus</a>
+ </f:verbatim>
+ </h:panelGroup>
+ <br />
+ <br />
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/.faces-config.xml.jsfdia
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/.faces-config.xml.jsfdia (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/.faces-config.xml.jsfdia 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PROCESS model-entity="JSFProcess">
+ <PROCESS-ITEM NAME="rules:#pages#Rich#Rich.xhtml"
+ PATH="/pages/Rich/Rich.xhtml" SHAPE="392,152,50,25"
+ model-entity="JSFProcessGroup" persistent="true"/>
+</PROCESS>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/HelloWorld-ds.xml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/HelloWorld-ds.xml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/HelloWorld-ds.xml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE datasources
+ PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
+
+<datasources>
+
+ <local-tx-datasource>
+ <jndi-name>HelloWorldDatasource</jndi-name>
+ <connection-url>jdbc:hsqldb:.</connection-url>
+ <driver-class>org.hsqldb.jdbcDriver</driver-class>
+ <user-name>sa</user-name>
+ <password></password>
+<!--
+ <exception-sorter-class-name>
+ org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
+ </exception-sorter-class-name>
+ <metadata>
+ <type-mapping>mySQL</type-mapping>
+ </metadata>
+-->
+ </local-tx-datasource>
+
+</datasources>
+
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/Authenticator.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/Authenticator.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/Container.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/Container.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/ContainerManager.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/ContainerManager.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/ContainerService.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/ContainerService.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/TestDataModel.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/TestDataModel.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/Bean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/Bean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarValidator.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarValidator.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/columns/Columns.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/columns/Columns.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/combobox/Combobox.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/combobox/Combobox.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/componentControl/ComponentControl.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/componentControl/ComponentControl.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/contextMenu/ContextMenu.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/contextMenu/ContextMenu.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/custom/Custom.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/custom/Custom.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/custom/CustomList.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/custom/CustomList.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/custom/UserBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/custom/UserBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataGrid/Car.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataGrid/Car.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataGrid/DataGrid.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataGrid/DataGrid.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataScroller/Data.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataScroller/Data.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataScroller/DataScroller.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataScroller/DataScroller.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataTable/ChildBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataTable/ChildBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataTable/Data.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataTable/Data.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataTable/DataTable.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dataTable/DataTable.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/ddMenu/DDMenu.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/ddMenu/DDMenu.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoInventoryItem.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoInventoryItem.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoInventoryList.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoInventoryList.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoSliderBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoSliderBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dnd/DndBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/dnd/DndBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/effect/Effect.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/effect/Effect.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB$1.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB$1.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/fileUpload/FileUpload.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/fileUpload/FileUpload.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/gmap/Gmap.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/gmap/Gmap.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/hotKey/HotKey.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/hotKey/HotKey.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inplaceInput/InplaceInput.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inplaceInput/InplaceInput.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/insert/Insert.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/insert/Insert.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/jQuery/JQuery.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/jQuery/JQuery.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/listShuttle/ListShuttle.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/listShuttle/ListShuttle.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/message/Message.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/message/Message.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/message/MessageValidator.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/message/MessageValidator.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/modalPanel/ModalPanel.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/modalPanel/ModalPanel.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/orderingList/OrderingList.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/orderingList/OrderingList.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/paint2D/Paint2D.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/paint2D/Paint2D.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/paint2D/PaintData.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/paint2D/PaintData.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panel/Panel.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panel/Panel.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panelBar/PanelBar.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panelBar/PanelBar.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panelMenu/PanelMenu.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/panelMenu/PanelMenu.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/pickList/PickList.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/pickList/PickList.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/progressBar/ProgressBar.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/progressBar/ProgressBar.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/rich/MapComponent.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/rich/MapComponent.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/rich/Options.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/rich/Options.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/rich/RichBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/rich/RichBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/richPanels/MapComponent.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/richPanels/MapComponent.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/richPanels/RichPanelsBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/richPanels/RichPanelsBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sb/Data.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sb/Data.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sb/Sb.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sb/Sb.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/separator/Separator.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/separator/Separator.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/skinning/Skinning.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/skinning/Skinning.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering$1.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering$1.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/spacer/Spacer.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/spacer/Spacer.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tabPanel/TabPanel.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tabPanel/TabPanel.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/togglePanel/TogglePanel.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/togglePanel/TogglePanel.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/toolBar/ToolBar.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/toolBar/ToolBar.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/toolTip/Tooltip.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/toolTip/Tooltip.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Bean$1.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Bean$1.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Bean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Bean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Library.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Library.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Organism.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Organism.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Pathway.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/Pathway.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeContainer.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeContainer.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeDndBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeDndBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/Info$Pair.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/Info$Pair.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/Info.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/Info.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/converter/OrderingListConverter.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/converter/OrderingListConverter.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/data/Data.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/data/Data.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/event/Event.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/event/Event.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/icon/Icon.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/icon/Icon.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/ptComponent/PTComponent.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/ptComponent/PTComponent.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/skins/Skins.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/skins/Skins.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/style/Style.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/util/style/Style.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/Bean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/Bean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/DataBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/DataBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/GraphValidatorBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/GraphValidatorBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/LengthBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/LengthBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/MaxBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/MaxBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/MinBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/MinBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/MinMaxBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/MinMaxBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/NotEmptyBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/NotEmptyBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/NotNullBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/NotNullBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/TestValidable.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/TestValidable.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/Validable.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/Validable.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/ValidatorBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/validator/ValidatorBean.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/classes/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/components.xml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/components.xml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/components.xml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<components xmlns="http://jboss.com/products/seam/components"
+ xmlns:core="http://jboss.com/products/seam/core"
+ xmlns:persistence="http://jboss.com/products/seam/persistence"
+ xmlns:drools="http://jboss.com/products/seam/drools"
+ xmlns:bpm="http://jboss.com/products/seam/bpm"
+ xmlns:security="http://jboss.com/products/seam/security"
+ xmlns:mail="http://jboss.com/products/seam/mail"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
+ http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
+ http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd
+ http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.0.xsd
+ http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
+ http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.0.xsd
+ http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
+
+ <core:init debug="true" jndi-pattern="@jndiPattern@" />
+
+ <core:manager concurrent-request-timeout="500"
+ conversation-timeout="120000" conversation-id-parameter="cid"
+ parent-conversation-id-parameter="pid" />
+
+ <persistence:managed-persistence-context name="entityManager"
+ auto-create="true"
+ entity-manager-factory="#{HelloWorldEntityManagerFactory}" />
+
+ <persistence:entity-manager-factory
+ name="HelloWorldEntityManagerFactory"
+ persistence-unit-name="HelloWorld" />
+
+ <drools:rule-base name="securityRules">
+ <drools:rule-files>
+ <value>/security.drl</value>
+ </drools:rule-files>
+ </drools:rule-base>
+
+ <security:identity
+ authenticate-method="#{authenticator.authenticate}"
+ security-rules="#{securityRules}" remember-me="true" />
+
+ <event type="org.jboss.seam.security.notLoggedIn">
+ <action execute="#{redirect.captureCurrentView}" />
+ </event>
+ <event type="org.jboss.seam.security.loginSuccessful">
+ <action execute="#{redirect.returnToCapturedView}" />
+ </event>
+
+ <mail:mail-session host="localhost" port="2525" username="test"
+ password="test" />
+
+ <!-- For use with jBPM pageflow or process management -->
+ <!--
+ <bpm:jbpm>
+ <bpm:process-definitions></bpm:process-definitions>
+ <bpm:pageflow-definitions></bpm:pageflow-definitions>
+ </bpm:jbpm>
+ -->
+</components>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/Authenticator.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/Authenticator.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/Container.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/Container.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/ContainerManager.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/ContainerManager.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/ContainerService.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/ContainerService.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/TestDataModel.class
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/org/domain/HelloWorld/session/TestDataModel.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/dev/seam.properties
===================================================================
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/faces-config.xml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/faces-config.xml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ 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_1_2.xsd">
+ <converter>
+ <converter-id>listShuttleConverter</converter-id>
+ <converter-class>
+ org.domain.HelloWorld.session.util.converter.ListShuttleConverter
+ </converter-class>
+ </converter>
+ <converter>
+ <converter-id>orderingListConverter</converter-id>
+ <converter-class>
+ org.domain.HelloWorld.session.util.converter.OrderingListConverter
+ </converter-class>
+ </converter>
+ <converter>
+ <converter-id>inplaceInputConverter</converter-id>
+ <converter-class>
+ org.domain.HelloWorld.session.util.converter.InplaceInputConverter
+ </converter-class>
+ </converter>
+ <validator>
+ <validator-id>CalendarValidator</validator-id>
+ <validator-class>
+ org.domain.HelloWorld.session.calendar.CalendarValidator
+ </validator-class>
+ </validator>
+ <validator>
+ <validator-id>MessageValidator</validator-id>
+ <validator-class>
+ org.domain.HelloWorld.session.message.MessageValidator
+ </validator-class>
+ </validator>
+ <application>
+ <locale-config>
+ <default-locale>en</default-locale>
+ <supported-locale>bg</supported-locale>
+ <supported-locale>de</supported-locale>
+ <supported-locale>en</supported-locale>
+ <supported-locale>fr</supported-locale>
+ <supported-locale>tr</supported-locale>
+ </locale-config>
+ </application>
+</faces-config>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/jboss-web.xml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/jboss-web.xml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/jboss-web.xml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,12 @@
+ <!DOCTYPE jboss-web PUBLIC
+ "-//JBoss//DTD Web Application 4.2//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
+
+<jboss-web>
+ <class-loading java2ClassLoadingCompliance="false">
+ <loader-repository>
+ seam.jboss.org:loader=HelloWorld
+ <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
+ </loader-repository>
+ </class-loading>
+</jboss-web>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/activation-1.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/activation-1.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/antlr-2.7.6.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/antlr-2.7.6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/antlr-runtime.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/antlr-runtime.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-beanutils-1.7.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-beanutils-1.7.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-beanutils.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-beanutils.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-collections-3.2.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-collections-3.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-digester-1.8.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-digester-1.8.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-digester.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-digester.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-logging-1.0.4.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/commons-logging-1.0.4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/dom4j-1.6.1-jboss.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/dom4j-1.6.1-jboss.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/drools-compiler.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/drools-compiler.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/drools-core.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/drools-core.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/ejb-api-3.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/ejb-api-3.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/hibernate-commons-annotations-3.1.0.CR1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/hibernate-commons-annotations-3.1.0.CR1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/hibernate-core-3.3.0.CR1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/hibernate-core-3.3.0.CR1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/hibernate-validator-3.1.0.CR1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/hibernate-validator-3.1.0.CR1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/itext-2.0.4.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/itext-2.0.4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/javassist-3.3.ga.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/javassist-3.3.ga.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-el-2.0.0.GA.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-el-2.0.0.GA.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-el.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-el.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-2.0.0.GA.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-2.0.0.GA.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-debug-2.0.0.GA.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-debug-2.0.0.GA.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-debug.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-debug.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ioc-2.0.0.GA.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ioc-2.0.0.GA.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ioc.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ioc.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-mail-2.0.0.GA.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-mail-2.0.0.GA.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-mail.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-mail.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-pdf-2.0.0.GA.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-pdf-2.0.0.GA.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-pdf.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-pdf.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-remoting-2.0.0.GA.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-remoting-2.0.0.GA.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-remoting.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-remoting.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ui-2.0.0.GA.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ui-2.0.0.GA.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ui.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam-ui.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jboss-seam.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jbpm-jpdl.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jbpm-jpdl.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-api-1.2_09.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-api-1.2_09.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-facelets-1.1.14.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-facelets-1.1.14.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-facelets.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-facelets.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-impl-1.2_09.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jsf-impl-1.2_09.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jstl-1.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jstl-1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jta-1.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/jta-1.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/mail-1.4.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/mail-1.4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/mvel14.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/mvel14.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/nekohtml-0.9.5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/nekohtml-0.9.5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/persistence-api-1.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/persistence-api-1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-api-3.2.2.BETA5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-api-3.2.2.BETA5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-api-3.3.0-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-api-3.3.0-SNAPSHOT.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-impl-3.2.2.BETA5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-impl-3.2.2.BETA5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-impl-3.3.0-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-impl-3.3.0-SNAPSHOT.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-ui-3.2.2.BETA5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-ui-3.2.2.BETA5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-ui-3.3.0-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/richfaces-ui-3.3.0-SNAPSHOT.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/servlet-api-2.5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/servlet-api-2.5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/slf4j-api-1.4.2.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/slf4j-api-1.4.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/slf4j-simple-1.4.2.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/lib/slf4j-simple-1.4.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/pages.xml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/pages.xml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/pages.xml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pages xmlns="http://jboss.com/products/seam/pages"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd"
+ no-conversation-view-id="/home.xhtml" login-view-id="/login.xhtml">
+
+ <page view-id="*">
+ <navigation>
+ <rule if-outcome="home">
+ <redirect view-id="/home.xhtml" />
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/home.xhtml">
+ <navigation>
+ <rule if-outcome="dataScroller">
+ <redirect view-id="/DataScroller.xhtml" />
+ </rule>
+ <rule if-outcome="dataTable_scroll">
+ <redirect view-id="/DataTable_scroll.xhtml" />
+ </rule>
+ <rule if-outcome="dataScroller1">
+ <redirect view-id="/DataScroller.xhtml" />
+ </rule>
+ <rule if-outcome="sortingAndFiltering">
+ <redirect view-id="/DataTable.xhtml" />
+ </rule>
+ <rule if-outcome="Rich">
+ <redirect view-id="/pages/Rich/Rich.xhtml" />
+ </rule>
+ <rule if-outcome="custom">
+ <redirect view-id="/CustomizePage/CustomizePage.xhtml" />
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/DataTable.xhtml">
+ <navigation>
+ <rule if-outcome="dataTable_scroll1">
+ <redirect view-id="/DataTable_scroll.xhtml" />
+ </rule>
+ </navigation>
+ </page>
+
+ <exception
+ class="org.jboss.seam.framework.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.OptimisticLockException">
+ <end-conversation />
+ <redirect view-id="/error.xhtml">
+ <message>
+ Another user changed the same data, please try again
+ </message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.AuthorizationException">
+ <redirect view-id="/error.xhtml">
+ <message>You don't have permission to do this</message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.NotLoggedInException">
+ <redirect view-id="/login.xhtml">
+ <message>Please log in first</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.faces.application.ViewExpiredException">
+ <redirect view-id="/error.xhtml">
+ <message>
+ Your session has timed out, please try again
+ </message>
+ </redirect>
+ </exception>
+
+ <exception>
+ <redirect view-id="/error.xhtml">
+ <message>Unexpected error, please try again</message>
+ </redirect>
+ </exception>
+
+</pages>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/web.xml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/WEB-INF/web.xml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,81 @@
+<?xml version="1.0" ?>
+<web-app 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"
+ version="2.5">
+
+ <!-- Ajax4jsf -->
+
+ <context-param>
+ <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
+ <param-value>com.sun.facelets.FaceletViewHandler</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>org.richfaces.SKIN</param-name>
+ <param-value>blueSky</param-value>
+ </context-param>
+
+ <!-- Seam -->
+
+ <listener>
+ <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
+ </listener>
+
+ <filter>
+ <filter-name>Seam Filter</filter-name>
+ <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>Seam Filter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <servlet>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <url-pattern>/seam/resource/*</url-pattern>
+ </servlet-mapping>
+
+ <!-- Facelets development mode (disable in production) -->
+
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <!-- JSF -->
+
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+
+ <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>*.seam</url-pattern>
+ </servlet-mapping>
+
+ <security-constraint>
+ <display-name>Restrict raw XHTML Documents</display-name>
+ <web-resource-collection>
+ <web-resource-name>XHTML</web-resource-name>
+ <url-pattern>*.xhtml</url-pattern>
+ </web-resource-collection>
+ <auth-constraint/>
+ </security-constraint>
+
+
+
+</web-app>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/error.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/error.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/error.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,18 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>Error</h1>
+ <p>Something bad happened :-(</p>
+
+ <h:messages styleClass="message"/>
+
+</ui:define>
+</ui:composition>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/home.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/home.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/home.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,32 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" template="layout/template.xhtml">
+
+ <ui:define name="body">
+
+ <h:form>
+ <h:messages globalOnly="true" styleClass="message" />
+
+ <rich:panel>
+ <f:facet name="header">Welcome!</f:facet>
+ <p>This empty shell application includes:</p>
+ <ul>
+ <li><h:commandLink action="sortingAndFiltering" value="Sort/Filter dataTable test" /></li>
+ <li><h:commandLink action="custom" value="Customize page" /></li>
+ <li>JavaBean or EJB 3.0 Seam components</li>
+ <li>JPA entity classes</li>
+ <li>A configurable DataSource and JPA EntityManager</li>
+ <li>Templated Facelets views</li>
+ <li>RichFaces panels and tables</li>
+ <li>Default CSS stylesheet</li>
+ <li><h:commandLink action="Rich" value="RichFaces" /></li>
+ </ul>
+ </rich:panel>
+ </h:form>
+ </ui:define>
+</ui:composition>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/img/dtpick.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/img/dtpick.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/img/error.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/img/error.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/index.html
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/index.html (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/index.html 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,5 @@
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=home.seam">
+</head>
+</html>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/jQuery/jQuery.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/jQuery/jQuery.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/jQuery/jQuery.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,129 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="jQuerySubviewID">
+ <style>
+.divSize_1 {
+ width: 150px;
+ height: 90px;
+ margin: 10px;
+ border: 2px solid #DAA520;
+}
+
+.divColor_1 {
+ background-color: #1E90FF;
+}
+
+.divTextSize_1 {
+ font-size: xx-large;
+}
+
+.divSize_2 {
+ width: 90px;
+ height: 150px;
+ margin: 10px;
+ border: 2px solid #FF0000;
+}
+
+.divColor_2 {
+ background-color: #7FFF00;
+}
+
+.oddTable {
+ background-color: #FFE4C4;
+}
+
+.activeTable {
+ background-color: #AFEEEE;
+}
+
+.fontColor {
+ font-style: italic;
+ color: #228B22;
+}
+</style>
+ <h:panelGrid id="panelGridID" columns="2" border="1">
+ <h:outputText value="add text: [li],work!, e.g. A. one [li],work!" />
+ <h:panelGroup>
+ <f:verbatim>
+ <ol type="A" title="li">
+ <li>one</li>
+ <li>two</li>
+ <li>three</li>
+ </ol>
+ </f:verbatim>
+ </h:panelGroup>
+
+ <h:outputText value="green text: add text3 " />
+ <f:verbatim>
+ <p><span>Text1 </span>text2</p>
+ </f:verbatim>
+
+ <h:panelGroup>
+ <h:outputText
+ value="Rectangle: size: "150 x 90"; bgcolor: "dodgerblue"" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText value="Table: bgcolor: "bisque"" />
+ </h:panelGroup>
+ <f:verbatim>
+ <div id="div_1_ID">xx-large <br />
+ text</div>
+ </f:verbatim>
+
+ <h:panelGroup>
+ <h:outputText
+ value="Rectangle: size: "90 x 150"; border-color "red"" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText value="Table: bgcolor: "none"" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText value="effect(mouseover)" />
+ </h:panelGroup>
+ <f:verbatim>
+ <div id="div_2_ID">normal text</div>
+ </f:verbatim>
+ </h:panelGrid>
+
+
+ <rich:jQuery selector="li" timing="onload" id="jQid"
+ query="find('ol').end().append('[li],work!')" binding="#{jQuery.htmlJQuery}" />
+
+ <rich:jQuery selector="body" timing="onload" query="addClass('body')" />
+ <rich:jQuery selector="tr:nth-child(odd)" timing="onload"
+ query="addClass('oddTable')" />
+ <rich:jQuery selector="#panelGridID tr"
+ query="mouseover(function(){jQuery(this).addClass('activeTable')})" />
+ <rich:jQuery selector="#panelGridID tr"
+ query="mouseout(function(){jQuery(this).removeClass('activeTable')})" />
+
+ <rich:jQuery selector="#div_2_ID" timing="onload"
+ query="mouseover(function(){jQuery(this).fadeOut({height: 'hide'}, 500).text('New text').animate({height: 'show'}, 500)})" />
+ <rich:jQuery selector="p" timing="onload"
+ query="find('span').html('text1').end().append('<p class=\'fontColor\'>add text3<p>')" />
+ <rich:jQuery selector="#div_1_ID" timing="onload"
+ query="addClass('divSize_1')" />
+ <rich:jQuery selector=".divSize_1" timing="onload"
+ query="addClass('divColor_1')" />
+ <rich:jQuery selector="#panelGridID #div_1_ID" timing="onload"
+ query="addClass('divTextSize_1')" />
+ <rich:jQuery selector="#form\\:panelGridID #div_2_ID" timing="onload"
+ query="addClass('divSize_2')" />
+ <br />
+ <h:commandButton action="#{jQuery.add}" value="add test" />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('jQid').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/display.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/display.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/display.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,16 @@
+<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:s="http://jboss.com/products/seam/taglib">
+
+ <div class="prop">
+ <span class="name">
+ <ui:insert name="label"/>
+ </span>
+ <span class="value">
+ <ui:insert/>
+ </span>
+ </div>
+
+</ui:composition>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/edit.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/edit.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/edit.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,27 @@
+<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:s="http://jboss.com/products/seam/taglib">
+
+ <div class="prop">
+
+ <s:label styleClass="name #{invalid?'errors':''}">
+ <ui:insert name="label"/>
+ <s:span styleClass="required" rendered="#{required}">*</s:span>
+ </s:label>
+
+ <span class="value #{invalid?'errors':''}">
+ <s:validateAll>
+ <ui:insert/>
+ </s:validateAll>
+ </span>
+
+ <span class="error">
+ <h:graphicImage value="/img/error.gif" rendered="#{invalid}" styleClass="errors"/>
+ <s:message styleClass="errors"/>
+ </span>
+
+ </div>
+
+</ui:composition>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/menu.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/menu.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/menu.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,18 @@
+<rich:toolBar
+ 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:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.org/rich">
+ <rich:toolBarGroup>
+ <h:outputText value="#{projectName}:"/>
+ <s:link view="/home.xhtml" value="Home"/>
+ </rich:toolBarGroup>
+ <!-- @newMenuItem@ -->
+ <rich:toolBarGroup location="right">
+ <h:outputText value="Welcome, #{identity.username}!" rendered="#{identity.loggedIn}"/>
+ <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
+ <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
+ </rich:toolBarGroup>
+</rich:toolBar>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/template.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/template.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/layout/template.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,30 @@
+<!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:s="http://jboss.com/products/seam/taglib">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>HelloWorld</title>
+ <link href="stylesheet/theme.css" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+
+ <ui:include src="menu.xhtml">
+ <ui:param name="projectName" value="HelloWorld"/>
+ </ui:include>
+
+ <div class="body">
+ <ui:insert name="body"/>
+ </div>
+
+ <div class="footer">
+ Powered by <a href="http://jboss.com/products/seam">Seam</a>.
+ Generated by seam-gen.
+ </div>
+
+</body>
+</html>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/login.page.xml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/login.page.xml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/login.page.xml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<page xmlns="http://jboss.com/products/seam/pages"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd">
+
+ <navigation from-action="#{identity.login}">
+ <rule if="#{identity.loggedIn}">
+ <redirect view-id="/home.xhtml"/>
+ </rule>
+ </navigation>
+
+</page>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/login.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/login.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/login.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,49 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h:messages styleClass="message"/>
+
+ <h:form id="login">
+
+ <rich:panel>
+ <f:facet name="header">Login</f:facet>
+
+ <p>Please login here</p>
+
+ <div class="dialog">
+ <h:panelGrid columns="2" rowClasses="prop" columnClasses="name,value">
+ <h:outputLabel for="username">Username</h:outputLabel>
+ <h:inputText id="username"
+ value="#{identity.username}"/>
+ <h:outputLabel for="password">Password</h:outputLabel>
+ <h:inputSecret id="password"
+ value="#{identity.password}"/>
+ <h:outputLabel for="rememberMe">Remember me</h:outputLabel>
+ <h:selectBooleanCheckbox id="rememberMe"
+ value="#{identity.rememberMe}"/>
+ </h:panelGrid>
+ </div>
+
+ <p>
+ <i>Note - </i> You may login using any username/password combination.
+ </p>
+
+ </rich:panel>
+
+ <div class="actionButtons">
+ <h:commandButton value="Login" action="#{identity.login}"/>
+ </div>
+
+ </h:form>
+
+ </ui:define>
+</ui:composition>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/Blank.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/Blank.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/Blank.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,3 @@
+
+<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="calendarSubviewID">
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankDefault.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,2 @@
+<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="defaultSubviewID">
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankProperty.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,3 @@
+
+<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="PropertySubviewID">
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Blank/BlankStraightforward.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,3 @@
+
+<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="StraightforwardSubviewID">
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Info/Info.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Info/Info.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Info/Info.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,38 @@
+<f:subview id="infoSubview" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+ <h:panelGrid binding="#{myInfo.panelEvent}" columns="2">
+ </h:panelGrid>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:commandButton action="#{myInfo.getEvent}" value="test event"></h:commandButton>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="style:"></h:outputText>
+ <h:dataTable id="styleTableID" value="#{myInfo.style}" var="myInfo">
+ <h:column>
+ <h:outputText value="#{myInfo.key}"></h:outputText>
+ </h:column>
+ <h:column>
+ <h:outputText value="#{myInfo.value}"></h:outputText>
+ </h:column>
+ </h:dataTable>
+
+ <h:outputText value="attribute"></h:outputText>
+ <h:selectBooleanCheckbox value="#{option.attribute}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+
+ <h:outputText value="attribute:" rendered="#{option.attribute}"></h:outputText>
+ <h:dataTable id="attributeTableID" rendered="#{option.attribute}"
+ value="#{myInfo.attribute}" var="myInfo">
+ <h:column>
+ <h:outputText value="#{myInfo.key}"></h:outputText>
+ </h:column>
+ <h:column>
+ <h:outputText value="#{myInfo.value}"></h:outputText>
+ </h:column>
+ </h:dataTable>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Rich/Rich.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Rich/Rich.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/Rich/Rich.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,62 @@
+<!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"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>HelloWorld</title>
+</head>
+
+<body>
+
+<h:form id="formID">
+ <div id="divOpthID" align="right" style="z-index: 200"><ui:include
+ src="/pages/RichMenu/RichMenu.xhtml" /></div>
+ <rich:messages id="richMessagesID" ajaxRendered="true"
+ showSummary="true">
+ <f:facet name="errorMarker">
+ <h:graphicImage url="/pics/error.gif" />
+ </f:facet>
+
+ <f:facet name="fatalMarker">
+ <h:graphicImage url="/pics/fatal.gif" />
+ </f:facet>
+
+ <f:facet name="infoMarker">
+ <h:graphicImage url="/pics/info.gif" />
+ </f:facet>
+
+ <f:facet name="warnMarker">
+ <h:graphicImage url="/pics/warn.gif" />
+ </f:facet>
+
+ <f:facet name="passedMarker">
+ <h:graphicImage url="/pics/passed.gif" />
+ </f:facet>
+ </rich:messages>
+ <h:messages showDetail="true" showSummary="true"></h:messages>
+
+ <h:panelGrid id="richGridID" columns="1" width="100%">
+ <h:column rendered="#{option.reComponent}">
+ <ui:include src="#{richBean.pathComponent}" />
+ </h:column>
+
+ <h:column rendered="#{option.reStraightforward}">
+ <ui:include src="#{richBean.pathStraightforward}" />
+ </h:column>
+
+ <h:column rendered="#{option.reProperty}">
+ <ui:include src="#{richBean.pathProperty}" />
+ </h:column>
+
+ </h:panelGrid>
+
+ <ui:include src="/pages/Info/Info.xhtml" />
+
+</h:form>
+</body>
+</html>
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/RichMenu/RichMenu.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/RichMenu/RichMenu.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/pages/RichMenu/RichMenu.xhtml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,51 @@
+<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="richMenuSubviewID">
+ <h:panelGrid columns="5" border="1">
+ <h:panelGrid columns="2">
+ <h:outputText value="h" />
+ <h:outputText value="a4j" />
+ <h:commandButton value="submit" style="width : 85px; height : 21px;"></h:commandButton>
+ <a4j:commandButton value="submit" reRender="richGridID" style="width : 85px; height : 21px;"></a4j:commandButton>
+ <h:commandButton value="immediate" immediate="true" style="width : 85px; height : 21px;"></h:commandButton>
+ <a4j:commandButton value="immediate" immediate="true" reRender="richGridID" style="width : 85px; height : 21px;"></a4j:commandButton>
+ </h:panelGrid>
+ <h:panelGrid columns="1">
+ <a4j:status startText="WORK!" startStyle="color: red;" stopText="a4j:status"></a4j:status>
+ </h:panelGrid>
+ <h:panelGrid columns="1">
+ <h:panelGrid columns="4">
+ <h:outputText value="Default:" />
+ <h:selectBooleanCheckbox value="#{option.reDefault}" />
+
+ <h:outputText value="Component" />
+ <h:selectBooleanCheckbox value="#{option.reComponent}" onchange="submit();" />
+
+ <h:outputText value="Straightforward" />
+ <h:selectBooleanCheckbox value="#{option.reStraightforward}" onchange="submit();" />
+
+ <h:outputText value="Property" />
+ <h:selectBooleanCheckbox value="#{option.reProperty}" onchange="submit();" />
+ </h:panelGrid>
+ </h:panelGrid>
+
+ <h:panelGrid columns="1">
+ <h:outputText value="Select skin: " />
+ <h:selectOneMenu binding="#{skinBean.skinComponent}" onblur="submit();">
+ <a4j:support action="#{skinBean.change}" event="onchange" />
+ </h:selectOneMenu>
+ <h:selectOneMenu value="#{skinning.selectSkinning}" onblur="submit();">
+ <f:selectItem itemLabel="none" itemValue="none"/>
+ <f:selectItem itemLabel="skinning" itemValue="SKINNING"/>
+ <f:selectItem itemLabel="skinningClass" itemValue="SKINNING_CLASSES"/>
+ </h:selectOneMenu>
+ </h:panelGrid>
+
+ <h:panelGrid columns="1">
+ <h:outputText value="Select component:" />
+ <h:selectOneMenu value="#{richBean.src}" immediate="true" onchange="submit();">
+ <f:selectItems value="#{richBean.list}" />
+ <f:param value="#{richBean.src}" name="currentComponent"/>
+ </h:selectOneMenu>
+ </h:panelGrid>
+ </h:panelGrid>
+ <h:commandLink value="Back" action="main"></h:commandLink>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/458_1_big.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/458_1_big.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/458_2_big.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/458_2_big.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/ajax_process.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/ajax_process.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/ajax_stoped.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/ajax_stoped.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/asus.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/asus.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/benq.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/benq.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/collapse.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/collapse.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/error.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/error.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/expand.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/expand.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/fatal.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/fatal.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/file-manager-reject.png
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/file-manager-reject.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/file-manager.png
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/file-manager.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/header.png
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/header.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/info.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/info.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/item.png
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/item.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/masshtaby_01.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/masshtaby_01.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/passed.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/passed.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/podb109_61.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/podb109_61.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/toshiba.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/toshiba.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/warn.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam/pics/warn.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/styles/app.css
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/styles/app.css (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/styles/app.css 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,29 @@
+.rich-message-label{
+ padding: 0px 10px;
+}
+
+.rich-messages-label{
+ padding: 0px 10px
+}
+
+.rich-message-marker{
+}
+
+.rich-message{
+}
+
+.errorLabel{
+ color: #FF0000;
+}
+
+.warnLabel{
+ color: #0000FF;
+}
+
+.infoLabel{
+ color: #00FF00;
+}
+
+.fatalLabel{
+ color: #FF1493;
+}
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/styles/styles.css
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/styles/styles.css (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/styles/styles.css 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,256 @@
+/*simple toggle panel (icon position)*/
+.dr-stglpanel-marker {
+ float: right;
+}
+/* Message and messages */
+.rich-message-label {
+ padding: 0px 10px;
+}
+
+.rich-messages-label {
+ padding: 0px 10px
+}
+
+.rich-message-marker {
+
+}
+
+.rich-message {
+
+}
+
+.errorLabel {
+ color: #FF0000;
+}
+
+.warnLabel {
+ color: #0000FF;
+}
+
+.infoLabel {
+ color: #00FF00;
+ width: inherit;
+}
+
+.fatalLabel {
+ color: #FF1493;
+}
+
+.maintext {
+ font-size: 30px !important;
+}
+
+.text1 {
+ font-size: 14px !important;
+}
+
+.style {
+ background: teal;
+ border: solid 3px red;
+ font: 14px arial bold;
+}
+
+/* inputNumderSlider Styles */
+.barStyle {
+ background-color: purple !important;
+ border: red 3px solid;
+}
+
+.inputStyle {
+ background-color: lime !important;
+ border: red 3px solid;
+ font-family: monospace;
+}
+
+.tipStyle {
+ border: green 3px solid;
+ background-color: yellow;
+ font: 14px san-serif italic;
+}
+
+.handleStyle {
+ border: green 3px solid;
+ background-color: yellow;
+}
+
+/* TabPanel Styles */
+.activeTabStyle {
+ background: lime;
+ border: solid 3px black;
+ font: 14px arial italic ;
+}
+
+.inactiveTabStyle {
+ background: gray;
+ border: solid 3px blue;
+ font: 14px san-serif bold ;
+}
+
+.disabledTabStyle {
+ background: silver;
+ border: dotted 3px blue;
+ font: 14px small-caps normal;
+}
+
+.contentStyle {
+ background: silver;
+ border: 1px red solid;
+ font: 20px tahoma normal;
+}
+
+/* inputNumerSpinner Styles*/
+.inputStyle {
+ background: aqua;
+ border: thin red;
+ font: 15px fantasy normal;
+}
+
+/* ToolBar Styles*/
+.separatorStyle {
+ border: 3px solid red;
+ background: lime;
+}
+
+/*Calendar*/
+.smallText {
+ font-size: xx-small;
+}
+
+.largeText {
+ font-size: xx-large;
+}
+
+.Selecteddayclass {
+ background-color: #0087FF;
+}
+
+/*Data FilterSlider*/
+.column {
+ width: 75px;
+ font: normal 11px tahoma, sans-serif;
+ text-align: center;
+}
+
+.column-index {
+ width: 75px;
+ font: normal 11px tahoma, sans-serif;
+ text-align: left;
+}
+
+.list-row3 {
+ background-color: #ececec;
+}
+
+.list-row1 {
+ background-color: #f1f6fd;
+}
+
+.list-row2 {
+ background-color: #fff;
+}
+
+.list-header {
+ font: bold 11px tahoma, sans-serif;
+ text-align: center;
+}
+
+.list-table1 {
+ border: 1px solid #bed6f8;
+}
+
+.list-table2 {
+ border: 1px solid #bed6f8;
+}
+
+/*Drag and drop*/
+.dropzoneDecoration {
+ width: 70px;
+ height: 70px;
+ border: 2px dotted navy;
+}
+
+.accept {
+ border: 3px dotted green;
+ padding: 10px;
+}
+
+.reject {
+ border: 3px dashed red;
+ padding: 10px;
+}
+
+.mousemove {
+ border: 3px dotted green;
+ padding: 5px;
+}
+
+/*Panel2*/
+.panel {
+ vertical-align: top;
+}
+
+.rich-panel-header {
+
+}
+
+.top {
+ width: 200px !important;
+ height: 100px !important;
+}
+
+.hea {
+ color: #FCC !important;
+}
+
+.bo {
+ color: #F00 !important;
+}
+
+.top2 {
+ width: 200px !important;
+ height: 100px !important;
+ border: 2px solid #4C9600 !important;
+ background-color: #E4FFC8 !important;
+}
+
+.hea2 {
+ background-image: url() !important;
+ background-color: #4C9600 !important;
+ height: 18px !important;
+ text-align: center !important;
+ vertical-align: middle !important;
+ color: #CFF !important;
+ padding: 4px 0 !important;
+}
+
+.bo2 {
+ color: #4C9600;
+}
+
+.bo3 {
+ height: 100px;
+ overflow: auto;
+}
+
+/*TabPanel*/
+.text {
+ font-size: 20px
+}
+
+.bgc {
+ border: thick;
+ background-color: green
+}
+
+/*SimpleTogglePanel*/
+.head {
+ background-color: aqua;
+}
+
+.body {
+ background-color: purple;
+}
+.test{
+ color: red;
+ background-color:red;
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam/stylesheet/theme.css
===================================================================
--- trunk/test-applications/HelloWorld/target/richfaces-test-seam/stylesheet/theme.css (rev 0)
+++ trunk/test-applications/HelloWorld/target/richfaces-test-seam/stylesheet/theme.css 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,117 @@
+body {
+ font-size: 12px;
+}
+
+a:active, a:link, a:visited {
+ color: #0D5798;
+}
+a:hover {
+ color: #8CAFCD;
+}
+
+input, textarea {
+ border: 1px solid #BBBBBB;
+ font-size: 10px;
+ background: #F0F8FF;
+ color: black;
+}
+
+input[type='submit'], input[type='button'] {
+ background: #4477AA;
+ color: white;
+ margin: 5px;
+ border-color: gray;
+}
+
+.tableControl, .actionButtons {
+ width: 100%;
+}
+
+.tableControl a {
+ padding-left: 10px;
+}
+
+.tableControl {
+ text-align: right;
+}
+
+.footer {
+ text-align: center;
+ font-size: 10px;
+}
+
+.rich-table {
+ width:100%;
+}
+
+h1 {
+ font-family: Arial,sans-serif;
+ color: #578BB8;
+ font-size: 1.6em;
+ margin-top: 0;
+}
+
+body {
+ margin: 0px;
+ font-family: Arial,sans-serif;
+ color: #616161;
+}
+
+.body {
+ padding: 30px;
+}
+
+.columnHeader:hover
+{
+ color: #FF6600;
+}
+
+.message {
+ border: 1px solid #FFCC00;
+ padding: 5px;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ background-color: #F0F8FF;
+ font-size: 12px;
+}
+
+.name {
+ vertical-align: top;
+ font-weight: bold;
+ width: 115px;
+ float: left;
+ padding: 5px;
+ margin-top: 3px;
+ clear: left;
+}
+.value {
+ float: left;
+ padding: 5px;
+}
+
+.error {
+ float: left;
+ padding: 5px;
+}
+.errors {
+ color: red;
+ vertical-align: middle;
+}
+img.errors {
+ padding-right: 5px;
+}
+.errors input {
+ border: 1px solid red;
+}
+.errors textarea {
+ border: 1px solid red;
+}
+
+.required {
+ color: red;
+ padding-left: 2px;
+}
+
+.rich-stglpanel-body {
+ overflow: auto;
+}
Added: trunk/test-applications/HelloWorld/target/richfaces-test-seam.war
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/target/richfaces-test-seam.war
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/target/war/work/webapp-cache.xml
===================================================================
--- trunk/test-applications/HelloWorld/target/war/work/webapp-cache.xml (rev 0)
+++ trunk/test-applications/HelloWorld/target/war/work/webapp-cache.xml 2008-10-07 16:38:51 UTC (rev 10683)
@@ -0,0 +1,385 @@
+<webapp-structure>
+ <registeredFiles>
+ <entry>
+ <string>currentBuild</string>
+ <path-set>
+ <pathsSet class="linked-hash-set">
+ <string>Calendar/Calendar.xhtml</string>
+ <string>Calendar/CalendarDefault.xhtml</string>
+ <string>Calendar/CalendarProperty.xhtml</string>
+ <string>Calendar/CalendarStraightforward.xhtml</string>
+ <string>Columns/Columns.xhtml</string>
+ <string>Columns/ColumnsProperty.xhtml</string>
+ <string>Combobox/Combobox.xhtml</string>
+ <string>Combobox/ComboboxDefault.xhtml</string>
+ <string>Combobox/ComboboxProperty.xhtml</string>
+ <string>ComponentControl/ComponentControl.xhtml</string>
+ <string>ContextMenu/ContextMenu.xhtml</string>
+ <string>ContextMenu/ContextMenuProperty.xhtml</string>
+ <string>CustomizePage/CustomizePage.xhtml</string>
+ <string>DataDefinitionList/DataDefinitionDefault.xhtml</string>
+ <string>DataDefinitionList/DataDefinitionList.xhtml</string>
+ <string>DataDefinitionList/DataDefinitionListProperty.xhtml</string>
+ <string>DataFilterSlider/DataFilterSlider.xhtml</string>
+ <string>DataFilterSlider/DataFilterSliderProperty.xhtml</string>
+ <string>DataGrid/DataGrid.xhtml</string>
+ <string>DataGrid/DataGridProperty.xhtml</string>
+ <string>DataOrderedList/DataOrderedList.xhtml</string>
+ <string>DataOrderedList/DataOrderedListDefault.xhtml</string>
+ <string>DataOrderedList/DataOrderedListProperty.xhtml</string>
+ <string>DataScroller/DataScroller.xhtml</string>
+ <string>DataScroller/DataScrollerDefault.xhtml</string>
+ <string>DataScroller/DataScrollerProperty.xhtml</string>
+ <string>DataScroller/DataScrollerStraightforward.xhtml</string>
+ <string>DataTable/DataTable.xhtml</string>
+ <string>DataTable/DataTableDefault.xhtml</string>
+ <string>DataTable/DataTableProperty.xhtml</string>
+ <string>DataTable/DataTableStraightforward.xhtml</string>
+ <string>DataTable.xhtml</string>
+ <string>DragAndDrop/DragAndDrop.xhtml</string>
+ <string>DropDownMenu/DropDownMenu.xhtml</string>
+ <string>DropDownMenu/DropDownMenuDefault.xhtml</string>
+ <string>DropDownMenu/DropDownMenuProperty.xhtml</string>
+ <string>DropDownMenu/DropDownMenuStraightforward.xhtml</string>
+ <string>Effect/Effect.xhtml</string>
+ <string>error.xhtml</string>
+ <string>ExtendedDataTable/ExtendedDataTable.xhtml</string>
+ <string>ExtendedDataTable/ExtendedDataTableDefault.xhtml</string>
+ <string>ExtendedDataTable/ExtendedDataTableProperty.xhtml</string>
+ <string>ExtendedDataTable/ExtendedDataTableStraightforward.xhtml</string>
+ <string>FileUpload/FileUpload.xhtml</string>
+ <string>Gmap/Gmap.xhtml</string>
+ <string>Gmap/GmapDefault.xhtml</string>
+ <string>Gmap/GmapProperty.xhtml</string>
+ <string>home.xhtml</string>
+ <string>HotKey/HotKey.xhtml</string>
+ <string>img/dtpick.gif</string>
+ <string>img/error.gif</string>
+ <string>index.html</string>
+ <string>InplaceInput/InplaceInput.xhtml</string>
+ <string>InplaceInput/InplaceInputProperty.xhtml</string>
+ <string>InplaceSelect/InplaceSelect.xhtml</string>
+ <string>InplaceSelect/InplaceSelectProperty.xhtml</string>
+ <string>InputNumberSlider/InputNumberSlider.xhtml</string>
+ <string>InputNumberSlider/InputNumberSliderDefault.xhtml</string>
+ <string>InputNumberSlider/InputNumberSliderProperty.xhtml</string>
+ <string>InputNumberSlider/InputNumberSliderStraightforward.xhtml</string>
+ <string>InputNumberSpinner/InputNumberSpinner.xhtml</string>
+ <string>InputNumberSpinner/InputNumberSpinnerDefault.xhtml</string>
+ <string>InputNumberSpinner/InputNumberSpinnerProperty.xhtml</string>
+ <string>InputNumberSpinner/InputNumberSpinnerStraightforward.xhtml</string>
+ <string>Insert/Insert.xhtml</string>
+ <string>Insert/InsertProperty.xhtml</string>
+ <string>Insert/src/test.bsh</string>
+ <string>Insert/src/test.cpp</string>
+ <string>Insert/src/test.groovy</string>
+ <string>Insert/src/test.html</string>
+ <string>Insert/src/test.java</string>
+ <string>Insert/src/test.lzx</string>
+ <string>Insert/src/test.xml</string>
+ <string>jQuery/jQuery.xhtml</string>
+ <string>layout/display.xhtml</string>
+ <string>layout/edit.xhtml</string>
+ <string>layout/menu.xhtml</string>
+ <string>layout/template.xhtml</string>
+ <string>ListShuttle/ListShuttle.xhtml</string>
+ <string>ListShuttle/ListShuttleDefault.xhtml</string>
+ <string>ListShuttle/ListShuttleProperty.xhtml</string>
+ <string>ListShuttle/ListShuttleStraightforward.xhtml</string>
+ <string>login.page.xml</string>
+ <string>login.xhtml</string>
+ <string>Message/Message.xhtml</string>
+ <string>Message/MessageProperty.xhtml</string>
+ <string>Message/MessageStraightforward.xhtml</string>
+ <string>META-INF/MANIFEST.MF</string>
+ <string>ModalPanel/ModalPanel.xhtml</string>
+ <string>ModalPanel/ModalPanelDefault.xhtml</string>
+ <string>ModalPanel/ModalPanelProperty.xhtml</string>
+ <string>ModalPanel/ModalPanelStraightforward.xhtml</string>
+ <string>OrderingList/OrderingList.xhtml</string>
+ <string>OrderingList/OrderingListDefault.xhtml</string>
+ <string>OrderingList/OrderingListProperty.xhtml</string>
+ <string>OrderingList/OrderingListStraightforward.xhtml</string>
+ <string>pages/Blank/Blank.xhtml</string>
+ <string>pages/Blank/BlankDefault.xhtml</string>
+ <string>pages/Blank/BlankProperty.xhtml</string>
+ <string>pages/Blank/BlankStraightforward.xhtml</string>
+ <string>pages/Info/Info.xhtml</string>
+ <string>pages/Rich/Rich.xhtml</string>
+ <string>pages/RichMenu/RichMenu.xhtml</string>
+ <string>Paint2D/Paint2D.xhtml</string>
+ <string>Paint2D/Paint2DDefault.xhtml</string>
+ <string>Paint2D/Paint2DProperty.xhtml</string>
+ <string>Paint2D/Paint2DStraightforward.xhtml</string>
+ <string>Panel/Panel.xhtml</string>
+ <string>Panel/PanelDefault.xhtml</string>
+ <string>Panel/PanelProperty.xhtml</string>
+ <string>Panel/PanelStraightforward.xhtml</string>
+ <string>PanelBar/PanelBar.xhtml</string>
+ <string>PanelBar/PanelBarDefault.xhtml</string>
+ <string>PanelBar/PanelBarProperty.xhtml</string>
+ <string>PanelBar/PanelBarStraightforward.xhtml</string>
+ <string>PanelMenu/PanelMenu.xhtml</string>
+ <string>PanelMenu/PanelMenuDefault.xhtml</string>
+ <string>PanelMenu/PanelMenuProperty.xhtml</string>
+ <string>PanelMenu/PanelMenuStraightforward.xhtml</string>
+ <string>PickList/PickList.xhtml</string>
+ <string>PickList/PickListDefault.xhtml</string>
+ <string>PickList/PickListProperty.xhtml</string>
+ <string>pics/458_1_big.gif</string>
+ <string>pics/458_2_big.jpg</string>
+ <string>pics/ajax_process.gif</string>
+ <string>pics/ajax_stoped.gif</string>
+ <string>pics/asus.jpg</string>
+ <string>pics/benq.jpg</string>
+ <string>pics/collapse.gif</string>
+ <string>pics/error.gif</string>
+ <string>pics/expand.gif</string>
+ <string>pics/fatal.gif</string>
+ <string>pics/file-manager-reject.png</string>
+ <string>pics/file-manager.png</string>
+ <string>pics/header.png</string>
+ <string>pics/info.gif</string>
+ <string>pics/item.png</string>
+ <string>pics/masshtaby_01.jpg</string>
+ <string>pics/passed.gif</string>
+ <string>pics/podb109_61.jpg</string>
+ <string>pics/toshiba.jpg</string>
+ <string>pics/warn.gif</string>
+ <string>ProgressBar/ProgressBar.xhtml</string>
+ <string>ProgressBar/ProgressBarDefault.xhtml</string>
+ <string>ScrollableDataTable/ScrollableDataTable.xhtml</string>
+ <string>ScrollableDataTable/ScrollableDataTableDefault.xhtml</string>
+ <string>ScrollableDataTable/ScrollableDataTableProperty.xhtml</string>
+ <string>Separator/Separator.xhtml</string>
+ <string>Separator/SeparatorDefault.xhtml</string>
+ <string>Separator/SeparatorProperty.xhtml</string>
+ <string>Separator/SeparatorStraightforward.xhtml</string>
+ <string>SimpleTogglePanel/SimpleTogglePanel.xhtml</string>
+ <string>SimpleTogglePanel/SimpleTogglePanelDefault.xhtml</string>
+ <string>SimpleTogglePanel/SimpleTogglePanelProperty.xhtml</string>
+ <string>SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml</string>
+ <string>Skinning/Skinning.xhtml</string>
+ <string>SortingAndFiltering/SortingAndFiltering.xhtml</string>
+ <string>Spacer/Spacer.xhtml</string>
+ <string>Spacer/SpacerDefault.xhtml</string>
+ <string>Spacer/SpacerProperty.xhtml</string>
+ <string>Spacer/SpacerStraightforward.xhtml</string>
+ <string>styles/app.css</string>
+ <string>styles/styles.css</string>
+ <string>stylesheet/theme.css</string>
+ <string>SuggestionBox/SuggestionBox.xhtml</string>
+ <string>SuggestionBox/SuggestionBoxDefault.xhtml</string>
+ <string>SuggestionBox/SuggestionBoxProperty.xhtml</string>
+ <string>SuggestionBox/SuggestionBoxStraightforward.xhtml</string>
+ <string>TabPanel/TabPanel.xhtml</string>
+ <string>TabPanel/TabPanelDefault.xhtml</string>
+ <string>TabPanel/TabPanelProperty.xhtml</string>
+ <string>TabPanel/TabPanelStraightforward.xhtml</string>
+ <string>TogglePanel/TogglePanel.xhtml</string>
+ <string>TogglePanel/TogglePanelDefault.xhtml</string>
+ <string>TogglePanel/TogglePanelProperty.xhtml</string>
+ <string>TogglePanel/TogglePanelStraightforward.xhtml</string>
+ <string>ToolBar/ToolBar.xhtml</string>
+ <string>ToolBar/ToolBarDefault.xhtml</string>
+ <string>ToolBar/ToolBarProperty.xhtml</string>
+ <string>Tooltip/Tooltip.xhtml</string>
+ <string>Tooltip/TooltipDefault.xhtml</string>
+ <string>Tooltip/TooltipProperty.xhtml</string>
+ <string>Tooltip/TooltipStraightforward.xhtml</string>
+ <string>Tree/Tree.xhtml</string>
+ <string>Tree/TreeDefault.xhtml</string>
+ <string>Tree/TreeProperty.xhtml</string>
+ <string>Validator/Validator.xhtml</string>
+ <string>Validator/ValidatorDefault.xhtml</string>
+ <string>Validator/ValidatorProperty.xhtml</string>
+ <string>Validator/ValidatorStraightforward.xhtml</string>
+ <string>VirtualEarth/VirtualEarth.xhtml</string>
+ <string>VirtualEarth/VirtualEarthDefault.xhtml</string>
+ <string>VirtualEarth/VirtualEarthProperty.xhtml</string>
+ <string>WEB-INF/.faces-config.xml.jsfdia</string>
+ <string>WEB-INF/components.xml</string>
+ <string>WEB-INF/dev/org/domain/HelloWorld/session/Authenticator.class</string>
+ <string>WEB-INF/dev/org/domain/HelloWorld/session/Container.class</string>
+ <string>WEB-INF/dev/org/domain/HelloWorld/session/ContainerManager.class</string>
+ <string>WEB-INF/dev/org/domain/HelloWorld/session/ContainerService.class</string>
+ <string>WEB-INF/dev/org/domain/HelloWorld/session/TestDataModel.class</string>
+ <string>WEB-INF/dev/seam.properties</string>
+ <string>WEB-INF/faces-config.xml</string>
+ <string>WEB-INF/jboss-web.xml</string>
+ <string>WEB-INF/lib/antlr-runtime.jar</string>
+ <string>WEB-INF/lib/commons-beanutils.jar</string>
+ <string>WEB-INF/lib/commons-digester.jar</string>
+ <string>WEB-INF/lib/drools-compiler.jar</string>
+ <string>WEB-INF/lib/drools-core.jar</string>
+ <string>WEB-INF/lib/jboss-el.jar</string>
+ <string>WEB-INF/lib/jboss-seam-debug.jar</string>
+ <string>WEB-INF/lib/jboss-seam-ioc.jar</string>
+ <string>WEB-INF/lib/jboss-seam-mail.jar</string>
+ <string>WEB-INF/lib/jboss-seam-pdf.jar</string>
+ <string>WEB-INF/lib/jboss-seam-remoting.jar</string>
+ <string>WEB-INF/lib/jboss-seam-ui.jar</string>
+ <string>WEB-INF/lib/jboss-seam.jar</string>
+ <string>WEB-INF/lib/jbpm-jpdl.jar</string>
+ <string>WEB-INF/lib/jsf-facelets.jar</string>
+ <string>WEB-INF/lib/mvel14.jar</string>
+ <string>WEB-INF/lib/richfaces-api-3.2.2.BETA5.jar</string>
+ <string>WEB-INF/lib/richfaces-impl-3.2.2.BETA5.jar</string>
+ <string>WEB-INF/lib/richfaces-ui-3.2.2.BETA5.jar</string>
+ <string>WEB-INF/pages.xml</string>
+ <string>WEB-INF/web.xml</string>
+ <string>WEB-INF/classes/HelloWorld-ds.xml</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/Authenticator.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/calendar/Bean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/calendar/CalendarValidator.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/columns/Columns.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/combobox/Combobox.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/componentControl/ComponentControl.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/Container.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/ContainerManager.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/ContainerService.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/contextMenu/ContextMenu.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/custom/Custom.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/custom/CustomList.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/custom/UserBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dataGrid/Car.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dataGrid/DataGrid.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dataScroller/Data.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dataScroller/DataScroller.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dataTable/ChildBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dataTable/Data.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dataTable/DataTable.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/ddMenu/DDMenu.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoInventoryItem.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoInventoryList.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dfs/DemoSliderBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/dnd/DndBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/effect/Effect.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB$1.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/fileUpload/FileUpload.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/gmap/Gmap.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/hotKey/HotKey.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/inplaceInput/InplaceInput.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/insert/Insert.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/jQuery/JQuery.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/listShuttle/ListShuttle.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/message/Message.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/message/MessageValidator.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/modalPanel/ModalPanel.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/orderingList/OrderingList.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/paint2D/Paint2D.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/paint2D/PaintData.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/panel/Panel.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/panelBar/PanelBar.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/panelMenu/PanelMenu.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/pickList/PickList.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/progressBar/ProgressBar.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/rich/MapComponent.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/rich/Options.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/rich/RichBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/richPanels/MapComponent.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/richPanels/RichPanelsBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/sb/Data.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/sb/Sb.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/separator/Separator.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/skinning/Skinning.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering$1.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/spacer/Spacer.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/tabPanel/TabPanel.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/TestDataModel.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/togglePanel/TogglePanel.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/toolBar/ToolBar.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/toolTip/Tooltip.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/tree/Bean$1.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/tree/Bean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/tree/Library.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/tree/Organism.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/tree/Pathway.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeContainer.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/tree/TreeDndBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/Info$Pair.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/componentInfo/Info.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/converter/OrderingListConverter.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/data/Data.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/event/Event.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/icon/Icon.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/ptComponent/PTComponent.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/skins/Skins.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/util/style/Style.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/Bean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/DataBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/GraphValidatorBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/LengthBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/MaxBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/MinBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/MinMaxBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/NotEmptyBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/NotNullBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/TestValidable.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/Validable.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/validator/ValidatorBean.class</string>
+ <string>WEB-INF/classes/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.class</string>
+ <string>WEB-INF/lib/dom4j-1.6.1-jboss.jar</string>
+ <string>WEB-INF/lib/jstl-1.0.jar</string>
+ <string>WEB-INF/lib/jboss-seam-ui-2.0.0.GA.jar</string>
+ <string>WEB-INF/lib/jboss-seam-pdf-2.0.0.GA.jar</string>
+ <string>WEB-INF/lib/antlr-2.7.6.jar</string>
+ <string>WEB-INF/lib/jboss-el-2.0.0.GA.jar</string>
+ <string>WEB-INF/lib/richfaces-api-3.3.0-SNAPSHOT.jar</string>
+ <string>WEB-INF/lib/ejb-api-3.0.jar</string>
+ <string>WEB-INF/lib/hibernate-core-3.3.0.CR1.jar</string>
+ <string>WEB-INF/lib/mail-1.4.jar</string>
+ <string>WEB-INF/lib/commons-collections-3.2.jar</string>
+ <string>WEB-INF/lib/slf4j-simple-1.4.2.jar</string>
+ <string>WEB-INF/lib/persistence-api-1.0.jar</string>
+ <string>WEB-INF/lib/servlet-api-2.5.jar</string>
+ <string>WEB-INF/lib/jboss-seam-2.0.0.GA.jar</string>
+ <string>WEB-INF/lib/jsf-api-1.2_09.jar</string>
+ <string>WEB-INF/lib/hibernate-commons-annotations-3.1.0.CR1.jar</string>
+ <string>WEB-INF/lib/richfaces-ui-3.3.0-SNAPSHOT.jar</string>
+ <string>WEB-INF/lib/jboss-seam-remoting-2.0.0.GA.jar</string>
+ <string>WEB-INF/lib/commons-beanutils-1.7.0.jar</string>
+ <string>WEB-INF/lib/javassist-3.3.ga.jar</string>
+ <string>WEB-INF/lib/nekohtml-0.9.5.jar</string>
+ <string>WEB-INF/lib/jsf-facelets-1.1.14.jar</string>
+ <string>WEB-INF/lib/jboss-seam-debug-2.0.0.GA.jar</string>
+ <string>WEB-INF/lib/commons-digester-1.8.jar</string>
+ <string>WEB-INF/lib/activation-1.1.jar</string>
+ <string>WEB-INF/lib/commons-logging-1.0.4.jar</string>
+ <string>WEB-INF/lib/hibernate-validator-3.1.0.CR1.jar</string>
+ <string>WEB-INF/lib/slf4j-api-1.4.2.jar</string>
+ <string>WEB-INF/lib/richfaces-impl-3.3.0-SNAPSHOT.jar</string>
+ <string>WEB-INF/lib/jta-1.1.jar</string>
+ <string>WEB-INF/lib/itext-2.0.4.jar</string>
+ <string>WEB-INF/lib/jsf-impl-1.2_09.jar</string>
+ <string>WEB-INF/lib/jboss-seam-ioc-2.0.0.GA.jar</string>
+ <string>WEB-INF/lib/jboss-seam-mail-2.0.0.GA.jar</string>
+ </pathsSet>
+ </path-set>
+ </entry>
+ </registeredFiles>
+</webapp-structure>
\ No newline at end of file
16 years, 1 month
JBoss Rich Faces SVN: r10682 - in trunk/test-applications/HelloWorld: .settings and 7 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-10-07 10:44:01 -0400 (Tue, 07 Oct 2008)
New Revision: 10682
Added:
trunk/test-applications/HelloWorld/src/main/
trunk/test-applications/HelloWorld/src/main/java/
trunk/test-applications/HelloWorld/src/main/java/action/
trunk/test-applications/HelloWorld/src/main/java/model/
trunk/test-applications/HelloWorld/src/main/resources/
trunk/test-applications/HelloWorld/src/main/webapp/
Removed:
trunk/test-applications/HelloWorld/WebContent/
trunk/test-applications/HelloWorld/resources/
trunk/test-applications/HelloWorld/src/action/
trunk/test-applications/HelloWorld/src/model/
Modified:
trunk/test-applications/HelloWorld/.classpath
trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component
Log:
Modified: trunk/test-applications/HelloWorld/.classpath
===================================================================
--- trunk/test-applications/HelloWorld/.classpath 2008-10-07 14:33:19 UTC (rev 10681)
+++ trunk/test-applications/HelloWorld/.classpath 2008-10-07 14:44:01 UTC (rev 10682)
@@ -2,6 +2,7 @@
<classpath>
<classpathentry kind="src" output="WebContent/WEB-INF/dev" path="src/action"/>
<classpathentry kind="src" path="src/model"/>
+ <classpathentry kind="src" path="java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre1.5.0_12"/>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 4.2 Runtime"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
Modified: trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component 2008-10-07 14:33:19 UTC (rev 10681)
+++ trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component 2008-10-07 14:44:01 UTC (rev 10682)
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="HelloWorld">
- <wb-resource deploy-path="/" source-path="/WebContent"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/action"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/model"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/dataScroller"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/java"/>
+ <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
<property name="context-root" value="HelloWorld"/>
<property name="java-output-path" value="build/classes"/>
</wb-module>
Copied: trunk/test-applications/HelloWorld/src/main/java/action (from rev 10679, trunk/test-applications/HelloWorld/src/action)
Property changes on: trunk/test-applications/HelloWorld/src/main/java/action
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: trunk/test-applications/HelloWorld/src/main/java/model (from rev 10679, trunk/test-applications/HelloWorld/src/model)
Property changes on: trunk/test-applications/HelloWorld/src/main/java/model
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: trunk/test-applications/HelloWorld/src/main/resources (from rev 10679, trunk/test-applications/HelloWorld/resources)
Property changes on: trunk/test-applications/HelloWorld/src/main/resources
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: trunk/test-applications/HelloWorld/src/main/webapp (from rev 10679, trunk/test-applications/HelloWorld/WebContent)
Property changes on: trunk/test-applications/HelloWorld/src/main/webapp
___________________________________________________________________
Name: svn:mergeinfo
+
16 years, 1 month
JBoss Rich Faces SVN: r10681 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-10-07 10:33:19 -0400 (Tue, 07 Oct 2008)
New Revision: 10681
Modified:
trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
Log:
https://jira.jboss.org/jira/browse/RF-4512 - info about data pagination in scrollableDataTable is added to Dev. Guide
Modified: trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2008-10-07 14:31:22 UTC (rev 10680)
+++ trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2008-10-07 14:33:19 UTC (rev 10681)
@@ -277,6 +277,15 @@
<property>"process"</property>
</emphasis> attribute usage you can find <link linkend="process"
>here</link>. </para>
+ <note>
+ <title>Note:</title>
+ <para>
+ If you want to use specific features such as pagination on database level you should pass to the
+ <emphasis><property>"value"</property></emphasis> of the
+ <emphasis role="bold"><property><rich:scrollableDataTable></property></emphasis> component
+ an object which class extends <code>org.richfaces.model.ScrollableTableDataModel</code>.
+ </para>
+ </note>
</section>
16 years, 1 month
JBoss Rich Faces SVN: r10680 - in trunk/ui/columns/src: main/java/org/richfaces/el and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-10-07 10:31:22 -0400 (Tue, 07 Oct 2008)
New Revision: 10680
Added:
trunk/ui/columns/src/main/java/org/richfaces/el/
trunk/ui/columns/src/main/java/org/richfaces/el/ELBuilder.java
trunk/ui/columns/src/test/java/org/richfaces/el/
trunk/ui/columns/src/test/java/org/richfaces/el/ELBuilderTest.java
Modified:
trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsHandler.java
trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java
Log:
RF-4563
Added: trunk/ui/columns/src/main/java/org/richfaces/el/ELBuilder.java
===================================================================
--- trunk/ui/columns/src/main/java/org/richfaces/el/ELBuilder.java (rev 0)
+++ trunk/ui/columns/src/main/java/org/richfaces/el/ELBuilder.java 2008-10-07 14:31:22 UTC (rev 10680)
@@ -0,0 +1,161 @@
+package org.richfaces.el;
+
+import javax.el.ELContext;
+import javax.el.ExpressionFactory;
+import javax.el.ValueExpression;
+
+public class ELBuilder {
+ String orig;
+
+ StringBuffer res = new StringBuffer("#{");
+
+ int l;
+
+ String var;
+
+ String index;
+
+ String varReplacement;
+
+ String indexReplacement;
+
+ int varL;
+
+ int indexL;
+
+ public ELBuilder(String orig, String var, String index, String varR,
+ String indexR) {
+ this.orig = trimEL(orig);
+ this.var = var;
+ this.index = index;
+ this.varReplacement = varR;
+ this.indexReplacement = indexR;
+ l = this.orig.length();
+ varL = var.length();
+ indexL = index.length();
+
+ }
+
+ public String parse() {
+ internalParse(orig);
+ res.append("}");
+ return res.toString();
+ }
+
+ public static ValueExpression createValueExpression (String expr, Class<?> expectedType,ExpressionFactory factory, ELContext elContext, String var, String index, String varR,
+ String indexR) {
+ ELBuilder builder = new ELBuilder(expr, var, index, varR, indexR);
+ String newExpr = builder.parse();
+ return factory.createValueExpression(elContext, newExpr, expectedType);
+ }
+
+ public static String trimEL(String orig) {
+ if (orig.trim().startsWith("#")) {
+ orig = orig.substring(1).trim();
+ if (orig.startsWith("{") && orig.endsWith("}")) {
+ orig = orig.substring(1, orig.length() - 1);
+ }
+ }
+ return orig;
+ }
+
+ private int internalParse(String s) {
+
+ final char firstVar = var.charAt(0);
+ final char firstIndex = index.charAt(0);
+
+ for (int i = 0; i < s.length(); i++) {
+ char c = s.charAt(i);
+ if (c == firstIndex) {
+ i = parseIndex(i, c);
+ } else if (c == firstVar) {
+ i = parseVar(i, c);
+ } else if (isQuote(c)) {
+ i = parseString(i, c);
+ } else {
+ res.append(c);
+ }
+ }
+ return 0;
+ }
+
+ private int parseIndex(int i, char c) {
+ if (orig.indexOf(index, i) == i) {
+ Character before = (i != 0) ? orig.charAt(i - 1) : null;
+ Character after = (i + indexL < l) ? orig.charAt(i + indexL) : null;
+ if (isIndex(c, before, after)) {
+ res.append(indexReplacement);
+ return i + indexL - 1;
+ } else {
+ res.append(c);
+ return i++;
+ }
+ }
+ res.append(c);
+ return i;
+ }
+
+ private int parseVar(int i, char c) {
+ if (orig.indexOf(var, i) == i) {
+ Character before = (i != 0) ? orig.charAt(i - 1) : null;
+ Character after = (i + varL < l) ? orig.charAt(i + varL) : null;
+ if (isVar(c, before, after)) {
+ res.append(varReplacement);
+ return i + varL - 1;
+ } else {
+ res.append(c);
+ return i++;
+ }
+ }
+ res.append(c);
+ return i;
+ }
+
+ private int parseString(int i, char c) {
+ res.append(orig.charAt(i));
+ int j = i++;
+ while (j < l) {
+ if (isQuote(orig.charAt(j))) {
+ break;
+ } else {
+ res.append(orig.charAt(j));
+ }
+ j++;
+ }
+ return j;
+ }
+
+ private boolean isIndex(Character c, Character before, Character after) {
+ boolean ret = before == null
+ || (Character.isWhitespace(before) || isMath(before)
+ || before == '[' || before == '(' || before == '{');
+ if (ret) {
+ ret = after == null
+ || (Character.isWhitespace(after) || isMath(after)
+ || after == ']' || before == ')' || before == '}');
+ }
+ return ret;
+ }
+
+ private boolean isVar(Character c, Character before, Character after) {
+ boolean ret = before == null
+ || (Character.isWhitespace(before) || before == '(' || before == '{');
+ if (ret) {
+ ret = after == null
+ || (Character.isWhitespace(after) || after == ')'
+ || after == '(' || after == ']' || after == '[' || after == '.');
+ }
+ return ret;
+ }
+
+ private boolean isMath(Character c) {
+ return c == '+' || c == '*' || c == '-' || c == '/' || c == '%'
+ || c == '(' || c == ')';
+
+ }
+
+ private boolean isQuote(Character c) {
+ return c == '\'' || c == '\"';
+ }
+
+}
Modified: trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsHandler.java
===================================================================
--- trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsHandler.java 2008-10-07 09:29:25 UTC (rev 10679)
+++ trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsHandler.java 2008-10-07 14:31:22 UTC (rev 10680)
@@ -7,6 +7,7 @@
package org.richfaces.taglib;
import java.io.IOException;
+import java.util.ArrayList;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Iterator;
@@ -20,11 +21,16 @@
import javax.faces.component.UIComponent;
import javax.servlet.jsp.JspTagException;
+import org.richfaces.el.ELBuilder;
import org.richfaces.iterator.ForEachIterator;
import org.richfaces.iterator.SimpleForEachIterator;
import com.sun.facelets.FaceletContext;
+import com.sun.facelets.tag.MetaRule;
+import com.sun.facelets.tag.MetaRuleset;
import com.sun.facelets.tag.MetaTagHandler;
+import com.sun.facelets.tag.Metadata;
+import com.sun.facelets.tag.MetadataTarget;
import com.sun.facelets.tag.TagAttribute;
import com.sun.facelets.tag.jsf.ComponentConfig;
@@ -39,6 +45,17 @@
public class ColumnsHandler extends MetaTagHandler {
com.sun.facelets.tag.jsf.ComponentHandler handler;
+
+ public final static List<String> filterAttributes = new ArrayList<String>();
+ public final static List<String> sortAttributes = new ArrayList<String>();
+ static {
+ filterAttributes.add("filterBy");
+ filterAttributes.add("filterExpression");
+ filterAttributes.add("filterValue");
+ filterAttributes.add("filterEvent");
+
+ sortAttributes.add("sortExpression");
+ }
/** value attribute */
private TagAttribute value;
@@ -86,7 +103,23 @@
/** Expression for var item */
public IteratedExpression iteratedExpression;
+
+ public String valueExpr;
+
+ public String getVarReplacement() {
+ return valueExpr + "[" + _index + "]";
+ }
+
+ public String getIndexReplacement() {
+ return String.valueOf(_index);
+ }
};
+
+ ThreadLocal<IterationContext> iterationContextLocal = new ThreadLocal<IterationContext>();
+
+ public IterationContext getIterationContext() {
+ return iterationContextLocal.get();
+ }
/**
* TODO Description goes here.
@@ -95,18 +128,55 @@
*/
public ColumnsHandler(ComponentConfig config) {
super(config);
- handler = new ColumnTagHandler(config);
+ handler = new ColumnTagHandler(config) {
+ @Override
+ protected MetaRuleset createMetaRuleset(Class type) {
+ MetaRuleset ruleset = super.createMetaRuleset(type);
+ ruleset.addRule(new MetaRule() {
+
+ @Override
+ public Metadata applyRule(final String name,
+ final TagAttribute attribute, MetadataTarget meta) {
+ if (filterAttributes.indexOf(name) != -1) {
+ return new Metadata() {
+
+ @Override
+ public void applyMetadata(FaceletContext ctx,
+ Object instance) {
+ if (!attribute.isLiteral()) {
+ String expr = attribute.getValue();
+ IterationContext itContext = iterationContextLocal.get();
+
+ ValueExpression ve = ELBuilder.createValueExpression(expr, Object.class, ctx.getExpressionFactory(), ctx.getFacesContext().getELContext(),
+ itContext._itemId, itContext._indexId,
+ itContext.getVarReplacement(), itContext.getIndexReplacement());
+ ((UIComponent)instance).setValueExpression(name, ve);
+ }else {
+ ((UIComponent)instance).getAttributes().put(name, attribute.getValue());
+ }
+ }
+
+ };
+ }
+ return null;
+ }
+
+ });
+ return ruleset;
+ }
+ };
}
-
+
+
/**
* Extracts tags attributes values
*/
- private void initVariables(FaceletContext ctx, IterationContext itContext) {
- initColumnsCount(ctx, itContext);
- initIndex(ctx, itContext);
- initVar(ctx, itContext);
- initBegin(ctx, itContext);
- initEnd(ctx, itContext);
+ private void initVariables(FaceletContext ctx/*, IterationContext itContext*/) {
+ initColumnsCount(ctx/*, itContext*/);
+ initIndex(ctx/*, itContext*/);
+ initVar(ctx/*, itContext*/);
+ initBegin(ctx/*, itContext*/);
+ initEnd(ctx/*, itContext*/);
}
/**
@@ -114,13 +184,16 @@
*
* @throws JspTagException
*/
- private void prepare(FaceletContext ctx, IterationContext itContext) {
+ private void prepare(FaceletContext ctx/*, IterationContext itContext*/) {
- initVariables(ctx, itContext);
+ initVariables(ctx/*, itContext*/);
+
+ IterationContext itContext = getIterationContext();
try {
this.value = getAttribute("value");
+ itContext.valueExpr = ELBuilder.trimEL(this.value.getValue());
// produce the right sort of ForEachIterator
if (value != null) {
@@ -141,19 +214,20 @@
// TODO: handle exception
}
- correctFirst(ctx, itContext);
+ correctFirst(ctx/*, itContext*/);
}
/**
* Inits first iteration item
*/
- private void correctFirst(FaceletContext ctx, IterationContext itContext) {
+ private void correctFirst(FaceletContext ctx/*, IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
if (itContext.items != null) {
if (itContext._begin > 0 && (itContext._index < itContext._begin)) {
- while ((itContext._index < itContext._begin && hasNext(itContext))) {
- next(ctx, itContext);
+ while ((itContext._index < itContext._begin && hasNext(/*itContext*/))) {
+ next(ctx/*, itContext*/);
}
- if (!hasNext(itContext)) {
+ if (!hasNext(/*itContext*/)) {
itContext._index = 0;
}
}
@@ -166,7 +240,8 @@
* @return
* @throws JspTagException
*/
- private boolean hasNext(IterationContext itContext) {
+ private boolean hasNext(/*IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
try {
if (itContext._end != 0) {
return (itContext._index < itContext._end) ? itContext.items.hasNext() : false;
@@ -185,7 +260,8 @@
* @return
* @throws JspTagException
*/
- private Object next(FaceletContext ctx, IterationContext itContext) {
+ private Object next(FaceletContext ctx/*, IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
try {
Object o = itContext.items.next();
itContext._index++;
@@ -198,7 +274,8 @@
/**
* Extracts integer value from end attr
*/
- private void initColumnsCount(FaceletContext ctx, IterationContext itContext) {
+ private void initColumnsCount(FaceletContext ctx/*, IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
this.columns = getAttribute("columns");
if (columns != null) {
try {
@@ -217,7 +294,8 @@
/**
* Extracts integer value from begin attr
*/
- private void initBegin(FaceletContext ctx, IterationContext itContext) {
+ private void initBegin(FaceletContext ctx/*, IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
this.begin = getAttribute("begin");
if (begin != null) {
try {
@@ -242,7 +320,8 @@
/**
* Extracts integer value from end attr
*/
- private void initEnd(FaceletContext ctx, IterationContext itContext) {
+ private void initEnd(FaceletContext ctx/*, IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
this.end = getAttribute("end");
if (end != null) {
try {
@@ -266,7 +345,8 @@
/**
* Extracts string value from var attr
*/
- private void initVar(FaceletContext ctx, IterationContext itContext) {
+ private void initVar(FaceletContext ctx/*, IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
this.var = getAttribute("var");
if (var != null) {
try {
@@ -281,7 +361,8 @@
/**
* Extracts string value from index attr
*/
- private void initIndex(FaceletContext ctx, IterationContext itContext) {
+ private void initIndex(FaceletContext ctx/*, IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
this.index = getAttribute("index");
if (index != null) {
try {
@@ -300,21 +381,22 @@
public void apply(FaceletContext ctx, UIComponent parent)
throws IOException, FacesException, ELException {
IterationContext iterationContext = new IterationContext();
+ iterationContextLocal.set(iterationContext);
- prepare(ctx, iterationContext); // prepare data
+ prepare(ctx/*, iterationContext*/); // prepare data
try {
- while (hasNext(iterationContext)) { // for each
- exposeVariables(ctx, iterationContext);
+ while (hasNext(/*iterationContext*/)) { // for each
+ exposeVariables(ctx/*, iterationContext*/);
//super.apply(ctx, parent);
handler.apply(ctx, parent);
- next(ctx, iterationContext);
+ next(ctx/*, iterationContext*/);
}
} catch (Exception e) {
// TODO: handle exception
} finally {
- release(iterationContext);
- unExposeVariables(ctx, iterationContext);
+ release(/*iterationContext*/);
+ unExposeVariables(ctx/*, iterationContext*/);
}
}
@@ -325,6 +407,10 @@
//super.applyNextHandler(ctx, c);
}
+
+ private void onComponentCreated(UIComponent c) {
+
+ }
/**
@@ -332,8 +418,8 @@
*
* @throws JspTagException
*/
- private void exposeVariables(FaceletContext ctx, IterationContext itContext) {
-
+ private void exposeVariables(FaceletContext ctx/*, IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
VariableMapper vm = ctx.getVariableMapper();
int k = itContext._index;
@@ -342,7 +428,7 @@
if (value != null) {
ValueExpression srcVE = value.getValueExpression(ctx,
Object.class);
- ValueExpression ve = getVarExpression(ctx, srcVE, itContext);
+ ValueExpression ve = getVarExpression(ctx, srcVE/*, itContext*/);
vm.setVariable(itContext._itemId, ve);
}
}
@@ -365,7 +451,8 @@
* Removes page attributes that we have exposed and, if applicable, restores
* them to their prior values (and scopes).
*/
- private void unExposeVariables(FaceletContext ctx, IterationContext itContext) {
+ private void unExposeVariables(FaceletContext ctx/*, IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
VariableMapper vm = ctx.getVariableMapper();
// "nested" variables are now simply removed
if (itContext._itemId != null) {
@@ -385,7 +472,8 @@
* @return
*/
private ValueExpression getVarExpression(FaceletContext ctx,
- ValueExpression expr, IterationContext itContext) {
+ ValueExpression expr/*, IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
Object o = expr.getValue(ctx.getFacesContext().getELContext());
int k = itContext._index;
if (o.getClass().isArray() || o instanceof List) {
@@ -408,7 +496,8 @@
/**
* Release iteration variables
*/
- private void release(IterationContext itContext) {
+ private void release(/*IterationContext itContext*/) {
+ IterationContext itContext = getIterationContext();
itContext.items = null;
itContext._index = 0;
}
Modified: trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java
===================================================================
--- trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java 2008-10-07 09:29:25 UTC (rev 10679)
+++ trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java 2008-10-07 14:31:22 UTC (rev 10680)
@@ -28,10 +28,13 @@
import org.richfaces.component.UIColumn;
import org.richfaces.component.html.HtmlColumn;
+import org.richfaces.el.ELBuilder;
import org.richfaces.iterator.ForEachIterator;
import org.richfaces.iterator.SimpleForEachIterator;
import org.richfaces.renderkit.CellRenderer;
+import sun.security.provider.certpath.Builder;
+
@SuppressWarnings("unused")
public class ColumnsTag extends UIComponentClassicTagBase implements
IterationTag {
@@ -338,7 +341,7 @@
@Override
protected void setProperties(UIComponent component) {
ELContext elContext = getContext(pageContext.getELContext());
-
+ String varReplacement = ELBuilder.trimEL(this.__value.getExpressionString()) + "[" + index + "]";
Field[] fields = this.getClass().getDeclaredFields();
for (Field field : fields) {
try {
@@ -347,9 +350,23 @@
String fieldName = field.getName();
if (fieldName != null && fieldName.startsWith("_")) {
String attributeName = fieldName.replace("_", "");
- ValueExpression ex = (ValueExpression) o;
- ex = createValueExpression(elContext, ex);
- component.setValueExpression(attributeName, ex);
+ if (ColumnsHandler.filterAttributes.indexOf(attributeName) == -1 &&
+ ColumnsHandler.sortAttributes.indexOf(attributeName) == -1) {
+ ValueExpression ex = (ValueExpression) o;
+ ex = createValueExpression(elContext, ex);
+ component.setValueExpression(attributeName, ex);
+ } else {
+ ValueExpression ex = (ValueExpression) o;
+ ValueExpression expr = null;
+ if (!ex.isLiteralText()) {
+ expr = ELBuilder.createValueExpression(ex.getExpressionString(), ex.getExpectedType(),
+ getFacesContext().getApplication().getExpressionFactory(), pageContext.getELContext(), itemId, indexId,
+ varReplacement, String.valueOf(index));
+ }else {
+ expr = ex;
+ }
+ component.setValueExpression(attributeName, expr);
+ }
}
}
@@ -368,12 +385,10 @@
}
// Set SortExpression attribute especially for scrollable data table
if (_sortExpression != null) {
- //((HtmlColumn) component).setSortExpression(createSortExpression());
- String ex = createSortExpression();
- ValueExpression vexpr = getFacesContext().getApplication()
- .getExpressionFactory().createValueExpression(pageContext.getELContext(),
- ex, _sortExpression.getExpectedType());
- component.setValueExpression("sortExpression", vexpr);
+ ValueExpression expr = ELBuilder.createValueExpression(_sortExpression.getExpressionString(), _sortExpression.getExpectedType(),
+ getFacesContext().getApplication().getExpressionFactory(), pageContext.getELContext(), itemId, indexId,
+ varReplacement, String.valueOf(index));
+ component.setValueExpression("sortExpression", expr);
}
Added: trunk/ui/columns/src/test/java/org/richfaces/el/ELBuilderTest.java
===================================================================
--- trunk/ui/columns/src/test/java/org/richfaces/el/ELBuilderTest.java (rev 0)
+++ trunk/ui/columns/src/test/java/org/richfaces/el/ELBuilderTest.java 2008-10-07 14:31:22 UTC (rev 10680)
@@ -0,0 +1,83 @@
+/*
+ * ELBuilderTest.java Date created: 07.10.2008
+ * Last modified by: $Author$
+ * $Revision$ $Date$
+ */
+
+package org.richfaces.el;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import net.sf.cglib.beans.BulkBean;
+
+import junit.framework.Assert;
+import junit.framework.TestCase;
+
+/**
+ * JUnit test class for ElBuilder
+ * @author Andrey
+ *
+ */
+public class ELBuilderTest extends TestCase {
+
+ List<String> origList = null;
+
+ List<String> resultList = null;
+
+ String var;
+
+ String index;
+
+ String varR;
+
+ String indexR;
+
+ public void setUp() throws Exception {
+ super.setUp();
+ var = "column";
+ index = "index";
+ varR = "bean.columns[0]";
+ indexR = "1";
+
+ origList = new ArrayList<String>();
+ origList.add("#{column.header}");
+ origList.add("#{var[index]}");
+ origList.add("#{bean.filterValue[index]}");
+ origList.add("#{column.index == 'column.index'}");
+ origList.add("#{var.column.index == 1}");
+ origList.add("#{index + 11 == 12}");
+ origList.add("#{var[index*2].index == column[index].index}");
+
+ resultList = new ArrayList<String>();
+ resultList.add("#{bean.columns[0].header}");
+ resultList.add("#{var[1]}");
+ resultList.add("#{bean.filterValue[1]}");
+ resultList.add("#{bean.columns[0].index == 'column.index'}");
+ resultList.add("#{var.column.index == 1}");
+ resultList.add("#{1 + 11 == 12}");
+ resultList.add("#{var[1*2].index == bean.columns[0][1].index}");
+ }
+
+ public void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public void testELBuilder() {
+ for (int i=0; i < origList.size(); i++) {
+ String o = origList.get(i);
+ ELBuilder builder = new ELBuilder(o, var, index, varR, indexR);
+ String r = null;
+ try {
+ r = builder.parse();
+ }catch (Exception e) {
+ System.out.println(e);
+ Assert.fail(e.getMessage());
+ }
+ Assert.assertEquals("ValueExpression was parsed incorrectly: " + o, r, resultList.get(i));
+ }
+ }
+
+
+
+}
16 years, 1 month
JBoss Rich Faces SVN: r10679 - trunk/framework/api/src/main/java/org/ajax4jsf/model.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-10-07 05:29:25 -0400 (Tue, 07 Oct 2008)
New Revision: 10679
Modified:
trunk/framework/api/src/main/java/org/ajax4jsf/model/QueuesManager.java
Log:
small fix
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/model/QueuesManager.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/model/QueuesManager.java 2008-10-07 07:45:04 UTC (rev 10678)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/model/QueuesManager.java 2008-10-07 09:29:25 UTC (rev 10679)
@@ -63,9 +63,7 @@
.getAttributes().entrySet().iterator(); iterator.hasNext();) {
Map.Entry<String, Object> entry = (Map.Entry<String, Object>) iterator.next();
if (entry.getKey().startsWith(MAP_KEY_PREFIX)) {
- if (((Queue) entry.getValue()).isTransient()) {
- iterator.remove();
- }
+ iterator.remove();
}
}
}
16 years, 1 month
JBoss Rich Faces SVN: r10678 - in trunk/framework: impl/src/main/java/org/ajax4jsf/model and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-10-07 03:45:04 -0400 (Tue, 07 Oct 2008)
New Revision: 10678
Modified:
trunk/framework/api/src/main/java/org/ajax4jsf/model/Queue.java
trunk/framework/impl/src/main/java/org/ajax4jsf/model/QueueImpl.java
trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockQueue.java
Log:
Build fixed
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/model/Queue.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/model/Queue.java 2008-10-06 19:13:39 UTC (rev 10677)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/model/Queue.java 2008-10-07 07:45:04 UTC (rev 10678)
@@ -18,4 +18,6 @@
Boolean getLimitToList();
Boolean getIgnoreDupResponses();
+
+ boolean isTransient();
}
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/model/QueueImpl.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/model/QueueImpl.java 2008-10-06 19:13:39 UTC (rev 10677)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/model/QueueImpl.java 2008-10-07 07:45:04 UTC (rev 10678)
@@ -93,4 +93,9 @@
public void setLimitToListExpression(ValueExpression limitToListExpression) {
this.limitToListExpression = limitToListExpression;
}
+
+ public boolean isTransient() {
+ // TODO Auto-generated method stub
+ return false;
+ }
}
Modified: trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockQueue.java
===================================================================
--- trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockQueue.java 2008-10-06 19:13:39 UTC (rev 10677)
+++ trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockQueue.java 2008-10-07 07:45:04 UTC (rev 10678)
@@ -32,4 +32,9 @@
return false;
}
+ public boolean isTransient() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
}
16 years, 1 month
JBoss Rich Faces SVN: r10677 - in trunk/test-applications/HelloWorld: .settings and 140 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-10-06 15:13:39 -0400 (Mon, 06 Oct 2008)
New Revision: 10677
Added:
trunk/test-applications/HelloWorld/.classpath
trunk/test-applications/HelloWorld/.project
trunk/test-applications/HelloWorld/.settings/
trunk/test-applications/HelloWorld/.settings/org.eclipse.jdt.core.prefs
trunk/test-applications/HelloWorld/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component
trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/test-applications/HelloWorld/.settings/org.hibernate.eclipse.console.prefs
trunk/test-applications/HelloWorld/.settings/org.jboss.tools.jst.web.xml
trunk/test-applications/HelloWorld/.settings/org.jboss.tools.seam.core.prefs
trunk/test-applications/HelloWorld/HelloWorld.launch
trunk/test-applications/HelloWorld/WebContent/
trunk/test-applications/HelloWorld/WebContent/Calendar/
trunk/test-applications/HelloWorld/WebContent/Calendar/Calendar.xhtml
trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/Columns/
trunk/test-applications/HelloWorld/WebContent/Columns/Columns.xhtml
trunk/test-applications/HelloWorld/WebContent/Columns/ColumnsProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Combobox/
trunk/test-applications/HelloWorld/WebContent/Combobox/Combobox.xhtml
trunk/test-applications/HelloWorld/WebContent/Combobox/ComboboxDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/Combobox/ComboboxProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/ComponentControl/
trunk/test-applications/HelloWorld/WebContent/ComponentControl/ComponentControl.xhtml
trunk/test-applications/HelloWorld/WebContent/ContextMenu/
trunk/test-applications/HelloWorld/WebContent/ContextMenu/ContextMenu.xhtml
trunk/test-applications/HelloWorld/WebContent/ContextMenu/ContextMenuProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/CustomizePage/
trunk/test-applications/HelloWorld/WebContent/CustomizePage/CustomizePage.xhtml
trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/
trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionList.xhtml
trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionListProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/DataFilterSlider/
trunk/test-applications/HelloWorld/WebContent/DataFilterSlider/DataFilterSlider.xhtml
trunk/test-applications/HelloWorld/WebContent/DataFilterSlider/DataFilterSliderProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/DataGrid/
trunk/test-applications/HelloWorld/WebContent/DataGrid/DataGrid.xhtml
trunk/test-applications/HelloWorld/WebContent/DataGrid/DataGridProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/DataOrderedList/
trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedList.xhtml
trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedListDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedListProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/DataScroller/
trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScroller.xhtml
trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScrollerDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScrollerProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScrollerStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/DataTable.xhtml
trunk/test-applications/HelloWorld/WebContent/DataTable/
trunk/test-applications/HelloWorld/WebContent/DataTable/DataTable.xhtml
trunk/test-applications/HelloWorld/WebContent/DataTable/DataTableDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/DataTable/DataTableProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/DataTable/DataTableStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/DragAndDrop/
trunk/test-applications/HelloWorld/WebContent/DragAndDrop/DragAndDrop.xhtml
trunk/test-applications/HelloWorld/WebContent/DropDownMenu/
trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenu.xhtml
trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenuDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenuProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenuStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/Effect/
trunk/test-applications/HelloWorld/WebContent/Effect/Effect.xhtml
trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/
trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTable.xhtml
trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTableDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTableProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTableStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/FileUpload/
trunk/test-applications/HelloWorld/WebContent/FileUpload/FileUpload.xhtml
trunk/test-applications/HelloWorld/WebContent/Gmap/
trunk/test-applications/HelloWorld/WebContent/Gmap/Gmap.xhtml
trunk/test-applications/HelloWorld/WebContent/Gmap/GmapDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/Gmap/GmapProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/HotKey/
trunk/test-applications/HelloWorld/WebContent/HotKey/HotKey.xhtml
trunk/test-applications/HelloWorld/WebContent/InplaceInput/
trunk/test-applications/HelloWorld/WebContent/InplaceInput/InplaceInput.xhtml
trunk/test-applications/HelloWorld/WebContent/InplaceInput/InplaceInputProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/InplaceSelect/
trunk/test-applications/HelloWorld/WebContent/InplaceSelect/InplaceSelect.xhtml
trunk/test-applications/HelloWorld/WebContent/InplaceSelect/InplaceSelectProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/
trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSlider.xhtml
trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSliderDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSliderProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSliderStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/
trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinner.xhtml
trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinnerDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinnerProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinnerStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/Insert/
trunk/test-applications/HelloWorld/WebContent/Insert/Insert.xhtml
trunk/test-applications/HelloWorld/WebContent/Insert/InsertProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Insert/src/
trunk/test-applications/HelloWorld/WebContent/Insert/src/test.bsh
trunk/test-applications/HelloWorld/WebContent/Insert/src/test.cpp
trunk/test-applications/HelloWorld/WebContent/Insert/src/test.groovy
trunk/test-applications/HelloWorld/WebContent/Insert/src/test.html
trunk/test-applications/HelloWorld/WebContent/Insert/src/test.java
trunk/test-applications/HelloWorld/WebContent/Insert/src/test.lzx
trunk/test-applications/HelloWorld/WebContent/Insert/src/test.xml
trunk/test-applications/HelloWorld/WebContent/ListShuttle/
trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttle.xhtml
trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttleDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttleProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttleStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/META-INF/
trunk/test-applications/HelloWorld/WebContent/META-INF/MANIFEST.MF
trunk/test-applications/HelloWorld/WebContent/Message/
trunk/test-applications/HelloWorld/WebContent/Message/Message.xhtml
trunk/test-applications/HelloWorld/WebContent/Message/MessageProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Message/MessageStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/ModalPanel/
trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanel.xhtml
trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanelDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanelProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanelStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/OrderingList/
trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingList.xhtml
trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingListDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingListProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingListStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/Paint2D/
trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2D.xhtml
trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/Panel/
trunk/test-applications/HelloWorld/WebContent/Panel/Panel.xhtml
trunk/test-applications/HelloWorld/WebContent/Panel/PanelDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/Panel/PanelProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Panel/PanelStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/PanelBar/
trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBar.xhtml
trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/PanelMenu/
trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenu.xhtml
trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/PickList/
trunk/test-applications/HelloWorld/WebContent/PickList/PickList.xhtml
trunk/test-applications/HelloWorld/WebContent/PickList/PickListDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/PickList/PickListProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/ProgressBar/
trunk/test-applications/HelloWorld/WebContent/ProgressBar/ProgressBar.xhtml
trunk/test-applications/HelloWorld/WebContent/ProgressBar/ProgressBarDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/ScrollableDataTable/
trunk/test-applications/HelloWorld/WebContent/ScrollableDataTable/ScrollableDataTable.xhtml
trunk/test-applications/HelloWorld/WebContent/ScrollableDataTable/ScrollableDataTableDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/ScrollableDataTable/ScrollableDataTableProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Separator/
trunk/test-applications/HelloWorld/WebContent/Separator/Separator.xhtml
trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/
trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanel.xhtml
trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/Skinning/
trunk/test-applications/HelloWorld/WebContent/Skinning/Skinning.xhtml
trunk/test-applications/HelloWorld/WebContent/SortingAndFiltering/
trunk/test-applications/HelloWorld/WebContent/SortingAndFiltering/SortingAndFiltering.xhtml
trunk/test-applications/HelloWorld/WebContent/Spacer/
trunk/test-applications/HelloWorld/WebContent/Spacer/Spacer.xhtml
trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/SuggestionBox/
trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBox.xhtml
trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBoxDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBoxProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBoxStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/TabPanel/
trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanel.xhtml
trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/TogglePanel/
trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanel.xhtml
trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/ToolBar/
trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBar.xhtml
trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBarDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBarProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Tooltip/
trunk/test-applications/HelloWorld/WebContent/Tooltip/Tooltip.xhtml
trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/Tree/
trunk/test-applications/HelloWorld/WebContent/Tree/Tree.xhtml
trunk/test-applications/HelloWorld/WebContent/Tree/TreeDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/Tree/TreeProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Validator/
trunk/test-applications/HelloWorld/WebContent/Validator/Validator.xhtml
trunk/test-applications/HelloWorld/WebContent/Validator/ValidatorDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/Validator/ValidatorProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/Validator/ValidatorStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/VirtualEarth/
trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarth.xhtml
trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarthDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarthProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/WEB-INF/
trunk/test-applications/HelloWorld/WebContent/WEB-INF/.faces-config.xml.jsfdia
trunk/test-applications/HelloWorld/WebContent/WEB-INF/classes/
trunk/test-applications/HelloWorld/WebContent/WEB-INF/classes/META-INF/
trunk/test-applications/HelloWorld/WebContent/WEB-INF/components.xml
trunk/test-applications/HelloWorld/WebContent/WEB-INF/faces-config.xml
trunk/test-applications/HelloWorld/WebContent/WEB-INF/jboss-web.xml
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/antlr-runtime.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/commons-beanutils.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/commons-digester.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/drools-compiler.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/drools-core.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-el.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-debug.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-mail.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-ui.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jbpm-jpdl.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jsf-facelets.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/mvel14.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/richfaces-api-3.2.2.BETA5.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/richfaces-impl-3.2.2.BETA5.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/richfaces-ui-3.2.2.BETA5.jar
trunk/test-applications/HelloWorld/WebContent/WEB-INF/pages.xml
trunk/test-applications/HelloWorld/WebContent/WEB-INF/web.xml
trunk/test-applications/HelloWorld/WebContent/error.xhtml
trunk/test-applications/HelloWorld/WebContent/home.xhtml
trunk/test-applications/HelloWorld/WebContent/img/
trunk/test-applications/HelloWorld/WebContent/img/dtpick.gif
trunk/test-applications/HelloWorld/WebContent/img/error.gif
trunk/test-applications/HelloWorld/WebContent/index.html
trunk/test-applications/HelloWorld/WebContent/jQuery/
trunk/test-applications/HelloWorld/WebContent/jQuery/jQuery.xhtml
trunk/test-applications/HelloWorld/WebContent/layout/
trunk/test-applications/HelloWorld/WebContent/layout/display.xhtml
trunk/test-applications/HelloWorld/WebContent/layout/edit.xhtml
trunk/test-applications/HelloWorld/WebContent/layout/menu.xhtml
trunk/test-applications/HelloWorld/WebContent/layout/template.xhtml
trunk/test-applications/HelloWorld/WebContent/login.page.xml
trunk/test-applications/HelloWorld/WebContent/login.xhtml
trunk/test-applications/HelloWorld/WebContent/pages/
trunk/test-applications/HelloWorld/WebContent/pages/Blank/
trunk/test-applications/HelloWorld/WebContent/pages/Blank/Blank.xhtml
trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankDefault.xhtml
trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankProperty.xhtml
trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankStraightforward.xhtml
trunk/test-applications/HelloWorld/WebContent/pages/Info/
trunk/test-applications/HelloWorld/WebContent/pages/Info/Info.xhtml
trunk/test-applications/HelloWorld/WebContent/pages/Rich/
trunk/test-applications/HelloWorld/WebContent/pages/Rich/Rich.xhtml
trunk/test-applications/HelloWorld/WebContent/pages/RichMenu/
trunk/test-applications/HelloWorld/WebContent/pages/RichMenu/RichMenu.xhtml
trunk/test-applications/HelloWorld/WebContent/pics/
trunk/test-applications/HelloWorld/WebContent/pics/458_1_big.gif
trunk/test-applications/HelloWorld/WebContent/pics/458_2_big.jpg
trunk/test-applications/HelloWorld/WebContent/pics/ajax_process.gif
trunk/test-applications/HelloWorld/WebContent/pics/ajax_stoped.gif
trunk/test-applications/HelloWorld/WebContent/pics/asus.jpg
trunk/test-applications/HelloWorld/WebContent/pics/benq.jpg
trunk/test-applications/HelloWorld/WebContent/pics/collapse.gif
trunk/test-applications/HelloWorld/WebContent/pics/error.gif
trunk/test-applications/HelloWorld/WebContent/pics/expand.gif
trunk/test-applications/HelloWorld/WebContent/pics/fatal.gif
trunk/test-applications/HelloWorld/WebContent/pics/file-manager-reject.png
trunk/test-applications/HelloWorld/WebContent/pics/file-manager.png
trunk/test-applications/HelloWorld/WebContent/pics/header.png
trunk/test-applications/HelloWorld/WebContent/pics/info.gif
trunk/test-applications/HelloWorld/WebContent/pics/item.png
trunk/test-applications/HelloWorld/WebContent/pics/masshtaby_01.jpg
trunk/test-applications/HelloWorld/WebContent/pics/passed.gif
trunk/test-applications/HelloWorld/WebContent/pics/podb109_61.jpg
trunk/test-applications/HelloWorld/WebContent/pics/toshiba.jpg
trunk/test-applications/HelloWorld/WebContent/pics/warn.gif
trunk/test-applications/HelloWorld/WebContent/styles/
trunk/test-applications/HelloWorld/WebContent/styles/app.css
trunk/test-applications/HelloWorld/WebContent/styles/styles.css
trunk/test-applications/HelloWorld/WebContent/stylesheet/
trunk/test-applications/HelloWorld/WebContent/stylesheet/theme.css
trunk/test-applications/HelloWorld/build/
trunk/test-applications/HelloWorld/build/classes/
trunk/test-applications/HelloWorld/hibernate-console.properties
trunk/test-applications/HelloWorld/resources/
trunk/test-applications/HelloWorld/resources/HelloWorld-ds.xml
trunk/test-applications/HelloWorld/src/
trunk/test-applications/HelloWorld/src/action/
trunk/test-applications/HelloWorld/src/action/org/
trunk/test-applications/HelloWorld/src/action/org/domain/
trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/
trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/
trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/Authenticator.java
trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/Container.java
trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/ContainerManager.java
trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/ContainerService.java
trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/TestDataModel.java
trunk/test-applications/HelloWorld/src/action/seam.properties
trunk/test-applications/HelloWorld/src/model/
trunk/test-applications/HelloWorld/src/model/META-INF/
trunk/test-applications/HelloWorld/src/model/META-INF/persistence.xml
trunk/test-applications/HelloWorld/src/model/components.properties
trunk/test-applications/HelloWorld/src/model/import.sql
trunk/test-applications/HelloWorld/src/model/messages_en.properties
trunk/test-applications/HelloWorld/src/model/org/
trunk/test-applications/HelloWorld/src/model/org/domain/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/Bean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarValidator.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/columns/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/columns/Columns.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/combobox/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/combobox/Combobox.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/componentControl/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/componentControl/ComponentControl.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/contextMenu/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/contextMenu/ContextMenu.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/Custom.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/CustomList.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/UserBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataDefinitionList/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataGrid/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataGrid/Car.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataGrid/DataGrid.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataOrderedList/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataScroller/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataScroller/Data.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataScroller/DataScroller.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/ChildBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/Data.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/DataTable.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/ddMenu/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/ddMenu/DDMenu.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoInventoryItem.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoInventoryList.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoSliderBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dnd/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dnd/DndBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/effect/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/effect/Effect.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/fileUpload/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/fileUpload/FileUpload.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/gmap/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/gmap/Gmap.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/hotKey/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/hotKey/HotKey.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inplaceInput/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inplaceInput/InplaceInput.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inplaceSelect/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inputNumberSlider/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inputNumberSpinner/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/insert/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/insert/Insert.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/jQuery/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/jQuery/JQuery.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/listShuttle/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/listShuttle/ListShuttle.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/message/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/message/Message.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/message/MessageValidator.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/modalPanel/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/modalPanel/ModalPanel.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/orderingList/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/orderingList/OrderingList.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/paint2D/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/paint2D/Paint2D.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/paint2D/PaintData.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panel/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panel/Panel.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panelBar/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panelBar/PanelBar.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panelMenu/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panelMenu/PanelMenu.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/pickList/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/pickList/PickList.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/progressBar/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/progressBar/ProgressBar.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/MapComponent.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/Options.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/RichBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/richPanels/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/richPanels/MapComponent.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/richPanels/RichPanelsBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sTP/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sb/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sb/Data.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sb/Sb.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/scrollableDataTable/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/separator/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/separator/Separator.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/skinning/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/skinning/Skinning.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sortingAndFiltering/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/spacer/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/spacer/Spacer.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tabPanel/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tabPanel/TabPanel.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/togglePanel/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/togglePanel/TogglePanel.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/toolBar/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/toolBar/ToolBar.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/toolTip/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/toolTip/Tooltip.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Bean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Library.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Organism.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Pathway.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeContainer.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeDndBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/pom_sample.xml
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/test.xml
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/Info.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/OrderingListConverter.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/data/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/data/Data.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/event/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/event/Event.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/icon/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/icon/Icon.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/phaseTracker/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/ptComponent/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/ptComponent/PTComponent.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/skins/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/skins/Skins.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/style/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/style/Style.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/Bean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/DataBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/GraphValidatorBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/LengthBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MaxBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MinBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MinMaxBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/NotEmptyBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/NotNullBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/TestValidable.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/Validable.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/ValidatorBean.java
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/virtualEarth/
trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.java
trunk/test-applications/HelloWorld/src/model/seam.properties
trunk/test-applications/HelloWorld/src/model/security.drl
Log:
HelloWorld initial commit.
Added: trunk/test-applications/HelloWorld/.classpath
===================================================================
--- trunk/test-applications/HelloWorld/.classpath (rev 0)
+++ trunk/test-applications/HelloWorld/.classpath 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="WebContent/WEB-INF/dev" path="src/action"/>
+ <classpathentry kind="src" path="src/model"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre1.5.0_12"/>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 4.2 Runtime"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry exported="true" kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="lib" path="E:/download/jhighlight-1.0.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: trunk/test-applications/HelloWorld/.project
===================================================================
--- trunk/test-applications/HelloWorld/.project (rev 0)
+++ trunk/test-applications/HelloWorld/.project 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>HelloWorld</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.common.verification.verifybuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.seam.core.seambuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.hibernate.eclipse.console.hibernateBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.jboss.tools.jsf.jsfnature</nature>
+ <nature>org.jboss.tools.seam.core.seamnature</nature>
+ <nature>org.hibernate.eclipse.console.hibernateNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/test-applications/HelloWorld/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/test-applications/HelloWorld/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/test-applications/HelloWorld/.settings/org.eclipse.jdt.core.prefs 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,7 @@
+#Fri Aug 22 20:26:50 EEST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/test-applications/HelloWorld/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- trunk/test-applications/HelloWorld/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0)
+++ trunk/test-applications/HelloWorld/.settings/org.eclipse.jst.common.project.facet.core.prefs 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,4 @@
+#Fri Aug 22 20:26:52 EEST 2008
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jre1.5.0_12/owners=jst.java\:5.0
+classpath.helper/org.eclipse.jst.server.core.container\:\:org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget\:\:JBoss\ 4.2\ Runtime/owners=jst.web\:2.5;jst.seam\:2.0;jst.jsf\:1.2
+eclipse.preferences.version=1
Added: trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.component 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="HelloWorld">
+ <wb-resource deploy-path="/" source-path="/WebContent"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/action"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/model"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/dataScroller"/>
+ <property name="context-root" value="HelloWorld"/>
+ <property name="java-output-path" value="build/classes"/>
+ </wb-module>
+</project-modules>
Added: trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/test-applications/HelloWorld/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 4.2 Runtime"/>
+ <fixed facet="jst.jsf"/>
+ <fixed facet="jst.java"/>
+ <fixed facet="jst.seam"/>
+ <fixed facet="jst.web"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.web" version="2.5"/>
+ <installed facet="jst.jsf" version="1.2"/>
+ <installed facet="jst.seam" version="2.0"/>
+</faceted-project>
Added: trunk/test-applications/HelloWorld/.settings/org.hibernate.eclipse.console.prefs
===================================================================
--- trunk/test-applications/HelloWorld/.settings/org.hibernate.eclipse.console.prefs (rev 0)
+++ trunk/test-applications/HelloWorld/.settings/org.hibernate.eclipse.console.prefs 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,4 @@
+#Fri Aug 22 20:26:52 EEST 2008
+default.configuration=HelloWorld
+eclipse.preferences.version=1
+hibernate3.enabled=true
Added: trunk/test-applications/HelloWorld/.settings/org.jboss.tools.jst.web.xml
===================================================================
--- trunk/test-applications/HelloWorld/.settings/org.jboss.tools.jst.web.xml (rev 0)
+++ trunk/test-applications/HelloWorld/.settings/org.jboss.tools.jst.web.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,310 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<file-systems VERSION="2.0.0" application-name="HelloWorld"
+ model-entity="FileSystems" workspace-home="./WebContent/WEB-INF">
+ <file-system NAME="WEB-INF" location="%workspace.home%" model-entity="FileSystemFolder"/>
+ <file-system NAME="WEB-ROOT" info="Content-Type=Web"
+ location="%workspace.home%/.." model-entity="FileSystemFolder"/>
+ <file-system NAME="lib" location="%workspace.home%/lib" model-entity="FileSystemFolder"/>
+ <file-system NAME="classes" location="%workspace.home%/classes" model-entity="FileSystemFolder"/>
+ <file-system NAME="lib-dnsns.jar"
+ location="C:\Program Files\Java\jre1.5.0_12\lib\ext\dnsns.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-localedata.jar"
+ location="C:\Program Files\Java\jre1.5.0_12\lib\ext\localedata.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-sunjce_provider.jar"
+ location="C:\Program Files\Java\jre1.5.0_12\lib\ext\sunjce_provider.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-sunpkcs11.jar"
+ location="C:\Program Files\Java\jre1.5.0_12\lib\ext\sunpkcs11.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-activation.jar"
+ location="C:\jboss-4.2.1.GA\client\activation.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-antlr.jar"
+ location="C:\jboss-4.2.1.GA\client\antlr.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-avalon-framework.jar"
+ location="C:\jboss-4.2.1.GA\client\avalon-framework.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-codec.jar"
+ location="C:\jboss-4.2.1.GA\client\commons-codec.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-httpclient.jar"
+ location="C:\jboss-4.2.1.GA\client\commons-httpclient.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-logging.jar"
+ location="C:\jboss-4.2.1.GA\client\commons-logging.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-concurrent.jar"
+ location="C:\jboss-4.2.1.GA\client\concurrent.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-ejb3-persistence.jar"
+ location="C:\jboss-4.2.1.GA\client\ejb3-persistence.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-getopt.jar"
+ location="C:\jboss-4.2.1.GA\client\getopt.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-hibernate-annotations.jar"
+ location="C:\jboss-4.2.1.GA\client\hibernate-annotations.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-hibernate-client.jar"
+ location="C:\jboss-4.2.1.GA\client\hibernate-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jacorb.jar"
+ location="C:\jboss-4.2.1.GA\client\jacorb.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-javassist.jar"
+ location="C:\jboss-4.2.1.GA\client\javassist.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jaxb-api.jar"
+ location="C:\jboss-4.2.1.GA\client\jaxb-api.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jaxb-impl.jar"
+ location="C:\jboss-4.2.1.GA\client\jaxb-impl.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jaxb-xjc.jar"
+ location="C:\jboss-4.2.1.GA\client\jaxb-xjc.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-annotations-ejb3.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-annotations-ejb3.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-aop-jdk50-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-aop-jdk50-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-aspect-jdk50-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-aspect-jdk50-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-common-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-common-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-deployment.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-deployment.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-ejb3-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-ejb3-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-ejb3x.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-ejb3x.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-iiop-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-iiop-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-j2ee.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-j2ee.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-jaxrpc.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-jaxrpc.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-jaxws.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-jaxws.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-jsr77-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-jsr77-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-remoting.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-remoting.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-saaj.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-saaj.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-serialization.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-serialization.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-srp-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-srp-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-system-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-system-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-transaction-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-transaction-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-xml-binding.jar"
+ location="C:\jboss-4.2.1.GA\client\jboss-xml-binding.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossall-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jbossall-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbosscx-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jbosscx-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossha-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jbossha-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossjmx-ant.jar"
+ location="C:\jboss-4.2.1.GA\client\jbossjmx-ant.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossmq-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jbossmq-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbosssx-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jbosssx-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossws-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jbossws-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossws-wsconsume-impl.jar"
+ location="C:\jboss-4.2.1.GA\client\jbossws-wsconsume-impl.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jmx-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jmx-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jmx-invoker-adaptor-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jmx-invoker-adaptor-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jnp-client.jar"
+ location="C:\jboss-4.2.1.GA\client\jnp-client.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-log4j.jar"
+ location="C:\jboss-4.2.1.GA\client\log4j.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-logkit.jar"
+ location="C:\jboss-4.2.1.GA\client\logkit.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-mail.jar"
+ location="C:\jboss-4.2.1.GA\client\mail.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-scout.jar"
+ location="C:\jboss-4.2.1.GA\client\scout.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-servlet-api.jar"
+ location="C:\jboss-4.2.1.GA\client\servlet-api.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-stax-api.jar"
+ location="C:\jboss-4.2.1.GA\client\stax-api.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-trove.jar"
+ location="C:\jboss-4.2.1.GA\client\trove.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-wsdl4j.jar"
+ location="C:\jboss-4.2.1.GA\client\wsdl4j.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-wstx.jar"
+ location="C:\jboss-4.2.1.GA\client\wstx.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-xmlsec.jar"
+ location="C:\jboss-4.2.1.GA\client\xmlsec.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-common.jar"
+ location="C:\jboss-4.2.1.GA\lib\jboss-common.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-jmx.jar"
+ location="C:\jboss-4.2.1.GA\lib\jboss-jmx.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-system.jar"
+ location="C:\jboss-4.2.1.GA\lib\jboss-system.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-log4j-boot.jar"
+ location="C:\jboss-4.2.1.GA\lib\log4j-boot.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-autonumber-plugin.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\autonumber-plugin.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-bcel.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\bcel.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-bindingservice-plugin.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\bindingservice-plugin.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-bsf.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\bsf.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-bsh-deployer.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\bsh-deployer.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-bsh.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\bsh.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-cglib.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\cglib.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-collections.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\commons-collections.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-dom4j.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\dom4j.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-el-api.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\el-api.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-hibernate-entitymanager.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\hibernate-entitymanager.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-hibernate3.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\hibernate3.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-hsqldb-plugin.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\hsqldb-plugin.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-hsqldb.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\hsqldb.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jaxen.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jaxen.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-cache-jdk50.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-cache-jdk50.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-common-jdbc-wrapper.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-common-jdbc-wrapper.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-hibernate.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-hibernate.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-jca.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-jca.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-jsr77.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-jsr77.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-jsr88.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-jsr88.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-management.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-management.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-monitoring.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-monitoring.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-remoting-int.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-remoting-int.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-srp.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-srp.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-transaction.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-transaction.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-vfs.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss-vfs.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jboss.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossjta-integration.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jbossjta-integration.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossjta.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jbossjta.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossmq.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jbossmq.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbosssx.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jbosssx.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossts-common.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jbossts-common.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossws-integration.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jbossws-integration.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jmx-adaptor-plugin.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jmx-adaptor-plugin.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jnpserver.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jnpserver.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-joesnmp.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\joesnmp.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jpl-pattern.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jpl-pattern.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jpl-util.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jpl-util.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jsp-api.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\jsp-api.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-log4j-snmp-appender.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\log4j-snmp-appender.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-mail-plugin.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\mail-plugin.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-properties-plugin.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\properties-plugin.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-quartz.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\quartz.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-scheduler-plugin-example.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\scheduler-plugin-example.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-scheduler-plugin.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\scheduler-plugin.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-xmlentitymgr.jar"
+ location="C:\jboss-4.2.1.GA\server\default\lib\xmlentitymgr.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-faces.jar"
+ location="C:\jboss-4.2.1.GA\server\default\deploy\jboss-web.deployer\jsf-libs\jboss-faces.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jsf-api.jar"
+ location="C:\jboss-4.2.1.GA\server\default\deploy\jboss-web.deployer\jsf-libs\jsf-api.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jsf-impl.jar"
+ location="C:\jboss-4.2.1.GA\server\default\deploy\jboss-web.deployer\jsf-libs\jsf-impl.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-aop-jdk50.jar"
+ location="C:\jboss-4.2.1.GA\server\default\deploy\jboss-aop-jdk50.deployer\jboss-aop-jdk50.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-aspect-library-jdk50.jar"
+ location="C:\jboss-4.2.1.GA\server\default\deploy\jboss-aop-jdk50.deployer\jboss-aspect-library-jdk50.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-ejb3.jar"
+ location="C:\jboss-4.2.1.GA\server\default\deploy\ejb3.deployer\jboss-ejb3.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-antlr-runtime.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\antlr-runtime.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-beanutils.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\commons-beanutils.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-digester.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\commons-digester.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-drools-compiler.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\drools-compiler.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-drools-core.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\drools-core.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-el.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\jboss-el.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-seam-debug.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\jboss-seam-debug.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-seam-ioc.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\jboss-seam-ioc.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-seam-mail.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\jboss-seam-mail.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-seam-pdf.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\jboss-seam-pdf.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-seam-remoting.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\jboss-seam-remoting.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-seam-ui.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\jboss-seam-ui.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jboss-seam.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\jboss-seam.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbpm-jpdl.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\jbpm-jpdl.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jsf-facelets.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\jsf-facelets.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-mvel14.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\mvel14.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-richfaces-api-3.2.2.BETA5.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\richfaces-api-3.2.2.BETA5.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-richfaces-impl-3.2.2.BETA5.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\richfaces-impl-3.2.2.BETA5.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-richfaces-ui-3.2.2.BETA5.jar"
+ location="D:\JavaWorkspace\HelloWorld\WebContent\WEB-INF\lib\richfaces-ui-3.2.2.BETA5.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="src" location="%workspace.home%/../../src/action" model-entity="FileSystemFolder"/>
+ <file-system NAME="src-1" location="%workspace.home%/../../src/model" model-entity="FileSystemFolder"/>
+ <file-system NAME="lib-jaxws-rt.jar"
+ location="C:\jboss-4.2.2.GA\client\jaxws-rt.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jaxws-tools.jar"
+ location="C:\jboss-4.2.2.GA\client\jaxws-tools.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossws-common.jar"
+ location="C:\jboss-4.2.2.GA\client\jbossws-common.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossws-framework.jar"
+ location="C:\jboss-4.2.2.GA\client\jbossws-framework.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossws-jboss42.jar"
+ location="C:\jboss-4.2.2.GA\client\jbossws-jboss42.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jbossws-spi.jar"
+ location="C:\jboss-4.2.2.GA\client\jbossws-spi.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-policy.jar"
+ location="C:\jboss-4.2.2.GA\client\policy.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-stax-ex.jar"
+ location="C:\jboss-4.2.2.GA\client\stax-ex.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-streambuffer.jar"
+ location="C:\jboss-4.2.2.GA\client\streambuffer.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="HelloWorld" location="%eclipse.project%" model-entity="FileSystemFolder"/>
+ <file-system NAME="lib-jhighlight-1.0.jar"
+ location="E:\download\jhighlight-1.0.jar" model-entity="FileSystemJar"/>
+ <web SERVLET_VERSION="2.4" model-entity="JstWeb" model-path="/web.xml">
+ <module URI="/WEB-INF/faces-config.xml" model-entity="WebJSFModule"
+ model-path="/faces-config.xml" src="src" web-root="WEB-ROOT"/>
+ </web>
+</file-systems>
Added: trunk/test-applications/HelloWorld/.settings/org.jboss.tools.seam.core.prefs
===================================================================
--- trunk/test-applications/HelloWorld/.settings/org.jboss.tools.seam.core.prefs (rev 0)
+++ trunk/test-applications/HelloWorld/.settings/org.jboss.tools.seam.core.prefs 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,15 @@
+#Fri Aug 22 20:26:52 EEST 2008
+action.package=org.domain.HelloWorld.session
+action.sources=/HelloWorld/src/action
+eclipse.preferences.version=1
+model.package=org.domain.HelloWorld.entity
+model.sources=/HelloWorld/src/model
+seam.project.connection.profile=DefaultDS
+seam.project.deployment.type=war
+seam.project.settings.version=1.1
+seam.project.web.root.folder=/HelloWorld/WebContent
+seam.runtime.name=jboss-seam-2.0.2.GA
+seam.test.creating=true
+seam.test.project=HelloWorld-test
+test.package=org.domain.HelloWorld.test
+test.sources=/HelloWorld-test/test-src
Added: trunk/test-applications/HelloWorld/HelloWorld.launch
===================================================================
--- trunk/test-applications/HelloWorld/HelloWorld.launch (rev 0)
+++ trunk/test-applications/HelloWorld/HelloWorld.launch 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Hibernate Console launch configuration -->
+<launchConfiguration type="org.hibernate.eclipse.launch.ConsoleConfigurationLaunchConfigurationType">
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="HelloWorld"/>
+<stringAttribute key="org.hibernate.eclipse.launch.PROPERTY_FILE" value="/HelloWorld/hibernate-console.properties"/>
+<stringAttribute key="org.hibernate.eclipse.launch.CONFIGURATION_FACTORY" value="JPA"/>
+</launchConfiguration>
Added: trunk/test-applications/HelloWorld/WebContent/Calendar/Calendar.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Calendar/Calendar.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Calendar/Calendar.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,183 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:s="http://jboss.com/products/seam/taglib" id="calendarSubviewID">
+
+ <h:messages />
+ <rich:messages showDetail="true"></rich:messages>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="Client mode"
+ rendered="#{calendarBean.renderedClient}" />
+ <h:outputText value="Ajax mode"
+ rendered="#{calendarBean.renderedAjax}" />
+
+ <rich:calendar id="calendarClientID" dataModel="#{calendarDataModel}"
+ style="#{style.style}" styleClass="#{style.styleClass}"
+ inputStyle="#{style.inputStyle}" locale="#{calendarBean.locale}"
+ popup="#{calendarBean.popup}"
+ preloadDateRangeBegin="#{calendarBean.prDateRangeBegin}"
+ preloadDateRangeEnd="#{calendarBean.prDateRangeEnd}"
+ datePattern="#{calendarBean.pattern}"
+ weekDayLabels="#{calendarBean.weekDayLabels}"
+ weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
+ monthLabels="#{calendarBean.monthLabels}"
+ monthLabelsShort="#{calendarBean.monthLabelsShort}"
+ value="#{calendarBean.selectedDate}"
+ currentDate="#{calendarBean.currentDate}"
+ jointPoint="#{calendarBean.jointPoint}"
+ direction="#{calendarBean.direction}"
+ enableManualInput="#{calendarBean.enableManualInput}"
+ showInput="#{calendarBean.showInput}"
+ buttonLabel="#{calendarBean.label}"
+ boundaryDatesMode="#{calendarBean.boundary}"
+ currentDateChangeListener="#{calendarBean.dcl}"
+ valueChangeListener="#{calendarBean.ddd}"
+ reRender="calendarPropertyID,counter" inputClass="ic"
+ buttonClass="bc" ajaxSingle="#{calendarBean.ajaxSingle}"
+ buttonIcon="#{calendarBean.icon}"
+ buttonIconDisabled="#{icon.iconFileManagerReject}"
+ disabled="#{calendarBean.disabled}"
+ bypassUpdates="#{calendarBean.bypassUpdates}"
+ zindex="#{calendarBean.zindex}"
+ toolTipMode="#{calendarBean.toolTipMode}"
+ rendered="#{calendarBean.renderedClient}" focus="popupModeID"
+ mode="client" required="#{calendarBean.required}"
+ requiredMessage="Required Message" timeZone="#{calendarBean.tmZone}"
+ cellHeight="#{calendarBean.cellHeight}"
+ cellWidth="#{calendarBean.cellWidth}"
+ showApplyButton="#{calendarBean.showApplyButton}"
+ showWeekDaysBar="#{calendarBean.showWeekDaysBar}"
+ showWeeksBar="#{calendarBean.showWeeksBar}"
+ todayControlMode="#{calendarBean.todayControlMode}"
+ immediate="#{calendarBean.immediate}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onchanged="#{event.onchanged}" oncollapse="#{event.oncollapse}"
+ oncomplete="#{event.oncomplete}"
+ oncurrentdateselect="#{event.oncurrentdateselect}"
+ ondatemouseout="#{event.ondatemouseout}"
+ ondatemouseover="#{event.ondatemouseover}"
+ ondateselect="#{event.ondateselect}"
+ ondateselected="#{event.ondateselected}" onexpand="#{event.onexpand}"
+ oninputblur="#{event.oninputblur}"
+ oninputchange="#{event.oninputchange}"
+ oninputclick="#{event.oninputclick}"
+ oninputfocus="#{event.oninputfocus}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputselect="#{event.oninputselect}"
+ ontimeselect="#{event.ontimeselect}"
+ ontimeselected="#{event.ontimeselected}"
+ binding="#{calendarBean.htmlCalendar}">
+ <f:facet name="weekDay">
+ <f:verbatim>
+ <span style="padding: 2px; font-size: 4">{weekDayLabel +
+ weekDayLabelShort}</span>
+ </f:verbatim>
+ </f:facet>
+
+ <f:facet name="optionalHeader">
+ <h:outputText value="optionalHeader Facet" />
+ </f:facet>
+
+ <f:facet name="optionalFooter">
+ <h:outputText value="optionalFooter Facet" />
+ </f:facet>
+
+ <f:validator validatorId="CalendarValidator" />
+
+ <h:panelGrid columns="2">
+ <f:verbatim>
+ <span style="padding: 2px;">{day}</span>
+ </f:verbatim>
+ <h:panelGrid>
+ <h:outputText styleClass="smallText" value="{data.enLabel}" />
+ <h:outputText styleClass="smallText" value="{data.frLabel}" />
+ <h:outputText styleClass="smallText" value="{data.deLabel}" />
+ </h:panelGrid>
+ </h:panelGrid>
+ </rich:calendar>
+
+ <rich:calendar id="calendarAjaxID" dataModel="#{calendarDataModel}"
+ locale="#{calendarBean.locale}" popup="#{calendarBean.popup}"
+ datePattern="#{calendarBean.pattern}"
+ weekDayLabels="#{calendarBean.weekDayLabels}"
+ weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
+ monthLabels="#{calendarBean.monthLabels}"
+ monthLabelsShort="#{calendarBean.monthLabelsShort}"
+ value="#{calendarBean.selectedDate}"
+ currentDate="#{calendarBean.currentDate}"
+ jointPoint="#{calendarBean.jointPoint}"
+ direction="#{calendarBean.direction}"
+ enableManualInput="#{calendarBean.enableManualInput}"
+ showInput="#{calendarBean.showInput}"
+ buttonLabel="#{calendarBean.label}"
+ boundaryDatesMode="#{calendarBean.boundary}"
+ currentDateChangeListener="#{calendarBean.dcl}"
+ valueChangeListener="#{calendarBean.ddd}"
+ reRender="calendarPropertyID,counter" inputClass="ic"
+ buttonClass="bc" ajaxSingle="#{calendarBean.ajaxSingle}"
+ buttonIcon="#{calendarBean.icon}"
+ buttonIconDisabled="#{icon.iconFileManagerReject}"
+ disabled="#{calendarBean.disabled}"
+ bypassUpdates="#{calendarBean.bypassUpdates}"
+ zindex="#{calendarBean.zindex}"
+ toolTipMode="#{calendarBean.toolTipMode}"
+ rendered="#{calendarBean.renderedAjax}" focus="popupModeID"
+ mode="ajax" required="#{calendarBean.required}"
+ requiredMessage="Required Message" timeZone="#{calendarBean.tmZone}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onchanged="#{event.onchanged}" oncollapse="#{event.oncollapse}"
+ oncomplete="#{event.oncomplete}"
+ oncurrentdateselect="#{event.oncurrentdateselect}"
+ ondatemouseout="#{event.ondatemouseout}"
+ ondatemouseover="#{event.ondatemouseover}"
+ ondateselect="#{event.ondateselect}"
+ ondateselected="#{event.ondateselected}" onexpand="#{event.onexpand}"
+ oninputblur="#{event.oninputblur}"
+ oninputchange="#{event.oninputchange}"
+ oninputclick="#{event.oninputclick}"
+ oninputfocus="#{event.oninputfocus}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputselect="#{event.oninputselect}"
+ ontimeselect="#{event.ontimeselect}"
+ ontimeselected="#{event.ontimeselected}"
+ validator="CalendarValidator">
+
+ <f:facet name="weekDay">
+ <f:verbatim>
+ <span style="padding: 2px; font-size: 4">{weekDayLabel +
+ weekDayLabelShort}</span>
+ </f:verbatim>
+ </f:facet>
+
+ <f:facet name="optionalHeader">
+ <h:outputText value="optionalHeader Facet" />
+ </f:facet>
+
+ <f:facet name="optionalFooter">
+ <h:outputText value="optionalFooter Facet" />
+ </f:facet>
+
+ <f:validator validatorId="CalendarValidator" />
+
+ <h:panelGrid columns="2">
+ <f:verbatim>
+ <span style="padding: 2px;">{day}</span>
+ </f:verbatim>
+ <h:panelGrid>
+ <h:outputText styleClass="smallText" value="{data.enLabel}" />
+ <h:outputText styleClass="smallText" value="{data.frLabel}" />
+ <h:outputText styleClass="smallText" value="{data.deLabel}" />
+ </h:panelGrid>
+ </h:panelGrid>
+ </rich:calendar>
+ </h:panelGrid>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,2 @@
+
+<rich:calendar></rich:calendar>
Added: trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,252 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="calendarPropertySubviewID">
+ <h:commandButton action="#{calendarBean.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:panelGroup>
+ <a4j:commandButton value="reRender"
+ reRender="calendarClientID,calendarAjaxID"></a4j:commandButton>
+ </h:panelGroup>
+ <h:column></h:column>
+
+ <h:outputText value="Mode:" />
+ <h:selectOneRadio value="#{calendarBean.mode}" onchange="submit();">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ </h:selectOneRadio>
+
+
+ <h:outputText value="Select Locale:" />
+ <h:selectOneRadio onchange="submit()" value="en/US"
+ valueChangeListener="#{calendarBean.selectLocale}">
+ <f:selectItem itemLabel="US" itemValue="en/US" />
+ <f:selectItem itemLabel="DE" itemValue="de/DE" />
+ <f:selectItem itemLabel="FR" itemValue="fr/FR" />
+ <f:selectItem itemLabel="RU" itemValue="ru/RU" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Popup Mode:" />
+ <h:selectBooleanCheckbox id="popupModeID"
+ value="#{calendarBean.popup}" onclick="submit();" />
+
+ <h:outputText value="showApplyButton: "></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showApplyButton}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="showScrollerBar: "></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showScrollerBar}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="showWeeksBar: "></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showWeeksBar}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="showWeekDaysBar: "></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showWeekDaysBar}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="cellHeight: "></h:outputText>
+ <h:inputText value="#{calendarBean.cellHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="cellWidth: "></h:outputText>
+ <h:inputText value="#{calendarBean.cellWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="Custom day labels" />
+ <h:selectOneRadio value="#{calendarBean.todayControlMode}"
+ onchange="submit();">
+ <f:selectItem itemLabel="scroll" itemValue="scroll" />
+ <f:selectItem itemLabel="select" itemValue="select" />
+ <f:selectItem itemLabel="hidden" itemValue="hidden" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Custom day labels" />
+ <h:selectOneRadio value="#{calendarBean.weekDay}" onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="day labels" itemValue="long" />
+ <f:selectItem itemLabel="day labels short" itemValue="short" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Custom month labels" />
+ <h:selectOneRadio value="#{calendarBean.month}" onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="day labels" itemValue="long" />
+ <f:selectItem itemLabel="day labels short" itemValue="short" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Select Date Pattern:" />
+ <h:selectOneMenu value="#{calendarBean.pattern}" onchange="submit()">
+ <f:selectItem itemLabel="d/M/yy" itemValue="d/M/yy" />
+ <f:selectItem itemLabel="dd/M/yy" itemValue="dd/M/yy" />
+ <f:selectItem itemLabel="d/MMM/y" itemValue="d/MMM/y" />
+ <f:selectItem itemLabel="dd.MM.yyyy" itemValue="dd.MM.yyyy" />
+ <f:selectItem itemLabel="MMM d, yyyy" itemValue="MMM d, yyyy" />
+ <f:selectItem itemLabel="dd-MM-yyyy" itemValue="dd-MM-yyyy" />
+ <f:selectItem itemLabel="dd/M/yy HH:mm" itemValue="dd/M/yy HH:mm" />
+ <f:selectItem itemLabel="MMM d, yyyy h:mm a"
+ itemValue="MMM d, yyyy h:mm a" />
+ </h:selectOneMenu>
+
+ <h:outputText value="Preload date range begin(d.m.y)" />
+ <h:inputText value="#{calendarBean.preloadDateRangeBegin}"
+ onchange="submit();" />
+
+ <h:outputText value="Preload date range end(d.m.y)" />
+ <h:inputText value="#{calendarBean.preloadDateRangeEnd}"
+ onchange="submit();" />
+
+ <h:outputText value="z-index:" />
+ <h:inputText value="#{calendarBean.zindex}">
+ <a4j:support event="onchange"
+ reRender="calendarClientID,calendarAjaxID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="horizontalOffset: "></h:outputText>
+ <h:inputText value="#{calendarBean.horizontalOffset}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="verticalOffset:"></h:outputText>
+ <h:inputText value="#{calendarBean.verticalOffset}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="immediate: "></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.immediate}"></h:selectBooleanCheckbox>
+
+ <h:outputText value="reRender (counter):" />
+ <h:outputText id="counter" value="#{calendarBean.counter}" />
+
+ <h:outputText value="Required" />
+ <h:selectBooleanCheckbox value="#{calendarBean.required}"
+ onclick="submit()" />
+
+ <h:outputText value="Select Popup Joint Point:" />
+ <h:selectOneRadio onchange="submit()"
+ value="#{calendarBean.jointPoint}">
+ <f:selectItem itemLabel="bottom-right" itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left" />
+ <f:selectItem itemLabel="top-right" itemValue="top-right" />
+ <f:selectItem itemLabel="top-left" itemValue="top-left" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Select Popup Direction:" />
+ <h:selectOneRadio onchange="submit()"
+ value="#{calendarBean.direction}">
+ <f:selectItem itemLabel="bottom-right" itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left" />
+ <f:selectItem itemLabel="top-right" itemValue="top-right" />
+ <f:selectItem itemLabel="top-left" itemValue="top-left" />
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Time Zone:" />
+ <h:selectOneRadio valueChangeListener="#{calendarBean.timeZone}"
+ onchange="submit();">
+ <f:selectItem itemLabel="Eastern European Time"
+ itemValue="Eastern European Time" />
+ <f:selectItem itemLabel="Turkmenistan Time"
+ itemValue="Turkmenistan Time" />
+ <f:selectItem itemLabel="Korea Standard Time"
+ itemValue="Korea Standard Time" />
+ </h:selectOneRadio>
+
+
+ <h:outputText value="ToolTip Mode:" />
+ <h:selectOneRadio value="#{calendarBean.toolTipMode}"
+ onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="single" itemValue="single" />
+ <f:selectItem itemLabel="batch" itemValue="batch" />
+ </h:selectOneRadio>
+
+ <h:outputText value="BoundaryDatesMode:" />
+ <h:selectOneRadio onclick="submit()" value="#{calendarBean.boundary}">
+ <f:selectItem itemLabel="inactive" itemValue="inactive" />
+ <f:selectItem itemLabel="select" itemValue="select" />
+ <f:selectItem itemLabel="scroll" itemValue="scroll" />
+ </h:selectOneRadio>
+
+ <h:outputText value="EnableManualInput:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.enableManualInput}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="ShowInput:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showInput}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disabled:" />
+ <h:selectBooleanCheckbox value="#{calendarBean.disabled}"
+ onclick="submit()" />
+
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{calendarBean.rendered}"
+ onclick="submit()" />
+
+ <f:verbatim></f:verbatim>
+ <h:commandButton action="#{calendarBean.changeIcons}"
+ value="ChangeIcons" />
+
+ <h:outputText value="Current date: " />
+ <h:outputText value="#{calendarBean.currentDateAsText}" />
+
+ <h:outputText value="Selected date: " />
+ <h:outputText value="#{calendarBean.selectedDate}" />
+
+ <f:verbatim></f:verbatim>
+ <h:commandButton value="Submit" />
+ </h:panelGrid>
+
+ <h:panelGrid columns="3">
+ <h:column></h:column>
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.doExpand(event)"
+ value="expand"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.nextMonth()"
+ value="nextMonth"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.prevMonth()"
+ value="prevMonth"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.nextYear()"
+ value="nextYear"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.prevYear()"
+ value="prevYear"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.today()"
+ value="today"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:calendarSubviewID:calendarClientID').component.getSelectedDate(new Data().setFullYear(2010,0,14)))"
+ value="getSelectedDate"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:calendarSubviewID:calendarClientID').component.isDateEnabled(new Data()))"
+ value="isDateEnabled"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:calendarSubviewID:calendarClientID').component.selectDate(new Data())"
+ value="selectDate"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:calendarSubviewID:calendarClientID').component.getCurrentMonth())"
+ value="getCurrentMonth"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:calendarSubviewID:calendarClientID').component.getCurrentYear())"
+ value="getCurrentYear"></a4j:commandLink>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('calendarClientID').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Calendar/CalendarStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="calendarStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{calendarBean.bTest1}" value="run" reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Calendar}" />
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{calendarBean.bTest2}" value="run" reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Calendar}" />
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{calendarBean.bTest3}" value="run" reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Calendar}" />
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{calendarBean.bTest4}" value="run" reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Calendar}" />
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{calendarBean.bTest5}" value="run" reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Calendar}" />
+ </h:panelGrid>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/Columns/Columns.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Columns/Columns.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Columns/Columns.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,94 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="columnsSubviewID">
+
+ <h:selectBooleanCheckbox value="#{columns.dataTableRendered}">
+ <a4j:support event="onchange" reRender="richGridID"></a4j:support>
+ </h:selectBooleanCheckbox>
+ <h:outputText value="rich:dataTable:" rendered="#{columns.dataTableRendered}"></h:outputText>
+ <h:outputText value="h:dataTable:" rendered="#{!columns.dataTableRendered}"></h:outputText>
+
+ <rich:dataTable id="richColumnsID" value="#{columns.data1}" var="d1" rendered="#{columns.dataTableRendered}">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="header (h)"></h:outputText>
+ </f:facet>
+ <h:outputText value="h: #{d1.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="footer (h)"></h:outputText>
+ </f:facet>
+ </h:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="header (rich)"></h:outputText>
+ </f:facet>
+ <h:outputText value="rich: #{d1.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="footer (rich)"></h:outputText>
+ </f:facet>
+ </rich:column>
+
+ <rich:columns value="#{columns.data2}" var="d2" footerClass="#{style.footerClass}" headerClass="#{style.headerClass}" breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
+ columns="#{columns.columns}" index="index" rowspan="#{columns.rowspan}" begin="#{columns.begin}" end="#{columns.end}" width="#{columns.width}" style="#{style.style}" styleClass="#{style.styleClass}"
+ sortOrder="#{columns.orderings[index]}" sortBy="#{d1.str0}"
+ filterBy="#{d1.str0}"
+ filterValue="#{columns.filterValue[index]}" filterMethod="#{columns.filterMethod}">
+ <f:facet name="header">
+ <h:outputText value="header #{d2.int0}"></h:outputText>
+ </f:facet>
+ <h:outputText value="#{index}. "></h:outputText>
+ <h:outputText value="#{d1.str0}, "></h:outputText>
+ <h:outputText value="#{d2.str0}"></h:outputText>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <f:facet name="footer">
+ <h:outputText value="footer #{d2.int0}"></h:outputText>
+ </f:facet>
+ </rich:columns>
+ </rich:dataTable>
+
+ <h:dataTable id="hColumnsID" value="#{columns.data1}" var="d1" rendered="#{!columns.dataTableRendered}" border="1">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="header (h)"></h:outputText>
+ </f:facet>
+ <h:outputText value="h: #{d1.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="footer (h)"></h:outputText>
+ </f:facet>
+ </h:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="header (rich)"></h:outputText>
+ </f:facet>
+ <h:outputText value="rich: #{d1.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="footer (rich)"></h:outputText>
+ </f:facet>
+ </rich:column>
+
+ <rich:columns value="#{columns.data2}" var="d2" breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
+ columns="#{columns.columns}" index="index" rowspan="#{columns.rowspan}" sortable="#{columns.sortable}"
+ begin="#{columns.begin}" end="#{columns.end}" width="#{columns.width}">
+ <f:facet name="header">
+ <h:outputText value="header #{d2.int0}"></h:outputText>
+ </f:facet>
+ <h:outputText value="#{index}. "></h:outputText>
+ <h:outputText value="#{d1.str0}, "></h:outputText>
+ <h:outputText value="#{d2.str0}"></h:outputText>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <f:facet name="footer">
+ <h:outputText value="footer #{d2.int0}"></h:outputText>
+ </f:facet>
+ </rich:columns>
+ </h:dataTable>
+
+ <f:verbatim><br/></f:verbatim>
+ <h:outputText value="test columns (*) "></h:outputText>
+
+ <rich:dataTable value="#{columns.data1}" var="data1">
+ <rich:columns columns="#{columns.columns}">
+ <h:outputText value="#{data1.str0}"></h:outputText>
+ </rich:columns>
+ </rich:dataTable>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Columns/ColumnsProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Columns/ColumnsProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Columns/ColumnsProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,57 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="columnsPropertyID">
+ <h:commandButton value="submit"></h:commandButton>
+ <a4j:commandButton value="submit [a4j]" reRender="columnsID"></a4j:commandButton>
+ <h:panelGrid columns="2">
+ <f:facet name="header">
+ <h:outputText value="columns"></h:outputText>
+ </f:facet>
+ <h:outputText value="Enter quantity of lines [data 1]" />
+ <h:panelGroup>
+ <h:inputText value="#{columns.length1}" />
+ <h:commandButton action="#{columns.addNewItem1}" value="ok"></h:commandButton>
+ </h:panelGroup>
+
+ <h:outputText value="Enter quantity of lines [data 2]" />
+ <h:panelGroup>
+ <h:inputText value="#{columns.length2}" />
+ <h:commandButton action="#{columns.addNewItem2}" value="ok"></h:commandButton>
+ </h:panelGroup>
+
+ <h:outputText value="filterMethod"></h:outputText>
+ <h:inputText value="#{columns.filterInput}"
+ onchange="submit();" />
+
+ <h:outputText value="columns (*):"></h:outputText>
+ <h:inputText value="#{columns.columns}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="rowspan:"></h:outputText>
+ <h:inputText value="#{columns.rowspan}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="colspan:"></h:outputText>
+ <h:inputText value="#{columns.colspan}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="begin:"></h:outputText>
+ <h:inputText value="#{columns.begin}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="end:"></h:outputText>
+ <h:inputText value="#{columns.end}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="width:"></h:outputText>
+ <h:inputText value="#{columns.width}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="sortable"></h:outputText>
+ <h:selectBooleanCheckbox value="#{columns.sortable}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="breakBefore:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{columns.breakBefore}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Combobox/Combobox.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Combobox/Combobox.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Combobox/Combobox.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,54 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="comboboxSubviewID">
+
+ <h:inputText value="For test tabbing tabindex = 3" tabindex="3" size="30"></h:inputText> <br/>
+
+ <rich:comboBox id="comboboxID" disabled="#{combobox.disabled}" defaultLabel="#{combobox.defaultLabel}"
+ buttonClass="#{style.buttonClass}"
+ buttonDisabledClass="#{style.buttonDisabledClass}"
+ buttonDisabledStyle="#{style.buttonDisabledStyle}"
+ buttonInactiveClass="#{style.buttonInactiveClass}"
+ buttonInactiveStyle="#{style.buttonInactiveStyle}"
+ buttonStyle="#{style.buttonStyle}"
+ inputClass="#{style.inputClass}"
+ inputDisabledClass="#{style.inputDisabledClass}"
+ inputDisabledStyle="#{style.inputDisabledStyle}"
+ inputInactiveClass="#{style.inputInactiveClass}"
+ inputInactiveStyle="#{style.inputInactiveStyle}"
+ itemClass="#{style.itemClass}"
+ inputStyle="#{style.inputStyle}"
+ listClass="#{style.listClass}"
+ listStyle="#{style.listStyle}"
+ itemSelectedClass="border:5px solid red"
+ filterNewValues="#{combobox.filterNewValues}"
+ rich-combobox-button="style"
+ directInputSuggestions="#{combobox.directInputSuggestions}" immediate="#{combobox.immediate}"
+ width="#{combobox.width}" valueChangeListener="#{combobox.valueChangeListener}"
+ tabindex="#{combobox.tabindex}" suggestionValues="#{combobox.suggestionValues}"
+ required="#{combobox.required}" requiredMessage="#{combobox.requiredMessage}"
+ rendered="#{combobox.rendered}" selectFirstOnUpdate="#{combobox.selectFirstOnUpdate}"
+ enableManualInput="#{combobox.enableManualInput}" listHeight="#{combobox.listHeight}" listWidth="#{combobox.listWidth}" style="#{style.style}" styleClass="#{style.styleClass}"
+ onblur="#{event.onblur}"
+ onchange="alert('onchange')"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ onfocus="#{event.onfocus}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onlistcall="#{event.onlistcall}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onselect="#{event.onselect}"
+ binding="#{combobox.myComboBox}"
+ align="#{combobox.align}"
+ buttonIconDisabled="/pics/ajax_process.gif"
+ accesskey="y">
+ <f:selectItem itemValue="GoshaGoshaGoshaGoshaGosha"/>
+ </rich:comboBox>
+
+ <a4j:commandButton value="reRender" reRender="comboboxID"></a4j:commandButton>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/Combobox/ComboboxDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Combobox/ComboboxDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Combobox/ComboboxDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,7 @@
+ <rich:comboBox>
+ <f:selectItem itemValue="item 1"/>
+ <f:selectItem itemValue="item 2"/>
+ <f:selectItem itemValue="item 3"/>
+ <f:selectItem itemValue="item 4"/>
+ <f:selectItem itemValue="item 5"/>
+ </rich:comboBox>
Added: trunk/test-applications/HelloWorld/WebContent/Combobox/ComboboxProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Combobox/ComboboxProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Combobox/ComboboxProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,76 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="comboboxPropertySubviewID">
+
+ <h:commandButton action="#{combobox.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="defaultLabel"></h:outputText>
+ <h:inputText value="#{combobox.defaultLabel}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="filterNewValues"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.filterNewValues}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="tabindex"></h:outputText>
+ <h:inputText value="#{combobox.tabindex}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="width"></h:outputText>
+ <h:inputText value="#{combobox.width}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listHeight"></h:outputText>
+ <h:inputText value="#{combobox.listHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listWidth"></h:outputText>
+ <h:inputText value="#{combobox.listWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="enableManualInput"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.enableManualInput}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="selectFirstOnUpdate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.selectFirstOnUpdate}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="directInputSuggestions"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.directInputSuggestions}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="disabled"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.disabled}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.immediate}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="required"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.required}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage"></h:outputText>
+ <h:inputText value="#{combobox.requiredMessage}" onchange="submit();"></h:inputText>
+
+ <h:commandButton actionListener="#{combobox.checkBinding}" value="Binding"></h:commandButton>
+ <h:outputText value="#{combobox.bindLabel}"></h:outputText>
+
+ <h:outputText value="align"></h:outputText>
+ <h:inputText value="#{combobox.align}" onchange="submit();"></h:inputText>
+ </h:panelGrid>
+
+ <a4j:commandLink onclick="$('formID:comboboxSubviewID:comboboxID').component.showList()" value="showList"></a4j:commandLink>
+ <br />
+ <a4j:commandLink onclick="$('formID:comboboxSubviewID:comboboxID').component.hideList()" value="hideList"></a4j:commandLink>
+ <br />
+ <a4j:commandLink onclick="$('formID:comboboxSubviewID:comboboxID').component.enable()" value="enable"></a4j:commandLink>
+ <br />
+ <a4j:commandLink onclick="$('formID:comboboxSubviewID:comboboxID').component.disable()" value="disable"></a4j:commandLink>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <!--<h:outputText value="#{rich:findComponent('comboboxID').value}" />-->
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ComponentControl/ComponentControl.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ComponentControl/ComponentControl.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ComponentControl/ComponentControl.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,125 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="componentControlSubviewID">
+
+ <h:inputText value="test">
+ <rich:componentControl name="controlMe" event="onclick"
+ attachTiming="onload" for="ccToltipID" operation="show" binding="#{componentControl.htmlComponentControl}"/>
+ </h:inputText>
+
+ <rich:panel>
+ <rich:toolTip id="ccToltipID" followMouse="false"
+ direction="top-right" value="Help me, help!">
+ </rich:toolTip>
+ </rich:panel>
+
+ <rich:modalPanel id="ccModalPanelID"
+ onshow="alert(event.parameters.show)"
+ onhide="alert(event.parameters.hide)">
+ <h:outputLink id="hideButton1ID" onclick="return false;" value="#">
+ <f:verbatim>Close 1</f:verbatim>
+ </h:outputLink>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputLink id="hideButton2ID" onclick="return false;" value="#">
+ <f:verbatim>Close 2</f:verbatim>
+ </h:outputLink>
+ </rich:modalPanel>
+
+ <h:commandButton id="showButtonID" value="show ModalPanel">
+ <rich:componentControl for="ccModalPanelID" event="onclick"
+ disableDefault="true" operation="show"
+ params="show:'componentControl work(show)'" />
+ </h:commandButton>
+
+ <rich:componentControl attachTiming="onload"
+ attachTo="hideButton1ID, hideButton2ID" event="onclick"
+ for="ccModalPanelID" operation="hide"
+ params="hide:'componentControl work(hide)'" />
+
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
+ <h:commandButton action="#{componentControl.addHtmlComponentControl}" value="add test" />
+ <rich:calendar popup="#{componentControl.calendarPopup}"
+ id="ccCalendarID" />
+ <h:panelGrid columns="2">
+ <h:outputText value="popup calendar" />
+ <h:selectBooleanCheckbox id="calendarSelectID"
+ value="#{componentControl.calendarPopup}" onchange="submit();" />
+ </h:panelGrid>
+
+ <f:verbatim>
+ <br />
+ <a href="#" id="doExpandCalendarID">Calendar (doExpand)</a>
+ <br />
+ <a href="#" id="doNextYearCalendarID">Calendar (nextYear)</a>
+ <br />
+ <a href="#" id="doPrevYearCalendarID">Calendar (prevYear)</a>
+ <br />
+ <a href="#" id="doNextMonthCalendarID">Calendar (nextMonth)</a>
+ <br />
+ <a href="#" id="doPrevMonthCalendarID">Calendar (prevMonth)</a>
+ <br />
+ <a href="#" id="doTodayCalendarID">Calendar (today)</a>
+ <br />
+ <a href="#" id="doTodayCalendarRenderedID">Calendar (today)
+ rendered="false"</a>
+ </f:verbatim>
+
+ <rich:componentControl id="componentID" attachTo="doExpandCalendarID" for="ccCalendarID"
+ event="onclick" operation="doExpand" />
+ <rich:componentControl attachTo="doNextYearCalendarID"
+ for="ccCalendarID" event="onclick" operation="nextYear" />
+ <rich:componentControl attachTo="doPrevYearCalendarID"
+ for="ccCalendarID" event="onclick" operation="prevYear" />
+ <rich:componentControl attachTo="doNextMonthCalendarID"
+ for="ccCalendarID" event="onclick" operation="nextMonth" />
+ <rich:componentControl attachTo="doPrevMonthCalendarID"
+ for="ccCalendarID" event="onclick" operation="prevMonth" />
+ <rich:componentControl attachTo="doTodayCalendarID" for="ccCalendarID"
+ event="onclick" operation="today" />
+ <rich:componentControl attachTo="doTodayCalendarRenderedID"
+ for="ccCalendarID" rendered="false" event="onclick" operation="today" />
+
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
+
+ <rich:panelMenu id="ccContextMenuPanelMenuID">
+ <h:outputText value="click text" />
+ </rich:panelMenu>
+
+ <rich:contextMenu id="ccContextMenuID" submitMode="ajax"
+ onexpand="alert(event.parameters.expand)">
+ <rich:menuItem icon="/pics/header.png" value="tab1">
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="a">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="b">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="c">
+ </rich:menuItem>
+ </rich:contextMenu>
+ <rich:componentControl event="oncontextmenu"
+ attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID"
+ operation="show" params="expand:'show work'" />
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getOperation" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('componentID').operation}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ContextMenu/ContextMenu.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ContextMenu/ContextMenu.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ContextMenu/ContextMenu.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,376 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="contextMenuSubviewID">
+ <h:panelGrid columns="2">
+ <rich:panel style="width: 130px; height: 50px; background-color: #98FB98;" id="richPanel_1">
+ <h:outputText value="panel with contextMenu(DEFAULT)" /> <f:verbatim><br /></f:verbatim>
+ <h:outputText value="testing events" />
+ <rich:contextMenu id="contextMenuDefaultID" submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}" style="#{style.style}" styleClass="#{style.styleClass}" disabledItemClass="#{style.disabledItemClass}" disabledItemStyle="#{style.disabledItemStyle}" itemClass="#{style.itemClass}" itemStyle="#{style.itemStyle}" selectItemStyle="#{style.selectItemStyle}" selectItemClass="#{style.selectItemClass}"
+ oncollapse="#{event.oncollapse}" onexpand="#{event.onexpand}" ongroupactivate="#{event.ongroupactivate}" onitemselect="#{event.onitemselect}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" binding="#{contextMenu.htmlContextMenu}">
+ <rich:menuItem icon="/pics/header.png" value="abc" reRender="cmInfoID" style="#{style.styleA}" styleClass="#{style.styleClassA}">
+ <f:param name="cmdParam" value="abc" />
+ </rich:menuItem>
+ <rich:menuItem onbeforedomupdate="#{event.onbeforedomupdate}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}"><h:outputText value="event item"/></rich:menuItem>
+ <rich:menuItem icon="/pics/header.png" value="JSAPI Hide" onclick="$('formID:contextMenuSubviewID:contextMenuDefaultID').component.doHide()" reRender="cmInfoID">
+ <f:param name="cmdParam" value="hide" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="a" reRender="cmInfoID" iconClass="#{style.iconClassA}" iconStyle="#{style.iconStyleA}" selectClass="#{style.selectClassA}" styleClass="#{style.styleClassA}" selectStyle="#{style.selectStyleA}" style="#{style.styleA}">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value=" b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" reRender="cmInfoID">
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:menuItem>
+ <rich:menuGroup value="menuGroup">
+ <rich:menuItem icon="/pics/fatal.gif" value="a" reRender="cmInfoID">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="d" reRender="cmInfoID">
+ <f:param name="cmdParam" value="d" />
+ </rich:menuItem>
+ </rich:menuGroup>
+ </rich:contextMenu>
+ <a4j:commandLink onclick="$('formID:contextMenuSubviewID:contextMenuDefaultID').component.doShow()" value="JSAPI Show"></a4j:commandLink>
+ </rich:panel>
+
+
+ <rich:panel style="width: 130px; height: 50px; background-color: #98FB98;">
+ <h:outputText value="panel with contextMenu(Test)" />
+ <rich:contextMenu id="contextMenuID" attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}"
+ event="#{contextMenu.event}" disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}"
+ hideDelay="#{contextMenu.hideDelay}" showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="abc" reRender="cmInfoID">
+ <f:param name="cmdParam" value="abc" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ <rich:menuGroup value="menuGroup">
+ <rich:menuItem icon="/pics/fatal.gif" value="a" reRender="cmInfoID">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="d" reRender="cmInfoID">
+ <f:param name="cmdParam" value="d" />
+ </rich:menuItem>
+ </rich:menuGroup>
+ </rich:contextMenu>
+ </rich:panel>
+ </h:panelGrid>
+
+ <a4j:commandButton value="reRender" reRender="cmInfoID"></a4j:commandButton>
+
+ <h:panelGrid id="cmInfoID" columns="2">
+ <h:outputText value="Select items: " />
+ <h:outputText value="#{contextMenu.info}" style="color: red" />
+ </h:panelGrid>
+
+ <h:panelGrid id="pgcmTestID" columns="3">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" id="selectOneMenu_1">
+ <f:selectItem itemLabel="select1" itemValue="select1" />
+ <f:selectItem itemLabel="select2" itemValue="select2" />
+ <rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
+ disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
+ showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="select" reRender="cmInfoID">
+ <f:param name="cmdParam" value="select" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" action="alert('action work')" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ </rich:contextMenu>
+ </h:selectOneMenu>
+
+ <rich:tabPanel id="tpcmTestID" switchType="client">
+ <rich:tab id="t1cmTestID" label="tab1">
+ <rich:contextMenu submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}">
+ <rich:menuItem icon="/pics/header.png" value="tab1" reRender="cmInfoID">
+ <f:param name="cmdParam" value="tab1" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="a" reRender="cmInfoID">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value=" b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ </rich:contextMenu>
+ <h:outputText value="text1" />
+ </rich:tab>
+ <rich:tab id="t2cmTestID" label="tab2">
+ <rich:contextMenu submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}">
+ <rich:menuItem icon="/pics/header.png" value="tab2" reRender="cmInfoID">
+ <f:param name="cmdParam" value="tab2" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="a" reRender="cmInfoID">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value=" b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ </rich:contextMenu>
+ <h:outputText value="text2" />
+ </rich:tab>
+ <rich:tab id="t3cmTestID" label="tab3">
+ <rich:contextMenu submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}">
+ <rich:menuItem icon="/pics/header.png" value="tab3" reRender="cmInfoID">
+ <f:param name="cmdParam" value="tab3" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="a" reRender="cmInfoID">
+ <f:param name="cmdParam" value="a" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value=" b" reRender="cmInfoID">
+ <f:param name="cmdParam" value="b" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="c" reRender="cmInfoID">
+ <f:param name="cmdParam" value="c" />
+ </rich:menuItem>
+ </rich:contextMenu>
+ <h:outputText value="text3" />
+ </rich:tab>
+ <rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
+ disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
+ showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="tabPanel" reRender="cmInfoID">
+ <f:param name="cmdParam" value="tabPanel" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" action="alert('action work')" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ </rich:contextMenu>
+ </rich:tabPanel>
+
+ <h:graphicImage id="gicmID" value="/pics/asus.jpg" height="125px" width="150px">
+ <rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
+ disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
+ showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="graphicImage" reRender="cmInfoID">
+ <f:param name="cmdParam" value="graphicImage" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" action="alert('action work')" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ </rich:contextMenu>
+ </h:graphicImage>
+
+ <h:inputText id="itcmTestID" value="inputText">
+ <rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
+ disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
+ showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="inputText" reRender="cmInfoID">
+ <f:param name="cmdParam" value="inputText" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" action="alert('action work')" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ </rich:contextMenu>
+ </h:inputText>
+
+ <h:panelGrid id="pgTestID" columns="1" border="5" cellpadding="2" cellspacing="2">
+ <h:outputText value="panelGrid" />
+ <h:outputText value="" />
+ <rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
+ disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
+ showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
+ <rich:menuItem icon="/pics/header.png" value="panelGrid" reRender="cmInfoID">
+ <f:param name="cmdParam" value="panelGrid" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/info.gif" value="action" action="alert('action work')" reRender="cmInfoID">
+ <f:param name="cmdParam" value="action" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajaxSingle" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
+ <f:param name="cmdParam" value="disabled" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
+ <f:param name="cmdParam" value="immedeate" />
+ <h:inputText value="#{contextMenu.inputText}" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
+ <f:param name="cmdParam" value="none" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
+ <f:param name="cmdParam" value="server" />
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
+ <f:param name="cmdParam" value="ajax" />
+ </rich:menuItem>
+ <rich:menuItem value="select">
+ <h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
+ <f:selectItem itemLabel="item1" itemValue="item1" />
+ <f:selectItem itemLabel="item2" itemValue="item2" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ </rich:contextMenu>
+ </h:panelGrid>
+ </h:panelGrid>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/ContextMenu/ContextMenuProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ContextMenu/ContextMenuProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ContextMenu/ContextMenuProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,74 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="contextMenuPropertySubviewID">
+
+ <a4j:commandButton value="reRender" reRender="cmInfoID"></a4j:commandButton>
+ <a4j:commandButton action="submit();" immediate="true"
+ value="immediate submit(); (a4j)"></a4j:commandButton>
+ <h:commandButton action="submit();" value="submit();" />
+ <h:commandButton action="submit();" immediate="true"
+ value="immediate submit();" />
+ <h:commandButton action="#{contextMenu.addHtmlContextMenu}" value="add test" />
+ <h:panelGrid columns="2" style="top">
+ <h:outputText value="event:" />
+ <h:selectOneMenu value="#{contextMenu.event}" onchange="submit();">
+ <f:selectItem itemLabel="oncontextmenu" itemValue="oncontextmenu" />
+ <f:selectItem itemLabel="onclick" itemValue="onclick" />
+ <f:selectItem itemLabel="onmousemove" itemValue="onmousemove" />
+ </h:selectOneMenu>
+
+ <h:outputText value="popupWidth:" />
+ <h:inputText value="#{contextMenu.popupWidth}">
+ <a4j:support event="onchange" reRender="contextMenuID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="hideDelay:" />
+ <h:inputText value="#{contextMenu.hideDelay}">
+ <a4j:support event="onchange" reRender="contextMenuID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="showDelay" />
+ <h:inputText value="#{contextMenu.showDelay}">
+ <a4j:support event="onchange" reRender="contextMenuID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="submitMode:" />
+ <h:selectOneRadio value="#{contextMenu.submitMode}"
+ onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ </h:selectOneRadio>
+
+ <h:outputText value="attached" />
+ <h:selectBooleanCheckbox value="#{contextMenu.attached}"
+ onchange="submit();" />
+
+ <h:outputText value="disableDefaultMenu:" />
+ <h:selectBooleanCheckbox value="#{contextMenu.disableDefaultMenu}"
+ onchange="submit();">
+ <a4j:support event="onchange" reRender="contextMenuID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{contextMenu.rendered}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getEvent" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('contextMenuDefaultID').event}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/CustomizePage/CustomizePage.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/CustomizePage/CustomizePage.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/CustomizePage/CustomizePage.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<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">
+ <body>
+ <f:view>
+ <rich:separator lineType="solid" height="1" />
+ <table width="400">
+ <tbody>
+ <tr>
+ <td onmouseover="updateName('Alex')"
+ onmouseout="updateName('')">Alex</td>
+ <td onmouseover="updateName('Jonh')"
+ onmouseout="updateName('')">Jonh</td>
+ <td onmouseover="updateName('Roger')"
+ onmouseout="updateName('')">Roger</td>
+ </tr>
+ <tr>
+ <td colspan="3"><h:outputText id="showname"
+ value="Name: #{userBean.name}" /></td>
+ </tr>
+ </tbody>
+ </table>
+
+ <a4j:form>
+ <a4j:jsFunction id="updateName" name="updateName" reRender="showname">
+ <a4j:actionparam name="param1" assignTo="#{userBean.name}" />
+ </a4j:jsFunction>
+ </a4j:form>
+
+ <rich:separator height="1" style="padding-top:10px" />
+ </f:view>
+ </body>
+</ui:composition>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,3 @@
+ <rich:dataDefinitionList value="#{dataDefinitionList.arrDefault}" var="def">
+ <h:outputText value="#{def}" />
+ </rich:dataDefinitionList>
Added: trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionList.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionList.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionList.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,18 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="dataDefinitionListSubviewID">
+ <rich:dataDefinitionList id="ddListID" value="#{dataDefinitionList.arr}" var="arr" first="#{dataDefinitionList.first}"
+ rendered="#{dataDefinitionList.rendered}" title="#{dataDefinitionList.title}" dir="#{dataDefinitionList.dir}"
+ rows="#{dataDefinitionList.rows}" style="#{style.style}" styleClass="#{style.styleClass}" columnClasses="#{style.columnClasses}" rowClasses="#{style.rowClasses}"
+ binding="#{dataDefinitionList.myDefinitionList}"
+ rowKeyVar="myVar">
+ <f:facet name="header">
+ <h:outputText value="Africa(header):" />
+ </f:facet>
+ <h:outputText value="#{arr.str0} " />
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <h:outputText value="#{myVar}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="Africa(footer);" />
+ </f:facet>
+ </rich:dataDefinitionList>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionListProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionListProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataDefinitionList/DataDefinitionListProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,51 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="dataDefinitionListPropertySubviewID">
+ <h:commandButton action="#{dataDefinitionList.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="title" />
+ <h:inputText value="#{dataDefinitionList.title}">
+ <a4j:support event="onchange" reRender="ddListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="first" />
+ <h:inputText value="#{dataDefinitionList.first}">
+ <a4j:support event="onchange" reRender="ddListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rows" />
+ <h:inputText value="#{dataDefinitionList.rows}">
+ <a4j:support event="onchange" reRender="ddListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="dir" />
+ <h:selectOneRadio value="#{dataDefinitionList.dir}">
+ <f:selectItem itemValue="LTR" itemLabel="LTR" />
+ <f:selectItem itemValue="RTL" itemLabel="RTL" />
+ <a4j:support event="onchange" reRender="ddListID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{dataDefinitionList.rendered}"
+ onchange="submit();" />
+
+ <h:commandButton actionListener="#{dataDefinitionList.checkBinding}"
+ value="Binding"></h:commandButton>
+ <h:outputText value="#{dataDefinitionList.bindLabel}"></h:outputText>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRowCount" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('ddListID').rowCount}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DataFilterSlider/DataFilterSlider.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataFilterSlider/DataFilterSlider.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataFilterSlider/DataFilterSlider.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,85 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="dataFilterSliderSubviewID">
+
+ <rich:dataFilterSlider sliderListener="#{dfs.doSlide}" action="#{dfs.act}" actionListener="#{dfs.actListener}"
+ rendered="#{dfs.rendered}" binding="#{dfs.htmlDataFilterSlider}"
+ for="carList" forValRef="inventoryList.carInventory"
+ filterBy="getMileage" manualInput="true" storeResults="true" width="400px"
+ styleClass="#{style.styleClass}" rangeStyleClass="#{style.rangeStyleClass}" trailerStyleClass="#{style.trailerStyleClass}" style="#{style.style}" fieldStyleClass="#{style.fieldStyleClass}" trackStyleClass="#{style.trackStyleClass}" handleStyleClass="#{style.handleStyleClass}"
+ startRange="10000" endRange="60000" increment="10000"
+ trailer="true" handleValue="10000" id="dfsID"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onchange="#{event.onchange}" onclick="#{event.onclick}"
+ oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}"
+ onerror="#{event.onerror}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" onslide="#{event.onslide}"
+ onSlideSubmit="#{event.onSlideSubmit}">
+ </rich:dataFilterSlider>
+
+ <h:panelGrid id="list-body">
+ <h:dataTable id="carIndex" rows="10"
+ binding="#{inventoryList.carMakeIndexUIData}"
+ value="#{inventoryList.carMakeIndex}" var="category"
+ styleClass="list-table1" columnClasses="column-index"
+ rowClasses="list-row3">
+
+ <h:column>
+ <a4j:commandLink actionListener="#{inventoryList.filterCarList}"
+ reRender="carList">
+ <h:outputText value="#{category}" />
+ <f:attribute name="filterRule" value="showTable" />
+
+ </a4j:commandLink>
+ </h:column>
+ </h:dataTable>
+
+ <h:dataTable id="carList" rows="10" rendered="#{dfs.rendered}"
+ value="#{inventoryList.carInventory}" var="category"
+ rowClasses="list-row1, list-row2" columnClasses="column"
+ headerClass="list-header" styleClass="list-table2">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText styleClass="headerText" value="Make" />
+ </f:facet>
+ <h:outputText value="#{category.make}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText styleClass="headerText" value="Model" />
+ </f:facet>
+ <h:outputText value="#{category.model}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText styleClass="headerText"
+ value="#{inventoryList.priceColumnName}" />
+ </f:facet>
+ <h:outputText value="#{category.price}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText styleClass="headerText"
+ value="#{inventoryList.mileageColumnName}" />
+ </f:facet>
+ <h:outputText value="#{category.mileage}" />
+ </h:column>
+ </h:dataTable>
+ </h:panelGrid>
+ <h:outputText value="click reRender for update page(RF-1365)" />
+ <h:commandButton value="reRender" />
+
+ <h:panelGrid columns="2">
+ <a4j:commandButton style="" value="" rendered=""/>
+ <a4j:commandButton value="action" rendered="actionDFSID" style=" width : 95px;"></a4j:commandButton> />
+ <h:outputText id="actionDFSID" value="#{dfs.action}" />
+
+ <a4j:commandButton value="actionListener" rendered="actionListenerDFSID" style=" width : 95px;"></a4j:commandButton> />
+ <h:outputText id="actionListenerDFSID" value="#{dfs.actionListener}" />
+ </h:panelGrid>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/DataFilterSlider/DataFilterSliderProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataFilterSlider/DataFilterSliderProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataFilterSlider/DataFilterSliderProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="dataFilterSliderPropertySubviewID">
+ <h:commandButton action="#{dfs.addHtmlDataFilterSlider}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dfs.rendered}" onchange="submit();" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <!-- <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getEndRange" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('dfsID').endRange}" />
+ </rich:column>
+ </h:panelGrid> -->
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DataGrid/DataGrid.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataGrid/DataGrid.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataGrid/DataGrid.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,56 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="dataGridSubviewID">
+
+ <rich:dataGrid id="dataGridID" value="#{dataGrid.allCars}" var="car" columns="#{dataGrid.columns}"
+ elements="#{dataGrid.elements}" first="#{dataGrid.first}" binding="#{dataGrid.htmlDataGrid}"
+ dir="#{dataGrid.dir}" border="#{dataGrid.border}"
+ cellpadding="#{dataGrid.cellpadding}" cellspacing="#{dataGrid.cellspacing}"
+ rendered="#{dataGrid.rendered}" width="#{dataGrid.width}"
+ captionClass="#{style.captionClass}"
+ captionStyle="#{style.captionStyle}"
+ columnClasses="#{style.columnClasses}"
+ footerClass="#{style.footerClass}"
+ headerClass="#{style.headerClass}"
+ rowClasses="#{style.rowClasses}"
+ style="#{style.style}"
+ styleClass="#{style.styleClass}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onRowClick="#{event.onRowClick}"
+ onRowDblClick="#{event.onRowDblClick}"
+ onRowMouseDown="#{event.onRowMouseDown}"
+ onRowMouseMove="#{event.onRowMouseMove}"
+ onRowMouseOut="#{event.onRowMouseOut}"
+ onRowMouseOver="#{event.onRowMouseOver}"
+ onRowMouseUp="#{event.onRowMouseUp}" >
+ <f:facet name="header">
+ <h:outputText value="Car Store"></h:outputText>
+ </f:facet>
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText value="#{car.make} #{car.model}"></h:outputText>
+ </f:facet>
+ <h:panelGrid columns="2">
+ <h:outputText value="Price:"></h:outputText>
+ <h:outputText value="#{car.price}" />
+ <h:outputText value="Mileage:"></h:outputText>
+ <h:outputText value="#{car.mileage}" />
+ <rich:inplaceInput defaultLabel="add comment here.." />
+ </h:panelGrid>
+ </rich:panel>
+ <f:facet name="footer">
+ <rich:datascroller></rich:datascroller>
+ </f:facet>
+ </rich:dataGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DataGrid/DataGridProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataGrid/DataGridProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataGrid/DataGridProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,44 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="dataGridPropertySubviewID">
+
+ <h:commandButton action="#{dataGrid.submit}" value="Submit" />
+ <a4j:commandButton action="#{dataGrid.submitAjax}" value="Submit Ajax" reRender="panel" />
+ <br />
+ <h:commandButton value="add test" action="#{dataGrid.addHtmlDataGrid}"></h:commandButton>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="rendered: " />
+ <h:selectBooleanCheckbox onchange="submit();" label="rendered" value="#{dataGrid.rendered}" />
+
+ <h:outputText value="columns: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.columns}" />
+
+ <h:outputText value="elements: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.elements}" />
+
+ <h:outputText value="border: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.border}" />
+
+ <h:outputText value="dir: " />
+ <h:selectOneRadio value="#{dataGrid.dir}" onchange="submit();">
+ <f:selectItem itemValue="LTR" itemLabel="LTR" />
+ <f:selectItem itemValue="RTL" itemLabel="RTL" />
+ </h:selectOneRadio>
+
+ <h:outputText value="first: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.first}" />
+
+ <h:outputText value="cellspacing: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.cellspacing}" />
+
+ <h:outputText value="cellpadding: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.cellpadding}" />
+
+ <h:outputText value="width: " />
+ <h:inputText onchange="submit();" value="#{dataGrid.width}" />
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedList.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedList.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedList.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,17 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="dataOrderedListSubviewID">
+ <rich:dataOrderedList id="doListID" value="#{dataOrderedList.arr}" var="arr" first="#{dataOrderedList.first}"
+ rendered="#{dataOrderedList.rendered}" title="#{dataOrderedList.title}" type="#{dataOrderedList.type}" dir="#{dataOrderedList.dir}"
+ rows="#{dataOrderedList.rows}"
+ columnClasses="#{style.columnClasses}" footerClass="style" headerClass="test" rowClasses="#{style.rowClasses}" style="#{style.style}" styleClass="#{style.styleClass}"
+ binding="#{dataOrderedList.myOrderedList}" >
+ <f:facet name="header">
+ <h:outputText value="HEADER" style="TEXT-DECORATION: underline;"/>
+ </f:facet>
+ <h:outputText value="#{arr.str0} " />
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <f:facet name="footer">
+ <h:outputText value="FOOTER" style="TEXT-DECORATION: underline;"/>
+ </f:facet>
+ </rich:dataOrderedList>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedListDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedListDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedListDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,4 @@
+
+<rich:dataOrderedList value="#{dataOrderedList.defaultArr}" var="def">
+ <h:outputText value="#{def}" />
+</rich:dataOrderedList>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedListProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedListProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataOrderedList/DataOrderedListProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,64 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="dataOrderedListPropertySubviewID">
+ <h:commandButton action="#{dataOrderedList.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="title" />
+ <h:inputText value="#{dataOrderedList.title}">
+ <a4j:support event="onchange" reRender="doListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="first" />
+ <h:inputText value="#{dataOrderedList.first}">
+ <a4j:support event="onchange" reRender="doListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rows" />
+ <h:inputText value="#{dataOrderedList.rows}">
+ <a4j:support event="onchange" reRender="doListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="dir" />
+ <h:selectOneRadio value="#{dataOrderedList.dir}">
+ <f:selectItem itemValue="LTR" itemLabel="LTR" />
+ <f:selectItem itemValue="RTL" itemLabel="RTL" />
+ <a4j:support event="onchange" reRender="doListID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="type" />
+ <h:selectOneMenu value="#{dataOrderedList.type}">
+ <f:selectItem itemValue="1" itemLabel="1" />
+ <f:selectItem itemValue="A" itemLabel="A" />
+ <f:selectItem itemValue="a" itemLabel="a" />
+ <f:selectItem itemValue="I" itemLabel="I" />
+ <f:selectItem itemValue="i" itemLabel="i" />
+ <f:selectItem itemValue="disc" itemLabel="disc" />
+ <f:selectItem itemValue="circle" itemLabel="circle" />
+ <f:selectItem itemValue="square" itemLabel="square" />
+ <a4j:support event="onchange" reRender="doListID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{dataOrderedList.rendered}"
+ onchange="submit();" />
+
+ <h:commandButton actionListener="#{dataOrderedList.checkBinding}"
+ value="Binding"></h:commandButton>
+ <h:outputText value="#{dataOrderedList.bindLabel}"></h:outputText>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRowCount" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('doListID').rowCount}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScroller.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScroller.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScroller.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,38 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="DataScrollerSubviewID">
+ <rich:dataTable id="dataTableId" value="#{dataScroller.dataTable}" sortMode="#{dataScroller.sortMode}"
+ var="dT" cellpadding="5px" rows="5" border="1" reRender="dsID">
+ <f:facet name="header">
+ <rich:datascroller inactiveStyle="#{style.inactiveStyle}" inactiveStyleClass="#{style.inactiveStyleClass}"
+ selectedStyle="#{style.selectedStyle}" selectedStyleClass="#{style.selectedStyleClass}" style="#{style.style}"
+ styleClass="#{style.styleClass}" tableStyle="#{style.tableStyle}" tableStyleClass="#{style.tableStyleClass}"
+ fastControls="#{dataScroller.fastControls}" action="#{dataScroller.act}" actionListener="#{dataScroller.actListener}"
+ align="#{dataScroller.align}" rendered="#{dataScroller.render}"
+ limitToList="#{dataScroller.limitToList}"
+ renderIfSinglePage="#{dataScroller.renderIfSinglePage}"
+ maxPages="#{dataScroller.maxPages}"
+ scrollerListener="#{dataScroller.ScrollerListener}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
+ ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" id="dsID"
+ binding="#{dataScroller.htmlDatascroller}">
+ </rich:datascroller>
+ </f:facet>
+ <rich:column sortBy="#{dT.data0}" filterBy="#{dT.data0}" filterEvent="onchange"
+ selfSorted="#{dataScroller.selfSorted}" sortOrder="#{dataScroller.sortOrder}" filterValue="#{dataScroller.filterValue}">
+ <h:outputText value="#{dT.data0}" />
+ </rich:column>
+ <rich:column sortBy="#{dT.data1}" filterBy="#{dT.data1}" filterEvent="onchange"
+ sortOrder="#{dataScroller.sortOrder}">
+ <h:outputText value="#{dT.data1} " />
+ </rich:column>
+ </rich:dataTable>
+ <h:panelGrid id="dataScrollerActionID" columns="1">
+ <a4j:commandButton value="Show action" reRender="dataScrollerActionID" style=" width : 95px;"></a4j:commandButton>
+ <h:outputText value="#{dataScroller.action}" />
+ <h:outputText value="#{dataScroller.actionListener}" />
+ </h:panelGrid>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScrollerDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScrollerProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScrollerProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScrollerProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,77 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="datascrollerPropertySubviewID">
+
+ <h:commandButton action="#{dataScroller.CutArray}" value="CutArray" />
+ <h:commandButton action="#{dataScroller.RestoreArray}" value="RestoreArray" />
+ <h:commandButton action="#{dataScroller.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="maxPages" />
+ <h:inputText value="#{dataScroller.maxPages}">
+ <a4j:support event="onchange" reRender="dataScrollerID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.render}"
+ onclick="submit();" />
+
+ <h:outputText value="renderIfSinglePage:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.renderIfSinglePage}"
+ onclick="submit();" />
+
+ <h:outputText value="limitToList:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.limitToList}"
+ onclick="submit();" />
+
+ <h:outputText value="fastControls" />
+ <h:selectOneRadio value="#{dataScroller.fastControls}">
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <f:selectItem itemLabel="show" itemValue="show" />
+ <f:selectItem itemLabel="hide" itemValue="hide" />
+ <a4j:support event="onclick" reRender="dataTableId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="align" />
+ <h:selectOneRadio value="#{dataScroller.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <a4j:support event="onclick" reRender="dataTableId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="sortMode"></h:outputText>
+ <h:selectOneRadio value="#{dataScroller.sortMode}">
+ <f:selectItem itemLabel="single" itemValue="single" />
+ <f:selectItem itemLabel="multi" itemValue="multi" />
+ <a4j:support event="onchange" reRender="dataTableId,dsID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="sortOrder"></h:outputText>
+ <h:selectOneRadio value="#{dataScroller.currentSortOrder}">
+ <f:selectItem itemLabel="ASCENDING" itemValue="ASCENDING" />
+ <f:selectItem itemLabel="DESCENDING" itemValue="DESCENDING" />
+ <f:selectItem itemLabel="UNSORTED" itemValue="UNSORTED" />
+ <a4j:support event="onchange" reRender="dataTableId,dsID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="selfSorted(1st)"></h:outputText>
+ <h:selectBooleanCheckbox value="#{dataScroller.selfSorted}">
+ <a4j:support event="onchange" reRender="dataTableId,dsID"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getPage" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText id="findID" value="#{rich:findComponent('dsID').page}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScrollerStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScrollerStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataScroller/DataScrollerStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="datascrollerStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{dataScroller.bTest1}" value="run" reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1DataScroller}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{dataScroller.bTest2}" value="run" reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2DataScroller}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{dataScroller.bTest3}" value="run" reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3DataScroller}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{dataScroller.bTest4}" value="run" reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4DataScroller}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{dataScroller.bTest5}" value="run" reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5DataScroller}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DataTable/DataTable.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataTable/DataTable.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataTable/DataTable.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,76 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="DataTableSubviewID">
+
+ <rich:dataTable id="dataTableID" var="dataTableID" value="#{dataTable.mounths}" rowKeyVar="key"
+ captionClass="#{style.captionClass}" rowClasses="#{style.rowClasses}" headerClass="#{style.headerClass}" footerClass="#{style.footerClass}" styleClass="#{style.styleClass}" captionStyle="#{style.captionStyle}" columnClasses="#{style.columnClasses}"
+ onRowClick="#{event.onRowClick};" rendered="#{dataTable.rendered}"
+ align="#{dataTable.align}" bgcolor="red" border="#{dataTable.border}" columnsWidth="#{dataTable.columnsWidth}"
+ width="#{dataTable.width}" title="DataTableTite" onRowDblClick="#{event.onRowDblClick}" onRowMouseDown="#{event.onRowMouseDown}"
+ onRowMouseMove="#{event.onRowMouseMove}" onRowMouseOut="#{event.onRowMouseOut}" onRowMouseOver="#{event.onRowMouseOver}"
+ onRowMouseUp="#{event.onRowMouseUp}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" binding="#{dataTable.htmlDataTable}">
+ <f:facet name="caption">
+ <h:outputText value="caption facet" />
+ </f:facet>
+ <f:facet name="header">
+ <rich:columnGroup>
+ <rich:column rowspan="2" rendered="#{dataTable.r2rendered}">
+ <h:outputText value="2-row head" />
+ </rich:column>
+ <h:column rendered="#{dataTable.r2rendered}">
+ <h:outputText value="head in UIColumn" />
+ </h:column>
+ <rich:column breakBefore="true">
+ <h:outputText value="2-d row head" />
+ </rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="table foot" />
+ </f:facet>
+ <rich:columnGroup columnClasses="#{style.columnClassesA}" rowClasses="#{style.rowClassesA}" style="#{style.styleA}" styleClass="#{style.styleClassA}">
+ <rich:column id="mounth" >
+ <f:facet name="header">
+ <h:outputText value="mounth" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="-//-" />
+ </f:facet>
+ <h:outputText value="#{dataTableID.mounth}" />
+ </rich:column>
+ <rich:column rendered="#{dataTable.r2rendered}">
+ <f:facet name="header">
+ <h:outputText value="mounth" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="-//-" />
+ </f:facet>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <h:outputText value="#{dataTableID.town}" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:column styleClass="#{style.styleClassA}" headerClass="#{style.headerClassA}" footerClass="#{style.footerClassA}" style="#{style.styleA}" rendered="#{dataTable.r2rendered}">
+ <h:outputText value="#{dataTableID.day}" />
+ </rich:column>
+ <rich:subTable id="detail" var="detail" value="#{dataTableID.detail}"
+ columnClasses="#{style.columnClassesA}" footerClass="#{style.footerClassA}" headerClass="#{style.headerClassA}" rowClasses="#{style.rowClassesA}" onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onRowClick="#{event.onRowClick}"
+ onRowDblClick="#{event.onRowDblClick}" onRowMouseDown="#{event.onRowMouseDown}" onRowMouseMove="#{event.onRowMouseMove}"
+ onRowMouseOut="#{event.onRowMouseOut}" onRowMouseOver="#{event.onRowMouseOver}" onRowMouseUp="#{event.onRowMouseUp}">
+ <rich:column id="name">
+ <h:outputText value="#{detail.name}" />
+ </rich:column>
+ <rich:column id="qty" rendered="#{dataTable.r2rendered}">
+ <h:outputText value="#{detail.qty}" />
+ </rich:column>
+ </rich:subTable>
+ <rich:column id="total" footerClass="#{style.footerClassA}" headerClass="#{style.headerClassA}" style="#{style.styleA}" styleClass="#{style.styleClassA}" colspan="2">
+ <h:outputText value="#{dataTableID.total}" />
+ </rich:column>
+ </rich:dataTable>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/DataTable/DataTableDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/DataTable/DataTableProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataTable/DataTableProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataTable/DataTableProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,42 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="dataTablePropertySubviewID">
+ <h:commandButton action="#{dataTable.add}" value="add test" />
+ <h:panelGrid columns="2" style="top">
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneMenu value="#{dataTable.align}">
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right " itemValue="right" />
+ <a4j:support event="onclick" reRender="dataTableID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Border: "></h:outputText>
+ <h:inputText value="#{dataTable.border}">
+ <a4j:support event="onchange" reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Columns Width: "></h:outputText>
+ <h:inputText value="#{dataTable.columnsWidth}">
+ <a4j:support event="onchange" reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{dataTable.width}">
+ <a4j:support event="onchange" reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rendered:" />
+ <h:selectBooleanCheckbox value="#{dataTable.rendered}"
+ onclick="submit();" />
+
+ <h:outputText value=" row 2 rendered" />
+ <h:selectBooleanCheckbox value="#{dataTable.r2rendered}"
+ onclick="submit();" />
+
+ </h:panelGrid>
+ <br />
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DataTable/DataTableStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataTable/DataTableStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataTable/DataTableStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="StraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{dataTable.bTest1}" value="run" reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1DataTable}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{dataTable.bTest2}" value="run" reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2DataTable}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{dataTable.bTest3}" value="run" reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3DataTable}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{dataTable.bTest4}" value="run" reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4DataTable}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{dataTable.bTest5}" value="run" reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5DataTable}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DataTable.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DataTable.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DataTable.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,105 @@
+<!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:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:a4j="http://richfaces.org/a4j">
+
+<ui:composition template="layout/template.xhtml">
+ <ui:define name="body">
+ <h:form>
+ <h:outputText value="#{sortingAndFiltering}" />
+ <rich:dataTable id="dataTableSAFID" value="#{sortingAndFiltering.data}" var="data12" binding="#{sortingAndFiltering.myDataTable}">
+ <rich:column sortBy="#{data12.int0}" selfSorted="true"
+ filterBy="#{data12.int0}">
+ <f:facet name="header">
+ <h:outputText value="#1" />
+ </f:facet>
+ <h:outputText value="#{data12.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#1" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data12.int1}" sortBy="#{data12.int1}" selfSorted="true"
+ filterEvent="ondblclick">
+ <f:facet name="header">
+ <h:outputText value="#2" />
+ </f:facet>
+ <h:outputText value="#{data12.int1}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#2" />
+ </f:facet>
+ </rich:column>
+ <rich:column sortBy="#{data12.str0}"
+ filterMethod="#{sortingAndFiltering.filterMethod}">
+ <f:facet name="header">
+ <h:outputText value="#3" />
+ </f:facet>
+ <h:outputText value="#{data12.str0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#3" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data12.int2}" selfSorted="true">
+ <f:facet name="header">
+ <h:outputText value="#4" />
+ </f:facet>
+ <h:outputText value="#{data12.int2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#4" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data12.str1}">
+ <f:facet name="header">
+ <h:outputText value="#5" />
+ </f:facet>
+ <h:outputText value="#{data12.str1}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#5" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterExpression="#{data12.int3 > sortingAndFiltering.filterValue}">
+ <f:facet name="header">
+ <h:outputText value="#6" />
+ </f:facet>
+ <s:link value="JBoss" action="#{sortingAndFiltering.navAction(data12)}"/>
+ <f:facet name="footer">
+ <h:outputText value="#6" />
+ </f:facet>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#7" />
+ </f:facet>
+ <h:graphicImage value="#{data12.str2}"></h:graphicImage>
+ <h:outputText value="#{data12.str2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#7" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data12.str3}">
+ <f:facet name="header">
+ <h:outputText value="#8" />
+ </f:facet>
+ <h:commandButton value="#{data12.str3}"></h:commandButton>
+ <f:facet name="footer">
+ <h:outputText value="#8" />
+ </f:facet>
+ </rich:column>
+ <rich:column sortBy="#{data12.bool0}">
+ <f:facet name="header">
+ <h:outputText value="#9" />
+ </f:facet>
+ <h:selectBooleanCheckbox value="#{data12.bool0}"></h:selectBooleanCheckbox>
+ <f:facet name="footer">
+ <h:outputText value="#9" />
+ </f:facet>
+ </rich:column>
+ </rich:dataTable>
+ </h:form>
+ </ui:define>
+</ui:composition>
+
+</html>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DragAndDrop/DragAndDrop.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DragAndDrop/DragAndDrop.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DragAndDrop/DragAndDrop.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,240 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="dataDefinitionListSubviewID">
+
+ <a4j:outputPanel ajaxRendered="true">
+ <h:messages />
+ </a4j:outputPanel>
+
+ <script>
+ DnD.CLIENT_VALIDATION_OFF = false;
+ </script>
+
+ <h:panelGroup id="dragValueText">
+ <h:outputText value="#{dndBean.dragValue}" />
+ </h:panelGroup>
+
+ <h:panelGrid columns="2">
+ <h:dataTable var="type" value="#{dndBean.types}">
+ <h:column>
+ <h:panelGrid styleClass="dropzoneDecoration" id="drag1">
+ <h:outputText value="#{type} - drag" />
+ <rich:dragSupport dragType="#{type}" dragValue="#{type} - value"
+ actionListener="#{dndBean.actListenerDrag}"
+ action="#{dndBean.dragAction}"
+ dragListener="#{dndBean.processDrag}"
+ oncomplete="#{event.oncomplete}" ondragend="#{event.ondragend}"
+ ondragstart="#{event.ondragstart}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}"
+ id="dragSupportID" binding="#{dndBean.htmlDrag}">
+ </rich:dragSupport>
+ </h:panelGrid>
+ </h:column>
+ </h:dataTable>
+
+ <h:dataTable var="type" value="#{dndBean.types}">
+ <h:column>
+ <h:panelGrid styleClass="dropzoneDecoration" id="drop2">
+ <h:outputText value="#{type} - drop" />
+ <rich:dropSupport reRender="dragValueText" id="dropSupportID"
+ rejectCursors="not-allowed"
+ acceptCursors="help"
+ actionListener="#{dndBean.actListenerDrop}"
+ action="#{dndBean.dropAction}" acceptedTypes="#{type}"
+ dropListener="#{dndBean.processDrop}" dropValue="#{type} - value"
+ ondragenter="#{event.ondragenter}"
+ ondragexit="#{event.ondragexit}" ondrop="#{event.ondrop}"
+ ondropend="#{event.ondropend}" oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}" binding="#{dndBean.htmlDrop}">
+ </rich:dropSupport>
+ </h:panelGrid>
+ </h:column>
+ </h:dataTable>
+
+ <h:panelGrid id="dndActionID" columns="1">
+ <h:commandButton action="#{dndBean.add1}" value="add Drag test" />
+ <h:commandButton action="#{dndBean.add2}" value="add Drop test" />
+ <a4j:commandButton value="Show action" reRender="dndActionID"
+ style=" width : 95px;"></a4j:commandButton>
+ <h:outputText value="#{dndBean.actionDrag}" />
+ <h:outputText value="#{dndBean.actionDrop}" />
+ <h:outputText value="#{dndBean.actionListenerDrag}" />
+ <h:outputText value="#{dndBean.actionListenerDrop}" />
+ </h:panelGrid>
+ </h:panelGrid>
+ <rich:dragIndicator id="indicator" acceptClass="accept"
+ rejectClass="reject" style="#{style.style}"
+ styleClass="#{style.styleClass}">
+ <f:facet name="single">
+ <f:verbatim>{marker} <b>{testDrag}</b> {label}</f:verbatim>
+ </f:facet>
+ <rich:dndParam name="accept" value="ACCEPT:" />
+ <rich:dndParam name="reject">
+ <f:verbatim>
+ <i style="text-decoration: line-through;">REJECT:</i>
+ </f:verbatim>
+ </rich:dndParam>
+ </rich:dragIndicator>
+
+ <rich:dragIndicator id="dIndicator" acceptClass="defaultIndicator"
+ rejectClass="reject">
+ <f:facet name="single">
+ <f:verbatim>{marker} <b>{testDrag}</b> {label}</f:verbatim>
+ </f:facet>
+ <rich:dndParam name="accept" value="ACCEPT:" />
+ <rich:dndParam name="reject">
+ <f:verbatim>
+ <i style="text-decoration: line-through;">REJECT:</i>
+ </f:verbatim>
+ </rich:dndParam>
+ </rich:dragIndicator>
+
+ <h:panelGrid columns="1" style="position: relative; left: 140px;">
+ <h:panelGrid columns="1"
+ style="position: absolute; top: 30px; left: 300px;">
+ <rich:dragIndicator id="defaultIndicator">
+ </rich:dragIndicator>
+ </h:panelGrid>
+ </h:panelGrid>
+
+ <h:panelGrid columns="4" cellspacing="20">
+ <h:panelGrid styleClass="dropzoneDecoration" id="grid1">
+ <f:verbatim>Accepts file and folder... Customizes</f:verbatim>
+ <rich:dropSupport id="zone1" oncomplete="#{event.oncomplete}"
+ ondragenter="#{event.ondragenter}"
+ ondragexit="#{event.ondragexit}" ondropend="#{event.ondropend}"
+ ondrop="#{event.ondrop}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ acceptedTypes="file, folder" typeMapping="{file: testDrop}">
+ <rich:dndParam name="testDrop">
+ <h:graphicImage height="16" width="16"
+ value="#{icon.iconFileManager}" />
+ </rich:dndParam>
+ </rich:dropSupport>
+ </h:panelGrid>
+
+ <h:panelGrid styleClass="dropzoneDecoration" id="grid2">
+ <f:verbatim>Accepts none</f:verbatim>
+ <rich:dropSupport>
+ </rich:dropSupport>
+ </h:panelGrid>
+
+ <h:panelGrid styleClass="dropzoneDecoration" id="grid3">
+ <f:verbatim>Accepts none... Customizes</f:verbatim>
+ <rich:dropSupport typeMapping="{file: testDrop}"
+ oncomplete="#{event.oncomplete}"
+ ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}"
+ ondropend="#{event.ondropend}" ondrop="#{event.ondrop}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="testDrop">
+ <h:graphicImage height="16" width="16"
+ value="#{icon.iconFileManagerReject}" />
+ </rich:dndParam>
+ </rich:dropSupport>
+ </h:panelGrid>
+
+ <h:panelGrid styleClass="dropzoneDecoration" id="grid4">
+ <f:verbatim>Accepts file and folder</f:verbatim>
+ <rich:dropSupport acceptedTypes="file, folder"
+ oncomplete="#{event.oncomplete}"
+ ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}"
+ ondropend="#{event.ondropend}" ondrop="#{event.ondrop}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="testDrop" value="testDropValue" />
+ </rich:dropSupport>
+ </h:panelGrid>
+
+ <h:panelGrid id="grid5">
+ <rich:dragSupport dragType="file" ondragend="#{event.ondragend}"
+ ondragstart="#{event.ondragstart}" ondropout="#{event.ondropout}"
+ ondropover="#{event.ondropover}" oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="label" value="Label" />
+ <rich:dndParam name="testDrag" value="testDragValue" />
+ </rich:dragSupport>
+ <f:verbatim>File Draggable - no indicator</f:verbatim>
+ </h:panelGrid>
+
+ <h:panelGrid id="grid6">
+ <rich:dragSupport dragType="file" dragIndicator="indicator"
+ ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}"
+ oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="label" value="Label" />
+ <rich:dndParam name="testDrag" value="testDragValue" />
+ </rich:dragSupport>
+ <f:verbatim>File Draggable with indicator</f:verbatim>
+ </h:panelGrid>
+
+ <h:panelGrid id="grid7">
+ <rich:dragSupport dragType="folder" dragIndicator="indicator"
+ ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}"
+ oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="label" value="Label" />
+ <rich:dndParam name="testDrag" value="testDragValue for Folder" />
+ </rich:dragSupport>
+ <f:verbatim>Folder Draggable with indicator</f:verbatim>
+ </h:panelGrid>
+
+ <h:outputText />
+
+ <h:panelGrid id="grid8">
+ <rich:dragSupport dragType="folder" ondragend="#{event.ondragend}"
+ ondragstart="#{event.ondragstart}" ondropout="#{event.ondropout}"
+ ondropover="#{event.ondropover}" oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="label" value="Label" />
+ <rich:dndParam name="testDrag" value="testDragValue for Folder" />
+ </rich:dragSupport>
+ <f:verbatim>Folder Draggable - no indicator</f:verbatim>
+ </h:panelGrid>
+
+ <h:panelGrid id="grid9">
+ <rich:dragSupport dragType="file" dragIndicator="defaultIndicator"
+ ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}">
+ <rich:dndParam name="testDrag" value="testDragValue" />
+ <rich:dndParam name="marker" value="testMarkerValue" />
+ <rich:dndParam name="label" value="testDragValue" />
+ </rich:dragSupport>
+ <f:verbatim>File Draggable with defaultIndicator</f:verbatim>
+ </h:panelGrid>
+
+ <h:panelGrid id="grid10">
+ <rich:dragSupport dragType="folder" dragIndicator="defaultIndicator"
+ ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}"
+ oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="label" value="testDragValue for Folder" />
+ </rich:dragSupport>
+ <f:verbatim>Folder Draggable with defaultIndicator</f:verbatim>
+ </h:panelGrid>
+ <h:outputText />
+ </h:panelGrid>
+
+ <h:panelGrid id="renderedId">
+ <rich:dragSupport dragType="file" dragIndicator="defaultIndicator"
+ ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}"
+ oncomplete="#{event.oncomplete}"
+ onbeforedomupdate="#{event.onbeforedomupdate}">
+ <rich:dndParam name="marker" value="testMarkerValue" />
+ <rich:dndParam name="label" value="testDragValue" />
+ </rich:dragSupport>
+
+ <h:graphicImage id="dragImage" value="/pics/masshtaby_01.jpg"
+ width="200px" height="200px" />
+ <f:verbatim>dragSupport</f:verbatim>
+ </h:panelGrid>
+ <br />
+ <br />
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenu.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenu.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenu.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,71 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="DropDownMenuSubviewID">
+ <h:panelGrid columns="2">
+ <rich:spacer width="400px" height="400px"></rich:spacer>
+ <rich:panel>
+ <rich:dropDownMenu id="ddmId" disabled="#{dDMenu.disabledDDM}" value="DropDownMenu" submitMode="#{dDMenu.mode}" hideDelay="#{dDMenu.hideDelay}"
+ direction="#{dDMenu.direction}" horizontalOffset="#{dDMenu.horizontalOffset}" jointPoint="#{dDMenu.jointPoint}"
+ popupWidth="#{dDMenu.popupWidth}" showDelay="#{dDMenu.showDelay}" rendered="#{dDMenu.rendered}"
+ verticalOffset="#{dDMenu.verticalOffset}" styleClass="#{style.styleClass}" style="#{style.style}" event="#{dDMenu.event}"
+ oncollapse="#{event.oncollapse}" onexpand="#{event.onexpand}" ongroupactivate="#{event.ongroupactivate}" onitemselect="#{event.onitemselect}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" binding="#{dDMenu.htmlDDMenu}">
+
+ <rich:menuItem icon="#{dDMenu.icon}" onbeforedomupdate="#{event.onbeforedomupdate}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}">
+ <h:outputText value="Item1(test events)" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="#{dDMenu.icon}" onmousedown="alert('OnMouseDown')" selectClass="mousemove">
+ <h:outputText value="OnMouseDown" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem>
+ <h:outputText value="Item2" />
+ </rich:menuItem>
+ <rich:menuItem icon="#{dDMenu.icon}">
+ <h:outputText value="Item3" />
+ </rich:menuItem>
+ <rich:menuItem>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:menuItem>
+ <rich:menuSeparator/>
+ <rich:menuItem icon="/pics/info.gif" value="action" action="#{dDMenu.act}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{dDMenu.actListener}" reRender="cmInfoID">
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/ajax_process.gif" iconDisabled="/pics/ajax_stoped.gif" disabled="#{dDMenu.disabled}">
+ <h:outputText value="Image"></h:outputText>
+ </rich:menuItem>
+ <rich:menuItem disabled="#{dDMenu.disabled}" icon="#{dDMenu.icon}">
+ <h:outputText value="Image:" />
+ <h:graphicImage value="/pics/ajax_process.gif" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuGroup value="Second level" direction="#{dDMenu.groupDirection}" disabled="#{dDMenu.disabled}" icon="#{dDMenu.icon}"
+ iconFolder="#{dDMenu.iconFolder}">
+ <rich:menuItem icon="#{dDMenu.icon}">
+ <h:outputText value="Item3" />
+ </rich:menuItem>
+ <rich:menuItem value="Item4">
+ <h:selectOneMenu value="#{dDMenu.selectMenu}">
+ <f:selectItem itemLabel="Honda Accord" itemValue="accord" />
+ <f:selectItem itemLabel="Toyota 4Runner" itemValue="4runner" />
+ <f:selectItem itemLabel="Nissan Z350" itemValue="nissan-z" />
+ </h:selectOneMenu>
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="#{dDMenu.icon}">
+ <h:outputText value="CheckBox " />
+ <h:selectBooleanCheckbox value="#{dDMenu.check}" onclick="submit()" />
+ </rich:menuItem>
+ </rich:menuGroup>
+ </rich:dropDownMenu>
+ </rich:panel>
+ </h:panelGrid>
+ <h:panelGrid id="dndActionID" columns="1">
+ <a4j:commandButton value="Show action" reRender="dndActionID" style=" width : 95px;"></a4j:commandButton>
+ <h:outputText value="#{dDMenu.action}" />
+ <h:outputText value="#{dDMenu.actionListener}" />
+ </h:panelGrid>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenuDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenuProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenuProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenuProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,129 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="dropDownMenuPropertySubviewID">
+ <style>
+.pic {
+ margin-bottom: -4px;
+ margin-right: 2px;
+}
+</style>
+
+ <rich:toolBar itemSeparator="line">
+ <rich:toolBarGroup itemSeparator="none">
+ <rich:dropDownMenu>
+ <f:facet name="label">
+ <h:panelGroup>
+ <h:graphicImage value="/pics/info.gif" styleClass="pic" />
+ <h:outputText value="File" />
+ </h:panelGroup>
+ </f:facet>
+ <rich:menuItem submitMode="ajax" value="Laptop" ajaxSingle="true"></rich:menuItem>
+ <rich:menuItem submitMode="ajax" value="Desktop" ajaxSingle="true"></rich:menuItem>
+ <rich:menuItem submitMode="ajax" value="Servers" ajaxSingle="true"></rich:menuItem>
+ </rich:dropDownMenu>
+ </rich:toolBarGroup>
+ </rich:toolBar>
+
+ <h:commandButton action="#{dDMenu.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="HideDelay (ms):" />
+ <h:inputText value="#{dDMenu.hideDelay}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="ShowDelay (ms):" />
+ <h:inputText value="#{dDMenu.showDelay}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="PopupWidth (px):" />
+ <h:inputText value="#{dDMenu.popupWidth}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="horizontalOffset (px):" />
+ <h:inputText value="#{dDMenu.horizontalOffset}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="verticalOffset (px):" />
+ <h:inputText value="#{dDMenu.verticalOffset}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="Mode:" />
+ <h:selectOneRadio value="#{dDMenu.mode}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Direction:" />
+ <h:selectOneRadio value="#{dDMenu.direction}">
+ <f:selectItem itemLabel="top-right" itemValue="top-right" />
+ <f:selectItem itemLabel="top-left" itemValue="top-left" />
+ <f:selectItem itemLabel="bottom-right" itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left" />
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="GroupDirection:" />
+ <h:selectOneRadio value="#{dDMenu.groupDirection}">
+ <f:selectItem itemLabel="top-up" itemValue="top-up" />
+ <f:selectItem itemLabel="top-down" itemValue="top-down" />
+ <f:selectItem itemLabel="bottom-up" itemValue="bottom-up" />
+ <f:selectItem itemLabel="bottom-down" itemValue="bottom-down" />
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="JointPoint:" />
+ <h:selectOneRadio value="#{dDMenu.jointPoint}">
+ <f:selectItem itemLabel="top-right" itemValue="tr" />
+ <f:selectItem itemLabel="top-left" itemValue="tl" />
+ <f:selectItem itemLabel="bottom-right" itemValue="br" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bl" />
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Menu appearance event:" />
+ <h:selectOneRadio value="#{dDMenu.event}" onclick="submit()">
+ <f:selectItem itemLabel="onclick" itemValue="onclick" />
+ <f:selectItem itemLabel="onmouseover" itemValue="onmouseover" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dDMenu.rendered}" onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disable some ddmenu:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{dDMenu.disabledDDM}">
+ <a4j:support reRender="ddmId" event="onclick" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disable some items:" />
+ <h:selectBooleanCheckbox value="#{dDMenu.disabled}">
+ <a4j:support reRender="ddmId" event="onclick" />
+ </h:selectBooleanCheckbox>
+ <h:commandButton action="#{dDMenu.changeIcons}" value="ChangeIcons" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSubmitMode" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('ddmId').submitMode}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenuStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenuStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/DropDownMenu/DropDownMenuStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="dropDownMenuStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{dDMenu.bTest1}" value="run" reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1DDMenu}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{dDMenu.bTest2}" value="run" reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2DDMenu}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{dDMenu.bTest3}" value="run" reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3DDMenu}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{dDMenu.bTest4}" value="run" reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4DDMenu}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{dDMenu.bTest5}" value="run" reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5DDMenu}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Effect/Effect.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Effect/Effect.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Effect/Effect.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,315 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="effectSubviewID">
+
+ <rich:panel id="indexID">
+ <a4j:commandLink value="Hide all"
+ onclick="hideFrm1(),hideFrm2(),hideFrm3(),hideFrm4(),hideFrm5()"></a4j:commandLink>
+
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
+ <h:outputText value="Menu:" />
+ <h:panelGrid columns="2">
+ <h:outputText value="1." />
+ <f:verbatim>
+ <span onclick="showFrm1(),hideIndexID()"><font color="blue">JSF
+ Components</font></span>
+ </f:verbatim>
+
+ <h:outputText value="2." />
+ <f:verbatim>
+ <span onclick="showFrm2(),hideIndexID()"><font color="blue">JSF
+ Component with Event and non-jsf target</font></span>
+ </f:verbatim>
+
+ <h:outputText value="3." />
+ <f:verbatim>
+ <span onclick="showFrm3(),hideIndexID()"><font color="blue">JSF
+ Component with Event and jsf target</font></span>
+ </f:verbatim>
+
+ <h:outputText value="4." />
+ <f:verbatim>
+ <span onclick="showFrm4(),hideIndexID()"><font color="blue">JSF
+ Component with Event.</font></span>
+ </f:verbatim>
+
+ <h:outputText value="5." />
+ <f:verbatim>
+ <span onclick="showFrm5(),hideIndexID()"><font color="blue">RichFace
+ Components.</font></span>
+ </f:verbatim>
+ </h:panelGrid>
+ </rich:panel>
+
+ <rich:panel id="frm1">
+ <h:outputText value="JSF Components:" />
+
+ <h:panelGrid id="panGrID" columns="2">
+ <h:outputText value="Time:" />
+ <h:inputText value="#{effect.time}" />
+
+ <f:verbatim>
+ <span onclick="hidePanel1(), hideImage1()"><font color="blue">Hide
+ Panel</font> </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/fatal.gif"
+ onclick="hidePanel1(), hideImage1()" />
+
+ <f:verbatim>
+ <span onclick="showPanel1(), showImage1()"><font color="blue">Show</font>
+ </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/warn.gif"
+ onclick="showPanel1(), showImage1()" />
+
+
+ <h:outputText value="Event (onclick):" />
+
+ <f:verbatim></f:verbatim>
+
+ <h:outputText value="No" />
+ <h:outputText value="Yes" />
+
+ <h:panelGroup id="form_1a_ID">
+ <h:panelGrid id="panel_1_ID" border="1"
+ style="background-color:#696969">
+ <f:facet name="header">
+ <h:outputText value="Panel Header" />
+ </f:facet>
+
+ <h:outputText value="Panel Content" />
+ </h:panelGrid>
+ </h:panelGroup>
+
+ <h:graphicImage id="asusID" value="/pics/asus.jpg" height="100px"
+ width="125px" onclick="hideImage1()" />
+
+ <h:panelGroup id="form_1b_ID">
+ <h:inputText value="onmouse and onclick">
+ <rich:effect event="onclick" type="Fold" id="effectID"
+ params="duration:0.5,from:0.4,to:1.0" binding="#{effect.htmlEffect}"/>
+ <rich:effect event="onmouseout" type="Highlight"
+ params="duration:0.5,from:1.0,to:0.4" />
+ </h:inputText>
+ </h:panelGroup>
+ </h:panelGrid>
+
+ <rich:effect for="panel_1_ID" name="hidePanel1" type="Fade"
+ params="duration:#{effect.time}" />
+ <rich:effect for="panel_1_ID" name="showPanel1" type="Appear" />
+
+ <rich:effect for="asusID" name="hideImage1" type="Fold"
+ params="duration:#{effect.time}" />
+ <rich:effect for="asusID" name="showImage1" type="Grow" />
+
+ <f:verbatim>
+ <br />
+ <span onclick="hideFrm1(),showIndexID()"><font color="blue">Close</font></span>
+ </f:verbatim>
+ </rich:panel>
+
+ <rich:panel id="frm2">
+ <h:outputText
+ value="JSF Component with Event and non-jsf target (onclick, onmouseout)" />
+
+ <h:panelGrid columns="2">
+ <h:graphicImage id="imageID" value="/pics/podb109_61.jpg" width="100"
+ height="50">
+ <rich:effect event="onclick" targetId="divID" type="Opacity"
+ params="duration:0.5,from:0.4,to:1.0" />
+ <rich:effect event="onmouseout" type="Opacity"
+ params="targetId:'divID',duration:0.5,from:1.0,to:0.4" />
+ </h:graphicImage>
+
+ <f:verbatim>
+ <div id="divID"
+ style="width: 100px; height: 50px; background-color: red"><rich:effect
+ event="onclick" targetId="imageID" type="Opacity"
+ params="duration:0.5,from:0.4,to:1.0" /> <rich:effect
+ event="onmouseout" type="Opacity"
+ params="targetId:'imageID',duration:0.5,from:1.0,to:0.4" /></div>
+ </f:verbatim>
+ </h:panelGrid>
+
+ <f:verbatim>
+ <br />
+ <span onclick="hideFrm2(),showIndexID()"><font color="blue">Close</font></span>
+ </f:verbatim>
+ </rich:panel>
+
+ <rich:panel id="frm3">
+ <h:outputText
+ value="JSF Component with Event and jsf target (onclick, onmouseout)" />
+
+ <h:panelGrid id="gridID" border="1" style="background-color:green">
+ <h:outputText value="Panel Content" />
+ <rich:effect event="onclick" targetId="imgID" type="Opacity"
+ params="duration:0.5,from:0.4,to:1.0" />
+ <rich:effect event="onmouseout" targetId="imgID" type="Opacity"
+ params="duration:0.5,from:1.0,to:0.4" />
+ </h:panelGrid>
+
+ <h:graphicImage id="imgID" value="/pics/podb109_61.jpg" width="93"
+ height="30px">
+ <rich:effect event="onmouseout" targetId="gridID" type="Opacity"
+ params="duration:0.5,from:0.4,to:1.0" />
+ <rich:effect event="onclick" targetId="gridID" type="Opacity"
+ params="duration:0.5,from:1.0,to:0.4" />
+ </h:graphicImage>
+
+ <f:verbatim>
+ <br />
+ <span onclick="hideFrm3(),showIndexID()"><font color="blue">Close</font></span>
+ </f:verbatim>
+ </rich:panel>
+
+ <rich:panel id="frm4">
+ <h:outputText value="1. (Event 2)" />
+ <h:graphicImage id="img_1_ID" value="/pics/asus.jpg" width="200px"
+ height="150px" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText value="2. (Hide 1)" />
+ <h:graphicImage id="img_2_ID" value="/pics/benq.jpg" width="200px"
+ height="150px" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText value="3. (Pulsate 3, Show 1)" />
+ <h:graphicImage id="img_3_ID" value="/pics/toshiba.jpg" width="200px"
+ height="150px">
+ <rich:effect event="onclick" type="Pulsate" />
+ </h:graphicImage>
+
+ <rich:effect event="onclick" for="img_1_ID" targetId="img_2_ID"
+ type="BlindDown" />
+ <rich:effect event="onclick" for="img_2_ID" targetId="img_1_ID"
+ type="Puff" />
+ <rich:effect event="onclick" for="img_3_ID" targetId="img_1_ID"
+ type="Grow" params="duration:0.8" />
+
+ <f:verbatim>
+ <br />
+ <span onclick="hideFrm4(),showIndexID()"><font color="blue">Close</font></span>
+ </f:verbatim>
+ </rich:panel>
+
+ <rich:panel id="frm5">
+ <h:panelGrid id="panelGrdID" columns="2">
+ <f:verbatim>
+ <span onclick="hideRichPanel()"><font color="blue">Hide
+ Panel</font> </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/fatal.gif" onclick="hideRichPanel()" />
+
+ <f:verbatim>
+ <span onclick="showRichPanel()"><font color="blue">Show
+ Panel</font> </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/warn.gif" onclick="showRichPanel()" />
+
+ <f:verbatim>
+ <span onclick="hideRichTabPanel()"><font color="blue">Hide
+ Tab Panel</font> </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/fatal.gif" onclick="hideRichTabPanel()" />
+
+ <f:verbatim>
+ <span onclick="showRichTabPanel()"><font color="blue">Show
+ Tab Panel</font> </span>
+ </f:verbatim>
+ <h:graphicImage value="/pics/warn.gif" onclick="showRichTabPanel()" />
+ </h:panelGrid>
+
+ <rich:panel id="richPanelID">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel" />
+ </f:facet>
+ <f:verbatim>
+ This is a panel. This is a panel. This is a panel. This is a panel. <br />
+ This is a panel. This is a panel. This is a panel. This is a panel.
+ </f:verbatim>
+ <rich:effect event="onclick" type="Opacity"
+ params="duration:0.6,from:0.3,to:1.0" />
+ <rich:effect event="onmouseout" type="Opacity"
+ params="duration:0.6,from:1.0,to:0.3" />
+ </rich:panel>
+
+ <rich:tabPanel id="tabPanelID"
+ headerAlignment="Header of the tabPanel" height="200px"
+ switchType="ajax" rendered="true" title="Title">
+
+ <rich:tab id="tab1" label="label 1">
+ <h:outputText value="This is tab panel 1" styleClass="text1"></h:outputText>
+ </rich:tab>
+
+ <rich:tab id="tab2" label="label 2">
+ <h:outputText value="This is tab panel 2" styleClass="text1"></h:outputText>
+ </rich:tab>
+
+ <rich:tab id="tab3" label="label 3">
+ <h:outputText value="This is tab panel 3" styleClass="text1"></h:outputText>
+ </rich:tab>
+
+ <rich:effect event="onclick" type="Opacity"
+ params="duration:0.4,from:1.0,to:0.4" />
+ <rich:effect event="onmouseout" type="Opacity"
+ params="duration:0.4,from:0.4,to:1.0" />
+ </rich:tabPanel>
+
+ <rich:effect for="richPanelID" event="" name="hideRichPanel"
+ type="Fade" />
+ <rich:effect for="richPanelID" event="" name="showRichPanel"
+ type="Appear" />
+
+ <rich:effect for="tabPanelID" event="" name="hideRichTabPanel"
+ type="Fade" />
+ <rich:effect for="tabPanelID" event="" name="showRichTabPanel"
+ type="Appear" />
+
+ <f:verbatim>
+ <br />
+ <span onclick="hideFrm5(),showIndexID()"><font color="blue">Close</font></span>
+ </f:verbatim>
+ </rich:panel>
+
+
+ <rich:effect for="indexID" name="hideIndexID" type="SlideUp" />
+ <rich:effect for="indexID" name="showIndexID" type="SlideDown" />
+
+ <rich:effect for="frm1" name="hideFrm1" type="Fade" />
+ <rich:effect for="frm1" name="showFrm1" type="Appear" />
+
+ <rich:effect for="frm2" name="hideFrm2" type="Fade" />
+ <rich:effect for="frm2" name="showFrm2" type="Appear" />
+
+ <rich:effect for="frm3" name="hideFrm3" type="Fade" />
+ <rich:effect for="frm3" name="showFrm3" type="Appear" />
+
+ <rich:effect for="frm4" name="hideFrm4" type="Fade" />
+ <rich:effect for="frm4" name="showFrm4" type="Appear" />
+
+ <rich:effect for="frm5" name="hideFrm5" type="Fade" />
+ <rich:effect for="frm5" name="showFrm5" type="Appear" />
+
+ <br />
+ <h:commandButton action="#{effect.add}" value="add test" />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getParams" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('effectID').params}" />
+ </rich:column>
+ </h:panelGrid>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTable.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTable.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTable.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,107 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="extendedDataTableSubviewID">
+
+ <style type="text/css">
+.leftColumn {
+ width: 50%;
+ height: 100%;
+}
+
+.rightColumn {
+ width: 50%;
+ height: 100%;
+}
+
+.table {
+ cell-padding: 10;
+ cell-spacing: 10;
+}
+
+.mainPanel {
+ width: 100%;
+ height: 100%;
+}
+
+.leftPanel {
+ width: 100%;
+ height: 100%;
+}
+
+.rightPanel {
+ width: 100%;
+ height: 100%;
+}
+</style>
+
+ <rich:extendedDataTable id="demoTable"
+ value="#{extendedDataTableBean.dataModel}" var="patient"
+ style="margin: 0 auto;"
+ rows="#{extendedDataTableControlBean.rowsNumber}"
+ width="#{extendedDataTableControlBean.width}"
+ height="#{extendedDataTableControlBean.height}"
+ selectedClass="dataTableSelectedRow" footerClass="demo-footer"
+ sortMode="#{extendedDataTableControlBean.sortMode}"
+ selectionMode="#{extendedDataTableControlBean.selectionMode}"
+ selection="#{extendedDataTableBean.selection}" rowKeyVar="rkvar"
+ tableState="#{extendedDataTableBean.tableState}"
+ binding="#{extendedDataTableControlBean.extDTable}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ onRowClick="#{event.onRowClick}"
+ onRowDblClick="#{event.onRowDblClick}"
+ onRowMouseDown="#{event.onRowMouseDown}"
+ onRowMouseMove="#{event.onRowMouseMove}"
+ onRowMouseOut="#{event.onRowMouseOut}"
+ onRowMouseOver="#{event.onRowMouseOver}"
+ onRowMouseUp="#{event.onRowMouseUp}"
+ onselectionchange="#{event.onselectionchange}"
+ border="#{extendedDataTableControlBean.border}"
+ cellpadding="#{extendedDataTableControlBean.cellpadding}"
+ cellspacing="#{extendedDataTableControlBean.cellspacing}"
+ dir="#{extendedDataTableControlBean.dir}"
+ first="#{extendedDataTableControlBean.first}"
+ frame="#{extendedDataTableControlBean.frame}"
+ groupingColumn="#{extendedDataTableControlBean.groupingColumn}"
+ rendered="#{extendedDataTableControlBean.rendered}"
+ sortPriority="#{extendedDataTableControlBean.sortPriority}">
+ <rich:column id="firstName" headerClass="dataTableHeader" width="25%"
+ label="First name" sortable="true" sortBy="#{patient.firstName}"
+ filterBy="#{patient.firstName}" filterEvent="onkeyup">
+ <f:facet name="header">
+ <h:outputText value="First name" />
+ </f:facet>
+ <h:outputText id="text" value="#{patient.firstName}">
+ <rich:toolTip value="sasasasasasa" />
+ </h:outputText>
+ </rich:column>
+ <rich:column id="lastName" headerClass="dataTableHeader" width="25%"
+ label="Last name" sortable="true" sortBy="#{patient.lastName}"
+ filterBy="#{patient.lastName}" filterEvent="onkeyup">
+ <f:facet name="header">
+ <h:outputText value="Last name" />
+ </f:facet>
+ <h:outputText value="#{patient.lastName}" />
+ </rich:column>
+ <rich:column id="admissionDate" headerClass="dataTableHeader"
+ width="50%" label="Admission name" sortable="true"
+ sortBy="#{patient.admissionDate}">
+ <f:facet name="header">
+ <h:outputText value="Admission name" />
+ </f:facet>
+ <h:outputText value="#{patient.admissionDate}" />
+ </rich:column>
+ <a4j:support event="onselectionchange"
+ action="#{extendedDataTableBean.takeSelection}"
+ reRender="selectedPatients">
+ </a4j:support>
+ </rich:extendedDataTable>
+ <rich:datascroller style="width: #{extendedDataTableControlBean.width}"
+ rendered="#{extendedDataTableControlBean.paginated}" for="demoTable">
+ </rich:datascroller>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTableDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTableProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTableProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTableProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,141 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="extendedDataTablePropertySubviewID">
+
+ <h:panelGrid columns="2">
+ <h:outputLabel value="Width" for="tableWidthInput" />
+ <h:inputText id="tableWidthInput"
+ value="#{extendedDataTableControlBean.width}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputLabel value="Height" for="tableHeightInput" />
+ <h:inputText id="tableHeightInput"
+ value="#{extendedDataTableControlBean.height}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputLabel value="Number of patients"
+ for="tablePatientsNumberInput" />
+ <h:inputText id="tablePatientsNumberInput"
+ value="#{extendedDataTableBean.patientsNumber}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputLabel value="Sort mode" for="tableSortModeSelect" />
+ <h:selectOneMenu id="tableSortModeSelect"
+ value="#{extendedDataTableControlBean.sortMode}">
+ <f:selectItems
+ value="#{extendedDataTableControlBean.sortModeSelectItems}" />
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputLabel value="Selection mode" for="tableSelectionModeSelect" />
+ <h:selectOneMenu id="tableSelectionModeSelect"
+ value="#{extendedDataTableControlBean.selectionMode}">
+ <f:selectItems
+ value="#{extendedDataTableControlBean.selectionModeSelectItems}" />
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="paginated" />
+ <h:selectBooleanCheckbox id="paginatedCheckbox"
+ value="#{extendedDataTableControlBean.paginated}" onclick="submit()" />
+
+ <h:outputLabel value="Number of rows" for="tableRowsNumberInput" />
+ <h:inputText id="tableRowsNumberInput"
+ value="#{extendedDataTableControlBean.rowsNumber}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:commandButton value="binding"
+ actionListener="#{extendedDataTableControlBean.checkBinding}" />
+ <h:outputText value="#{extendedDataTableControlBean.bindLabel}"
+ id="bindLabel" />
+
+ <h:outputText value="border" />
+ <h:inputText value="#{extendedDataTableControlBean.border}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="cellpadding" />
+ <h:inputText value="#{extendedDataTableControlBean.cellpadding}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="cellspacing" />
+ <h:inputText value="#{extendedDataTableControlBean.cellspacing}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="dir" />
+ <h:selectOneRadio value="#{extendedDataTableControlBean.dir}">
+ <f:selectItem itemLabel="RTL" itemValue="RTL" />
+ <f:selectItem itemLabel="LTR" itemValue="LTR" />
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="first" />
+ <h:inputText value="#{extendedDataTableControlBean.first}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="frame" />
+ <h:panelGroup>
+ <h:inputText value="#{extendedDataTableControlBean.frame}"
+ id="inputFrame">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+ <h:outputLabel value="void, above, below, hsides, lhs, rhs, vsides, box and border" for="inputFrame" />
+ </h:panelGroup>
+
+ <h:outputText value="groupingColumn" />
+ <h:inputText value="#{extendedDataTableControlBean.groupingColumn}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox
+ value="#{extendedDataTableControlBean.rendered}" onclick="submit()" />
+
+ <h:outputText value="sortPriority" />
+ <h:inputText value="#{extendedDataTableControlBean.sortPriority}">
+ <a4j:support event="onchange" reRender="demoTable"></a4j:support>
+ </h:inputText>
+
+ </h:panelGrid>
+ <br />
+ <h:commandButton value="add test"
+ action="#{extendedDataTableControlBean.addExtDTable}"></h:commandButton>
+ <a4j:commandButton value="Update values" reRender="mainPanel">
+ </a4j:commandButton>
+ <br />
+
+ <rich:spacer height="5px" width="100%">
+ </rich:spacer>
+ <rich:dataTable id="selectedPatients"
+ value="#{extendedDataTableBean.selectedItems}" var="selectedPatient">
+ <f:facet name="header">
+ <h:outputText value="Selected patient" />
+ </f:facet>
+ <rich:column id="selectedFirstName" headerClass="dataTableHeader"
+ label="First name">
+ <f:facet name="header">
+ <h:outputText value="First name" />
+ </f:facet>
+ <h:outputText value="#{selectedPatient.firstName}" />
+ </rich:column>
+ <rich:column id="selectedLastName" headerClass="dataTableHeader"
+ label="Last name">
+ <f:facet name="header">
+ <h:outputText value="Last name" />
+ </f:facet>
+ <h:outputText value="#{selectedPatient.lastName}" />
+ </rich:column>
+ </rich:dataTable>
+ <rich:messages>
+ </rich:messages>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTableStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTableStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ExtendedDataTable/ExtendedDataTableStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,8 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="extendedDataTablePropertySubviewID">
+<!-- Insert your custom tests here -->
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/FileUpload/FileUpload.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/FileUpload/FileUpload.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/FileUpload/FileUpload.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,68 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="FileUploadSubviewID">
+ <rich:fileUpload allowFlash="#{fileUpload.allowFlash}" id="fileUploadID" disabled="#{fileUpload.disabled}"
+ autoclear="#{fileUpload.autoclear}" required="#{fileUpload.required}"
+ requiredMessage="#{fileUpload.requiredMessage}"
+ rendered="#{fileUpload.rendered}"
+ listHeight="#{fileUpload.listHeight}"
+ listWidth="#{fileUpload.listHeight}" uploadData="#{fileUpload.data}"
+ maxFilesQuantity="#{fileUpload.maxFilesQuantity}"
+ fileUploadListener="#{fileUpload.fileUploadListener}">
+ <f:facet name="label">
+ <h:outputText value="{_KB}KB from {KB}KB uploaded :[ {mm}:{ss} ]"></h:outputText>
+ </f:facet>
+ </rich:fileUpload>
+ <h:commandButton action="#{fileUpload.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="acceptedTypes"></h:outputText>
+ <h:inputText value="#{fileUpload.acceptedTypes}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listHeight"></h:outputText>
+ <h:inputText value="#{fileUpload.listHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listWidth"></h:outputText>
+ <h:inputText value="#{fileUpload.listWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="maxFilesQuantity"></h:outputText>
+ <h:inputText value="#{fileUpload.maxFilesQuantity}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="autoclear"></h:outputText>
+ <h:selectBooleanCheckbox value="#{fileUpload.autoclear}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="disabled"></h:outputText>
+ <h:selectBooleanCheckbox value="#{fileUpload.disabled}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{fileUpload.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="required"></h:outputText>
+ <h:selectBooleanCheckbox value="#{fileUpload.required}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="allowFlash" />
+ <h:selectOneRadio value="#{fileUpload.allowFlash}">
+ <f:selectItem itemValue="true" itemLabel="true" />
+ <f:selectItem itemValue="false" itemLabel="false" />
+ <f:selectItem itemValue="auto" itemLabel="auto" />
+ <a4j:support event="onchange" reRender="fileUploadID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="requiredMessage"></h:outputText>
+ <h:inputText value="#{fileUpload.requiredMessage}"
+ onchange="submit();"></h:inputText>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="File name:"></h:outputText>
+ <h:outputText value="#{fileUpload.upload.file.name}"></h:outputText>
+ </h:panelGrid>
+
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Gmap/Gmap.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Gmap/Gmap.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Gmap/Gmap.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,70 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="GmapSubviewID">
+ <rich:gmap id="gMapID" enableInfoWindow="#{gmap.enableInfoWindow}" mapType="#{gmap.mapType}" lng="#{gmap.lng}" lat="#{gmap.lat}"
+ warningMessage="#{gmap.warningMessage}" rendered="#{gmap.rendered}" zoom="#{gmap.zoom}"
+ enableContinuousZoom="#{gmap.continuousZoom}" enableDoubleClickZoom="#{gmap.doubleClickZoom}" enableDragging="#{gmap.dragging}"
+ gmapVar="map" oninit="#{event.oninit}" showGLargeMapControl="#{gmap.showGLargeMapControl}" showGMapTypeControl="#{gmap.showGMapTypeControl}"
+ showGScaleControl="#{gmap.showGScaleControl}" locale="#{gmap.locale}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ style="#{style.style}" styleClass="#{style.styleClass}" binding="#{gmap.htmlGMap}" gmapKey="ABQIAAAA0U0BoP4B9ZWzZ0Uncpxc9BSkiBOrQ7kN79cmmrq2_ldwWa2-oxT-qOZFpk4tRWODJPlZHWqQTROI4Q"/>
+
+ <h:panelGroup>
+ <f:verbatim><br />
+ Controls:<br />
+ <a href="javascript:void(0);" onclick="map.hideControls();return false;">Remove</a>
+ <a href="javascript:void(0);" onclick="map.showControls();return false;">Show</a>
+ <br />
+ <br />
+ Type:<br />
+ <a href="javascript:void(0);" onclick="map.setMapType(G_NORMAL_MAP);return false;">Normal</a>
+ <a href="javascript:void(0);" onclick="map.setMapType(G_SATELLITE_MAP);return false;">Satellite</a>
+ <a href="javascript:void(0);" onclick="map.setMapType(G_HYBRID_MAP);return false;">Hybrid</a>
+ <br />
+ <br />
+ Zoom:<br />
+ <a href="javascript:void(0);" onclick="map.zoomIn();return false;">In</a>
+ <a href="javascript:void(0);" onclick="map.zoomOut();return false;">Out</a>
+ <br />
+ <br />
+ <a href="javascript:void(0);" onclick="showExadel();return false;">Show Exadel Office</a>
+ <br />
+ <a href="javascript:void(0);" onclick="showExadelInMinsk();return false;">Show Exadel in Belarus</a>
+ </f:verbatim>
+ </h:panelGroup>
+
+ <a4j:outputPanel>
+ <script>
+
+ function createMarker(point,html) {
+ var marker = new GMarker(point);
+ GEvent.addListener(marker, "click", function() {
+ marker.openInfoWindowHtml(html);
+ });
+ return marker;
+ }
+
+ function showExadelInMinsk() {
+ var point = new GLatLng(53.92316,27.510737, 53.92316,27.510737);
+ map.setCenter(point);
+ var marker = createMarker(point,'Go to the <a target="_blank" href="http://www.exadel.com">Exadle Web Site</a>');
+ map.setZoom(16);
+ map.addOverlay(marker);
+ }
+
+ function showExadel() {
+ var point = new GLatLng(37.9721046, -122.0424842834);
+ map.setCenter(point);
+ var marker = createMarker(point,'Go to the <a target="_blank" href="http://www.exadel.com">Exadle Web Site</a>');
+ map.setZoom(16);
+ map.addOverlay(marker);
+ }
+
+ function setCenter(lag, lat, zoom) {
+ map.setCenter(new GLatLng(lag, lat), zoom);
+ var ulp = new GPoint(lag,lat);
+ var ul = G_NORMAL_MAP.getProjection().fromPixelToLatLng(ulp,zoom);
+ }
+ </script>
+ </a4j:outputPanel>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/Gmap/GmapDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/Gmap/GmapProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Gmap/GmapProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Gmap/GmapProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,76 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="GmapPropertySubviewID">
+ <h:commandButton action="#{gmap.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="mapType"></h:outputText>
+ <h:selectOneMenu value="#{gmap.mapType}" onchange="submit();">
+ <f:selectItem itemLabel="G_NORMAL_MAP" itemValue="G_NORMAL_MAP" />
+ <f:selectItem itemLabel="G_SATELLITE_MAP" itemValue="G_SATELLITE_MAP" />
+ <f:selectItem itemLabel="G_HYBRID_MAP" itemValue="G_HYBRID_MAP" />
+ </h:selectOneMenu>
+
+ <h:outputText value="enableInfoWindow:"></h:outputText>
+ <h:selectOneRadio value="#{gmap.enableInfoWindow}"
+ onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="showGLargeMapControl:"></h:outputText>
+ <h:selectOneRadio value="#{gmap.showGLargeMapControl}"
+ onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="showGMapTypeControl:"></h:outputText>
+ <h:selectOneRadio value="#{gmap.showGMapTypeControl}"
+ onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="showGScaleControl:"></h:outputText>
+ <h:selectOneRadio value="#{gmap.showGScaleControl}"
+ onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="warningMessage:"></h:outputText>
+ <h:inputText value="#{gmap.warningMessage}" onclick="submit()"></h:inputText>
+
+ <h:outputText value="lng:"></h:outputText>
+ <h:inputText value="#{gmap.lng}" onchange="submit()"></h:inputText>
+
+ <h:outputText value="lat:"></h:outputText>
+ <h:inputText value="#{gmap.lat}" onchange="submit()"></h:inputText>
+
+ <h:outputText value="Dragging:" />
+ <h:selectOneRadio value="#{gmap.dragging}" onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Continuous Zoom:" />
+ <h:selectOneRadio value="#{gmap.continuousZoom}" onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Double Click Zoom:" />
+ <h:selectOneRadio value="#{gmap.doubleClickZoom}" onchange="submit();">
+ <f:selectItem itemLabel="on" itemValue="true" />
+ <f:selectItem itemLabel="off" itemValue="false" />
+ </h:selectOneRadio>
+
+ <h:outputText value="rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{gmap.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/HotKey/HotKey.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/HotKey/HotKey.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/HotKey/HotKey.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,89 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="hotKeySubviewID">
+
+ <rich:calendar id="hotKeyCalendarID" popup="false" />
+ <h:commandButton id="commandButtonID" onclick="return false;" value="test select"></h:commandButton>
+ <rich:hotKey id="hotKeyID" binding="#{hotKey.binding}"
+ disableInInput="#{hotKey.disableInInput}" handler="#{hotKey.handler}"
+ key="#{hotKey.key}" rendered="#{hotKey.rendered}"
+ selector="#{hotKey.selector}" timing="#{hotKey.timing}" type="#{hotKey.type}" />
+
+ <h:panelGrid columns="2">
+ <h:outputText value="type"></h:outputText>
+ <h:selectOneMenu value="#{hotKey.type}">
+ <f:selectItem itemLabel="onkeydown" itemValue="onkeydown" />
+ <f:selectItem itemLabel="onkeypress" itemValue="onkeypress" />
+ <f:selectItem itemLabel="onkeyup" itemValue="onkeyup" />
+ <a4j:support reRender="hotKeyID" event="onchange"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="key"></h:outputText>
+ <h:inputText value="#{hotKey.key}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="timing"></h:outputText>
+ <h:selectOneMenu value="#{hotKey.timing}" onchange="submit();">
+ <f:selectItem itemLabel="onload" itemValue="onload" />
+ <f:selectItem itemLabel="immediate" itemValue="immediate" />
+ </h:selectOneMenu>
+
+ <h:outputText value="selector"></h:outputText>
+ <h:selectOneMenu value="#{hotKey.selector}">
+ <f:selectItem itemLabel="" itemValue="" />
+ <f:selectItem itemLabel="Button" itemValue="#commandButtonID" />
+ <a4j:support reRender="hotKeyID" event="onchange"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="handler"></h:outputText>
+ <h:selectOneMenu value="#{hotKey.handler}" onchange="submit();">
+ <f:selectItem
+ itemValue="$('formID:hotKeySubviewID:hotKeyCalendarID').component.nextYear();"
+ itemLabel="nextYear(Calendar)" />
+ <f:selectItem itemValue="alert('work')" itemLabel="alert('work')" />
+ </h:selectOneMenu>
+
+ <h:outputText value="disableInInput"></h:outputText>
+ <h:selectBooleanCheckbox value="#{hotKey.disableInInput}">
+ <a4j:support reRender="hotKeyID" event="onchange"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{hotKey.rendered}">
+ <a4j:support reRender="hotKeyID" event="onchange"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="test binding: "></h:outputText>
+ <h:outputText value="#{hotKey.bindingInfo}"></h:outputText>
+
+ <h:commandButton onclick="$('formID:hotKeySubviewID:hotKeyID').component.enable(); return false;" value="enable"></h:commandButton>
+ <h:commandButton onclick="$('formID:hotKeySubviewID:hotKeyID').component.disable(); return false;" value="disable"></h:commandButton>
+ </h:panelGrid>
+ <f:verbatim><hr /></f:verbatim>
+
+ <rich:hotKey id="jsID" timing="onregistercall" />
+
+ <h:panelGrid columns="2">
+ <h:commandButton id="jsAddCCID" value="add hotkey: alt+z" onclick="return false;"></h:commandButton>
+ <h:commandButton id="jsRemoveCCID" value="remove hotkey: alt+z" onclick="return false;"></h:commandButton>
+
+ <rich:componentControl disableDefault="true" attachTo="jsAddCCID" for="jsID" event="onclick" operation="add">
+ <f:param name="key" value="alt+z" />
+ <f:param name="handler" value="alert('alt+z')" />
+ </rich:componentControl>
+
+ <rich:componentControl disableDefault="true" attachTo="jsRemoveCCID" for="jsID" event="onclick" operation="remove">
+ <f:param name="key" value="alt+z" />
+ </rich:componentControl>
+ </h:panelGrid>
+ <f:verbatim><hr /></f:verbatim>
+ <h:commandButton action="#{hotKey.add}" value="add test" />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <!--<h:outputText value="#{rich:findComponent('hotKeyID').rendererType}" />-->
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/InplaceInput/InplaceInput.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/InplaceInput/InplaceInput.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/InplaceInput/InplaceInput.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,66 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inplaceInputSubviewID">
+
+<h:inputText value="For verify tabbing tabindex=3" size="25" tabindex="3"></h:inputText> <br/>
+
+This is because such an error can easily be made at programming level, <br />
+and while invisible for the user who does not understand or cannot <br />
+acquire the source code, many of those
+<rich:inplaceInput id = "inplaceInputId"
+ inputWidth="#{inplaceInput.inputWidth}"
+ valueChangeListener="#{inplaceInput.valueChangeListener}"
+ maxInputWidth="#{inplaceInput.maxInputWidth}"
+ minInputWidth="#{inplaceInput.minInputWidth}"
+ required="#{inplaceInput.required}"
+ requiredMessage="#{inplaceInput.requiredMessage}"
+ tabindex="#{inplaceInput.tabindex}"
+ editEvent="#{inplaceInput.editEvent}"
+ defaultLabel="#{inplaceInput.defaultLabel}"
+ controlsVerticalPosition="#{inplaceInput.controlsVerticalPosition}"
+ controlsHorizontalPosition="#{inplaceInput.controlsHorizontalPosition}"
+ value="#{inplaceInput.value}"
+ selectOnEdit="#{inplaceInput.selectOnEdit}"
+ showControls="#{inplaceInput.showControls}"
+ rendered="#{inplaceInput.rendered}"
+ immediate="#{inplaceInput.immediate}"
+ layout = "#{inplaceInput.layout}"
+ onblur="#{event.onblur}"
+ onchange="#{event.onchange}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ oneditactivated="#{event.oneditactivated}"
+ oneditactivation="#{event.oneditactivation}"
+ onfocus="#{event.onfocus}"
+ oninputclick="#{event.oninputclick}"
+ oninputdblclick="#{event.oninputdblclick}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputmousedown="#{event.oninputmousedown}"
+ oninputmousemove="#{event.oninputmousemove}"
+ oninputmouseout="#{event.oninputmouseout}"
+ oninputmouseover="#{event.oninputmouseover}"
+ oninputmouseup="#{event.oninputmouseup}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onselect="#{event.onselect}"
+ onviewactivated="#{evant.onviewactivated}"
+ onviewactivation="#{event.onviewactivation}"
+ binding="#{inplaceInput.myInplaceInput}"
+ converter="inplaceInputConverter"
+ converterMessage="Can't convert">
+ </rich:inplaceInput>
+ are easy to exploit.
+ <h:panelGrid columns="2">
+ <a4j:commandButton value="reRender" reRender="inplaceInputValueCLID, inplaceInputId"></a4j:commandButton>
+ <h:outputText id="inplaceInputValueCLID"
+ value="#{inplaceInput.valueCL}"></h:outputText>
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/InplaceInput/InplaceInputProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/InplaceInput/InplaceInputProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/InplaceInput/InplaceInputProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,126 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="inplaceInputPropertySubviewID">
+ <h:commandButton action="#{inplaceInput.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="value"></h:outputText>
+ <h:outputText id="inplaceInputValueID" value="#{inplaceInput.value}"
+ onchange="submit();">
+ </h:outputText>
+
+ <h:outputText value="defaultLabel"></h:outputText>
+ <h:inputText value="#{inplaceInput.defaultLabel}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="inputWidth"></h:outputText>
+ <h:inputText value="#{inplaceInput.inputWidth}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="maxInputWidth"></h:outputText>
+ <h:inputText value="#{inplaceInput.maxInputWidth}"
+ onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="minInputWidth"></h:outputText>
+ <h:inputText value="#{inplaceInput.minInputWidth}"
+ onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="tabindex"></h:outputText>
+ <h:inputText value="#{inplaceInput.tabindex}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="editEvent"></h:outputText>
+ <h:inputText value="#{inplaceInput.editEvent}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="controlsVerticalPosition"></h:outputText>
+ <h:selectOneRadio value="#{inplaceInput.controlsVerticalPosition}"
+ onchange="submit();">
+ <f:selectItem itemLabel="top" itemValue="top" />
+ <f:selectItem itemLabel="bottom" itemValue="bottom" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ </h:selectOneRadio>
+
+ <h:outputText value="controlsHorizontalPosition"></h:outputText>
+ <h:selectOneRadio value="#{inplaceInput.controlsHorizontalPosition}"
+ onchange="submit();">
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="left" itemValue="left" />
+ </h:selectOneRadio>
+
+ <h:outputText value="selectOnEdit"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceInput.selectOnEdit}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="showControls"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceInput.showControls}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceInput.rendered}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceInput.immediate}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="required"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceInput.required}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage"></h:outputText>
+ <h:inputText value="#{inplaceInput.requiredMessage}"
+ onchange="submit();">
+ </h:inputText>
+
+ <h:commandButton actionListener="#{inplaceInput.checkBinding}"
+ value="Binding"></h:commandButton>
+ <h:outputText value="#{inplaceInput.bindLabel}"></h:outputText>
+
+ <h:outputText value="layout"></h:outputText>
+ <h:inputText value="#{inplaceInput.layout}" onchange="submit();">
+ </h:inputText>
+
+ </h:panelGrid>
+
+ <a4j:commandLink
+ onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.edit()"
+ value="edit"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.save()"
+ value="save"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.cancel()"
+ value="cancel"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.getValue()"
+ value="getValue"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.setValue('setValue')"
+ value="setValuel"></a4j:commandLink>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('inplaceInputId').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/InplaceSelect/InplaceSelect.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/InplaceSelect/InplaceSelect.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/InplaceSelect/InplaceSelect.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,76 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inplaceSelectSubviewID">
+
+<h:inputText value="For verify tabbing tabindex=3" size="25" tabindex="3"></h:inputText> <br/>
+
+This is because such an error can easily be made at programming level, <br />
+and while invisible for the user who does not understand or cannot <br />
+acquire the source code, many of those
+<rich:inplaceSelect id="inplaceSelectID"
+ tabindex="#{inplaceSelect.tabindex}"
+ editEvent="#{inplaceSelect.editEvent}"
+ maxSelectWidth="#{inplaceSelect.maxSelectWidth}"
+ minSelectWidth="#{inplaceSelect.minSelectWidth}"
+ selectWidth="#{inplaceSelect.selectWidth}"
+ defaultLabel="#{inplaceSelect.defaultLabel}"
+ controlsVerticalPosition="#{inplaceSelect.controlsVerticalPosition}"
+ controlsHorizontalPosition="#{inplaceSelect.controlsHorizontalPosition}"
+ listWidth="#{inplaceSelect.listWidth}"
+ listHeight="#{inplaceSelect.listHeight}"
+ showControls="#{inplaceSelect.showControls}"
+ editOnTab="#{inplaceSelect.editOnTab}"
+ openOnEdit="#{inplaceSelect.openOnEdit}"
+ rendered="#{inplaceSelect.rendered}"
+ immediate="#{inplaceSelect.immediate}"
+ binding="#{inplaceSelect.myInplaceSelect}"
+ required="#{inplaceSelect.required}"
+ requiredMessage="#{inplaceSelect.requiredMessage}"
+ onblur="#{event.onblur}"
+ onchange="#{event.onchange}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ oneditactivated="#{event.oneditactivated}"
+ oneditactivation="#{event.oneditactivation}"
+ onfocus="#{event.onfocus}"
+ oninputblur="#{event.oninputblur}"
+ oninputclick="#{event.oninputclick}"
+ oninputdblclick="#{event.oninputdblclick}"
+ oninputfocus="#{event.oninputfocus}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputmousedown="#{event.oninputmousedown}"
+ oninputmousemove="#{event.oninputmousemove}"
+ oninputmouseout="#{event.oninputmouseout}"
+ oninputmouseover="#{event.oninputmouseover}"
+ oninputmouseup="#{event.oninputmouseup}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onselect="#{event.onselect}"
+ onviewactivated="#{evant.onviewactivated}"
+ onviewactivation="#{event.onviewactivation}"
+ layout="#{inplaceSelect.layout}"
+ valueChangeListener="#{inplaceSelect.valueChangeListener}"
+ value="#{inplaceSelect.value}" >
+
+ <f:selectItem itemLabel="errors" itemValue="errors" />
+ <f:selectItem itemLabel="fatals" itemValue="fatals" />
+ <f:selectItem itemLabel="infos" itemValue="infos" />
+ <f:selectItem itemLabel="passeds" itemValue="passeds" />
+ <f:selectItem itemLabel="warns" itemValue="warns" />
+ </rich:inplaceSelect>
+
+ are easy to exploit.
+ <h:panelGrid columns="2">
+ <a4j:commandButton value="reRender" reRender="inplaceSelectValueCLID, inplaceSelectID"></a4j:commandButton>
+ <h:outputText id="inplaceSelectValueCLID"
+ value="#{inplaceSelect.valueCL}"></h:outputText>
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/InplaceSelect/InplaceSelectProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/InplaceSelect/InplaceSelectProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/InplaceSelect/InplaceSelectProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,121 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="inplaceSelectPropertySubviewID">
+ <h:commandButton action="#{inplaceSelect.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="value"></h:outputText>
+ <h:outputText value="#{inplaceSelect.value}"></h:outputText>
+
+ <h:outputText value="defaultLabel"></h:outputText>
+ <h:inputText value="#{inplaceSelect.defaultLabel}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="editEvent"></h:outputText>
+ <h:inputText value="#{inplaceSelect.editEvent}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="selectWidth"></h:outputText>
+ <h:inputText value="#{inplaceSelect.selectWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="maxSelectWidth"></h:outputText>
+ <h:inputText value="#{inplaceSelect.maxSelectWidth}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="minSelectWidth"></h:outputText>
+ <h:inputText value="#{inplaceSelect.minSelectWidth}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="listWidth"></h:outputText>
+ <h:inputText value="#{inplaceSelect.listWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listHeight"></h:outputText>
+ <h:inputText value="#{inplaceSelect.listHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="controlsVerticalPosition"></h:outputText>
+ <h:selectOneRadio value="#{inplaceSelect.controlsVerticalPosition}"
+ onchange="submit();">
+ <f:selectItem itemLabel="top" itemValue="top" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="bottom" itemValue="bottom" />
+ </h:selectOneRadio>
+
+ <h:outputText value="controlsHorizontalPosition"></h:outputText>
+ <h:selectOneRadio value="#{inplaceSelect.controlsHorizontalPosition}"
+ onchange="submit();">
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="left" itemValue="left" />
+ </h:selectOneRadio>
+ <h:outputText value="tabindex"></h:outputText>
+ <h:inputText value="#{inplaceSelect.tabindex}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="showControls"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.showControls}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="applyFromControlsOnly"></h:outputText>
+ <h:selectBooleanCheckbox
+ value="#{inplaceSelect.applyFromControlsOnly}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="openOnEdit"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.openOnEdit}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:commandButton actionListener="#{inplaceSelect.checkBinding}"
+ value="Binding"></h:commandButton>
+ <h:outputText value="#{inplaceSelect.bindLabel}"></h:outputText>
+
+ <h:outputText value="immediate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.immediate}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="required"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inplaceSelect.required}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage"></h:outputText>
+ <h:inputText value="#{inplaceSelect.requiredMessage}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="layout"></h:outputText>
+ <h:inputText value="#{inplaceSelect.layout}" onchange="submit();"></h:inputText>
+
+ </h:panelGrid>
+
+ <a4j:commandLink
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.edit()"
+ value="edit"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.save()"
+ value="save"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.cancel()"
+ value="cancel"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.getValue()"
+ value="getValue"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.setValue('setValue')"
+ value="setValuel"></a4j:commandLink>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('inplaceSelectID').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSlider.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSlider.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSlider.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,27 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inputNumberSliderSubviewID">
+ <h:panelGrid columns="1">
+ <rich:inputNumberSlider id="SliderId" barStyle="#{style.barStyle}" handleSelectedClass="#{style.handleSelectedClass}" inputStyle="#{style.inputStyle}" tipStyle="#{style.tipStyle}" style="#{style.style}" immediate="#{inputNumberSlider.immediate}"
+ inputPosition="#{inputNumberSlider.inputPosition}" showToolTip="#{inputNumberSlider.showToolTip}"
+ tabindex="#{inputNumberSlider.tabindex}" value="#{inputNumberSlider.value}" valueChangeListener="#{inputNumberSlider.valueChangeListener}"
+ required="#{inputNumberSlider.rendered}" requiredMessage="#{inputNumberSlider.requiredMessage}"
+ disabled="#{inputNumberSlider.disabled}" enableManualInput="#{inputNumberSlider.enableManualInput}"
+ inputSize="#{inputNumberSlider.inputSize}" maxValue="#{inputNumberSlider.maxValue}" minValue="#{inputNumberSlider.minValue}"
+ rendered="#{inputNumberSlider.rendered}" showBoundaryValues="#{inputNumberSlider.showBoundaryValues}"
+ step="#{inputNumberSlider.step}" showInput="#{inputNumberSlider.showInput}" width="#{inputNumberSlider.width}"
+ barClass="#{style.barClass}" tipClass="#{style.barClass}" inputClass="#{style.inputClass}"
+ handleClass="#{style.handleStyle}" styleClass="#{style.tipStyle}"
+ maxlength="#{inputNumberSlider.maxlength}"
+ onblur="#{event.onblur}" onchange="#{event.onchange}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onerror="#{event.onerror}" onfocus="#{event.onfocus}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}" onslide="#{event.onslide}"
+ binding="#{inputNumberSlider.htmlINS}" >
+ </rich:inputNumberSlider>
+ <h:panelGroup>
+ <a4j:commandButton value="valueChangeListener (show)" reRender="valueCLID" />
+ <h:outputText id="valueCLID" value=" #{inputNumberSlider.valueChangeListener}" />
+ </h:panelGroup>
+ </h:panelGrid>
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSliderDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSliderProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSliderProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSliderProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,120 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="inputNumberSliderPropertySubviewID">
+ <h:commandButton action="#{inputNumberSlider.add}" value="add test" />
+ <h:panelGrid columns="2" cellspacing="10px" border="1">
+ <h:outputText value="value" />
+ <h:inputText value="#{inputNumberSlider.value}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="inputPosition"></h:outputText>
+ <h:selectOneRadio value="#{inputNumberSlider.inputPosition}">
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Width:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.width}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Max Value:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.maxValue}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Min Value:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.minValue}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Input Size:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.inputSize}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Input MaxLength:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.maxlength}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Step:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.step}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="tabindex" />
+ <h:inputText value="#{inputNumberSlider.tabindex}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.disabled}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.rendered}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Manual Input:"></h:outputText>
+ <h:selectBooleanCheckbox
+ value="#{inputNumberSlider.enableManualInput}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Boundary Values:"></h:outputText>
+ <h:selectBooleanCheckbox
+ value="#{inputNumberSlider.showBoundaryValues}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Show Input:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.showInput}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="showToolTip" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.showToolTip}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="required" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.required}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage" />
+ <h:inputText value="#{inputNumberSlider.requiredMessage}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="immediate" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.immediate}">
+ <a4j:support event="onchange" reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Switch Styles" />
+ <a4j:commandButton id="slBtn" value="#{inputNumberSlider.btnLabel}"
+ action="#{inputNumberSlider.doStyles}" reRender="SliderId,slBtn">
+ </a4j:commandButton>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('SliderId').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSliderStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSliderStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/InputNumberSlider/InputNumberSliderStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inputNumberSliderStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest1}" value="run" reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1INSlider}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest2}" value="run" reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2INSlider}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest3}" value="run" reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3INSlider}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest4}" value="run" reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4INSlider}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest5}" value="run" reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5INSlider}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinner.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinner.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinner.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inputNumberSpinnerSubviewID">
+ <h:messages></h:messages>
+
+ <rich:inputNumberSpinner id="SpinnerID" tabindex="#{inputNumberSpinner.tabindex}" cycled="#{inputNumberSpinner.cycled}"
+ disabled="#{inputNumberSpinner.disabled}" maxValue="#{inputNumberSpinner.max}" minValue="#{inputNumberSpinner.min}"
+ step="#{inputNumberSpinner.step}" rendered="#{inputNumberSpinner.rendered}" value="#{inputNumberSpinner.value}"
+ inputClass="#{style.inputClass}" styleClass="#{style.styleClass}" inputStyle="#{style.inputStyle}" style="#{style.style}"
+ enableManualInput="#{inputNumberSpinner.manualInput}" inputSize="#{inputNumberSpinner.inputSize}"
+ onmousedown="#{event.onmousedown}" onblur="#{event.onblur}"
+ onchange="#{event.onchange}" onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ onerror="#{event.onerror}"
+ onfocus="#{event.onfocus}"
+ onselect="#{event.onselect}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ ondownclick="#{event.ondownclick}" onupclick="#{event.onupclick}"
+ binding="#{inputNumberSpinner.htmlINSpinner}"></rich:inputNumberSpinner>
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinnerDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinnerProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinnerProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinnerProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,63 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="iNSpinnerPropertySubviewID">
+ <h:commandButton action="#{inputNumberSpinner.add}" value="add test" />
+ <h:panelGrid columns="2" cellpadding="10px" border="1">
+ <h:outputText value="Max: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.max}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Min: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.min}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Step: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.step}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Size: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.inputSize}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Cycled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.cycled}">
+ <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Manual Input:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.manualInput}">
+ <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.disabled}">
+ <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.rendered}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{inputNumberSpinner.doStyles}"
+ value="#{inputNumberSpinner.btnLabel}" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('SpinnerID').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinnerStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinnerStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/InputNumberSpinner/InputNumberSpinnerStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="iNSpinnerStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest1}" value="run" reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1INSpinner}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest2}" value="run" reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2INSpinner}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest3}" value="run" reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3INSpinner}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest4}" value="run" reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4INSpinner}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest5}" value="run" reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5INSpinner}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Insert/Insert.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Insert/Insert.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Insert/Insert.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,9 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="insertSubviewID">
+ <h:messages />
+
+ <rich:panel id="panelID" header="Highlight: #{insert.highlight}; File: #{insert.src}">
+ <rich:insert id="insertID" highlight="#{insert.highlight}"
+ rendered="#{insert.rendered}" src="#{insert.src}" binding="#{insert.htmlInsert}"></rich:insert>
+ </rich:panel>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/Insert/InsertProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Insert/InsertProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Insert/InsertProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,47 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="InsertPropertySubviewID">
+<h:commandButton action="#{insert.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Highlight:" />
+ <h:selectOneMenu value="#{insert.highlight}">
+ <f:selectItem itemValue="HTML" itemLabel="HTML" />
+ <f:selectItem itemValue="GROOVY" itemLabel="GROOVY" />
+ <f:selectItem itemValue="JAVA" itemLabel="JAVA" />
+ <f:selectItem itemValue="BEANSHELL" itemLabel="BEANSHELL" />
+ <f:selectItem itemValue="BSH" itemLabel="BSH" />
+ <f:selectItem itemValue="XML" itemLabel="XML" />
+ <f:selectItem itemValue="XHTML" itemLabel="XHTML" />
+ <f:selectItem itemValue="LZX" itemLabel="LZX" />
+ <f:selectItem itemValue="CPP" itemLabel="CPP" />
+ <f:selectItem itemValue="CXX" itemLabel="CXX" />
+ <a4j:support event="onclick" reRender="panelID,insertID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Select file:" />
+ <h:selectOneMenu value="#{insert.src}">
+ <f:selectItem itemValue="/Insert/src/test.html" itemLabel="HTML" />
+ <f:selectItem itemValue="/Insert/src/test.java" itemLabel="JAVA" />
+ <f:selectItem itemValue="/Insert/src/test.groovy" itemLabel="GROOVY" />
+ <f:selectItem itemValue="/Insert/src/test.bsh" itemLabel="BEANSHELL,BSH" />
+ <f:selectItem itemValue="/Insert/src/test.xml" itemLabel="XML" />
+ <f:selectItem itemValue="/Insert/Insert.xhtml" itemLabel="XHTML" />
+ <f:selectItem itemValue="/Insert/src/test.lzx" itemLabel="LZX" />
+ <f:selectItem itemValue="/Insert/src/test.cpp" itemLabel="CPP,CXX" />
+ <a4j:support event="onclick" reRender="panelID,insertID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Rendered" />
+ <h:selectBooleanCheckbox value="#{insert.rendered}" onchange="submit();"/>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSrc" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('insertID').src}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Insert/src/test.bsh
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Insert/src/test.bsh (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Insert/src/test.bsh 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,76 @@
+import javax.swing.*;
+import javax.swing.event.*;
+import javax.swing.text.*;
+import java.awt.event.*;
+import java.awt.*;
+
+JFrame browser( startingUrl ) {
+ invoke( method, args ) {}
+
+ windowClosing(WindowEvent we) {
+ we.getWindow().setVisible(false);
+ }
+
+ setPage( url ) {
+ try {
+ pane.setPage( url );
+ } catch(Exception e) {
+ statusBar.setText("Error opening page: "+url);
+ }
+ }
+
+ hyperlinkUpdate( HyperlinkEvent he ) {
+ type = he.getEventType();
+ if (type == HyperlinkEvent.EventType.ENTERED) {
+ pane.setCursor(
+ Cursor.getPredefinedCursor( Cursor.HAND_CURSOR) );
+ statusBar.setText(he.getURL().toString());
+ } else
+ if (type == HyperlinkEvent.EventType.EXITED) {
+ pane.setCursor( Cursor.getDefaultCursor() );
+ statusBar.setText(" ");
+ } else {
+ setPage( he.getURL() );
+ if (urlField != null)
+ urlField.setText(he.getURL().toString());
+ }
+ }
+
+ frame = new JFrame("Browser");
+ frame.setSize(400,300);
+ frame.addWindowListener( this );
+
+ urlPanel = new JPanel();
+ urlPanel.setLayout(new BorderLayout());
+ urlField = new JTextField(startingUrl);
+ urlPanel.add(new JLabel("Site: "), BorderLayout.WEST);
+ urlPanel.add(urlField, BorderLayout.CENTER);
+
+ statusBar = new JLabel(" ");
+ pane = new JEditorPane();
+ pane.setEditable(false);
+ setPage( startingUrl );
+ jsp = new JScrollPane(pane);
+
+ frame.getContentPane().add(jsp, BorderLayout.CENTER);
+ frame.getContentPane().add(urlPanel, BorderLayout.SOUTH);
+ frame.getContentPane().add(statusBar, BorderLayout.NORTH);
+
+ // This is the equivalent of an inner class in bsh.
+ urlTextHandler() {
+ actionPerformed(ActionEvent ae) {
+ setPage( ae.getActionCommand() );
+ }
+ return this;
+ }
+
+ urlField.addActionListener( urlTextHandler() );
+ pane.addHyperlinkListener( (HyperlinkListener)this );
+
+ return frame;
+}
+
+browser = browser("http://java.sun.com/");
+browser.show();
+
+
Added: trunk/test-applications/HelloWorld/WebContent/Insert/src/test.cpp
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Insert/src/test.cpp (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Insert/src/test.cpp 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,119 @@
+extern LArc RiflemanTBL[];
+class CRifleman : public LFsaAppl
+{
+public:
+ int GetNumber();
+ void SetNumber(int n);
+ void SetLink(CRifleman *pFsaLeft,
+ CRifleman
+*pFsaRigtht);
+ CRifleman *pFsaRightMan;
+ CRifleman *pFsaLeftMan;
+ CRifleman();
+ CRifleman(int n, CWnd* pW, LArc
+ *pTBL=RiflemanTBL);
+ virtual ~CRifleman();
+ bool operator==(const CRifleman
+ &var) const;
+ bool operator<(const CRifleman
+ &var) const;
+ bool operator!=(const CRifleman
+ &var) const;
+ bool operator>(const CRifleman
+ &var) const;
+protected:
+ CWnd* pParentWnd;
+ CFireApp *pApp; // ��������� �� ������
+ // ��������� ������ ���������
+ int x1(); // Is fire?
+ int x2(); // Is ready?
+ int x3(); // Number is equal to zero? Shot!
+ int x4(); //
+ void y1(); // To place number.
+ void y2(); // To reduce number by unit.
+ void y3(); // Gunshot
+ void y4(); //
+ void y5(); //
+ int nNumber;
+ int nSaveNumber;
+ int nLengthQueue; // Length of queue.
+ int nCurrentQueue; //
+};
+typedef vector<CRifleman*>
+TIArrayRifleman;
+typedef vector<CRifleman*>:
+:iterator TIIteratorRifleman;
+extern LArc RiflemanTBL[];
+CRifleman::CRifleman():LFsaAppl() { }
+CRifleman::CRifleman(int n, CWnd* pW,
+LArc* pTBL):
+LFsaAppl(pTBL)
+{
+ pParentWnd = pW;
+ pFsaRightMan = NULL;
+ pFsaLeftMan = NULL;
+ nNumber = n;
+ nLengthQueue = 5;
+ nCurrentQueue = nLengthQueue;
+ if (pParentWnd)
+ {
+ pApp = (CFireApp*)AfxGetApp();
+ FLoad(pApp->pNetFsa,1);
+ }
+}
+bool CRifleman::operator==(const CRifleman
+&var) const
+{
+ if (nNumber==var.nNumber) return true;
+ else return false;
+}
+void CRifleman::SetLink(CRifleman
+* pFsaLeft, CRifleman *
+pFsaRigtht)
+{
+ pFsaRightMan = pFsaRigtht;
+ pFsaLeftMan = pFsaLeft;
+}
+LArc RiflemanTBL[] = {
+ LArc("���", "�����", "x1", "y1"),
+ LArc("�����", "�����", "x2", "y2"),
+ LArc("�����", "�����", "x3", "y2"),
+ LArc("�����", "�������", "^x3", "y3y4"),
+ LArc("�������", "�������", "x4", "y3y5"),
+ LArc("�������", "���", "^x4", "-"),
+ LArc()
+ };
+int CRifleman::x1()
+{
+ if (!pFsaLeftMan) return false;
+ return string((pFsaLeftMan)-
+ >FGetState()) == "�����";
+}
+int CRifleman::x2()
+{
+ if (!pFsaRightMan) return true;
+ else return string((pFsaRightMan)-
+ >FGetState()) ==
+"�����";
+}
+int CRifleman::x3() { return nNumber; }
+int CRifleman::x4() { return nCurrentQueue; }
+void CRifleman::y1()
+{
+ int n = pFsaLeftMan->GetNumber();
+ SetNumber(n+1);
+}
+void CRifleman::y2() { nNumber-; }
+void CRifleman::y3() { }
+void CRifleman::y4()
+{
+ nCurrentQueue = nLengthQueue;
+}
+// ������������ �������� ����� ����������
+void CRifleman::y5()
+{
+ CFDelay *pCFDelay;
+ pCFDelay = new CFDelay(200);
+ pCFDelay->FCall(this);
+ nCurrentQueue-;
+}
Added: trunk/test-applications/HelloWorld/WebContent/Insert/src/test.groovy
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Insert/src/test.groovy (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Insert/src/test.groovy 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,34 @@
+import groovy.swing.SwingBuilder
+import groovy.net.soap.SoapClient
+
+proxy = new SoapClient("http://www.webservicex.net/CurrencyConvertor.asmx?WSDL")
+
+def currency = ['USD', 'EUR', 'CAD', 'GBP', 'AUD']
+def rate = 0.0
+
+swing = new SwingBuilder()
+
+refresh = swing.action(
+ name:'Refresh',
+ closure:this.&refreshText,
+ mnemonic:'R'
+)
+
+frame = swing.frame(title:'Currency Demo') {
+ panel {
+ label 'Currency rate from '
+ comboBox(id:'from', items:currency)
+ label ' to '
+ comboBox(id:'to', items:currency)
+ label ' is '
+ textField(id:'currency', columns:10, rate.toString())
+ button(text:'Go !', action:refresh)
+ }
+}
+frame.pack()
+frame.show()
+
+def refreshText(event) {
+ rate = proxy.ConversionRate(swing.from.getSelectedItem(), swing.to.getSelectedItem())
+ swing.currency.text = rate
+}
Added: trunk/test-applications/HelloWorld/WebContent/Insert/src/test.html
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Insert/src/test.html (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Insert/src/test.html 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,18 @@
+<html>
+ <head>
+ </head>
+ <body>
+ html page
+ <br>
+ html page
+ <br>
+ html page
+ <br>
+ html page
+ <br>
+ html page
+ <br>
+ html page
+ <br>
+ </body>
+</html>
Added: trunk/test-applications/HelloWorld/WebContent/Insert/src/test.java
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Insert/src/test.java (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Insert/src/test.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,291 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit;
+
+import java.io.IOException;
+import java.util.Iterator;
+import java.util.Map;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+import org.ajax4jsf.renderkit.HeaderResourcesRendererBase;
+import org.ajax4jsf.renderkit.compiler.TemplateContext;
+import org.richfaces.skin.Skin;
+import org.ajax4jsf.util.style.CSSFormat;
+import org.richfaces.component.UIPanelMenu;
+import org.richfaces.component.UIPanelMenuGroup;
+import org.richfaces.component.UIPanelMenuItem;
+import org.richfaces.renderkit.html.PanelMenuGroupRenderer;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconChevron;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconChevronDown;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconChevronUp;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconDisc;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconGrid;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconSpacer;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconTriangle;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconTriangleDown;
+import org.richfaces.renderkit.html.iconimages.PanelMenuIconTriangleUp;
+import org.ajax4jsf.renderkit.RendererUtils.HTML;
+
+/**
+ * @author hans
+ *
+ */
+public abstract class PanelMenuRendererBase extends HeaderResourcesRendererBase {
+
+ public final static String PANEL_MENU_SPACER_ICON_NAME = "spacer";
+
+ public void insertSpacerImages(FacesContext context , UIComponent component) throws IOException {
+ ResponseWriter writer = context.getResponseWriter();
+ int level = calculateLevel(component);
+ //StringBuffer buffer = new StringBuffer();
+ String src = getIconByType("custom",false,context,component);
+ int w = 16; //width(context);
+
+ for (int i=0;i<level;i++){
+ writer.startElement("img", component);
+ writer.writeAttribute("src", src, null);
+ writer.writeAttribute("alt", "", null);
+ writer.writeAttribute("hspace", "0", null);
+ writer.writeAttribute("vspace", "0", null);
+ writer.writeAttribute("height", String.valueOf(w), null);
+ writer.writeAttribute("width", String.valueOf(w), null);
+ writer.endElement("img");
+ }
+ }
+
+ protected int calculateLevel (UIComponent component){
+ int level = 0;
+ UIComponent parent = component.getParent();
+ while(parent != null){
+ if(parent instanceof UIPanelMenu){
+ return level;
+ } else if(parent instanceof UIPanelMenuGroup){
+ level++;
+ }
+ parent = parent.getParent();
+ }
+ return level;
+ }
+
+ /**
+ * If icon type is a pre-defined value, return corresponding image, otherwise
+ * otherwise
+ * @param iconType
+ * @param context
+ * @param component
+ * @return URI of requested image
+ */
+ protected String getIconByType(String iconType, boolean isTopLevel, FacesContext context,
+ UIComponent component){
+
+ String source = "";
+ String color = "";
+ Skin skin = getSkin(context);
+
+ if (isTopLevel){
+ color = (String) skin.getParameter(context,"panelmenu.headerBulletColor");
+ } else {
+ color = (String) skin.getParameter(context,"panelmenu.itemBulletColor");
+ }
+ if(iconType != null && !iconType.equals("none")){
+ if (iconType.equals("custom") || "".equals(iconType)){
+ source = getResource(PanelMenuIconSpacer.class.getName()).getUri(context, color);
+ } else if (iconType.equals("spacer")){
+ source = getResource(PanelMenuIconSpacer.class.getName()).getUri(context, color);
+ } else if (iconType.equals("triangle")) {
+ source = getResource(PanelMenuIconTriangle.class.getName()).getUri(context, color);
+ } else if (iconType.equals("triangleDown")) {
+ source = getResource(PanelMenuIconTriangleDown.class.getName()).getUri(context, color);
+ } else if (iconType.equals("triangleUp")) {
+ source = getResource(PanelMenuIconTriangleUp.class.getName()).getUri(context, color);
+ } else if (iconType.equals("chevron")) {
+ source = getResource(PanelMenuIconChevron.class.getName()).getUri(context, color);
+ } else if (iconType.equals("chevronUp")) {
+ source = getResource(PanelMenuIconChevronUp.class.getName()).getUri(context, color);
+ } else if (iconType.equals("chevronDown")) {
+ source = getResource(PanelMenuIconChevronDown.class.getName()).getUri(context, color);
+// } else if (iconType.equals("square")) {
+// source = getResource(PanelMenuIconSquare.class.getName()).getUri(context, color);
+ } else if (iconType.equals("disc")) {
+ source = getResource(PanelMenuIconDisc.class.getName()).getUri(context, color);
+ } else if (iconType.equals("grid")) {
+ source = getResource(PanelMenuIconGrid.class.getName()).getUri(context, color);
+ } else {
+ //TODO by nick - dima - TemplateContext is deprecated and shouldn't be used
+ source = (String)getUtils().encodeResourceURL(new TemplateContext(this,context,component),iconType);
+ }
+ }
+ return source;
+ }
+
+ protected UIPanelMenu findMenu (UIComponent component){
+ if (component instanceof UIPanelMenu) return (UIPanelMenu)component;
+ UIComponent parent = component;
+ while(parent != null){
+ if(parent instanceof UIPanelMenu){
+ return (UIPanelMenu) parent;
+ }
+ parent = parent.getParent();
+ }
+ return (UIPanelMenu) parent;
+ }
+
+ public String getHideStyle(FacesContext context, UIComponent component) {
+ if (!(component.getParent() instanceof UIPanelMenu)) {
+ CSSFormat format = new CSSFormat();
+ format.add("display", "none");
+ if(component.getParent() instanceof UIPanelMenuGroup) {
+ UIPanelMenuGroup parent = (UIPanelMenuGroup)component.getParent();
+ PanelMenuGroupRenderer renderer = (PanelMenuGroupRenderer) context.getRenderKit().getRenderer(parent.getFamily(), parent.getRendererType());
+ try {
+ if ( renderer.isOpened(context, parent) ){
+ return "";
+ } else
+ return format.toString();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ } else return format.toString();
+ }
+ return "";
+ }
+
+ public void insertLabel(FacesContext context, UIComponent component) throws IOException {
+ Object value = component.getAttributes().get("label");
+ if (value!=null){
+ context.getResponseWriter().write(value.toString());
+ }
+ }
+
+ protected boolean isChildrenExpanded(UIComponent component){
+ if (component.getChildren() != null){
+ Iterator itr = component.getChildren().iterator();
+ while(itr.hasNext()){
+ UIComponent child = (UIComponent)itr.next();
+ if(child instanceof UIPanelMenuGroup){
+ if( ((UIPanelMenuGroup)child).isExpanded() ){
+ return true;
+ } else {
+ return isChildrenExpanded(child);
+ }
+ }
+ }
+ }
+ return false;
+ }
+
+ protected boolean isParentDisabled(UIComponent component){
+ boolean returnValue = false;
+ UIComponent parent = component.getParent();
+ if(parent instanceof UIPanelMenuGroup){
+ UIPanelMenuGroup parentGroup = (UIPanelMenuGroup)parent;
+ if(parentGroup.isDisabled()){
+ returnValue = true;
+ } else {
+ returnValue = isParentDisabled(parentGroup);
+ }
+ }
+ return returnValue;
+ }
+
+ protected boolean isSubmitted(FacesContext context, UIComponent component){
+ boolean submitted = false;
+ String clientId = component.getClientId(context);
+ Map requestParameterMap = context.getExternalContext().getRequestParameterMap();
+
+ Object value = requestParameterMap.get("panelMenuAction"+clientId);
+ if (clientId!=null&&value!=null){
+ if (value.equals(clientId)) {
+ submitted = true;
+ }
+ }
+ return submitted;
+ }
+
+ protected String getItemMode(UIComponent component) {
+ String parentExpandMode = findMenu(component).getExpandMode();
+ String parentMode = findMenu(component).getMode();
+ if (null == parentMode || "".equals(parentMode))
+ parentMode = "server";
+ if (null == parentExpandMode || "".equals(parentExpandMode))
+ parentExpandMode = "none";
+ String mode = "none";
+ if (component instanceof UIPanelMenuGroup) {
+ UIPanelMenuGroup group = (UIPanelMenuGroup) component;
+ if (null != group.getExpandMode() && ! "".equals(group.getExpandMode()))
+ mode = group.getExpandMode();
+ else
+ mode = parentExpandMode;
+ } else if (component instanceof UIPanelMenuItem) {
+ UIPanelMenuItem item = (UIPanelMenuItem) component;
+ if (null != item.getMode() && ! "".equals(item.getMode()))
+ mode = item.getMode();
+ else
+ mode = parentMode;
+ }
+ return mode;
+ }
+
+ /**
+ *
+ * @param component
+ * @return
+ */
+ public boolean isTopLevel(UIComponent component){
+ UIComponent parent = component.getParent();
+ while( !(parent instanceof UIPanelMenu) && !(parent instanceof UIPanelMenuGroup)) {
+ parent = parent.getParent();
+ }
+ if(parent instanceof UIPanelMenu){
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ /**
+ *
+ * @param writer
+ * @param iconType
+ * @param imageSrc
+ * @param component
+ * @throws IOException
+ */
+ public void drawIcon(ResponseWriter writer, String iconType, String imageSrc, UIComponent component, String id) throws IOException{
+ if (iconType != null && !iconType.equals("") && !iconType.equals("none")){
+ int h = 16; //width(context);
+ writer.startElement("img", component);
+ writer.writeAttribute("src", imageSrc, null);
+ writer.writeAttribute("alt", "", null);
+ writer.writeAttribute("vspace", "0", null);
+ writer.writeAttribute("hspace", "0", null);
+ writer.writeAttribute("width", String.valueOf(h), null);
+ writer.writeAttribute("height", String.valueOf(h), null);
+ writer.writeAttribute("id", id, null);
+ writer.endElement("img");
+ }
+
+ }
+
+}
Added: trunk/test-applications/HelloWorld/WebContent/Insert/src/test.lzx
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Insert/src/test.lzx (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Insert/src/test.lzx 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <canvas debug="false" bgcolor='#D4D0C8'>
+
+ <dataset name='dset' request='true' type='http' src='/app/user/list?keyword='/>
+ <grid id="gd" datapath="dset:/rowset" contentdatapath="row" doesenter="true">
+ <gridcolumn width='100'>name<text datapath='@name'></text></gridcolumn>
+ <gridcolumn width='100'>email<text datapath='@email'></text> </gridcolumn>
+ </grid>
+ </canvas>
+
+
Added: trunk/test-applications/HelloWorld/WebContent/Insert/src/test.xml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Insert/src/test.xml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Insert/src/test.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE components PUBLIC "-//EXADEL//Generator config/EN" "http://exadel.com/dtds/component-config.dtd" >
+<components>
+ <component>
+ <name>org.richfaces.PanelBar</name>
+ <family>org.richfaces.PanelBar</family>
+ <classname>org.richfaces.component.html.HtmlPanelBar</classname>
+ <superclass>org.richfaces.component.UIPanelBar</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelBarComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
+ <description>
+ <![CDATA[A component with categories sliding up and down to reveal and hide items under selected
+ categories (as used in Microsoft Outlook).
+ ]]>
+ </description>
+ <renderer generate="true" override="true">
+ <name>org.richfaces.PanelBarRenderer</name>
+ <template>panelBar.jspx</template>
+ </renderer>
+ <tag>
+ <name>panelBar</name>
+ <classname>org.richfaces.taglib.PanelBarTag</classname>
+ <superclass>
+ org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
+ </superclass>
+ </tag>
+ <property>
+ <name>converterMessage</name>
+ <classname>java.lang.String</classname>
+ <description>
+ A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter.
+ </description>
+ </property>
+ <property>
+ <name>requiredMessage</name>
+ <classname>java.lang.String</classname>
+ <description>
+ A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used.
+ </description>
+ </property>
+ <property>
+ <name>validatorMessage</name>
+ <classname>java.lang.String</classname>
+ <description>
+ A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator.
+ </description>
+ </property>
+ <property>
+ <name>width</name>
+ <classname>java.lang.String</classname>
+ <description>The width of the slide panel. Might be defined as pixels or as percentage.
+ The default width is 100%</description>
+ <defaultvalue><![CDATA["100%"]]></defaultvalue>
+ </property>
+
+ <property>
+ <name>height</name>
+ <classname>java.lang.String</classname>
+ <description>The height of the slide panel. Might be defined as pixels or as percentage.
+ The default height is 100%</description>
+ <defaultvalue><![CDATA["100%"]]></defaultvalue>
+ </property>
+ <property>
+ <name>style</name>
+ <classname>java.lang.String</classname>
+ <description>CSS style(s) is/are to be applied when this component is rendered</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>styleClass</name>
+ <classname>java.lang.String</classname>
+ <description>Corresponds to the HTML class attribute.</description>
+ </property>
+ <property>
+ <name>headerStyleActive</name>
+ <classname>java.lang.String</classname>
+ <description>The component header style active</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>headerClassActive</name>
+ <classname>java.lang.String</classname>
+ <description>The component header style class active</description>
+ </property>
+ <property>
+ <name>value</name>
+ <classname>java.lang.String</classname>
+ <description>Id of expanded panelBarItem</description>
+ </property>
+ <property >
+ <name>converter</name>
+ <classname>javax.faces.convert.Converter</classname>
+ <description>
+ Id of Converter to be used or reference to a Converter.
+ </description>
+ </property>
+ <property hidden="true">
+ <name>localValueSet</name>
+ <classname>boolean</classname>
+ </property>
+ <property hidden="true">
+ <name>switchType</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property>
+ <name>onclick</name>
+ <classname>java.lang.String</classname>
+ <description>JavaScript code for call before header onclick</description>
+ </property>
+ <property>
+ <name>selectedPanel</name>
+ <classname>java.lang.Object</classname>
+ <description>Attribure defines name of selected item</description>
+ </property>
+
+ &ui_component_attributes;
+ &header_component_attributes;
+ &content_component_attributes;
+ &ui_input_attributes;
+ <!--
+ <taghandler>
+ <classname>org.ajax4jsf.tag.TestHandler</classname>
+ </taghandler>
+ -->
+
+ <property hidden="true">
+ <name>valid</name>
+ <classname>java.lang.String</classname>
+ </property>
+ </component>
+
+ <component>
+ <name>org.richfaces.PanelBarItem</name>
+ <family>org.richfaces.PanelBarItem</family>
+ <description>Slider Panel Item</description>
+ <classname>org.richfaces.component.html.HtmlPanelBarItem</classname>
+ <superclass>org.richfaces.component.UIPanelBarItem</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelBarItemComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
+ <renderer generate="true" override="true">
+ <name>org.richfaces.PanelBarItemRenderer</name>
+ <template>panelBarItem.jspx</template>
+ </renderer>
+ <tag>
+ <name>panelBarItem</name>
+ <classname>org.richfaces.taglib.PanelBarItemTag</classname>
+ <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
+ <description>A child component of a slide panel component</description>
+ </tag>
+
+ <property>
+ <name>label</name>
+ <classname>java.lang.String</classname>
+ <description>Label text appears on a panel item header</description>
+ <defaultvalue><![CDATA["auto generated label"]]></defaultvalue>
+ </property>
+ <property>
+ <name>headerStyleActive</name>
+ <classname>java.lang.String</classname>
+ <description>The component header style active</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>headerClassActive</name>
+ <classname>java.lang.String</classname>
+ <description>The component header style class active</description>
+ </property>
+ <property>
+ <name>name</name>
+ <classname>java.lang.Object</classname>
+ <description>Attribute defines item name</description>
+ <defaultvalue>getId()</defaultvalue>
+ </property>
+
+ &ui_component_attributes;
+ &header_component_attributes;
+ &content_component_attributes;
+ <property hidden="true">
+ <name>expanded</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Notifies that an element has to be expanded
+ </description>
+ <defaultvalue><![CDATA["false"]]></defaultvalue>
+ </property>
+ </component>
+
+</components>
Added: trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttle.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttle.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttle.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,91 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="listShuttleSubviewID">
+ <rich:listShuttle id="listShuttleID" var="item"
+ sourceValue="#{listShuttle.sourceValue}" targetValue="#{listShuttle.targetValue}"
+ bottomControlLabel="#{listShuttle.bottomControlLabel}" copyAllControlLabel="#{listShuttle.copyAllControlLabel}"
+ copyControlLabel="#{listShuttle.copyControlLabel}" downControlLabel="#{listShuttle.downControlLabel}"
+ fastMoveControlsVisible="#{listShuttle.fastMoveControlsVisible}" converter="listShuttleConverter"
+ fastOrderControlsVisible="#{listShuttle.fastOrderControlsVisible}" first="#{listShuttle.first}"
+ moveControlsVisible="#{listShuttle.moveControlsVisible}" orderControlsVisible="#{listShuttle.orderControlsVisible}"
+ removeAllControlLabel="#{listShuttle.removeAllControlLabel}" removeControlLabel="#{listShuttle.removeControlLabel}"
+ sourceSelection="#{listShuttle.sourceSelection}" targetSelection="#{listShuttle.targetSelection}"
+ showButtonLabels="#{listShuttle.showButtonLabels}" switchByClick="#{listShuttle.switchByClick}"
+ targetListWidth="#{listShuttle.targetListWidth}" sourceListWidth="#{listShuttle.sourceListWidth}"
+ listsHeight="#{listShuttle.listsHeight}" sourceCaptionLabel="#{listShuttle.sourceCaptionLabel}"
+ targetCaptionLabel="#{listShuttle.targetCaptionLabel}"
+ topControlLabel="#{listShuttle.topControlLabel}" upControlLabel="#{listShuttle.upControlLabel}"
+ onmousemove="#{event.onmousemove}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onorderchanged="#{event.onorderchanged}" ontopclick="#{event.ontopclick}"
+ onupclick="#{event.onupclick}" ondownclick="#{event.ondownclick}" onbottomclick="#{event.onbottomclick}" binding="#{listShuttle.htmlListShuttle}">
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Number" />
+ </f:facet>
+ <h:outputText value="#{item.int0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:inputText value="#{item.str0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Button" />
+ </f:facet>
+ <h:commandButton onclick="submit();" action="#{listShuttle.cbAction}" value="#{item.str0} submit();"/>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:inputText value="#{item.str1}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link" />
+ </f:facet>
+ <a4j:commandLink action="#{listShuttle.clAction}" value="#{item.str1} submit()" reRender="listShuttleID"></a4j:commandLink>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="select" />
+ </f:facet>
+ <h:selectOneMenu value="#{item.str2}">
+ <f:selectItem itemLabel="select0" itemValue="select0" />
+ <f:selectItem itemLabel="select1" itemValue="select1" />
+ <f:selectItem itemLabel="select2" itemValue="select2" />
+ <f:selectItem itemLabel="select3" itemValue="select3" />
+ <f:selectItem itemLabel="select4" itemValue="select4" />
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:selectOneMenu>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Text" />
+ </f:facet>
+ <h:outputText value="#{item.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="graphicImage" />
+ </f:facet>
+ <h:graphicImage value="#{item.str3}" />
+ </h:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Link"></h:outputText>
+ </f:facet>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:column>
+ </rich:listShuttle>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttleDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttleProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttleProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttleProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,194 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="listShuttlePropertySubviewID">
+ <h:commandButton action="#{listShuttle.add}" value="add test" />
+
+ <h:panelGrid columns="3">
+ <h:column></h:column>
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.hide()"
+ value="hide"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.show()"
+ value="show"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isShown())"
+ value="isShown"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.enable()"
+ value="enable"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.disable()"
+ value="disable"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isEnabled())"
+ value="isEnabled"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.up()"
+ value="up"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.down()"
+ value="down"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.top()"
+ value="top"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.bottom()"
+ value="bottom"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copy()"
+ value="copy"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.remove()"
+ value="remove"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copyAll()"
+ value="copyAll"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.removeAll()"
+ value="removeAll"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getSelection())"
+ value="targetList.getSelection"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getSelection())"
+ value="sourceList.getSelection"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getItems())"
+ value="targetList.getItems"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getItems())"
+ value="sourceList.getItems"></a4j:commandLink>
+ </h:panelGrid>
+
+ <h:panelGrid columns="2">
+ <h:column></h:column>
+ <h:panelGroup>
+ <a4j:commandButton value="reRender" reRender="listShuttleID"></a4j:commandButton>
+ <a4j:commandButton immediate="true" reRender="listShuttleID"
+ value="immediate submit(); (a4j)"></a4j:commandButton>
+ <h:commandButton value="submit();" />
+ <h:commandButton immediate="true" value="immediate submit();" />
+ </h:panelGroup>
+
+ <h:outputText value="Enter quantity of lines" />
+ <h:panelGroup>
+ <h:inputText value="#{listShuttle.lenght}" />
+ <a4j:commandButton action="#{listShuttle.addNewItem}"
+ reRender="listShuttleID" value="ok" />
+ </h:panelGroup>
+
+ <h:outputText value="first" />
+ <h:inputText value="#{listShuttle.first}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="showButtonLabels" />
+ <h:selectBooleanCheckbox value="#{listShuttle.showButtonLabels}"
+ onchange="submit();" />
+
+ <h:outputText value="orderControlsVisible" />
+ <h:selectBooleanCheckbox value="#{listShuttle.orderControlsVisible}"
+ onchange="submit();" />
+
+ <h:outputText value="moveControlsVisible" />
+ <h:selectBooleanCheckbox value="#{listShuttle.moveControlsVisible}"
+ onchange="submit();" />
+
+ <h:outputText value="fastOrderControlsVisible" />
+ <h:selectBooleanCheckbox
+ value="#{listShuttle.fastOrderControlsVisible}" onchange="submit();" />
+
+ <h:outputText value="fastMoveControlsVisible" />
+ <h:selectBooleanCheckbox
+ value="#{listShuttle.fastMoveControlsVisible}" onchange="submit();" />
+
+ <h:outputText value="switchByClick" />
+ <h:selectBooleanCheckbox value="#{listShuttle.switchByClick}"
+ onchange="submit();" />
+
+ <h:outputText value="sourceCaptionLabel" />
+ <h:inputText value="#{listShuttle.sourceCaptionLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="targetCaptionLabel" />
+ <h:inputText value="#{listShuttle.targetCaptionLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="sourceListWidth" />
+ <h:inputText value="#{listShuttle.sourceListWidth}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="targetListWidth" />
+ <h:inputText value="#{listShuttle.targetListWidth}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="listsHeight" />
+ <h:inputText value="#{listShuttle.listsHeight}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="copyControlLabel" />
+ <h:inputText value="#{listShuttle.copyControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="removeControlLabel" />
+ <h:inputText value="#{listShuttle.removeControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="copyAllControlLabel" />
+ <h:inputText value="#{listShuttle.copyAllControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="removeAllControlLabel" />
+ <h:inputText value="#{listShuttle.removeAllControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="bottomControlLabel" />
+ <h:inputText value="#{listShuttle.bottomControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="downControlLabel" />
+ <h:inputText value="#{listShuttle.downControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="topControlLabel" />
+ <h:inputText value="#{listShuttle.topControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="upControlLabel" />
+ <h:inputText value="#{listShuttle.upControlLabel}">
+ <a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
+ </h:inputText>
+ </h:panelGrid>
+
+ <br />
+ <br />
+ <!-- <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getActiveItem" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('listShuttleID').activeItem}" />
+ </rich:column>
+ </h:panelGrid>-->
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttleStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttleStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ListShuttle/ListShuttleStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,144 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="listShuttleStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <a4j:commandButton value="Show selection (reRender)" reRender="infoLSID"></a4j:commandButton>
+ <h:column>
+ <h:selectBooleanCheckbox value="#{listShuttle.showSelect}" onclick="submit();" />
+ </h:column>
+ <h:column>
+ <h:dataTable id="infoLSID" value="#{listShuttle.info}" var="info" rendered="#{listShuttle.showSelect}" border="1">
+ <h:column>
+ <h:outputText value="#{info}" />
+ </h:column>
+ </h:dataTable>
+ </h:column>
+
+ <a4j:commandButton value="Show all source (reRender)" reRender="allInfoLSSourceID"></a4j:commandButton>
+ <h:column>
+ <h:selectBooleanCheckbox value="#{listShuttle.showAllSourceData}" onclick="submit();" />
+ </h:column>
+ <h:column>
+ <h:dataTable id="allInfoLSSourceID" value="#{listShuttle.sourceValue}" var="allInfo" rendered="#{listShuttle.showAllSourceData}" border="1">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Number" />
+ </f:facet>
+ <h:outputText value="#{allInfo.int0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Button" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0} submit();" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1} submit()" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="select" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str2}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Text" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="graphicImage" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+ </h:dataTable>
+ </h:column>
+
+ <a4j:commandButton value="Show all target (reRender)" reRender="allInfoLSTargetID"></a4j:commandButton>
+ <h:column>
+ <h:selectBooleanCheckbox value="#{listShuttle.showAllTargetData}" onclick="submit();" />
+ </h:column>
+ <h:column>
+ <h:dataTable id="allInfoLSTargetID" value="#{listShuttle.targetValue}" var="allInfo" rendered="#{listShuttle.showAllTargetData}" border="1">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Number" />
+ </f:facet>
+ <h:outputText value="#{allInfo.int0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Button" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0} submit();" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1} submit()" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="select" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str2}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Text" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="graphicImage" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+ </h:dataTable>
+ </h:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/META-INF/MANIFEST.MF 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+
Added: trunk/test-applications/HelloWorld/WebContent/Message/Message.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Message/Message.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Message/Message.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,64 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="messageSubviewID">
+ <rich:panel>
+ <h:outputText value="Rich Message Demo:" />
+
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
+ <rich:message for="#{message.msg}" tooltip="#{message.tooltip}" showDetail="#{message.showDetail}"
+ showSummary="#{message.showSummary}" passedLabel="No Error" errorLabelClass="errorLabel" fatalLabelClass="warnLabel"
+ infoLabelClass="infoLabel" warnLabelClass="fatalLabel" title="#{message.title}" id="messageID" binding="#{message.htmlMessage}">
+
+
+ <f:facet name="errorMarker">
+ <h:graphicImage url="/pics/error.gif" />
+ </f:facet>
+
+ <f:facet name="fatalMarker">
+ <h:graphicImage url="/pics/fatal.gif" />
+ </f:facet>
+
+ <f:facet name="infoMarker">
+ <h:graphicImage url="/pics/info.gif" />
+ </f:facet>
+
+ <f:facet name="warnMarker">
+ <h:graphicImage url="/pics/warn.gif" />
+ </f:facet>
+
+ <f:facet name="passedMarker">
+ <h:graphicImage url="/pics/passed.gif" />
+ </f:facet>
+ </rich:message>
+
+ <rich:separator></rich:separator>
+
+ <h:outputText value="Rich Messages Demo" />
+ <rich:messages layout="#{message.layout}" tooltip="#{message.tooltip}" showDetail="#{message.showDetail}"
+ showSummary="#{message.showSummary}" passedLabel="No Error" errorLabelClass="errorLabel" fatalLabelClass="warnLabel"
+ infoLabelClass="infoLabel" warnLabelClass="fatalLabel" warnMarkerClass="markerWarn" infoMarkerClass="markerInfo"
+ errorMarkerClass="markerError" fatalMarkerClass="markerFatal" errorClass="errorClass" fatalClass="fatalClass"
+ warnClass="warnClass" infoClass="infoClass" labelClass="labelClass" styleClass="class" title="#{message.title}"
+ id="messagesID" binding="#{message.htmlMessages}">
+ <f:facet name="errorMarker">
+ <h:graphicImage url="/pics/error.gif" />
+ </f:facet>
+ <f:facet name="fatalMarker">
+ <h:graphicImage url="/pics/fatal.gif" />
+ </f:facet>
+ <f:facet name="infoMarker">
+ <h:graphicImage url="/pics/info.gif" />
+ </f:facet>
+ <f:facet name="warnMarker">
+ <h:graphicImage url="/pics/warn.gif" />
+ </f:facet>
+ <f:facet name="passedMarker">
+ <h:graphicImage url="/pics/passed.gif" />
+ </f:facet>
+ <h:outputText value="#{messages.summary}">
+ </h:outputText>
+ </rich:messages>
+ </rich:panel>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/Message/MessageProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Message/MessageProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Message/MessageProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,110 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="MessagePropertySubviewID">
+ <h:commandButton action="#{message.add1}" value="add Message test" />
+ <br/>
+ <h:commandButton action="#{message.add2}" value="add Messages test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="1." />
+ <h:selectOneMenu id="select1" value="#{message.select1}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="2." />
+ <h:selectOneMenu id="select2" value="#{message.select2}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="3." />
+ <h:selectOneMenu id="select3" value="#{message.select3}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="4." />
+ <h:selectOneMenu id="select4" value="#{message.select4}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="5." />
+ <h:selectOneMenu id="select5" value="#{message.select5}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="Rich Message Demo:" />
+ <h:selectOneMenu value="#{message.msg}">
+ <f:selectItem itemValue="no" itemLabel="no" />
+ <f:selectItem itemValue="select1" itemLabel="1" />
+ <f:selectItem itemValue="select2" itemLabel="2" />
+ <f:selectItem itemValue="select3" itemLabel="3" />
+ <f:selectItem itemValue="select4" itemLabel="4" />
+ <f:selectItem itemValue="select5" itemLabel="5" />
+ </h:selectOneMenu>
+
+ <h:outputText value="Title:" />
+ <h:inputText value="#{message.title}" />
+
+ <h:outputText value="Show Detail:" />
+ <h:selectBooleanCheckbox value="#{message.showDetail}" />
+
+ <h:outputText value="ShowSummary" />
+ <h:selectBooleanCheckbox value="#{message.showSummary}" />
+
+ <h:outputText value="Tooltip" />
+ <h:selectBooleanCheckbox value="#{message.tooltip}" />
+
+ <h:outputText value="Layout:" />
+ <h:selectOneMenu value="#{message.layout}">
+ <f:selectItem itemValue="table" itemLabel="table" />
+ <f:selectItem itemValue="list" itemLabel="list" />
+ </h:selectOneMenu>
+
+ <h:commandButton value="submit" />
+ <a4j:commandButton value="submit ajax" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getFor(message)" reRender="findID1"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID1">
+ <h:outputText value="#{rich:findComponent('messageID').for}" />
+ </rich:column>
+ <rich:column>
+ <a4j:commandLink value="getRendererType(messages)" reRender="findID2"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID2">
+ <h:outputText
+ value="#{rich:findComponent('messagesID').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Message/MessageStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Message/MessageStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Message/MessageStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,26 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="MessageStraightforwardSubviewID">
+ <rich:simpleTogglePanel switchType="client" opened="true" label="modalPanel straightforward">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{message.bTest1}" value="run" onclick="submit()"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Message}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{message.bTest2}" value="run" onclick="submit()"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Message}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{message.bTest3}" value="run" onclick="submit()"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Message}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{message.bTest4}" value="run" onclick="submit()"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Message}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{message.bTest5}" value="run" onclick="submit()"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Message}"/>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanel.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanel.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanel.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,101 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="modalPanelSubviewID">
+
+ <rich:modalPanel id="modalPanelID"
+ binding="#{modalPanel.htmlModalPanel}"
+ visualOptions="#{modalPanel.visualOptions}" left="#{modalPanel.left}"
+ top="#{modalPanel.top}" minHeight="#{modalPanel.minHeight}"
+ minWidth="#{modalPanel.minWidth}" height="#{modalPanel.height}"
+ width="#{modalPanel.width}" moveable="#{modalPanel.moveable}"
+ resizeable="#{modalPanel.resizeable}"
+ keepVisualState="#{modalPanel.keepVisualState}"
+ rendered="#{modalPanel.rendered}" zindex="#{modalPanel.zindex}"
+ autosized="#{modalPanel.autosized}"
+ shadowDepth="#{modalPanel.shadowDepth}"
+ shadowOpacity="#{modalPanel.shadowOpacity}"
+ showWhenRendered="#{modalPanel.showWhenRendered}"
+ controlsClass="#{style.controlsClass}"
+ headerClass="#{style.headerClass}" styleClass="#{style.styleClass}"
+ onhide="#{event.onhide}" onmaskclick="#{event.onmaskclick}"
+ onmaskcontextmenu="#{event.onmaskcontextmenu}"
+ onmaskdblclick="#{event.onmaskdblclick}"
+ onmaskmousedown="#{event.onmaskmousedown}"
+ onmaskmousemove="#{event.onmaskmousemove}"
+ onmaskmouseout="#{event.onmaskmouseout}"
+ onmaskmouseover="#{event.onmaskmouseover}"
+ onmaskmouseup="#{event.onmaskmouseup}"
+ onmove="#{event.onmove}"
+ onresize="#{event.onresize}" onshow="#{event.onshow}"
+ onbeforehide="#{event.onbeforehide}"
+ onbeforeshow="#{event.onbeforeshow}" >
+ <f:facet name="header">
+ <h:outputText value="Heder goes here..." />
+ </f:facet>
+ <f:facet name="controls">
+ <h:graphicImage value="/pics/error.gif" onclick="Richfaces.hideModalPanel('modalPanelID'); return false;" />
+ </f:facet>
+
+ <h:outputText value="This is Modal Panel example" />
+ <h:selectOneMenu value="#{richBean.srcContainer}" >
+ <f:selectItems value="#{richBean.listContainer}" />
+ </h:selectOneMenu>
+
+ <h:inputText value="#{modalPanel.inputTextTest}" />
+ <h:selectOneListbox value="#{modalPanel.selectOneListboxTest}">
+ <f:selectItem itemLabel="item 1" itemValue="item 1" />
+ <f:selectItem itemLabel="item 2" itemValue="item 2" />
+ <f:selectItem itemLabel="item 3" itemValue="item 3" />
+ </h:selectOneListbox>
+
+ <f:verbatim><br /><br /></f:verbatim>
+ <rich:spacer width="20" height="20"></rich:spacer>
+
+ <h:outputLink value="http://localhost:8080/facelets"><f:verbatim>http://localhost:8080/facelets/</f:verbatim></h:outputLink>
+ <f:verbatim><br /><br /></f:verbatim>
+ <a4j:commandLink onclick="Richfaces.showModalPanel('modalPanel2ID');return false;" value="show ModalPanel 2"></a4j:commandLink>
+ <f:verbatim><br /><br /></f:verbatim>
+ <h:outputLink onclick="Richfaces.hideModalPanel('modalPanelID');return false;" ><f:verbatim>Close</f:verbatim></h:outputLink>
+ </rich:modalPanel>
+
+ <rich:modalPanel id="modalPanel2ID" autosized="true" resizeable="false">
+ <br />
+ <h:inputText value="input"></h:inputText>
+ <br />
+ <h:outputLink onclick="Richfaces.hideModalPanel('modalPanel2ID');return false;" ><f:verbatim>Close</f:verbatim></h:outputLink>
+
+
+ </rich:modalPanel>
+
+ <rich:modalPanel id="modalPanel3ID"
+ minHeight="100"
+ minWidth="200"
+ moveable="true"
+ resizeable="true"
+ keepVisualState="true">
+ <f:facet name="header">
+ <h:outputText value="Events..." />
+ </f:facet>
+ <f:facet name="controls">
+ <h:commandLink value="Close" onclick="Richfaces.hideModalPanel('modalPanel3ID');" />
+ </f:facet>
+
+ <h:outputText value="Eventsaaaaaaaaaaaaaaaa ..." />
+ <rich:calendar popup="true" />
+ </rich:modalPanel>
+ <a onclick="Richfaces.showModalPanel('modalPanelID');" href="#">show ModalPanel 1</a>
+ <br />
+ <a4j:commandLink onclick="Richfaces.showModalPanel('modalPanel2ID');return false;" value="show ModalPanel 2"></a4j:commandLink>
+ <f:verbatim><br /></f:verbatim>
+ <h:outputText value="click on image for open Modal Panel 3" />
+ <h:graphicImage value="/pics/info.gif">
+ <rich:componentControl event="onclick" for="modalPanel3ID" operation="show"></rich:componentControl>
+ </h:graphicImage>
+ <f:verbatim>
+ <br /><br />
+ <div id="idDiv1" align="center" style="position: relative; font-size: 50px; z-index: 2; color: navy" >z-index1</div>
+ <div id="idDiv2" align="center" style="position: relative; font-size: 50px; z-index: 2; color: navy">z-index2</div>
+ </f:verbatim>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanelDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanelProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanelProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanelProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,86 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="ModalPanelPropertySubviewID">
+<h:commandButton value="add test" action="#{modalPanel.addHtmlModalPanel}"></h:commandButton>
+ <h:panelGrid columns="2">
+ <h:outputText value="visualOptions"></h:outputText>
+ <h:inputText value="#{modalPanel.visualOptions}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="shadowDepth" />
+ <h:inputText value="#{modalPanel.shadowDepth}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="shadowOpacity" />
+ <h:inputText value="#{modalPanel.shadowOpacity}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="keepVisualState" />
+ <h:selectBooleanCheckbox value="#{modalPanel.keepVisualState}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="left" />
+ <h:inputText value="#{modalPanel.left}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="top" />
+ <h:inputText value="#{modalPanel.top}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{modalPanel.rendered}"
+ onchange="submit();">
+
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="showWhenRendered" />
+ <h:selectBooleanCheckbox value="#{modalPanel.showWhenRendered}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="zindex" />
+ <h:selectOneRadio value="#{modalPanel.zindex}">
+ <f:selectItem itemLabel="1" itemValue="1" />
+ <f:selectItem itemLabel="3" itemValue="3" />
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Width:" />
+ <h:inputText value="#{modalPanel.width}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height:" />
+ <h:inputText value="#{modalPanel.height}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="minWidth:" />
+ <h:inputText value="#{modalPanel.minWidth}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="minHeight:" />
+ <h:inputText value="#{modalPanel.minHeight}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="autosized:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.autosized}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="resizeable:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.resizeable}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Moveable:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.moveable}">
+ <a4j:support event="onclick" reRender="modalPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanelStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanelStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ModalPanel/ModalPanelStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="ModalPanelStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{modalPanel.bTest1}" value="run" reRender="modalPanelID,mpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1ModalPanel}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{modalPanel.bTest2}" value="run" reRender="modalPanelID,mpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2ModalPanel}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{modalPanel.bTest3}" value="run" reRender="modalPanelID,mpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3ModalPanel}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{modalPanel.bTest4}" value="run" reRender="modalPanelID,mpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4ModalPanel}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{modalPanel.bTest5}" value="run" reRender="modalPanelID,mpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5ModalPanel}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingList.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingList.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingList.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,113 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="orderingListSubviewID">
+
+ <a4j:outputPanel ajaxRendered="true">
+ <h:messages />
+ </a4j:outputPanel>
+
+ <rich:orderingList id="orderingListID" value="#{orderingList.list}" var="item" listHeight="#{orderingList.listHeight}"
+ listWidth="#{orderingList.listWidth}" controlsType="#{orderingList.controlsType}" converter="orderingListConverter"
+ bottomControlLabel="#{orderingList.bottomControlLabel}" captionLabel="#{orderingList.captionLabel}"
+ topControlLabel="#{orderingList.topControlLabel}" upControlLabel="#{orderingList.upControlLabel}"
+ controlsHorizontalAlign="#{orderingList.controlsHorizontalAlign}" controlsVerticalAlign="#{orderingList.controlsVerticalAlign}"
+ downControlLabel="#{orderingList.downControlLabel}"
+ orderControlsVisible="#{orderingList.orderControlsVisible}" fastOrderControlsVisible="#{orderingList.fastOrderControlsVisible}"
+ rendered="#{orderingList.rendered}" showButtonLabels="#{orderingList.showButtonLabels}" selection="#{orderingList.selection}"
+ onmousemove="#{event.onmousemove}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onorderchanged="#{event.onorderchanged}" ontopclick="#{event.ontopclick}" onupclick="#{event.onupclick}"
+ ondownclick="#{event.ondownclick}" onbottomclick="#{event.onbottomclick}" onheaderclick="#{event.onheaderclick}" binding="#{orderingList.htmlOL}">
+ <f:facet name="header">
+ <h:outputText value="header" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="footer" />
+ </f:facet>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Number" />
+ </f:facet>
+ <h:outputText value="#{item.int0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:inputText value="#{item.str0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Button" />
+ </f:facet>
+ <h:commandButton onclick="submit();" action="#{orderingList.cbAction}" value="#{item.str0} submit();" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:inputText value="#{item.str1}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link" />
+ </f:facet>
+ <a4j:commandLink action="#{orderingList.clAction}" value="#{item.str1} submit()" reRender="orderingListID"></a4j:commandLink>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="select" />
+ </f:facet>
+ <h:selectOneMenu value="#{item.str2}" >
+ <f:selectItem itemLabel="select0" itemValue="select0" />
+ <f:selectItem itemLabel="select1" itemValue="select1" />
+ <f:selectItem itemLabel="select2" itemValue="select2" />
+ <f:selectItem itemLabel="select3" itemValue="select3" />
+ <f:selectItem itemLabel="select4" itemValue="select4" />
+ <a4j:support event="onclick" reRender="orderingListID"></a4j:support>
+ </h:selectOneMenu>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Text" />
+ </f:facet>
+ <h:outputText value="#{item.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="graphicImage" />
+ </f:facet>
+ <h:graphicImage value="#{item.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link"></h:outputText>
+ </f:facet>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </h:column>
+ </rich:orderingList>
+ <h:panelGrid columns="3">
+ <h:column></h:column>
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.doHide()" value="Hide"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.doShow()" value="Show"></a4j:commandLink>
+ <a4j:commandLink onclick="alert($('formID:orderingListSubviewID:orderingListID').component.isShown)" value="isShown"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.Enable()" value="Enable"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.Disable()" value="Disable"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.isEnabled()" value="isEnabled"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.moveUp" value="moveUp"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.moveDown" value="moveDown"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.moveTop" value="moveTop"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.moveBottom" value="moveBottom"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.getSelection" value="getSelection"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:orderingListSubviewID:orderingListID').component.getItems" value="getItems"></a4j:commandLink>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingListDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingListProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingListProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingListProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,107 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="orderingListPropertySubviewID">
+ <h:commandButton action="#{orderingList.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Enter quantity of lines" />
+ <h:panelGroup>
+ <h:inputText value="#{orderingList.lenght}" />
+ <a4j:commandButton action="#{orderingList.addNewItem}"
+ reRender="orderingListID" value="ok" />
+ </h:panelGroup>
+
+ <h:outputText value="controlsType" />
+ <h:selectOneRadio value="#{orderingList.controlsType}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="button" itemValue="button" />
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="captionLabel" />
+ <h:inputText value="#{orderingList.captionLabel}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="listHeight:" />
+ <h:inputText value="#{orderingList.listHeight}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="listWidth" />
+ <h:inputText value="#{orderingList.listWidth}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="controlsVerticalAlign" />
+ <h:selectOneRadio value="#{orderingList.controlsVerticalAlign}">
+ <f:selectItem itemLabel="top" itemValue="top" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="bottom" itemValue="bottom" />
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="controlsHorizontalAlign" />
+ <h:selectOneRadio value="#{orderingList.controlsHorizontalAlign}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="upControlLabel" />
+ <h:inputText value="#{orderingList.upControlLabel}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="bottomControlLabel" />
+ <h:inputText value="#{orderingList.bottomControlLabel}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="topControlLabel" />
+ <h:inputText value="#{orderingList.topControlLabel}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="downControlLabel" />
+ <h:inputText value="#{orderingList.downControlLabel}">
+ <a4j:support event="onchange" reRender="orderingListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="showButtonLabels" />
+ <h:selectBooleanCheckbox value="#{orderingList.showButtonLabels}">
+ <a4j:support event="onclick" reRender="orderingListID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="fastOrderControlsVisible" />
+ <h:selectBooleanCheckbox
+ value="#{orderingList.fastOrderControlsVisible}">
+ <a4j:support event="onclick" reRender="orderingListID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="orderControlsVisible" />
+ <h:selectBooleanCheckbox value="#{orderingList.orderControlsVisible}">
+ <a4j:support event="onclick" reRender="orderingListID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{orderingList.rendered}"
+ onclick="submit();">
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getActiveItem" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('orderingListID').activeItem}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingListStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingListStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/OrderingList/OrderingListStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,109 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="orderingListStraightforwardSubviewID">
+
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{orderingList.bTest1}" value="run" reRender="richGridID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1OrderingList}" />
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{orderingList.bTest2}" value="run" reRender="richGridID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2OrderingList}" />
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{orderingList.bTest3}" value="run" reRender="richGridID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3OrderingList}" />
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{orderingList.bTest4}" value="run" reRender="richGridID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4OrderingList}" />
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{orderingList.bTest5}" value="run" reRender="richGridID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5OrderingList}" />
+
+ <a4j:commandButton value="Show selection (reRender)" reRender="infoPanelID"></a4j:commandButton>
+ <h:column>
+ <h:selectBooleanCheckbox value="#{orderingList.showSelect}" onclick="submit();" />
+ </h:column>
+ <h:column>
+ <h:dataTable id="infoPanelID" value="#{orderingList.info}" var="info" rendered="#{orderingList.showSelect}" border="1">
+ <h:column>
+ <h:outputText value="#{info}" />
+ </h:column>
+ </h:dataTable>
+ </h:column>
+
+ <a4j:commandButton value="Show all data (reRender)" reRender="allInfoPanelID"></a4j:commandButton>
+ <h:column>
+ <h:selectBooleanCheckbox value="#{orderingList.showAllData}" onclick="submit();" />
+ </h:column>
+ <h:column>
+ <h:dataTable id="allInfoPanelID" value="#{orderingList.list}" var="allInfo" rendered="#{orderingList.showAllData}" border="1">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Number" />
+ </f:facet>
+ <h:outputText value="#{allInfo.int0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Button" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str0} submit();" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Link" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str1} submit()" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="select" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str2}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Text" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="graphicImage" />
+ </f:facet>
+ <h:outputText value="#{allInfo.str3}" />
+ </h:column>
+ </h:dataTable>
+ </h:column>
+
+ <h:panelGroup>
+ <a4j:commandButton value="reRender" reRender="orderingListID"></a4j:commandButton>
+ <a4j:commandButton immediate="true" reRender="orderingListID" value="immediate submit(); (a4j)"></a4j:commandButton>
+ <h:commandButton value="submit();" />
+ <h:commandButton immediate="true" value="immediate submit();" />
+ </h:panelGroup>
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2D.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2D.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2D.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,7 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="paint2DSubviewID">
+ <rich:paint2D id="paint2dID" cacheable="#{paint2D.cacheable}" paint="#{paint2D.paint}" data="#{paintData}" width="#{paint2D.width}" height="#{paint2D.height}"
+ align="#{paint2D.align}" hspace="#{paint2D.hspace}" vspace="#{paint2D.vspace}" bgcolor="#{paint2D.bgcolor}"
+ format="#{paint2D.format}" title="#{paint2D.title}" styleClass="#{paint2D.styleString}" border="#{paint2D.border}"
+ rendered="#{paint2D.rendered}" binding="#{paint2D.htmlPaint2D}"/>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1 @@
+<rich:paint2D paint="#{paint2D.paint}" data="#{paintData}" width="200" height="200" />
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,94 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="Paint2DPropertySubviewID">
+<h:commandButton action="#{paint2D.add}" value="add test" />
+ <h:panelGrid columns="2" cellpadding="5px" border="2">
+ <h:outputText value="Text"></h:outputText>
+ <h:inputText value="#{paintData.text}">
+ <a4j:support event="onchange" reRender="paint2dID" />
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{paint2D.width}">
+ <a4j:support event="onchange" reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height: "></h:outputText>
+ <h:inputText value="#{paint2D.height}">
+ <a4j:support event="onchange" reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Vertical space: "></h:outputText>
+ <h:inputText value="#{paint2D.vspace}">
+ <a4j:support event="onchange" reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Horizontal space: "></h:outputText>
+ <h:inputText value="#{paint2D.hspace}">
+ <a4j:support event="onchange" reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="cacheable:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{paint2D.cacheable}" onchange="submit();"/>
+
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneMenu value="#{paint2D.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="middle" itemValue="middle" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="bottom" itemValue="bottom" />
+ <f:selectItem itemLabel="top" itemValue="top" />
+ <a4j:support event="onclick" reRender="paint2dID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Format:"></h:outputText>
+ <h:selectOneMenu value="#{paint2D.format}">
+ <f:selectItem itemLabel="jpeg" itemValue="jpeg" />
+ <f:selectItem itemLabel="gif" itemValue="gif" />
+ <f:selectItem itemLabel="png" itemValue="png" />
+ <a4j:support event="onclick" reRender="paint2dID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Background Colour"></h:outputText>
+ <h:selectOneMenu value="#{paint2D.bgcolor}">
+ <f:selectItem itemLabel="aqua" itemValue="aqua" />
+ <f:selectItem itemLabel="blue" itemValue="blue" />
+ <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
+ <f:selectItem itemLabel="gray" itemValue="gray" />
+ <f:selectItem itemLabel="lime" itemValue="lime" />
+ <f:selectItem itemLabel="maroon" itemValue="maroon" />
+ <f:selectItem itemLabel="purple" itemValue="purple" />
+ <f:selectItem itemLabel="red" itemValue="red" />
+ <f:selectItem itemLabel="silver" itemValue="silver" />
+ <f:selectItem itemLabel="teal" itemValue="teal" />
+ <f:selectItem itemLabel="yellow" itemValue="yellow" />
+ <f:selectItem itemLabel="white" itemValue="white" />
+ <a4j:support event="onclick" reRender="paint2dID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Style" />
+ <h:selectBooleanCheckbox value="#{paint2D.style}">
+ <a4j:support event="onclick" reRender="paint2dID,borderID" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Border: "></h:outputText>
+ <h:inputText id="borderID" disabled="#{paint2D.style}" value="#{paint2D.border}">
+ <a4j:support event="onchange" reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{paint2D.rendered}">
+ <a4j:support event="onclick" reRender="paint2dID"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getData" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('paint2dID').data.text}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Paint2D/Paint2DStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,26 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="Paint2DStraightforwardSubviewID">
+ <rich:simpleTogglePanel switchType="client" opened="true" label="paint2D straightforward">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{paint2D.bTest1}" value="run" reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Paint2D}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{paint2D.bTest2}" value="run" reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Paint2D}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{paint2D.bTest3}" value="run" reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Paint2D}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{paint2D.bTest4}" value="run" reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Paint2D}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{paint2D.bTest5}" value="run" reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Paint2D}"/>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Panel/Panel.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Panel/Panel.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Panel/Panel.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,112 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelSubviewID">
+<h:panelGrid columnClasses="panel" border="0" columns="3">
+ <rich:panel styleClass="top" headerClass="hea" bodyClass="bo">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim>This panel contains custom headerClass and bodyClass</f:verbatim>
+ </rich:panel>
+ <rich:panel styleClass="top2" headerClass="hea2" bodyClass="bo2">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim> This panel also contains custom headerClass and bodyClass. The background is not a 3D anymore.</f:verbatim>
+ </rich:panel>
+
+ <h:panelGroup>
+ <h:form>
+ <rich:panel onmouseover="document.getElementById(this.id+'_header').style.background='#60BA01';document.getElementById(this.id+'_body').style.background='#F4FFF8'"
+ onmouseout="document.getElementById(this.id+'_header').style.background='#4C9600';document.getElementById(this.id+'_body').style.background='#E4FFC8'"
+ style="width:200px;" headerClass="hea2" bodyClass="bo3" binding="#{panel.htmlPanel}">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim>Base on the previous layout, but form element and javascript behaviour are added</f:verbatim>
+ <br/>
+ <h:inputText/>
+ </rich:panel>
+ </h:form>
+ </h:panelGroup>
+
+ <rich:panel style="width:200px;" headerClass="hea" bodyClass="bo3">
+ <f:facet name="header">
+ <h:outputText value="Scrolling Text Panel"/>
+ </f:facet>
+ <f:verbatim>
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ </f:verbatim>
+ </rich:panel>
+
+ <rich:panel styleClass="top">
+ <f:verbatim>This is a panel without the header</f:verbatim>
+ </rich:panel>
+</h:panelGrid>
+<rich:panel style="position: absolute; top: 116px; right: 100px; "
+ styleClass="top">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim>
+ This is a panel with absolute position on the screen.<br />
+ Resize the browser's window for fun.
+ </f:verbatim>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+</rich:panel>
+<h:outputText value="Panel 1, rendered: #{!panel.rendered}; Panel 2, rendered #{panel.rendered};"></h:outputText>
+
+<rich:panel rendered="#{!panel.rendered}" id="p1" style="width:#{panel.width};height:#{panel.height};overflow:auto;"
+ ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onclick="showEvent('onclickInputID', 'onclick work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')"
+ onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
+ onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
+ <f:facet name="header">
+ <h:outputText id="t1" value="#{panel.title[0]} (Panel 1)"/>
+ </f:facet>
+
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText id="t2" value="#{panel.title[1]}"/>
+ </f:facet>
+ <h:panelGrid columns="2">
+ <h:outputText id="o1" value="width #{panel.title[2]}, eg. 250px"></h:outputText>
+ <h:inputText value="#{w}">
+ <a4j:support event="onchange" reRender="p3"></a4j:support>
+ </h:inputText>
+
+ <h:outputText id="o2" value="height #{panel.title[2]}, eg. 200px"></h:outputText>
+ <h:inputText value="#{h}">
+ <a4j:support event="onchange" reRender="p3"></a4j:support>
+ </h:inputText>
+ </h:panelGrid>
+
+ <rich:panel id="p3" style="width:#{w};height:#{h};overflow:auto;">
+ <f:facet name="header">
+ <h:outputText id="t3" value="#{panel.title[2]}"/>
+ </f:facet>
+ <h:graphicImage value="/pics/asus.jpg" width="150" height="100"></h:graphicImage>
+
+ </rich:panel>
+ </rich:panel>
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}"/>
+ </h:selectOneMenu>
+</rich:panel>
+
+<rich:panel id="panelId" rendered="#{panel.rendered}"
+ style="width:#{panel.width};height:#{panel.height}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
+ <f:verbatim>This is panel 2 example...(Test events)</f:verbatim>
+</rich:panel>
+</f:subview>
+
Added: trunk/test-applications/HelloWorld/WebContent/Panel/PanelDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Panel/PanelDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Panel/PanelDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,7 @@
+<rich:panel styleClass="top">
+ <f:facet name="header">
+ <h:outputText value="default panel" />
+ </f:facet>
+
+ <h:outputText value="This is default panel. content here" />
+</rich:panel>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Panel/PanelProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Panel/PanelProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Panel/PanelProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,38 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="PanelPropertySubviewID">
+ <h:commandButton action="#{panel.add}" value="add test" />
+ <h:panelGrid columns="2" cellpadding="10px">
+ <h:outputText value="Title"></h:outputText>
+ <h:inputText valueChangeListener="#{panel.makeTitle}">
+ <a4j:support event="onchange" reRender="t1,t2,t3,o1,o2"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{panel.width}">
+ <a4j:support event="onchange" reRender="panelId,p1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height: "></h:outputText>
+ <h:inputText value="#{panel.height}">
+ <a4j:support event="onchange" reRender="panelId,p1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panel.rendered}" onclick="submit()"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('panelId').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Panel/PanelStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Panel/PanelStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Panel/PanelStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="PanelStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{panel.bTest1}" value="run" reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Panel}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{panel.bTest2}" value="run" reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Panel}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{panel.bTest3}" value="run" reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Panel}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{panel.bTest4}" value="run" reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Panel}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{panel.bTest5}" value="run" reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Panel}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBar.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBar.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBar.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,32 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelBarSubviewID">
+ <rich:panelBar id="pBId" height="#{panelBar.height}" width="#{panelBar.width}" contentClass="#{panelBar.contentStyle}"
+ styleClass="#{panelBar.style}" selectedPanel="pBiId4" onclick="#{event.onclick}" onitemchange="#{event.onitemchange}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" binding="#{panelBar.htmlPanelBar}">
+ <rich:panelBarItem rendered="#{panelBar.rendered}" id="pBiId1" label="#{panelBar.label[0]}"
+ headerClass="#{panelBar.headerStyle}">
+ <h:outputText value="Some text..."></h:outputText>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:panelBarItem>
+
+ <rich:panelBarItem id="pBiId2" label="#{panelBar.label[1]}" headerClass="#{panelBar.headerStyle}">
+ <h:graphicImage value="/pics/masshtaby_01.jpg" width="300" height="200"></h:graphicImage>
+ </rich:panelBarItem>
+
+ <rich:panelBarItem id="pBiId3" label="#{panelBar.label[2]}" headerClass="#{panelBar.headerStyle}">
+ <f:facet name="openMarker">
+ <h:graphicImage value="/pics/ajax_process.gif"></h:graphicImage>
+ </f:facet>
+ <f:facet name="closeMarker">
+ <h:graphicImage value="/pics/ajax_stoped.gif"></h:graphicImage>
+ </f:facet>
+ <h:graphicImage value="/pics/podb109_61.jpg" width="300" height="200"></h:graphicImage>
+ </rich:panelBarItem>
+
+ <rich:panelBarItem id="pBiId4" label="#{panelBar.label[3]}" headerClass="#{panelBar.headerStyle}">
+ <h:outputText value="Select Panel"></h:outputText>
+ </rich:panelBarItem>
+ </rich:panelBar>
+
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,8 @@
+<rich:panelBar>
+ <rich:panelBarItem>
+ <h:outputText value="bar item 1" />
+ </rich:panelBarItem>
+ <rich:panelBarItem>
+ <h:outputText value="bar item 2" />
+ </rich:panelBarItem>
+</rich:panelBar>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,44 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="panelBarPropertySubviewID">
+ <h:commandButton action="#{panelBar.add}" value="add test" />
+ <h:panelGrid columns="2" cellspacing="10px">
+ <h:outputText value="Label: "></h:outputText>
+ <h:inputText valueChangeListener="#{panelBar.makeLabels}">
+ <a4j:support event="onchange" reRender="pBId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{panelBar.width}">
+ <a4j:support event="onchange" reRender="pBId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height: "></h:outputText>
+ <h:inputText value="#{panelBar.height}">
+ <a4j:support event="onchange" reRender="pBId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelBar.rendered}">
+ <a4j:support event="onchange" reRender="pBId" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{panelBar.doStyles}"
+ value="#{panelBar.btnLabel}" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSelectedPanel" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('pBId').selectedPanel}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/PanelBar/PanelBarStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelBarStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{panelBar.bTest1}" value="run" reRender="pbPropertyID,pBId"></a4j:commandButton>
+ <h:outputText value="#{msg.t1PanelBar}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{panelBar.bTest2}" value="run" reRender="pbPropertyID,pBId"></a4j:commandButton>
+ <h:outputText value="#{msg.t2PanelBar}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{panelBar.bTest3}" value="run" reRender="pbPropertyID,pBId"></a4j:commandButton>
+ <h:outputText value="#{msg.t3PanelBar}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{panelBar.bTest4}" value="run" reRender="pbPropertyID,pBId"></a4j:commandButton>
+ <h:outputText value="#{msg.t4PanelBar}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{panelBar.bTest5}" value="run" reRender="pbPropertyID,pBId"></a4j:commandButton>
+ <h:outputText value="#{msg.t5PanelBar}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenu.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenu.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenu.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,183 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelMenuSubviewID">
+ <rich:panelMenu id="panelMenuID" disabled="#{panelMenu.disabled}" width="#{panelMenu.width}" selectedChild="thisChild"
+ expandSingle="#{panelMenu.expandSingle}" mode="#{panelMenu.mode}" value="PanelMenu" rendered="#{panelMenu.rendered}"
+ iconCollapsedGroup="#{panelMenu.icon.collapsedGroup}" iconCollapsedTopGroup="#{panelMenu.icon.collapsedTopGroup}"
+ iconDisabledGroup="#{panelMenu.icon.disabledGroup}" iconDisabledItem="#{panelMenu.icon.disabledItem}"
+ iconExpandedGroup="#{panelMenu.icon.expandedGroup}" iconExpandedTopGroup="#{panelMenu.icon.expandedTopGroup}"
+ iconItem="#{panelMenu.icon.item}" iconTopDisabledItem="#{panelMenu.icon.disabledItem}"
+ iconTopDisableGroup="#{panelMenu.icon.disabledGroup}" iconTopItem="#{panelMenu.icon.topItem}"
+ iconGroupPosition="#{panelMenu.iconGroupPosition}" iconGroupTopPosition="#{panelMenu.iconGroupTopPosition}"
+ iconItemPosition="#{panelMenu.iconItemPosition}" iconItemTopPosition="#{panelMenu.iconItemTopPosition}" styleClass="sPanel"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" ongroupcollapse="#{event.ongroupcollapse}"
+ ongroupexpand="#{event.ongroupexpand}" onitemhover="#{event.onitemhover}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" binding="#{panelMenu.htmlPanelMenu}">
+
+ <rich:panelMenuItem label="Item 1(Test event)" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onbeforedomupdate="#{event.onbeforedomupdate}" oncomplete="#{event.oncomplete}" onmouseup="#{event.onmouseup}"></rich:panelMenuItem>
+
+ <rich:panelMenuItem>
+ <h:outputText value="select "></h:outputText>
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}" />
+ </h:selectOneMenu>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem>
+ <ui:include src="${richBean.pathComponentContainer}" />
+ </rich:panelMenuItem>
+ <rich:panelMenuItem disabled="true" iconDisabled="/pics/ajax_stoped.gif">
+ <h:outputText value="Disabled Item" />
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item Image">
+ <h:graphicImage value="/pics/item.png"></h:graphicImage>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem>
+ <h:outputText value="Item4" />
+ </rich:panelMenuItem>
+ <rich:panelMenuItem>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="CheckBox">
+ <h:selectBooleanCheckbox value="false"></h:selectBooleanCheckbox>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem>
+ <h:outputText value="CheckBox 2"></h:outputText>
+ <h:selectBooleanCheckbox value="false"></h:selectBooleanCheckbox>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Action" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
+
+ <rich:panelMenuGroup label="Group 1(expanded=true)" expanded="true">
+ <rich:panelMenuItem label="Item 1" disabled="true"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 1 (action)" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+
+ <rich:panelMenuGroup label="Group 1_1 (align)" align="#{panelMenu.align}">
+ <rich:panelMenuItem label="Imem 1_1">
+ <h:inputText value="#{panelMenu.inputText}"></h:inputText>
+ </rich:panelMenuItem>
+
+ <rich:panelMenuItem label="Item 1_2"></rich:panelMenuItem>
+
+ <rich:panelMenuGroup label="Group 1_1_1">
+ <rich:panelMenuItem label="Item 1 (action)" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_1_2">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 4"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_2 (disabled, action)" disabled="true" onmousedown="alert('Disabled');">
+ <rich:panelMenuItem label="Item 1_2_1"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_3">
+ <rich:panelMenuItem label="Item 1_3_1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 1_3_1"></rich:panelMenuItem>
+
+ <rich:panelMenuGroup label="Group disabled" disabled="true">
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
+
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 2 ">
+ <rich:panelMenuItem label="Item 2_1"></rich:panelMenuItem>
+
+ <rich:panelMenuGroup label="Group 2_2">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 3">
+ <rich:panelMenuItem label="Item 3_1">
+ <f:verbatim>
+ <br />
+ text <br />
+ text <br />
+ text
+ </f:verbatim>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3_2">
+ <h:graphicImage value="/pics/benq.jpg" width="150px" height="100px"></h:graphicImage>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3_3"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ </rich:panelMenu>
+
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
+
+ <h:outputText id="info"
+ value="Expand Mode: #{panelMenu.mode}, Disabled: #{!panelMenu.disabled}, Align: #{panelMenu.align}, Tab Index: #{panelMenu.tabIndex}"></h:outputText>
+ <!-- triangleUp triangle triangleDown disc chevron chevronUp chevronDown grid -->
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
+ <rich:panelMenu id="panelMenuID2" expandMode="#{panelMenu.mode}" disabled="#{!panelMenu.disabled}" width="#{panelMenu.width}"
+ selectedChild="thisChild" styleClass="body">
+ <rich:panelMenuGroup label="Group 1 (tabIdex, my Image)" tabindex="#{panelMenu.tabIndex}" align="#{panelMenu.align}">
+ <rich:panelMenuGroup label="Group 1_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuGroup label="Group 1_1_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_2 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuGroup label="Group 1_2_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (iconDisabled)" iconDisabled="#{icon.iconHeader}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (icon)" disabled="true" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (iconDisabled)" disabled="true" iconDisabled="#{icon.iconItem}"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item "></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_3" align="#{panelMenu.align}" iconCollapsed="#{icon.iconCollapse}"
+ iconExpanded="#{icon.iconExpand}" iconDisabled="#{icon.disabled}">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <!-- triangleUp triangle triangleDown disc chevron chevronUp chevronDown grid -->
+ <rich:panelMenuItem label="Item (disc)" icon="disc"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (grid)" icon="grid"></rich:panelMenuItem>
+ <rich:panelMenuGroup label="Group" iconCollapsed="triangleDown" iconExpanded="triangleUp" iconDisabled="triangle">
+ <rich:panelMenuGroup label="Group" iconCollapsed="chevronDown" iconExpanded="chevronUp" iconDisabled="chevron">
+ <rich:panelMenuItem label="Item (disc)" icon="disc"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (grid)" iconDisabled="grid"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (grid)" icon="grid"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (disc)" iconDisabled="disc"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item "></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_3" iconCollapsed="chevronDown" iconExpanded="chevronUp" iconDisabled="chevron">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
+ </rich:panelMenu>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,8 @@
+<rich:panelMenu>
+ <rich:panelMenuItem label="item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="item 2"></rich:panelMenuItem>
+ <rich:panelMenuGroup label="gruop">
+ <rich:panelMenuItem label="item 3"></rich:panelMenuItem>
+ <rich:panelMenuItem label="item 4"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+</rich:panelMenu>>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,355 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="panelMenuPropertySubviewID">
+ <h:commandButton action="#{panelMenu.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Width"></h:outputText>
+ <h:inputText value="#{panelMenu.width}">
+ <a4j:support event="onchange"
+ reRender="panelMenuID,panelMenuID2,info"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Tab Index"></h:outputText>
+ <h:inputText value="#{panelMenu.tabIndex}">
+ <a4j:support event="onchange"
+ reRender="panelMenuID,panelMenuID2,info"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Expand Single"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelMenu.expandSingle}">
+ <a4j:support event="onchange" reRender="panelMenuID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Mode"></h:outputText>
+ <h:selectOneRadio value="#{panelMenu.mode}" id="Mode1ID"
+ onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Expand mode"></h:outputText>
+ <h:selectOneRadio value="#{panelMenu.expandMode}" onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Disabled"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelMenu.disabled}">
+ <a4j:support event="onchange"
+ reRender="panelMenuID,panelMenuID2,info"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelMenu.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+
+ <h:panelGrid columns="4">
+ <h:outputText value="Icon"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.icon}" onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.item}" onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item " itemValue="#{icon.iconItem}" />
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Disabled"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.disabled}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Disabled Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.disabledItem}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Top Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.topItem}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Top Disabled Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.topDisabledItem}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Expanded Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.expandedGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon CollapsedGroup"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.collapsedGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Disabled Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.disabledGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Expanded Top Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.expandedTopGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Collapsed Top Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.collapsedTopGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Top Disable Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.topDisableGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Expanded"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.expanded}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Collapsed"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.collapsed}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}" />
+ <f:selectItem itemLabel="Ajax Process"
+ itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
+ itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse" itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand" itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
+ itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
+ itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header" itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+ </h:panelGrid>
+ <br />
+ <h:panelGrid columns="4">
+ <h:outputText value="icon Group Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconGroupPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Group Top Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconGroupTopPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Item Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconItemPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Item Top Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconItemTopPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+ </h:panelGrid>
+ <h:panelGrid columns="3">
+ <h:column></h:column>
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink
+ onclick="PanelMenu.doExpand($('formID:panelMenuSubviewID:panelMenuID'));return false;"
+ value="doExpand"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="PanelMenu.doCollapse($('formID:panelMenuSubviewID:panelMenuID'));return false;"
+ value="doCollapse"></a4j:commandLink>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('panelMenuID').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/PanelMenu/PanelMenuStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="panelMenuStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{panelMenu.bTest1}" value="run" reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+ <h:outputText value="#{msg.t1PanelMenu}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{panelMenu.bTest2}" value="run" reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+ <h:outputText value="#{msg.t2PanelMenu}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{panelMenu.bTest3}" value="run" reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+ <h:outputText value="#{msg.t3PanelMenu}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{panelMenu.bTest4}" value="run" reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+ <h:outputText value="#{msg.t4PanelMenu}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{panelMenu.bTest5}" value="run" reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+ <h:outputText value="#{msg.t5PanelMenu}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/PickList/PickList.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/PickList/PickList.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/PickList/PickList.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,47 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="pickListSubviewID">
+
+ <rich:pickList id="pickListID" value="#{pickList.value}"
+ showButtonsLabel="#{pickList.showButtonLabels}"
+ valueChangeListener="#{pickList.valueChangeListener}"
+ controlClass="#{style.controlClass}" listClass="#{style.listClass}"
+ style="#{style.style}" styleClass="#{style.styleClass}"
+ copyAllControlLabel="#{pickList.copyAllControlLabel}"
+ copyControlLabel="#{pickList.copyControlLabel}"
+ disabled="#{pickList.copyControlLabel}"
+ immediate="#{pickList.immediate}"
+ listsHeight="#{pickList.listsHeight}"
+ moveControlsVerticalAlign="#{pickList.moveControlsVerticalAlign}"
+ removeAllControlLabel="#{pickList.removeAllControlLabel}"
+ removeControlLabel="#{pickList.removeControlLabel}"
+ rendered="#{pickList.rendered}"
+ sourceListWidth="#{pickList.sourceListWidth}"
+ title="#{pickList.title}" switchByClick="#{pickList.switchByClick}"
+ targetListWidth="#{pickList.targetListWidth}"
+ required="#{pickList.required}"
+ requiredMessage="#{pickList.requiredMessage}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ binding="#{pickList.myPickList}">
+ <f:selectItem itemValue="selectItem" itemLabel="selectItem" />
+ <f:selectItem itemValue="selectItem 1" itemLabel="selectItem 1" />
+ <f:selectItem itemValue="selectItem 2" itemLabel="selectItem 2" />
+ <f:selectItems value="#{pickList.data}" />
+ </rich:pickList>
+ <h:panelGrid columns="2">
+ <a4j:commandButton value="refresh" reRender="pickListvalueCLID"></a4j:commandButton>
+ <h:outputText id="pickListvalueCLID" value="#{pickList.valueCL}"></h:outputText>
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/PickList/PickListDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/PickList/PickListDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/PickList/PickListDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,7 @@
+<rich:pickList>
+ <f:selectItem itemValue="Item 1" itemLabel="Item 1" />
+ <f:selectItem itemValue="Item 2" itemLabel="Item 2" />
+ <f:selectItem itemValue="Item 3" itemLabel="Item 3" />
+ <f:selectItem itemValue="Item 4" itemLabel="Item 4" />
+ <f:selectItem itemValue="Item 5" itemLabel="Item 5" />
+</rich:pickList>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/PickList/PickListProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/PickList/PickListProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/PickList/PickListProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,96 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="pickListPropertySubviewID">
+ <h:commandButton action="#{pickList.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <a4j:commandButton reRender="pickListTargenID" value="refresh target"></a4j:commandButton>
+ <h:dataTable id="pickListTargenID" value="#{pickList.value}"
+ var="list" border="1">
+ <h:column>
+ <h:outputText value="#{list}"></h:outputText>
+ </h:column>
+ </h:dataTable>
+
+ <h:outputText value="title:"></h:outputText>
+ <h:inputText value="#{pickList.title}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="moveControlsVerticalAlign:"></h:outputText>
+ <h:inputText value="#{pickList.moveControlsVerticalAlign}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="showButtonLabels:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.showButtonLabels}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="copyAllControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.copyAllControlLabel}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="copyControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.copyControlLabel}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="removeControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.removeControlLabel}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="removeAllControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.removeAllControlLabel}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="switchByClick:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.switchByClick}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="listsHeight:"></h:outputText>
+ <h:inputText value="#{pickList.listsHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="sourceListWidth:"></h:outputText>
+ <h:inputText value="#{pickList.sourceListWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="targetListWidth:"></h:outputText>
+ <h:inputText value="#{pickList.targetListWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="fastOrderControlsVisible:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.fastOrderControlsVisible}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered:"></h:outputText>
+
+ <h:selectBooleanCheckbox value="#{pickList.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.immediate}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.disabled}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="required:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.required}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage:"></h:outputText>
+ <h:inputText value="#{pickList.requiredMessage}" onchange="submit();"></h:inputText>
+
+ <h:commandButton actionListener="#{pickList.checkBinding}"
+ value="Binding"></h:commandButton>
+ <h:outputText value="#{pickList.bindLabel}"></h:outputText>
+
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSelectedValues" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('pickListID').selectedValues}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ProgressBar/ProgressBar.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ProgressBar/ProgressBar.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ProgressBar/ProgressBar.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,118 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="progressBarSubviewID">
+
+ <rich:progressBar id="progressBarID" value="#{progressBar.value}"
+ style="width: 450px; height: 19px;#{style.style};" completeClass="#{style.completeClass}" finishClass="#{style.finishClass}" initialClass="#{style.initialClass}" remainClass="#{style.remainClass}" styleClass="#{style.styleClass}"
+ mode="#{progressBar.mode}" enabled="#{progressBar.enabled}"
+ actionListener="#{progressBar.actionListener}"
+ interval="#{progressBar.interval}"
+ maxValue="#{progressBar.maxValue}" minValue="#{progressBar.minValue}"
+ rendered="#{progressBar.rendered}" reRender="loadInfoPBID,valuePBID"
+ progressVar="progressVar" parameters="params:'%'"
+ reRenderAfterComplete="completedPBID"
+ ignoreDupResponses="#{progressBar.ignoreDupResponses}"
+ dualColoredLabel="#{progressBar.dualColoredLabel}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
+ ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" onsubmit="#{event.onsubmit}" binding="#{progressBar.htmlProgressBar}">
+ <f:facet name="initial">
+ <h:outputText value="Process not started"></h:outputText>
+ </f:facet>
+ <f:facet name="complete">
+ <h:outputText value="Process completed"></h:outputText>
+ </f:facet>
+ <h:outputText
+ value="{progressVar} | {minValue} {params} / {value} {params}/ {maxValue} {params}"></h:outputText>
+ <h:outputText id="loadInfoPBID"
+ value="[Load: #{progressBar.loadInfo}] " />
+ <h:graphicImage value="/pics/ajax_process.gif" />
+
+ </rich:progressBar>
+
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
+ <h:outputText
+ value="[parameters=params:'%'], [{progressVar} | {minValue} {params} / {value} {params}/ {maxValue} {params}]" />
+ <br />
+ <h:commandButton action="#{progressBar.add}" value="add test" />
+ <h:panelGrid columns="1">
+ <a4j:commandButton value="getValue"
+ onclick="alert($('formID:progressBarSubviewID:progressBarID').component.getValue())"></a4j:commandButton>
+ <a4j:commandLink value="setLabel"
+ onclick="$('formID:progressBarSubviewID:progressBarID').component.setLabel('setLabel work')"></a4j:commandLink>
+ <a4j:commandLink value="disable"
+ onclick="$('formID:progressBarSubviewID:progressBarID').component.disable();"></a4j:commandLink>
+ <a4j:commandLink value="enable"
+ onclick="$('formID:progressBarSubviewID:progressBarID').component.enable(event);"></a4j:commandLink>
+ </h:panelGrid>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="first value:" />
+ <h:outputText value="#{progressBar.value}" />
+ <h:outputText value="completed value:" />
+ <h:outputText id="completedPBID" value="#{progressBar.value}" />
+ </h:panelGrid>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="value:" />
+ <h:inputText id="valuePBID" value="#{progressBar.value}">
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="interval:" />
+ <h:inputText value="#{progressBar.interval}">
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="mode:" />
+ <h:selectOneRadio value="#{progressBar.mode}">
+ <f:selectItem itemValue="ajax" itemLabel="ajax"/>
+ <f:selectItem itemValue="client" itemLabel="client" />
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="enabled" />
+ <h:selectBooleanCheckbox value="#{progressBar.enabled}">
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="permanent:" />
+ <h:selectBooleanCheckbox value="#{progressBar.permanent}"
+ onchange="submit();" />
+
+ <h:outputText value="minValue:" />
+ <h:inputText value="#{progressBar.minValue}" onchange="submit();" />
+
+ <h:outputText value="maxValue:" />
+ <h:inputText value="#{progressBar.maxValue}" onchange="submit();" />
+
+ <h:outputText value="dualColoredLabel:" />
+ <h:selectBooleanCheckbox value="#{progressBar.dualColoredLabel}"
+ onchange="submit();" />
+
+ <h:outputText value="ignoreDupResponses" />
+ <h:selectBooleanCheckbox value="#{progressBar.ignoreDupResponses}"
+ onchange="submit();" />
+
+ <h:outputText value="rendered:" />
+ <h:selectBooleanCheckbox value="#{progressBar.rendered}"
+ onchange="submit();" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{rich:findComponent('progressBarID').value}" id="findID"/>
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ProgressBar/ProgressBarDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/ScrollableDataTable/ScrollableDataTable.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ScrollableDataTable/ScrollableDataTable.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ScrollableDataTable/ScrollableDataTable.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,100 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="scrollableDataTableSubviewID">
+ <h:panelGrid columns="6" border="1" style="font-size:12px">
+ <h:outputText value="#1"></h:outputText>
+ <h:outputText value="#2"></h:outputText>
+ <h:outputText value="#3"></h:outputText>
+ <h:outputText value="#4"></h:outputText>
+ <h:outputText value="#5"></h:outputText>
+ <h:outputText value="#6"></h:outputText>
+
+ <h:panelGrid columns="1" title="1">
+ <h:outputText value="sortExpression"/>
+ <h:outputText value="sortable='true'"/>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="2">
+ <h:outputText value="sortExpression"/>
+ <h:outputText value="sortable='false'"/>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="3">
+ <h:outputText value="sortExpression"/>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="4">
+ <h:outputText value="sortExpression"/>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="5">
+ <h:outputText value="sortExpression"/>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="6">
+ <h:outputText value=""/>
+ </h:panelGrid>
+ </h:panelGrid>
+ <rich:scrollableDataTable id="sdt" var="sdt" rowKeyVar="key" onRowDblClick="alert('row:#{key}')"
+ ajaxSingle="#{scrollableDT.ajaxSingle}"
+ binding="#{scrollableDT.htmlScrollableDataTable}"
+ value="#{scrollableDT.data}" rows="#{scrollableDT.rows}"
+ width="#{scrollableDT.width}" height="#{scrollableDT.height}"
+ hideWhenScrolling="#{scrollableDT.hideWhenScrolling}"
+ reRender="inputID" frozenColCount="#{scrollableDT.frozenColCount}"
+ first="#{scrollableDT.first}" ignoreDupResponses="#{scrollableDT.ignoreDupResponses}"
+ bypassUpdates="#{scrollableDT.bypassUpdates}" rendered="#{scrollableDT.rendered}"
+ limitToList="#{scrollableDT.limitToList}"
+
+ timeout="#{scrollableDT.timeout}" sortMode="#{scrollableDT.sortMode}"
+ selection="#{scrollableDT.selection}" eventsQueue="myEventsQueue"
+ captionClass="#{style.captionClass}" columnClasses="#{style.columnClasses}" footerClass="#{style.footerClass}" headerClass="#{style.headerClass}" rowClasses="#{style.rowClasses}" activeClass="#{style.activeClass}" styleClass="#{style.styleClass}" style="#{style.style}" selectedClass="#{style.selectedClass}"
+ onbeforedomupdate="#{event.onbeforedomupdate}" oncomplete="#{event.oncomplete}" onRowClick="#{event.onRowClick}" onRowMouseDown="#{event.onRowMouseDown}" onRowMouseUp="#{event.onRowMouseUp}" onselectionchange="#{event.onselectionchange}">
+ <f:facet name="header">
+ <h:outputText value="facet header"></h:outputText>
+ </f:facet>
+ <rich:column sortExpression="#{sdt.int0}" sortable="true">
+ <f:facet name="header"><h:outputText value="#"/></f:facet>
+ <h:outputText value="#{sdt.int0}"></h:outputText>
+ <f:facet name="footer"><h:outputText value="#"/></f:facet>
+ </rich:column>
+
+ <rich:column sortExpression="#{sdt.str0}" sortable="false">
+ <f:facet name="header"><h:outputText value="Text"></h:outputText> </f:facet>
+ <h:outputText value="#{sdt.str0}"></h:outputText>
+ <f:facet name="footer"><h:outputText value="Text"></h:outputText> </f:facet>
+ </rich:column>
+
+ <rich:column sortExpression="#{sdt.str1}">
+ <f:facet name="header"><h:outputText value="Link"></h:outputText> </f:facet>
+ <a4j:commandLink value="#{sdt.str1}" reRender="sdt"></a4j:commandLink>
+ <f:facet name="footer"><h:outputText value="Link"></h:outputText> </f:facet>
+ </rich:column>
+
+ <rich:column sortExpression="#{sdt.str2}">
+ <f:facet name="header"><h:outputText value="Select"></h:outputText> </f:facet>
+ <h:selectOneMenu value="#{sdt.str2}">
+ <f:selectItem itemLabel="select0" itemValue="select0" />
+ <f:selectItem itemLabel="select1" itemValue="select1" />
+ <f:selectItem itemLabel="select2" itemValue="select2" />
+ <f:selectItem itemLabel="select3" itemValue="select3" />
+ <f:selectItem itemLabel="select4" itemValue="select4" />
+ </h:selectOneMenu>
+ <f:facet name="footer"><h:outputText value="Select"></h:outputText> </f:facet>
+ </rich:column>
+
+ <rich:column sortExpression="#{sdt.str3}">
+ <f:facet name="header"><h:outputText value="Select"></h:outputText> </f:facet>
+ <h:graphicImage value="#{sdt.str3}"></h:graphicImage>
+ <f:facet name="footer"><h:outputText value="Select"></h:outputText> </f:facet>
+ </rich:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Link"></h:outputText>
+ </f:facet>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ <f:facet name="footer">
+ <h:outputText value="Link"></h:outputText>
+ </f:facet>
+ </rich:column>
+
+ <f:facet name="footer">
+ <h:outputText value="facet footer"></h:outputText>
+ </f:facet>
+ </rich:scrollableDataTable>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/ScrollableDataTable/ScrollableDataTableDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/ScrollableDataTable/ScrollableDataTableProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ScrollableDataTable/ScrollableDataTableProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ScrollableDataTable/ScrollableDataTableProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,62 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="scrollableDataTablePropertySubviewID">
+<h:commandButton action="#{scrollableDT.addHtmlScrollableDataTable}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="length:"></h:outputText>
+ <h:panelGroup>
+ <h:inputText value="#{scrollableDT.dataLength}"></h:inputText>
+ <a4j:commandButton action="#{scrollableDT.addNewItem}"
+ reRender="sdt" value="ok" />
+ </h:panelGroup>
+
+ <h:outputText value="rows:" />
+ <h:inputText value="#{scrollableDT.rows}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="first:"></h:outputText>
+ <h:inputText value="#{scrollableDT.first}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="timeout"></h:outputText>
+ <h:inputText value="#{scrollableDT.timeout}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="width:" />
+ <h:inputText value="#{scrollableDT.width}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="height:"></h:outputText>
+ <h:inputText value="#{scrollableDT.height}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="frozenColCount"></h:outputText>
+ <h:inputText value="#{scrollableDT.frozenColCount}" onchange="submit();">
+ </h:inputText>
+
+ <h:outputText value="limitToList"></h:outputText>
+ <h:selectBooleanCheckbox value="#{scrollableDT.limitToList}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="bypassUpdates:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{scrollableDT.bypassUpdates}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="ajaxSingle:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{scrollableDT.ajaxSingle}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{scrollableDT.rendered}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="hideWhenScrolling:" />
+ <h:selectBooleanCheckbox value="#{scrollableDT.hideWhenScrolling}" onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="sortMode" />
+ <h:selectOneRadio value="#{sortingAndFiltering.sortMode}" onchange="submit();">
+ <f:selectItem itemLabel="single" itemValue="single" />
+ <f:selectItem itemLabel="multi" itemValue="multi" />
+ </h:selectOneRadio>
+ </h:panelGrid>
+ <a4j:commandButton value="reRender" reRender="sdt"></a4j:commandButton>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Separator/Separator.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Separator/Separator.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Separator/Separator.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,15 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="separatorSubviewID">
+ <h:outputText value="Some text one..." styleClass="text"></h:outputText>
+ <rich:separator id="separatorId" rendered="#{separator.rendered}" width="#{separator.width}" height="#{separator.height}"
+ title="#{separator.title}" lineType="#{separator.lineType}" align="#{separator.align}"
+ style="#{style.style}" styleClass="#{style.styleClass}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ binding="#{separator.htmlSeparator}"></rich:separator>
+ <h:outputText value="Some text two..." styleClass="text"></h:outputText>
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,2 @@
+
+<rich:separator width="150" height="10"></rich:separator>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,62 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="SeparatorPropertySubviewID">
+ <h:commandButton action="#{separator.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Width (px or %): "></h:outputText>
+ <h:inputText value="#{separator.width}">
+ <a4j:support event="onchange" reRender="separatorId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height (px or %):"></h:outputText>
+ <h:inputText value="#{separator.height}">
+ <a4j:support event="onchange" reRender="separatorId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="LineType:"></h:outputText>
+ <h:selectOneRadio value="#{separator.lineType}" layout="pageDirection">
+ <f:selectItem itemLabel="beveled" itemValue="beveled" />
+ <f:selectItem itemLabel="dotted" itemValue="dotted" />
+ <f:selectItem itemLabel="dashed" itemValue="dashed" />
+ <f:selectItem itemLabel="double" itemValue="double" />
+ <f:selectItem itemLabel="solid" itemValue="solid" />
+ <a4j:support event="onclick" reRender="separatorId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneRadio value="#{separator.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="separatorId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Title:"></h:outputText>
+ <h:inputText value="#{separator.title}">
+ <a4j:support event="onchange" reRender="separatorId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{separator.rendered}"
+ onclick="submit()"></h:selectBooleanCheckbox>
+
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{separator.doStyles}"
+ value="#{separator.btnLabel}" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getHeight" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText id="findID"
+ value="#{rich:findComponent('separatorId').height}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Separator/SeparatorStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="SeparatorStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{separator.bTest1}" value="run" reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Separator}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{separator.bTest2}" value="run" reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Separator}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{separator.bTest3}" value="run" reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Separator}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{separator.bTest4}" value="run" reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Separator}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{separator.bTest5}" value="run" reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Separator}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanel.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanel.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanel.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,76 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="simpleTogglePanelSubviewID">
+
+ <rich:simpleTogglePanel id="stpIncludeID" switchType="client">
+ <f:facet name="closeMarker">
+ <h:outputText value="Close it"/>
+ </f:facet>
+
+ <f:facet name="openMarker">
+ <h:outputText value="Open it"/>
+ </f:facet>
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}"/>
+ </h:selectOneMenu>
+
+ </rich:simpleTogglePanel>
+ <rich:simpleTogglePanel id="sTP" bodyClass="body" headerClass="head" label="simpleTogglePanel with some text" action="#{simpleTogglePanel.act}" actionListener="#{simpleTogglePanel.actListener}"
+ width="#{simpleTogglePanel.width}" height="#{simpleTogglePanel.height}" switchType="#{simpleTogglePanel.switchType}"
+ style="#{style.style}" styleClass="#{style.styleClass}"
+ oncollapse="#{event.oncollapse}" onbeforedomupdate="#{event.onbeforedomupdate}" onexpand="#{event.onexpand}"
+ opened="#{event.opened}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" binding="#{simpleTogglePanel.htmlSTP}">
+ <f:facet name="closeMarker">
+ <h:outputText value="Close It"/>
+ </f:facet>
+ <f:facet name="openMarker">
+ <h:outputText value="Open It"/>
+ </f:facet>
+ <f:verbatim>
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ </f:verbatim>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:simpleTogglePanel>
+
+ <rich:simpleTogglePanel id="sTP1" headerClass="head" label="simpleTogglePanel wiht image" width="#{simpleTogglePanel.width}" action="#{simpleTogglePanel.act}" actionListener="#{simpleTogglePanel.actListener}"
+ height="#{simpleTogglePanel.height}" rendered="#{simpleTogglePanel.rendered}" switchType="#{simpleTogglePanel.switchType}"
+ opened="false" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
+ <h:graphicImage value="/pics/podb109_61.jpg" width="500" height="300"></h:graphicImage>
+ </rich:simpleTogglePanel>
+
+ <rich:simpleTogglePanel id="sTP2" label="Focus simpleTogglePanle" width="#{simpleTogglePanel.width}" ignoreDupResponses="true" action="#{simpleTogglePanel.act}" actionListener="#{simpleTogglePanel.actListener}"
+ focus="#{simpleTogglePanel.focus}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
+ <f:facet name="closeMarker">
+ <h:graphicImage value="/pics/ajax_stoped.gif"></h:graphicImage>
+ </f:facet>
+ <f:facet name="openMarker">
+ <h:graphicImage value="/pics/ajax_process.gif"></h:graphicImage>
+ </f:facet>
+ <rich:simpleTogglePanel id="INsTP">
+ <h:panelGrid columns="2">
+ <h:graphicImage value="/pics/podb109_61.jpg" width="250px" height="200px"></h:graphicImage>
+ <f:verbatim>
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ </f:verbatim>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+ </rich:simpleTogglePanel>
+ <h:panelGrid id="simpleTogglePanelActionID" columns="1">
+ <a4j:commandButton value="Show action" reRender="simpleTogglePanelActionID" style=" width : 95px;"></a4j:commandButton>
+ <h:outputText value="#{simpleTogglePanel.action}" />
+ <h:outputText value="#{simpleTogglePanel.actionListener}" />
+ </h:panelGrid>
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,10 @@
+ <rich:simpleTogglePanel switchType="client">
+ <f:facet name="closeMarker">
+ <h:outputText value="Close it"/>
+ </f:facet>
+
+ <f:facet name="openMarker">
+ <h:outputText value="Open it"/>
+ </f:facet>
+ <h:outputText value="default simpleTogglePanel" />
+ </rich:simpleTogglePanel>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,40 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="stpPropertySubviewID">
+<h:commandButton action="#{simpleTogglePanel.add}" value="add test" />
+ <h:panelGrid columns="2" border="1">
+ <h:outputText value="Width:">
+ </h:outputText>
+ <h:inputText value="#{simpleTogglePanel.width}">
+ <a4j:support event="onchange" reRender="sTP,sTP1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height:">
+ </h:outputText>
+ <h:inputText value="#{simpleTogglePanel.height}">
+ <a4j:support event="onchange" reRender="sTP,sTP1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Switch Type:"></h:outputText>
+ <h:selectOneRadio value="#{simpleTogglePanel.switchType}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onclick" reRender="sTP,sTP1,sTP2"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{simpleTogglePanel.rendered}" onclick="submit()">
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue(for 2nd stPanel)" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('sTP').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="stpStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest1}" value="run" reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1SimpleTP}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest2}" value="run" reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2SimpleTP}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest3}" value="run" reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3SimpleTP}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest4}" value="run" reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4SimpleTP}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest5}" value="run" reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5SimpleTP}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Skinning/Skinning.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Skinning/Skinning.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Skinning/Skinning.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,326 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="skinningSubviewID">
+ <rich:dataTable columns="4" value="">
+ <f:facet name="caption">
+ <h:outputText value="Standard controls skinning feature provides styling for standard HTML elements so that they become highly compliant with RichFaces look and feel. Skinning can be applied to all page controls based on element name and type attribute (where applicable). Also this feature provides a set of CSS styles so that skinning can be applied by assigning rich-.. classes to particular elements or to container element that nests controls." />
+ </f:facet>
+ <f:facet name="header">
+ <rich:columnGroup>
+ <rich:column><h:outputText value="Name of Component" /></rich:column>
+ <rich:column><h:outputText value="styleClass of Component" /></rich:column>
+ <rich:column><h:outputText value="Component is enabled" /></rich:column>
+ <rich:column><h:outputText value="Component is disabled" /></rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="" />
+ </f:facet>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="inputText" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.inputTextStyleClass}" />
+ </rich:column>
+ <rich:column>
+ <h:inputText styleClass="#{skinning.inputTextStyleClass}" value="#{skinning.inputText}" />
+ </rich:column>
+ <rich:column>
+ <h:inputText styleClass="#{skinning.inputTextStyleClass}" value="#{skinning.inputText}" disabled="true"/>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="inputSecret" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.inputSecretStyleClass}" />
+ </rich:column>
+ <rich:column>
+ <h:inputSecret styleClass="#{skinning.inputSecretStyleClass}" value="#{skinning.inputSecret}" redisplay="true"/>
+ </rich:column>
+ <rich:column>
+ <h:inputSecret styleClass="#{skinning.inputSecretStyleClass}" value="#{skinning.inputSecret}" disabled="true" redisplay="true"/>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="input" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-input" />
+ </rich:column>
+ <rich:column>
+ <input class="rich-input" value="input" ></input>
+ </rich:column>
+ <rich:column>
+ <input class="rich-input" value="input" disabled="true" ></input>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="inputTextarea" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.inputTextareaStyleClass}" />
+ </rich:column>
+ <rich:column>
+ <h:inputTextarea styleClass="#{skinning.inputTextareaStyleClass}" value="#{skinning.inputTextarea}" />
+ </rich:column>
+ <rich:column>
+ <h:inputTextarea styleClass="#{skinning.inputTextareaStyleClass}" value="#{skinning.inputTextarea}" disabled="true" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectBooleanCheckbox" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectBooleanCheckboxStyleClass}" />
+ </rich:column>
+ <rich:column>
+ <h:selectBooleanCheckbox styleClass="#{skinning.selectBooleanCheckboxStyleClass}" value="#{skinning.selectBooleanCheckbox1}" />
+ <h:selectBooleanCheckbox styleClass="#{skinning.selectBooleanCheckboxStyleClass}" value="#{skinning.selectBooleanCheckbox2}" />
+ </rich:column>
+ <rich:column>
+ <h:selectBooleanCheckbox styleClass="#{skinning.selectBooleanCheckboxStyleClass}" value="#{skinning.selectBooleanCheckbox1}" disabled="true"/>
+ <h:selectBooleanCheckbox styleClass="#{skinning.selectBooleanCheckboxStyleClass}" value="#{skinning.selectBooleanCheckbox2}" disabled="true" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectManyCheckbox" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectManyCheckbox}" />
+ </rich:column>
+ <rich:column>
+ <h:selectManyCheckbox styleClass="#{skinning.selectManyCheckbox}" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyCheckbox>
+ </rich:column>
+ <rich:column>
+ <h:selectManyCheckbox styleClass="#{skinning.selectManyCheckbox}" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyCheckbox>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectManyListbox" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectManyListbox}" />
+ </rich:column>
+ <rich:column>
+ <h:selectManyListbox styleClass="#{skinning.selectManyListbox}" style="height: 55px;" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyListbox>
+ </rich:column>
+ <rich:column>
+ <h:selectManyListbox styleClass="#{skinning.selectManyListbox}" style="height: 55px;" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyListbox>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectManyMenu" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectManyMenu}" />
+ </rich:column>
+ <rich:column>
+ <h:selectManyMenu styleClass="#{skinning.selectManyMenu}" style="height: 55px;" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyMenu>
+ </rich:column>
+ <rich:column>
+ <h:selectManyMenu styleClass="#{skinning.selectManyMenu}" style="height: 55px;" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectManyMenu>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectOneListbox" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectOneListbox}" />
+ </rich:column>
+ <rich:column>
+ <h:selectOneListbox styleClass="#{skinning.selectOneListbox}" style="height: 55px;" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneListbox>
+ </rich:column>
+ <rich:column>
+ <h:selectOneListbox styleClass="#{skinning.selectOneListbox}" style="height: 55px;" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneListbox>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectOneMenu" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectOneMenu}" />
+ </rich:column>
+ <rich:column>
+ <h:selectOneMenu styleClass="#{skinning.selectOneMenu}" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneMenu>
+ </rich:column>
+ <rich:column>
+ <h:selectOneMenu styleClass="#{skinning.selectOneMenu}" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneMenu>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="selectOneRadio" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.selectOneRadio}" />
+ </rich:column>
+ <rich:column>
+ <h:selectOneRadio styleClass="#{skinning.selectOneRadio}" >
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneRadio>
+ </rich:column>
+ <rich:column>
+ <h:selectOneRadio styleClass="#{skinning.selectOneRadio}" disabled="true">
+ <f:selectItems value="#{skinning.list}"/>
+ </h:selectOneRadio>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="commandButton" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.commandButton}" />
+ </rich:column>
+ <rich:column>
+ <h:commandButton styleClass="#{skinning.commandButton}" value="commandButton" />
+ </rich:column>
+ <rich:column>
+ <h:commandButton styleClass="#{skinning.commandButton}" value="commandButton" disabled="true" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="button" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-button" />
+ </rich:column>
+ <rich:column>
+ <button class="rich-button" >button</button>
+ </rich:column>
+ <rich:column>
+ <button class="rich-button" disabled="true" >button</button>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="commandLink" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.commandLink}" />
+ </rich:column>
+ <rich:column>
+ <h:commandLink styleClass="#{skinning.commandLink}" value="commandLink" />
+ </rich:column>
+ <rich:column>
+ <h:commandLink styleClass="#{skinning.commandLink}" value="commandLink" disabled="true" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="outputLink" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{skinning.outputLink}" />
+ </rich:column>
+ <rich:column>
+ <h:outputLink styleClass="#{skinning.outputLink}"><h:outputText value="outputLink" /></h:outputLink>
+ </rich:column>
+ <rich:column>
+ <h:outputLink styleClass="#{skinning.outputLink}" disabled="true"><h:outputText value="outputLink" /></h:outputLink>
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="a" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-link" />
+ </rich:column>
+ <rich:column>
+ <a href="http://localhost:8081/jsp/pages/Rich/Rich.jsf" class="rich-link" >link</a>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="component has not disabled state" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="fieldset and legend" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-fieldset, rich-legend" />
+ </rich:column>
+ <rich:column>
+ <fieldset class="rich-fieldset">
+ <legend class="rich-legend">Student</legend>
+ </fieldset>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="components have not disabled state" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="hr" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-hr" />
+ </rich:column>
+ <rich:column>
+ <hr class="rich-hr" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="components have not disabled state" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="isindex" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-isindex" />
+ </rich:column>
+ <rich:column>
+ <isindex class="rich-isindex" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="components have not disabled state" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="keygen" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="rich-keygen" />
+ </rich:column>
+ <rich:column>
+ <keygen class="rich-keygen" />
+ </rich:column>
+ <rich:column>
+ <keygen disabled="true" class="rich-keygen" />
+ </rich:column>
+ </rich:columnGroup>
+ </rich:dataTable>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/SortingAndFiltering/SortingAndFiltering.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/SortingAndFiltering/SortingAndFiltering.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/SortingAndFiltering/SortingAndFiltering.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,233 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="sortingAndFilteringSubviewID">
+ <h:panelGrid columns="9" border="1" style="font-size:12px">
+ <h:outputText value="#1"></h:outputText>
+ <h:outputText value="#2"></h:outputText>
+ <h:outputText value="#3"></h:outputText>
+ <h:outputText value="#4"></h:outputText>
+ <h:outputText value="#5"></h:outputText>
+ <h:outputText value="#6"></h:outputText>
+ <h:outputText value="#7"></h:outputText>
+ <h:outputText value="#8"></h:outputText>
+ <h:outputText value="#9"></h:outputText>
+ <h:panelGrid columns="1" title="1">
+ <h:outputText value="sortBy"></h:outputText>
+ <h:outputText value="selfSorted='#{sortingAndFiltering.selfSorted}'"></h:outputText>
+ <h:outputText value="sortOrder='#{sortingAndFiltering.sortOrder}'"></h:outputText>
+ <h:outputText value="filterBy"></h:outputText>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="2">
+ <h:outputText value="sortBy"></h:outputText>
+ <h:outputText value="selfSorted='#{sortingAndFiltering.selfSorted}'"></h:outputText>
+ <h:outputText value="filterBy"></h:outputText>
+ <h:outputText value="filterEvent='ondblclick'" />
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="3">
+ <h:outputText value="sortBy"></h:outputText>
+ <h:outputText value="sortOrder='#{sortingAndFiltering.sortOrder}'"></h:outputText>
+ <h:outputText value="filterMethod" />
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="4">
+ <h:outputText value="selfSorted='#{sortingAndFiltering.selfSorted}'"></h:outputText>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="5">
+ <h:outputText value="sortOrder='#{sortingAndFiltering.sortOrder}'"></h:outputText>
+ <h:outputText value="comparator: sort by length" />
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="6">
+ <h:outputText value=" filterExpression='data > filterValue"></h:outputText>
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="7">
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="8">
+ <h:outputText value="filterBy" />
+ </h:panelGrid>
+ <h:panelGrid columns="1" title="9">
+ <h:outputText value="sortBy"></h:outputText>
+ </h:panelGrid>
+ </h:panelGrid>
+ <rich:dataTable id="dataTableSAFID" value="#{sortingAndFiltering.data}" var="data" sortMode="#{sortingAndFiltering.sortMode}">
+ <rich:column sortBy="#{data.int0}" selfSorted="#{sortingAndFiltering.selfSorted}" sortOrder="#{sortingAndFiltering.sortOrder}"
+ filterBy="#{data.int0}">
+ <f:facet name="header">
+ <h:outputText value="#1" />
+ </f:facet>
+ <h:outputText value="#{data.int0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#1" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data.int1}" sortBy="#{data.int1}" selfSorted="#{sortingAndFiltering.selfSorted}"
+ filterEvent="ondblclick">
+ <f:facet name="header">
+ <h:outputText value="#2" />
+ </f:facet>
+ <h:outputText value="#{data.int1}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#2" />
+ </f:facet>
+ </rich:column>
+ <rich:column sortBy="#{data.str0}" sortOrder="#{sortingAndFiltering.sortOrder}"
+ filterMethod="#{sortingAndFiltering.filterMethod}">
+ <f:facet name="header">
+ <h:outputText value="#3" />
+ </f:facet>
+ <h:outputText value="#{data.str0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#3" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data.int2}" selfSorted="#{sortingAndFiltering.selfSorted}">
+ <f:facet name="header">
+ <h:outputText value="#4" />
+ </f:facet>
+ <h:outputText value="#{data.int2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#4" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data.str1}" sortOrder="#{sortingAndFiltering.sortOrder}" comparator="#{sortingAndFiltering.comparator}">
+ <f:facet name="header">
+ <h:outputText value="#5" />
+ </f:facet>
+ <h:outputText value="#{data.str1}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#5" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterExpression="#{data.int3 > sortingAndFiltering.filterValue}">
+ <f:facet name="header">
+ <h:outputText value="#6" />
+ </f:facet>
+ <h:outputText value="#{data.int3}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#6" />
+ </f:facet>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#7" />
+ </f:facet>
+ <h:graphicImage value="#{data.str2}"></h:graphicImage>
+ <h:outputText value="#{data.str2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#7" />
+ </f:facet>
+ </rich:column>
+ <rich:column filterBy="#{data.str3}">
+ <f:facet name="header">
+ <h:outputText value="#8" />
+ </f:facet>
+ <h:commandButton value="#{data.str3}"></h:commandButton>
+ <f:facet name="footer">
+ <h:outputText value="#8" />
+ </f:facet>
+ </rich:column>
+ <rich:column sortBy="#{data.bool0}">
+ <f:facet name="header">
+ <h:outputText value="#9" />
+ </f:facet>
+ <h:selectBooleanCheckbox value="#{data.bool0}"></h:selectBooleanCheckbox>
+ <f:facet name="footer">
+ <h:outputText value="#9" />
+ </f:facet>
+ </rich:column>
+ </rich:dataTable>
+
+ <rich:dataTable id="dataTableFilterValueID" value="#{sortingAndFiltering.data}" var="data">
+ <rich:column filterValue="/pics/error.gif">
+ <f:facet name="header">
+ <h:outputText value="#7(filterValue='/pics/error.gif)'" />
+ </f:facet>
+ <h:graphicImage value="#{data.str2}"></h:graphicImage>
+ <h:outputText value=" [#{data.str2}]"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#7" />
+ </f:facet>
+ </rich:column>
+ </rich:dataTable>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="filterMethod (#3):"></h:outputText>
+ <h:inputText value="#{sortingAndFiltering.filterInput}" onchange="submit();" />
+
+ <h:outputText value="filterValue (#6):"></h:outputText>
+ <h:inputText value="#{sortingAndFiltering.filterValue}" onchange="submit();" />
+
+ <h:outputText value="sortMode" />
+ <h:selectOneRadio value="#{sortingAndFiltering.sortMode}" onchange="submit();">
+ <f:selectItem itemLabel="single" itemValue="single" />
+ <f:selectItem itemLabel="multi" itemValue="multi" />
+ </h:selectOneRadio>
+
+ <h:outputText value="selfSorted" />
+ <h:selectBooleanCheckbox value="#{sortingAndFiltering.selfSorted}" onchange="submit();" />
+
+ <h:outputText value="sortOrder" />
+ <h:selectOneRadio value="#{sortingAndFiltering.currentSortOrder}" onchange="submit();">
+ <f:selectItem itemLabel="DESCENDING" itemValue="DESCENDING" />
+ <f:selectItem itemLabel="UNSORTED" itemValue="UNSORTED" />
+ <f:selectItem itemLabel="ASCENDING" itemValue="ASCENDING" />
+ </h:selectOneRadio>
+ </h:panelGrid>
+ <br/>
+ <rich:dataTable value="#{sortingAndFiltering.data}" var="cap" width="500px" rows="15">
+
+ <f:facet name="header">
+
+ <rich:columnGroup>
+
+ <rich:column colspan="3">
+
+ <h:outputText value="Filtering Example"/>
+
+ </rich:column>
+
+ <rich:column breakBefore="true">
+
+ <h:outputText value="State Name"/>
+
+ </rich:column>
+
+ <rich:column>
+
+ <h:outputText value="State Capital"/>
+
+ </rich:column>
+
+ <rich:column>
+
+ <h:outputText value="State Time Zone"/>
+
+ </rich:column>
+
+ </rich:columnGroup>
+
+ </f:facet>
+
+ <rich:column filterBy="#{cap.str0}" >
+
+ <h:outputText value="#{cap.str0}"/>
+
+ </rich:column>
+
+ <rich:column filterBy="#{cap.str1}" >
+
+ <h:outputText value="#{cap.str1}"/>
+
+ </rich:column>
+
+ <rich:column filterBy="#{cap.str3}">
+
+ <h:outputText value="#{cap.str3}"/>
+
+ </rich:column>
+
+ <f:facet name="footer">
+
+ <rich:datascroller renderIfSinglePage="false"/>
+
+ </f:facet>
+
+ </rich:dataTable>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Spacer/Spacer.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Spacer/Spacer.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Spacer/Spacer.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="spacerSubviewID">
+ <style type="text/css">
+.text {
+ font-size: 20px;
+}
+
+.spacer {
+ background-color: aqua;
+}
+</style>
+ <h:outputText value="Some text one..." styleClass="text"></h:outputText>
+
+ <rich:spacer id="spacerId" title="#{spacer.title}" width="#{spacer.width}" height="#{spacer.height}" rendered="#{spacer.rendered}"
+ styleClass="#{spacer.style}" style="#{style.style}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ binding="#{spacer.htmlSpacer}">
+ </rich:spacer>
+ <h:outputText value="Some text two..." styleClass="text"></h:outputText>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1 @@
+<rich:spacer width="100" height="50" style="background-color: red"></rich:spacer>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,44 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="spacerPropertySubviewID">
+ <h:commandButton action="#{spacer.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Width (px or %):"></h:outputText>
+ <h:inputText value="#{spacer.width}">
+ <a4j:support event="onchange" reRender="spacerId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height (px or %):"></h:outputText>
+ <h:inputText value="#{spacer.height}">
+ <a4j:support event="onchange" reRender="spacerId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="title:"></h:outputText>
+ <h:inputText value="#{spacer.title}">
+ <a4j:support event="onchange" reRender="spacerId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{spacer.rendered}" onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Style" />
+ <a4j:commandButton id="btn" action="#{spacer.doStyle}"
+ value="#{spacer.btn}" reRender="spacerId, btn"></a4j:commandButton>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText id="findID"
+ value="#{rich:findComponent('spacerId').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Spacer/SpacerStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="spacerStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{spacer.bTest1}" value="run" reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Spacer}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{spacer.bTest2}" value="run" reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Spacer}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{spacer.bTest3}" value="run" reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Spacer}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{spacer.bTest4}" value="run" reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Spacer}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{spacer.bTest5}" value="run" reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Spacer}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBox.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBox.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBox.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,72 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="suggestionBoxSubviewID">
+<h:messages showDetail="true" />
+ <f:verbatim>Suggestion Box will suggest you Town's names if it's started with the "a" or "A" letter
+ <br />
+ </f:verbatim>
+ <h:inputText value="#{sb.property}" id="text">
+ <f:validateLength minimum="0" maximum="30"/>
+ </h:inputText>
+ <rich:suggestionbox id="suggestionBoxId"
+ ajaxSingle="#{sb.ajaxSingle}"
+ bgcolor="#{sb.bgColor}"
+ binding="#{sb.mySuggestionBox}"
+ bypassUpdates="#{sb.bypassUpdates}"
+ cellpadding="#{sb.cellpadding}"
+ cellspacing="#{sb.cellspacing}"
+ dir="#{sb.dir}"
+ entryClass="#{style.entryClass}"
+ eventsQueue="myEventsQueue"
+ fetchValue="#{result.text}"
+ first="#{sb.first}"
+ for="text"
+ frame="#{sb.frame}"
+ frequency="#{sb.frequency}"
+ height="#{sb.height}"
+ ignoreDupResponses="#{sb.ignoreDupResponses}"
+ immediate="#{sb.immediate}"
+ limitToList="false"
+ minChars="#{sb.minchars}"
+ nothingLabel="#{sb.nothingLabel}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ oncomplete="#{event.oncomplete}"
+ onobjectchange="#{event.onobjectchange}"
+ onselect="#{event.onselect}"
+ onsubmit="#{event.onsubmit}"
+ popupStyle="background-color: black;"
+ usingSuggestObjects="#{sb.usingSuggestObjects}"
+ rendered="#{sb.rendered}"
+ requestDelay="#{sb.requestDelay}"
+ selfRendered="#{sb.selfRendered}"
+ var="result"
+ suggestionAction="#{sb.autocomplete}"
+ width="#{sb.width}"
+ border="#{sb.border}"
+ zindex="#{sb.zindex}"
+ rules="#{sb.rules}"
+ tokens="#{sb.tokens}"
+ title="#{result.text}"
+ summary="summary"
+ shadowOpacity="#{sb.shadowOpacity}"
+ shadowDepth="#{sb.shadowDepth}"
+ selectValueClass="mousemove"
+ style="#{style.style}"
+ styleClass="#{style.styleClass}"
+ selectedClass="#{style.selectedClass}"
+ rowClasses="#{style.rowClasses}" >
+
+ <h:column>
+ <h:outputText value="#{result.city}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.contry}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.flag}" />
+ </h:column>
+ <h:column>
+ <a4j:htmlCommandLink actionListener="#{sb.selectValue}" value="Click me!"/>
+ </h:column>
+ </rich:suggestionbox>
+ <div style="position: relative; font-size: 50px; z-index: 2; color: navy">z-index</div>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBoxDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBoxProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBoxProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBoxProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,167 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="suggestionboxPropertySubviewID">
+
+ <h:panelGrid columns="2" cellpadding="5px">
+ <h:outputText value="ajaxSingle"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.ajaxSingle}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="bgcolor"></h:outputText>
+ <h:selectOneMenu value="#{sb.bgColor}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="aqua" itemValue="aqua" />
+ <f:selectItem itemLabel="blue" itemValue="blue" />
+ <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
+ <f:selectItem itemLabel="gray" itemValue="gray" />
+ <f:selectItem itemLabel="lime" itemValue="lime" />
+ <f:selectItem itemLabel="maroon" itemValue="maroon" />
+ <f:selectItem itemLabel="purple" itemValue="purple" />
+ <f:selectItem itemLabel="red" itemValue="red" />
+ <f:selectItem itemLabel="silver" itemValue="silver" />
+ <f:selectItem itemLabel="teal" itemValue="teal" />
+ <f:selectItem itemLabel="yellow" itemValue="yellow" />
+ <f:selectItem itemLabel="white" itemValue="white" />
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:commandButton id="bindingButtonID"
+ actionListener="#{sb.checkBinding}" value="binding and param" />
+ <h:outputText value="#{sb.bindLabel}" />
+
+ <h:outputText value="border" />
+ <h:inputText value="#{sb.border}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="bypassUpdates"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.bypassUpdates}"
+ onchange="submit();" />
+
+ <h:outputText value="cellpadding" />
+ <h:inputText value="#{sb.cellpadding}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="cellspacing" />
+ <h:inputText value="#{sb.cellspacing}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="dir"></h:outputText>
+ <h:selectOneMenu value="#{sb.dir}">
+ <f:selectItem itemLabel="RTL" itemValue="RTL" />
+ <f:selectItem itemLabel="LTR" itemValue="LTR" />
+ </h:selectOneMenu>
+
+ <h:outputText value="first" />
+ <h:inputText value="#{sb.first}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="frame"></h:outputText>
+ <h:selectOneMenu value="#{sb.frame}">
+ <f:selectItem itemLabel="void" itemValue="void" />
+ <f:selectItem itemLabel="above" itemValue="above" />
+ <f:selectItem itemLabel="below" itemValue="below" />
+ <f:selectItem itemLabel="hsides" itemValue="hsides" />
+ <f:selectItem itemLabel="lhs" itemValue="lhs" />
+ <f:selectItem itemLabel="rhs" itemValue="rhs" />
+ <f:selectItem itemLabel="vsides" itemValue="vsides" />
+ <f:selectItem itemLabel="box" itemValue="box" />
+ <f:selectItem itemLabel="border " itemValue="border " />
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="frequency" />
+ <h:inputText value="#{sb.frequency}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="height" />
+ <h:inputText value="#{sb.height}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="ignoreDupResponses"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.ignoreDupResponses}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.immediate}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="minChars" />
+ <h:inputText value="#{sb.minchars}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="nothingLabel" />
+ <h:inputText value="#{sb.nothingLabel}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="usingSuggestObjects"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.usingSuggestObjects}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="z-index"></h:outputText>
+ <h:selectOneRadio value="#{sb.zindex}">
+ <f:selectItem itemLabel="1" itemValue="1" />
+ <f:selectItem itemLabel="3" itemValue="3" />
+ <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="requestDelay"></h:outputText>
+ <h:inputText value="#{sb.requestDelay}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="value" />
+ <h:inputText value="#{sb.value}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width" />
+ <h:inputText value="#{sb.width}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="tokens:"></h:outputText>
+ <h:inputText value="#{sb.tokens}"></h:inputText>
+
+ <h:outputText value="Shadow Opacity"></h:outputText>
+ <h:selectOneRadio value="#{sb.shadowOpacity}">
+ <f:selectItem itemLabel="1" itemValue="1" />
+ <f:selectItem itemLabel="3" itemValue="2" />
+ <f:selectItem itemLabel="5" itemValue="3" />
+ <f:selectItem itemLabel="7" itemValue="4" />
+ <f:selectItem itemLabel="9" itemValue="5" />
+ <f:selectItem itemLabel="11" itemValue="6" />
+ <f:selectItem itemLabel="13" itemValue="7" />
+ <f:selectItem itemLabel="15" itemValue="8" />
+ <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Shadow Depth"></h:outputText>
+ <h:selectOneRadio value="#{sb.shadowDepth}">
+ <f:selectItem itemLabel="3" itemValue="3" />
+ <f:selectItem itemLabel="4" itemValue="4" />
+ <f:selectItem itemLabel="5" itemValue="5" />
+ <f:selectItem itemLabel="6" itemValue="6" />
+ <f:selectItem itemLabel="7" itemValue="6" />
+ <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="selfRendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.selfRendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBoxStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBoxStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/SuggestionBox/SuggestionBoxStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="suggestionboxStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{sb.bTest1}" value="run" reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+ <h:outputText value="#{msg.t1SB}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{sb.bTest2}" value="run" reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+ <h:outputText value="#{msg.t2SB}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{sb.bTest3}" value="run" reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+ <h:outputText value="#{msg.t3SB}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{sb.bTest4}" value="run" reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+ <h:outputText value="#{msg.t4SB}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{sb.bTest5}" value="run" reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+ <h:outputText value="#{msg.t5SB}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanel.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanel.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanel.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,38 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="tabPanelSubviewID">
+ <rich:tabPanel id="tabPanelId" headerAlignment="#{tabPanel.headerAlignment}" width="#{tabPanel.width}"
+ contentStyle="#{style.contentStyle}" headerClass="#{style.headerClass}" style="#{style.style}" styleClass="#{style.styleClass}" tabClass="#{style.tabClass}"
+ height="#{tabPanel.height}" rendered="#{tabPanel.rendered}" title="#{tabPanel.title}" switchType="#{tabPanel.switchType}"
+ headerSpacing="#{tabPanel.headerSpacing}" selectedTab="#{tabPanel.selectedTab}" activeTabClass="#{tabPanel.activeTabStyle}"
+ disabledTabClass="#{tabPanel.disabledTabStyle}" inactiveTabClass="#{tabPanel.inactiveTabStyle}"
+ contentClass="#{tabPanel.contentStyle}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" binding="#{tabPanel.htmlTabPanel}">
+
+ <rich:tab id="tabOne" labelWidth="#{tabPanel.labelWidth}" label="#{tabPanel.label}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" ontabenter="#{event.ontabenter}" ontableave="#{event.ontableave}">
+ <h:outputText value="This is tab panel test example" styleClass="text1"></h:outputText>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:tab>
+ <rich:tab id="tabTwo" label="Tab with image" disabled="#{tabPanel.disabledTab}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" ontabenter="#{event.ontabenter}" ontableave="#{event.ontableave}">
+ <f:facet name="header">
+ <h:outputText value="client switchType from facet" />
+ </f:facet>
+ <h:graphicImage value="/pics/masshtaby_01.jpg" width="560" height="383"></h:graphicImage>
+ </rich:tab>
+ <rich:tab id="tabThree" label="Tab with some text" disabled="#{tabPanel.disabledTab}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" ontabenter="#{event.ontabenter}" ontableave="#{event.ontableave}">
+ <h:outputText
+ value=" Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text..." />
+ </rich:tab>
+ </rich:tabPanel>
+
+ <rich:spacer height="20px"></rich:spacer>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,7 @@
+<rich:tabPanel>
+ <rich:tab label="tab1">
+ <h:outputText value="tab 1" />
+ </rich:tab>
+ <rich:tab label="tab2">
+ </rich:tab>
+</rich:tabPanel>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,81 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="tabPanelStraightforwardSubviewID">
+ <h:commandButton action="#{tabPanel.add}" value="add test" />
+ <h:panelGrid columns="2" cellspacing="10px">
+ <h:outputText value="Width (px or %):"></h:outputText>
+ <h:inputText value="#{tabPanel.width}" onchange="submit();" />
+
+ <h:outputText value="Height (px or %):"></h:outputText>
+ <h:inputText value="#{tabPanel.height}" onchange="submit();" />
+
+ <h:outputText value="Title:"></h:outputText>
+ <h:inputText value="#{tabPanel.title}">
+ <a4j:support event="onchange" reRender="tabPanelId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="LabelWidth:"></h:outputText>
+ <h:inputText value="#{tabPanel.labelWidth}" onchange="submit();" />
+
+ <h:outputText value="SwitchType:"></h:outputText>
+ <h:selectOneRadio value="#{tabPanel.switchType}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onchange" reRender="tabPanelId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Header Alignment:"></h:outputText>
+ <h:selectOneRadio value="#{tabPanel.headerAlignment}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onchange" reRender="tabPanelId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Header Spacing:"></h:outputText>
+ <h:inputText value="#{tabPanel.headerSpacing}">
+ <a4j:support event="onchange" reRender="tabPanelId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Selected Tab:"></h:outputText>
+ <h:selectOneRadio value="#{tabPanel.selectedTab}" onchange="submit();">
+ <f:selectItem itemLabel="1" itemValue="tabOne" />
+ <f:selectItem itemLabel="2" itemValue="tabTwo" />
+ <f:selectItem itemLabel="3" itemValue="tabThr" />
+ </h:selectOneRadio>
+
+ <h:outputText value="immediate" />
+ <h:selectBooleanCheckbox value="#{tabPanel.immediate}">
+ <a4j:support event="onchange" reRender="tabPanelId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tabPanel.rendered}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disable Tab"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tabPanel.disabledTab}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{tabPanel.doStyles}"
+ value="#{tabPanel.btnLabel}" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSelectedTab" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('tabPanelId').selectedTab}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/TabPanel/TabPanelStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="tabPanelPropertySubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{tabPanel.bTest1}" value="run" reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+ <h:outputText value="#{msg.t1TabPanel}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{tabPanel.bTest2}" value="run" reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+ <h:outputText value="#{msg.t2TabPanel}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{tabPanel.bTest3}" value="run" reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+ <h:outputText value="#{msg.t3TabPanel}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{tabPanel.bTest4}" value="run" reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+ <h:outputText value="#{msg.t4TabPanel}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{tabPanel.bTest5}" value="run" reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+ <h:outputText value="#{msg.t5TabPanel}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanel.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanel.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanel.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,147 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="togglePanelSubviewID">
+
+ <rich:togglePanel id="panel1" switchType="#{togglePanel.switchType}" initialState="asus" stateOrder="asus,blank" styleClass="#{style.styleClass}" style="width:300px!important;#{style.style};"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" binding="#{togglePanel.htmlToglePanel}">
+ <f:facet name="blank">
+ <rich:panel>
+ <f:facet name="header">
+ <h:panelGroup>
+ <rich:toggleControl id="toggleControl_blank" for="togglePanelSubviewID:panel1">
+ <h:outputText value="Expand" style="font-weight: bold;" />
+ <h:graphicImage url="/pics/collapse.gif" style="border-width: 0px;" />
+ </rich:toggleControl>
+ </h:panelGroup>
+ </f:facet>
+ </rich:panel>
+ </f:facet>
+
+ <f:facet name="asus">
+ <rich:panel style="overflow: auto">
+ <f:facet name="header">
+ <h:panelGroup>
+ <rich:toggleControl id="toggleControl_panel1" for="togglePanelSubviewID:panel1">
+ <h:outputText value="Collapse" style="font-weight: bold;" />
+ <h:graphicImage url="/pics/expand.gif" style="border-width: 0px;" />
+ </rich:toggleControl>
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGrid columns="2" border="0" style="width: 100%;background-color: white;">
+ <h:graphicImage url="/pics/asus.jpg" height="300" width="300" alt="asus.jpg" />
+ <h:panelGroup>
+ <h:outputText style="font: 18px;font-weight: bold;" value="Asus F 3 Tc" />
+ <f:verbatim>
+ Processor: AMD Turion 64 X 2 - 1600 Mhz<br />
+ RAM: 1024 Mb<br />
+ HDD: 100 Gb<br />
+ Screen: 15.4 WXGA<br />
+ Video: NVIDIA GeForce Go 7300<br />
+ Drive: DVD- RW DL<br />
+ </f:verbatim>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </h:panelGroup>
+ </h:panelGrid>
+ </rich:panel>
+ </f:facet>
+ </rich:togglePanel>
+
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
+
+ <rich:togglePanel id="panel2" switchType="#{togglePanel.switchType}" initialState="#{togglePanel.initialState}"
+ stateOrder="#{togglePanel.stateOrder}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}">
+ <f:facet name="asus">
+ <rich:panel>
+ <f:facet name="header">
+ <h:panelGroup>
+ <h:outputText value="Customizable toggle panel" style="font-weight: bold;" />
+ <rich:toggleControl id="toggleControl_panel_1" for="togglePanelSubviewID:panel2">
+ <h:outputText value="Next"></h:outputText>
+ <h:graphicImage url="/pics/expand.gif" style="border-width: 0px;" />
+ </rich:toggleControl>
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGrid columns="2" border="0" style="width: 100%;background-color: white;">
+ <h:graphicImage url="/pics/asus.jpg" height="300" width="300" alt="asus.jpg" />
+ <h:panelGroup>
+ <h:outputText style="font: 18px;font-weight: bold;" value="Asus F 3 Tc" />
+ <f:verbatim>
+ Processor: AMD Turion 64 X 2 - 1600 Mhz<br />
+ RAM: 1024 Mb<br />
+ HDD: 100 Gb<br />
+ Screen: 15.4 WXGA<br />
+ Video: NVIDIA GeForce Go 7300<br />
+ Drive: DVD- RW DL<br />
+ </f:verbatim>
+ </h:panelGroup>
+ </h:panelGrid>
+ </rich:panel>
+ </f:facet>
+
+ <f:facet name="benq">
+ <rich:panel>
+ <f:facet name="header">
+ <h:panelGroup>
+ <h:outputText value="Customizable toggle panel" style="font-weight: bold;" />
+ <rich:toggleControl id="toggleControl_panel_2" for="togglePanelSubviewID:panel2">
+ <h:outputText value="Next"></h:outputText>
+ <h:graphicImage url="/pics/expand.gif" style="border-width: 0px;" />
+ </rich:toggleControl>
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGrid columns="2" border="0" style="width: 100%;background-color: yellow;">
+ <h:graphicImage url="/pics/benq.jpg" height="300" width="300" alt="benq.jpg" />
+ <h:panelGroup>
+ <h:outputText style="font: 18px;font-weight: bold;" value="BenQ A 52" />
+ <f:verbatim>
+ Processor: Core Duo T2250 (1.73GHz)<br />
+ RAM: 1024 Mb<br />
+ HDD: 100 Gb<br />
+ Screen: 15.4 WXGA<br />
+ Video: ATI Mobility Radeon X 200<br />
+ Drive: DVD- RW D<br />
+ </f:verbatim>
+ </h:panelGroup>
+ </h:panelGrid>
+ </rich:panel>
+ </f:facet>
+
+ <f:facet name="toshiba">
+ <rich:panel>
+ <f:facet name="header">
+ <h:panelGroup>
+ <h:outputText value="Customizable toggle panel" style="font-weight: bold;" />
+ <rich:toggleControl id="toggleControl_panel_3" for="togglePanelSubviewID:panel2">
+ <h:outputText value="Next"></h:outputText>
+ <h:graphicImage url="/pics/expand.gif" style="border-width: 0px;" />
+ </rich:toggleControl>
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGrid columns="2" border="0" style="width: 100%;background-color: orange;">
+ <h:graphicImage url="/pics/toshiba.jpg" height="300" width="300" alt="toshiba.jpg" />
+ <h:panelGroup>
+ <h:outputText style="font: 18px;font-weight: bold;" value="Toshiba Satellite A 100-784" />
+ <f:verbatim>
+ Processor: Intel Core Duo T2250 - 1.73GHz<br />
+ RAM: 1024 Mb<br />
+ HDD: 100 Gb<br />
+ Screen: 15.4 WXGA<br />
+ Video: Intel Graphics Media 950<br />
+ Drive: DVD- RW DL<br />
+ </f:verbatim>
+ </h:panelGroup>
+ </h:panelGrid>
+ </rich:panel>
+ </f:facet>
+ </rich:togglePanel>
+
+ <ui:debug hotkey="L"></ui:debug>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,14 @@
+ <rich:togglePanel switchType="client" stateOrder="closed,tip1">
+
+ <f:facet name="closed">
+ <rich:toggleControl>
+ <h:graphicImage style="border-width:0" value="/pics/ajax_process.gif" />
+ </rich:toggleControl>
+ </f:facet>
+
+ <f:facet name="tip1">
+ <rich:toggleControl>
+ <h:graphicImage style="border-width:0" value="/pics/ajax_stoped.gif" />
+ </rich:toggleControl>
+ </f:facet>
+ </rich:togglePanel>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,46 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="togglePanelPropertySubviewID">
+ <h:commandButton action="#{togglePanel.add}" value="add test" />
+ <h:panelGrid columns="2" cellpadding="5px" cellspacing="5px">
+ <h:outputText value="InitialState:"></h:outputText>
+ <h:selectOneRadio value="#{togglePanel.initialState}">
+ <f:selectItem itemLabel="Asus" itemValue="asus" />
+ <f:selectItem itemLabel="Benq" itemValue="benq" />
+ <f:selectItem itemLabel="toshiba" itemValue="toshiba" />
+ <a4j:support event="onchange" reRender="tooggleTest:panel2"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="StateOrder:"></h:outputText>
+ <h:selectOneRadio value="#{togglePanel.stateOrder}">
+ <f:selectItem itemLabel="Asus,Benq,Toshiba"
+ itemValue="asus,benq,toshiba" />
+ <f:selectItem itemLabel="Toshiba, Asus, Benq"
+ itemValue="toshiba,asus,benq" />
+ <a4j:support event="onchange" reRender="tooggleTest:panel2"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="switchType:"></h:outputText>
+ <h:selectOneRadio value="#{togglePanel.switchType}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onclick" reRender="panel1,panel2"></a4j:support>
+ </h:selectOneRadio>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getStateOrder" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('panel2').stateOrder}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/TogglePanel/TogglePanelStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="togglePanelStraightforwardSubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{togglePanel.bTest1}" value="run" reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1TogglePanel}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{togglePanel.bTest2}" value="run" reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2TogglePanel}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{togglePanel.bTest3}" value="run" reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3TogglePanel}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{togglePanel.bTest4}" value="run" reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4TogglePanel}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{togglePanel.bTest5}" value="run" reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5TogglePanel}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBar.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBar.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBar.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,35 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="toolBarSubviewID">
+ <h:messages></h:messages>
+
+ <rich:toolBar id="toolBarId" width="#{toolBar.width}"
+ height="#{toolBar.height}" rendered="#{toolBar.rendered}"
+ itemSeparator="#{toolBar.itemSeparator}"
+ contentClass="#{toolBar.contentStyle}"
+ separatorClass="#{toolBar.separatorStyle}"
+ contentStyle="contentStyle" style="#{style.style}"
+ styleClass="#{style.styleClass}"
+ binding="#{toolBar.htmlToolBar}">
+ <h:outputText value="ToolBar" style="font-style: italic"></h:outputText>
+
+ <rich:toolBarGroup>
+ <h:outputText value="Width:"></h:outputText>
+ <h:inputText value="#{toolBar.width}">
+ <a4j:support event="onchange" reRender="toolBarId"></a4j:support>
+ </h:inputText>
+ </rich:toolBarGroup>
+
+ <rich:toolBarGroup>
+ <h:outputText value="Height:"></h:outputText>
+ <h:inputText value="#{toolBar.height}">
+ <a4j:support event="onchange" reRender="toolBarId"></a4j:support>
+ </h:inputText>
+ </rich:toolBarGroup>
+
+ <rich:toolBarGroup location="#{toolBar.location}">
+ <h:graphicImage value="/pics/ajax_process.gif"></h:graphicImage>
+ </rich:toolBarGroup>
+
+ </rich:toolBar>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBarDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBarDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBarDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,4 @@
+<rich:toolBar>
+<h:outputText value="File" />
+<h:outputText value="Edit" />
+</rich:toolBar>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBarProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBarProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/ToolBar/ToolBarProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,45 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="toolBarPropertySubviewID">
+ <h:commandButton action="#{toolBar.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Image location:"></h:outputText>
+ <h:selectOneRadio value="#{toolBar.location}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="toolBarId"></a4j:support>
+ </h:selectOneRadio>
+
+
+ <h:outputText value="itemSeparator:"></h:outputText>
+ <h:selectOneRadio value="#{toolBar.itemSeparator}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="line" itemValue="line" />
+ <f:selectItem itemLabel="square" itemValue="square" />
+ <f:selectItem itemLabel="disc" itemValue="disc" />
+ <f:selectItem itemLabel="grid" itemValue="grid" />
+ <a4j:support event="onclick" reRender="toolBarId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Switch Styles" />
+ <a4j:commandButton id="slBtn" value="#{toolBar.btnLabel}"
+ action="#{toolBar.doStyles}" reRender="toolBarId,slBtn">
+ </a4j:commandButton>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getItemSeparator" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('toolBarId').itemSeparator}" />
+ </rich:column>
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Tooltip/Tooltip.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Tooltip/Tooltip.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Tooltip/Tooltip.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,64 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="tooltipSubviewID">
+ <h:messages></h:messages>
+
+ <h:inputText value="Text" id="inp1" size="50">
+ <rich:toolTip id="toolTipID" value="toolTip for input text" >
+ <f:facet name="defaultContent">
+ <f:verbatim>DEFAULT VALUE</f:verbatim>
+ </f:facet>
+ </rich:toolTip>
+ </h:inputText>
+ <h:panelGrid columns="2">
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doShow(event)" value="doShow"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doHide(event)" value="doHide"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doEnable" value="doEnable"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doDisable" value="doDisable"></a4j:commandLink>
+ </h:panelGrid>
+ <h:selectOneListbox value="1" id="ddl">
+ <rich:toolTip value="1231231">
+ <f:facet name="defaultContent">
+ <f:verbatim>DEFAULT VALUE DropDown</f:verbatim>
+ </f:facet>
+ </rich:toolTip>
+ </h:selectOneListbox>
+
+ <f:verbatim>
+ <br/>
+ <br/>
+ </f:verbatim>
+
+ <h:outputText value=" Test tooltip:"></h:outputText>
+ <f:verbatim>
+ <br/>
+ </f:verbatim>
+
+ <rich:panel style="width:50px; height:50px; background-color: gray">
+ <rich:toolTip id="tooltipID" value="#{tooltip.value}" mode="#{tooltip.mode}" styleClass="#{style.styleClass}" style="#{style.style}"
+ hideDelay="#{tooltip.hideDelay}" showDelay="#{tooltip.showDelay}" layout="#{tooltip.layout}"
+ horizontalOffset="#{tooltip.horizontalOffset}" verticalOffset="#{tooltip.verticalOffset}" followMouse="#{tooltip.followMouse}"
+ direction="#{tooltip.direction}" disabled="#{tooltip.disabled}" rendered="#{tooltip.rendered}"
+ event="#{tooltip.event}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}"
+ onhide="#{event.onhide}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onshow="#{event.onshow}"
+ binding="#{tooltip.htmlToolTip}">
+ <h:graphicImage id="pricsID" value="/pics/ajax_process.gif"></h:graphicImage>
+ <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
+ </rich:toolTip>
+ </rich:panel>
+
+ <f:verbatim>
+ <br/>
+ </f:verbatim>
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}"/>
+ </h:selectOneMenu>
+ <rich:panel style="width:50px; height:50px; background-color: gray">
+ <rich:toolTip id="includeToolTIpID" hideDelay="5000" showDelay="0" value="test include">
+ <ui:include src="${richBean.pathComponentContainer}"/>
+ </rich:toolTip>
+ </rich:panel>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,4 @@
+
+<h:outputText value="Default tooltip!">
+ <rich:toolTip value="tooltip"></rich:toolTip>
+</h:outputText>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,141 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="toolTipStraightforwardSubviewID">
+ <h:commandButton action="#{tooltip.add}" value="add test" />
+ <h:panelGrid columns="2">
+
+ <a4j:commandLink
+ onclick="$('formID:tooltipSubviewID:tooltipID').component.show(event)"
+ value="show"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:tooltipSubviewID:tooltipID').component.hide(event)"
+ value="hide"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:tooltipSubviewID:tooltipID').component.enable(event)"
+ value="enable"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:tooltipSubviewID:tooltipID').component.disable(event)"
+ value="disable"></a4j:commandLink>
+
+ <a href="#" id="showToolTipID">componentControl(show)</a>
+ <rich:componentControl attachTo="showToolTipID" for="tooltipID"
+ event="onclick" operation="show" />
+
+ <a href="#" id="hideToolTipID">componentControl(hide)</a>
+ <rich:componentControl attachTo="hideToolTipID" for="tooltipID"
+ event="onclick" operation="hide" />
+
+ <a href="#" id="enableToolTipID">componentControl(enable)</a>
+ <rich:componentControl attachTo="enableToolTipID" for="tooltipID"
+ event="onclick" operation="enable" />
+
+ <a href="#" id="disableToolTipID">componentControl(disable)</a>
+ <rich:componentControl attachTo="disableToolTipID" for="tooltipID"
+ event="onclick" operation="disable" />
+
+ <h:outputText value="Text:"></h:outputText>
+ <h:inputText value="#{tooltip.value}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="Delay"></h:outputText>
+ <h:inputText value="#{tooltip.delay}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="showDelay"></h:outputText>
+ <h:inputText value="#{tooltip.showDelay}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="hideDelay"></h:outputText>
+ <h:inputText value="#{tooltip.hideDelay}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="event:" />
+ <h:selectOneMenu value="#{tooltip.event}" onchange="submit();">
+ <f:selectItem itemLabel="onmouseover" itemValue="onmouseover" />
+ <f:selectItem itemLabel="onclick" itemValue="onclick" />
+ <f:selectItem itemLabel="onmouseup" itemValue="onmouseup" />
+ </h:selectOneMenu>
+
+ <h:outputText value="Layout:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.layout}">
+ <f:selectItem itemLabel="inline" itemValue="inline" />
+ <f:selectItem itemLabel="block" itemValue="block" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Mode:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.mode}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Horizontal offset:"></h:outputText>
+ <h:inputText value="#{tooltip.horizontalOffset}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="Vertical offset:"></h:outputText>
+ <h:inputText value="#{tooltip.verticalOffset}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="Follow mouse:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.followMouse}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Direction:" />
+ <h:selectOneRadio value="#{tooltip.direction}">
+ <f:selectItem itemLabel="top-right" itemValue="top-right" />
+ <f:selectItem itemLabel="top-left" itemValue="top-left" />
+ <f:selectItem itemLabel="bottom-right" itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Style:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.style}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="border:3px; font:bold 14px;"
+ itemValue="border:3px; font:bold 14px;" />
+ <f:selectItem
+ itemLabel="border:green 3px solid; background-color:yellow;"
+ itemValue="border:green 3px solid; background-color:yellow;" />
+ <f:selectItem
+ itemLabel="border:green 2px solid; font-family:monospace;"
+ itemValue="border:green 2px solid; font-family:monospace;" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Disambled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.disabled}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.rendered}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
+
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('tooltipID').value}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Tooltip/TooltipStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,24 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="toolTipPropertySubviewID">
+ <h:panelGrid columns="3">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{tooltip.bTest1}" value="run" reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t1Tooltip}"/>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{tooltip.bTest2}" value="run" reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t2Tooltip}"/>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{tooltip.bTest3}" value="run" reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t3Tooltip}"/>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{tooltip.bTest4}" value="run" reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t4Tooltip}"/>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{tooltip.bTest5}" value="run" reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+ <h:outputText value="#{msg.t5Tooltip}"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Tree/Tree.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Tree/Tree.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Tree/Tree.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,194 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="treeSubviewID">
+<style type="text/css">
+.LeftTreePane {
+
+}
+
+.RightTreePane {
+
+}
+
+.TreeContainer {
+ overflow: auto;
+ height: 400px;
+ border: 3px inset gray;
+}
+</style>
+<script type="text/javascript">
+ // <![CDATA[
+ function blinkElement(elt) {
+ while (elt.tagName.toLowerCase() != 'table') {
+ elt = elt.parentNode;
+ }
+
+ elt.style.borderColor= '#5555FF';
+ elt.style.borderStyle= 'dotted';
+ elt.style.borderWidth = '3px';
+ setTimeout( function() { this.style.borderStyle = 'none'; }.bind(elt), 300);
+ }
+ // ]]>
+ </script>
+ <a4j:outputPanel ajaxRendered="true">
+ <h:messages />
+ </a4j:outputPanel>
+
+ <rich:tree id="tree" switchType="#{treeBean.switchType}" value="#{treeBean.data}" var="data" selectedClass="#{style.selectedClass}" styleClass="#{style.styleClass}" style="#{style.style}" highlightedClass="#{style.highlightedClass}"
+ nodeFace="#{data.name != 'param-value' ? 'input' : 'text'}" changeExpandListener="#{treeBean.onExpand}"
+ nodeSelectListener="#{treeBean.onSelect}" binding="#{treeBean.tree}" onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode" oncollapse="window.status='collapsedNode: '+ event.collapsedNode"
+ ajaxSubmitSelection="true" reRender="outputText, selectOneListbox" preserveModel="none" dragIndicator="treeIndicator"
+ immediate="false" acceptedTypes="file1" dragType="#{treeBean.dragOn ? 'file1' : ''}" iconCollapsed="#{treeBean.iconCollapsed}"
+ iconExpanded="#{treeBean.iconExpanded}" iconLeaf="#{treeBean.iconLeaf}" icon="#{treeBean.icon}" dropListener="#{treeBean.processDrop}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" ondragend="#{event.ondragend}" ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondragstart="#{event.ondragstart}" ondrop="#{event.ondrop}" ondropend="#{event.ondropend}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onbeforedomupdate="#{event.onbeforedomupdate}" oncomplete="#{event.oncomplete}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}">
+
+ <f:facet name="icon">
+ <h:outputText value="icon" rendered="#{treeBean.renderFacets}" />
+ </f:facet>
+ <f:facet name="iconLeaf">
+ <h:outputText value="leaf" rendered="#{treeBean.renderFacets}" />
+ </f:facet>
+ <f:facet name="iconExpanded">
+ <h:outputText value="expanded" rendered="#{treeBean.renderFacets}" />
+ </f:facet>
+ <f:facet name="iconCollapsed">
+ <h:outputText value="collapsed" rendered="#{treeBean.renderFacets}" />
+ </f:facet>
+
+ <rich:dndParam name="treeParam" value="Tree Parameter" />
+ <rich:dndParam name="accept" value="accept" />
+
+ <rich:treeNode type="input" dropListener="#{treeBean.processDrop}"
+ oncollapse="Element.removeClassName(event['treeItem'].getElement(), 'colored')"
+ onexpand="Element.addClassName(event['treeItem'].getElement(), 'colored')"
+ onbeforedomupdate="#{event.onbeforedomupdate}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" oncontextmenu="#{event.oncontextmenu}" ondblclick="#{event.ondblclick}" ondragend="#{event.ondragend}" ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondragstart="#{event.ondragstart}" ondrop="#{event.ondrop}" ondropend="#{event.ondropend}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselected="#{event.onselected}">
+ <h:outputText value="#{data} : " />
+ <h:inputText value="#{data.name}" required="true" styleClass="inputs">
+ </h:inputText>
+
+ <rich:dndParam name="nodeParam" value="Node Parameter" />
+
+ </rich:treeNode>
+ <rich:treeNode type="text" nodeClass="customNode" acceptedTypes="file2" onselected="return false;">
+ <h:outputText value="#{data}" />
+ </rich:treeNode>
+ </rich:tree>
+
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
+ <h:outputText value="Enter path to expand:" />
+ <h:inputText value="#{treeBean.pathToExpand}">
+ <a4j:support event="onchange" reRender="tree" action="#{treeBean.expandNode}" />
+ </h:inputText>
+
+ <rich:separator></rich:separator>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="Change tree switchType:" />
+ <h:selectOneRadio value="#{treeBean.switchType}" onclick="submit()">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Drag switch:" />
+ <h:selectBooleanCheckbox value="#{treeBean.dragOn}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="Render facets:" />
+ <h:selectBooleanCheckbox value="#{treeBean.renderFacets}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:commandButton value="#{treeBean.commandButtonCaption}" actionListener="#{treeBean.changeIcons}" />
+ </h:panelGrid>
+
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
+
+ <rich:tree id="testTree" var="_data" switchType="ajax" ajaxSubmitSelection="true" preserveModel="none" value="#{treeBean.data1}"
+ nodeSelectListener="#{treeBean.onSelectInc}" nodeFace="node">
+ <rich:treeNode type="node">
+ <h:outputText value="#{_data}" />
+ </rich:treeNode>
+ </rich:tree>
+ <rich:separator></rich:separator>
+ <h:outputText value="Tree without treeNode:"></h:outputText>
+ <rich:separator></rich:separator>
+
+ <rich:tree switchType="client" style="width:300px" value="#{pathwayBean.pathwayTree}" var="item" nodeFace="#{item.type}">
+ <rich:treeNode type="library">
+ <h:outputText value="#{item.type}" />
+ </rich:treeNode>
+ <rich:treeNode type="pathway">
+ <h:outputText value="#{item.name}" />
+ </rich:treeNode>
+ <rich:treeNode type="organism">
+ <h:outputText value="#{item.name}" />
+ </rich:treeNode>
+ </rich:tree>
+
+ <rich:spacer></rich:spacer>
+ <!-- Drag and Drop API for rich:tree component -->
+ <div style="FONT-WEIGHT: bold;">Drag and Drop example</div>
+ <br />
+
+ <rich:dragIndicator id="treeIndicator">
+ <f:facet name="single">
+ <f:verbatim>{marker} {nodeParam}({treeParam})</f:verbatim>
+ </f:facet>
+ </rich:dragIndicator>
+
+ <h:panelGrid columns="2" columnClasses="LeftTreePane,RightTreePane">
+
+ <h:panelGroup id="leftContainer" layout="block"
+ styleClass="TreeContainer">
+ <h:outputText escape="false"
+ value="Selected Node: #{treeDndBean.leftSelectedNodeTitle}"
+ id="selectedNodeL" />
+
+ <rich:tree id="leftTree" style="width:300px"
+ nodeSelectListener="#{treeDndBean.processLSelection}"
+ reRender="selectedNodeL" ajaxSubmitSelection="true"
+ switchType="client" value="#{treeDndBean.treeNodeLeft}"
+ changeExpandListener="#{treeDndBean.onExpand}"
+ binding="#{treeDndBean.leftTree}"
+ onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode"
+ oncollapse="window.status='collapsedNode: '+event.collapsedNode"
+ dropListener="#{treeDndBean.onDrop}"
+ dragListener="#{treeDndBean.onDrag}" dragIndicator="treeIndicator"
+ acceptedTypes="treeNode" dragType="treeNode" rowKeyVar="key"
+ var="item" >
+
+ <rich:dndParam name="treeParam" value="leftTree" />
+ </rich:tree>
+
+ </h:panelGroup>
+
+ <h:panelGroup id="rightContainer" layout="block"
+ styleClass="TreeContainer">
+ <h:outputText escape="false"
+ value="Selected Node: #{treeDndBean.rightSelectedNodeTitle}"
+ id="selectedNodeR" />
+
+ <rich:tree id="rightTree" style="width:300px"
+ nodeSelectListener="#{treeDndBean.processRSelection}"
+ reRender="selectedNodeR,rightContainer" ajaxSubmitSelection="true"
+ switchType="client" value="#{treeDndBean.treeNodeRight}"
+ changeExpandListener="#{treeDndBean.onExpand}"
+ binding="#{treeDndBean.rightTree}"
+ onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode"
+ oncollapse="window.status='collapsedNode: '+event.collapsedNode"
+ rowKeyVar="key" dropListener="#{treeDndBean.onDrop}"
+ dragListener="#{treeDndBean.onDrag}" dragIndicator="treeIndicator"
+ acceptedTypes="treeNode" dragType="treeNode" var="item">
+ <rich:dndParam name="treeParam" value="rightTree" />
+ </rich:tree>
+ </h:panelGroup>
+
+ </h:panelGrid>
+
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/Tree/TreeDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/Tree/TreeProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Tree/TreeProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Tree/TreeProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,20 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="treePropertySubviewID">
+ <br />
+ <h:commandButton action="#{treeBean.add}" value="add test" />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getAdviseNodeSelected" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('tree').adviseNodeSelected}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Validator/Validator.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Validator/Validator.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Validator/Validator.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,159 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="validatorSubviewID">
+ <a4j:region>
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText>Single input field with label and message. Validated by AJAX on every changing.</h:outputText>
+ </f:facet>
+ <h:outputLabel for="ltext" value="#{lengthBean.textDescription}" />
+ <h:inputText id="ltext" value="#{lengthBean.text}">
+ <rich:ajaxValidator event="onchange" />
+ </h:inputText>
+ <rich:message for="ltext" showDetail="true" showSummary="true" />
+ </rich:panel>
+ <h2>Input fields with label and message in the JSF dataTable.
+ Each field validated by AJAX on "onchange" event</h2>
+ <rich:graphValidator value="#{dataValidator}"
+ binding="#{dataValidator.graphValidatorComponent}" id="graphValidatorID"
+ rendered="#{dataValidator.rendered}">
+ <rich:dataTable value="#{dataValidator.beans}" var="vBean" id="table">
+ <f:facet name="header">
+ <h:outputText
+ value="Validate values in the data table. Total sum for an all integer values validated for a value less then 20" />
+ </f:facet>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="text field" />
+ </f:facet>
+ <h:outputLabel for="text" value="#{vBean.textDescription}" />
+ <h:inputText id="text" value="#{vBean.text}">
+ <rich:ajaxValidator event="onchange" />
+ </h:inputText>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="integer field" />
+ </f:facet>
+ <h:outputLabel for="intValue" value="#{vBean.intDescription}" />
+ <h:inputText id="intValue" value="#{vBean.intValue}">
+ <rich:ajaxValidator event="onchange" />
+ </h:inputText>
+ <rich:message for="intValue" showDetail="true" showSummary="true" />
+ </h:column>
+ <f:facet name="footer">
+ <h:panelGroup>
+ <h:outputText>in addition to fields validation, total sum for an all integer values validated for a value less then 20.</h:outputText>
+ <a4j:commandButton value="Submit all fields"></a4j:commandButton>
+ </h:panelGroup>
+ </f:facet>
+ </rich:dataTable>
+ </rich:graphValidator>
+ </a4j:region>
+ <br />
+
+ <!--<rich:graphValidator value="#{graphValidator}">-->
+ <h:panelGrid columns="2" border="2" id="panelGridID">
+
+ <f:facet name="header">
+ <h:outputText value="Ajax Validator test" />
+ </f:facet>
+
+ <h:outputLabel for="mailValue" value="Mail validation:" />
+ <h:panelGroup>
+ <h:inputText value="#{validator.text}" id="mailValue">
+ <rich:ajaxValidator ajaxSingle="#{validator.ajaxSingle}"
+ binding="#{validator.ajaxValidatorComponent}"
+ data="{param1:'param1',param2:'param2'}"
+ disableDefault="#{validator.disableDefault}" event="onchange"
+ eventsQueue="#{validator.eventsQueue}" focus="mailValue"
+ id="ajaxValidatorID"
+ ignoreDupResponses="#{validator.ignoreDupResponses}"
+ immediate="#{validator.immediate}"
+ limitToList="#{validator.limitToList}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}"
+ parentProperties="#{validator.parentProperties}"
+ process="mailValue,booleanValue,assertTrue,eanValue,creditValue"
+ rendered="#{validator.rendered}"
+ renderRegionOnly="#{validator.renderRegionOnly}"
+ requestDelay="#{validator.requestDelay}"
+ reRender="mailValue,booleanValue,assertTrue,eanValue,creditValue"
+ selfRendered="#{validator.selfRendered}" status="mailValue"
+ submitted="#{validator.submitted}" timeout="#{validator.timeout}"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="mailValue" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="booleanValue" value="AssertFalse validation:" />
+ <h:panelGroup>
+ <h:selectBooleanCheckbox value="#{validator.booleanValue}"
+ id="booleanValue">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:selectBooleanCheckbox>
+ <rich:message for="booleanValue" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="assertTrue" value="AssertTrue validation:" />
+ <h:panelGroup>
+ <h:selectBooleanCheckbox value="#{validator.assertTrue}"
+ id="assertTrue">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:selectBooleanCheckbox>
+ <rich:message for="assertTrue" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="eanValue" value="EAN validation:" />
+ <h:panelGroup>
+ <h:inputText value="#{validator.ean}" id="eanValue">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="eanValue" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="creditValue" value="CreditCardNumber validation:" />
+ <h:panelGroup>
+ <h:inputText value="#{validator.creditValue}" id="creditValue">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="creditValue" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="sizeValues" value="Size validation:" />
+ <h:panelGroup>
+ <h:selectOneMenu value="#{validator.sizeValue}">
+ <f:selectItems id="sizeValues" value="#{validator.sizeValues}"></f:selectItems>
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:selectOneMenu>
+ <rich:message for="sizeValues" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="digit" value="Digits validation:(x.xxx)" />
+ <h:panelGroup>
+ <h:inputText value="#{validator.digit}" id="digit">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="digit" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="range" value="Range validation(0-15):" />
+ <h:panelGroup>
+ <h:inputText value="#{validator.rangeValue}" id="range">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="range" showDetail="true" showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputText value="total length should be less than 50" />
+ <a4j:commandButton value="validate all fields" reRender="panelGridID"></a4j:commandButton>
+
+ <f:facet name="footer">
+ <h:outputText value="...together with graphValidator" />
+ </f:facet>
+
+ </h:panelGrid>
+ <!--</rich:graphValidator>-->
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Validator/ValidatorDefault.xhtml
===================================================================
Added: trunk/test-applications/HelloWorld/WebContent/Validator/ValidatorProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Validator/ValidatorProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Validator/ValidatorProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,83 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="validatorPropertySubviewID">
+ <h:commandButton value="add(ajaxValidator) test"
+ action="#{validator.add}"></h:commandButton>
+ <rich:spacer height="2" width="20"></rich:spacer>
+ <h:commandButton value="add(graphValidator) test" action="#{data.add}"></h:commandButton>
+ <br />
+ <br />
+ <h:panelGrid columns="2">
+ <h:outputText value="Ajax Validator test"
+ style="align:center; font-weight:bold;" />
+ <h:outputText value="Graph Validator test"
+ style="align:center; font-weight:bold;" />
+ <h:panelGrid columns="2" border="2">
+
+ <h:outputText value="ajaxSingle" />
+ <h:selectBooleanCheckbox value="#{validator.ajaxSingle}"
+ onchange="submit();" />
+
+ <h:commandButton actionListener="#{validator.checkBinding}"
+ value="Binding" />
+ <h:outputText value="#{validator.bindLabel}" />
+
+ <h:outputText value="disableDefault" />
+ <h:selectBooleanCheckbox value="#{validator.disableDefault}"
+ onchange="submit();" />
+
+ <h:outputText value="eventsQueue" />
+ <h:inputText value="#{validator.eventsQueue}">
+ <a4j:support event="onchange" reRender="ajaxValidatorID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="ignoreDupResponces" />
+ <h:selectBooleanCheckbox value="#{validator.ignoreDupResponses}"
+ onchange="submit();" />
+
+ <h:outputText value="immediate" />
+ <h:selectBooleanCheckbox value="#{validator.immediate}"
+ onchange="submit();" />
+
+ <h:outputText value="limitToList" />
+ <h:selectBooleanCheckbox value="#{validator.limitToList}"
+ onchange="submit();" />
+
+ <h:outputText value="renderRegionOnly" />
+ <h:selectBooleanCheckbox value="#{validator.renderRegionOnly}"
+ onchange="submit();" />
+
+ <h:outputText value="requestDelay" />
+ <h:inputText value="#{validator.requestDelay}">
+ <a4j:support event="onchange" reRender="ajaxValidatorID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="selfRendered" />
+ <h:selectBooleanCheckbox value="#{validator.selfRendered}"
+ onchange="submit();" />
+
+ <h:outputText value="submitted" />
+ <h:selectBooleanCheckbox value="#{validator.submitted}"
+ onchange="submit();" />
+
+ <h:outputText value="timeout" />
+ <h:inputText value="#{validator.timeout}">
+ <a4j:support event="onchange" reRender="ajaxValidatorID"></a4j:support>
+ </h:inputText>
+ </h:panelGrid>
+
+
+ <h:panelGrid columns="2" border="2" style="float:top;">
+ <h:commandButton actionListener="#{dataValidator.checkBinding}"
+ value="Binding" />
+ <h:outputText value="#{dataValidator.bindLabel}" />
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{dataValidator.rendered}"
+ onchange="submit();" />
+ </h:panelGrid>
+
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/Validator/ValidatorStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/Validator/ValidatorStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/Validator/ValidatorStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,71 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="validatorStraightforwardSubviewID">
+ <a4j:region>
+ <rich:dataTable value="#{dataValidator.data}" var="data" id="SizeValidationID">
+ showSummary="true" />
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#1" />
+ </f:facet>
+ <a4j:commandLink value="Select" reRender="SizeValidationID"></a4j:commandLink>
+ <f:facet name="footer">
+ <h:outputText value="#1" />
+ </f:facet>
+ </rich:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#4" />
+ </f:facet>
+ <h:outputText value="#{data.int2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#4" />
+ </f:facet>
+ </rich:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#5" />
+ </f:facet>
+ <h:outputText value="#{data.str1}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#5" />
+ </f:facet>
+ </rich:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#7" />
+ </f:facet>
+ <h:graphicImage value="#{data.str2}"></h:graphicImage>
+ <h:outputText value="#{data.str2}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#7" />
+ </f:facet>
+ </rich:column>
+
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="#9" />
+ </f:facet>
+ <h:selectBooleanCheckbox value="#{data.bool0}"></h:selectBooleanCheckbox>
+ <f:facet name="footer">
+ <h:outputText value="#9" />
+ </f:facet>
+ </rich:column>
+ </rich:dataTable>
+ </a4j:region>
+ <br />
+ <a4j:region>
+ <h:outputText value="Enter quantity of lines [data]" />
+ <h:panelGroup>
+ <h:inputText value="#{dataValidator.length}"/>
+ <a4j:commandButton action="#{dataValidator.addNewItem}" value="ok"
+ reRender="SizeValidationID"></a4j:commandButton>
+ </h:panelGroup>
+ </a4j:region>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarth.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarth.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarth.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,33 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="virtualEarthSubviewID">
+ <h:panelGrid columns="2">
+
+ <rich:virtualEarth id="vEarthID" lng="#{virtualEarth.lng}" onLoadMap="#{event.onLoadMap}" rendered="#{virtualEarth.rendered}" version="#{virtualEarth.version}" lat="#{virtualEarth.lat}" zoom="#{virtualEarth.zoom}"
+ dashboardSize="#{virtualEarth.dashboardSize}" mapStyle="#{virtualEarth.mapStyle}" var="map"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" binding="#{virtualEarth.htmlVirtualEarth}"/>
+
+ </h:panelGrid>
+
+ <a4j:outputPanel>
+ <script>
+ function createMarker(point,html) {
+ var marker = new GMarker(point);
+ GEvent.addListener(marker, "click", function() {
+ marker.openInfoWindowHtml(html);
+ });
+ return marker;
+ }
+ function showExadel() {
+ var point = new VELatLong(37.9721046, -122.0424842834);
+ map.SetCenterAndZoom(point, 16);
+ map.SetMapStyle(VEMapStyle.Birdseye);
+ }
+ function showExadelInMinsk() {
+ var point = new VELatLong(53.92316,27.510737);
+ map.SetCenterAndZoom(point, 16);
+ map.SetMapStyle(VEMapStyle.Birdseye);
+ }
+ </script>
+ </a4j:outputPanel>
+</f:subview>
Added: trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarthDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarthDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarthDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1 @@
+<rich:virtualEarth></rich:virtualEarth>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarthProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarthProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/VirtualEarth/VirtualEarthProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,72 @@
+
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ id="virtualEarthPropertySubviewID">
+ <h:commandButton action="#{virtualEarth.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <h:outputText value="lat(-97 < x > 97):"></h:outputText>
+ <h:inputText value="#{virtualEarth.lat}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="lng(-180 < x > 180):"></h:outputText>
+ <h:inputText value="#{virtualEarth.lng}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="dashboardSize"></h:outputText>
+ <h:selectOneMenu value="#{virtualEarth.dashboardSize}"
+ onchange="submit();">
+ <f:selectItem itemLabel="Normal" itemValue="Normal" />
+ <f:selectItem itemLabel="Small" itemValue="Small" />
+ <f:selectItem itemLabel="Tiny" itemValue="Tiny" />
+ </h:selectOneMenu>
+
+ <h:outputText value="mapStyle"></h:outputText>
+ <h:selectOneMenu value="#{virtualEarth.mapStyle}" onchange="submit();">
+ <f:selectItem itemLabel="Birdseye" itemValue="Birdseye" />
+ <f:selectItem itemLabel="Hybrid" itemValue="Hybrid" />
+ <f:selectItem itemLabel="Aerial" itemValue="Aerial" />
+ <f:selectItem itemLabel="Road" itemValue="Road" />
+ </h:selectOneMenu>
+
+ <h:outputText value="rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{virtualEarth.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <h:panelGroup>
+ <f:verbatim>
+ Dashboard:<br />
+ <a href="javascript:void(0);"
+ onclick="map.HideDashboard();return false;">Remove</a>
+ <a href="javascript:void(0);"
+ onclick="map.ShowDashboard();return false;">Show</a>
+ <br />
+ <br />
+ Type:<br />
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Road);return false;">Road</a>
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Aerial);return false;">Aerial</a>
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Hybrid);return false;">Hybrid</a>
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Birdseye);return false;">Birdseye</a>
+ <br />
+ <br />
+ Zoom:<br />
+ <a href="javascript:void(0);" onclick="map.ZoomIn();return false;">In</a>
+ <a href="javascript:void(0);" onclick="map.ZoomOut();return false;">Out</a>
+ <br />
+ <br />
+ <a href="javascript:void(0);" onclick="showExadel();return false;">Show
+ Exadel Office</a>
+ <br />
+ <a href="javascript:void(0);"
+ onclick="showExadelInMinsk();return false;">Show Exadel in
+ Belarus</a>
+ </f:verbatim>
+ </h:panelGroup>
+ <br />
+ <br />
+
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/.faces-config.xml.jsfdia
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/WEB-INF/.faces-config.xml.jsfdia (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/WEB-INF/.faces-config.xml.jsfdia 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PROCESS model-entity="JSFProcess">
+ <PROCESS-ITEM NAME="rules:#pages#Rich#Rich.xhtml"
+ PATH="/pages/Rich/Rich.xhtml" SHAPE="392,152,50,25"
+ model-entity="JSFProcessGroup" persistent="true"/>
+</PROCESS>
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/components.xml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/WEB-INF/components.xml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/WEB-INF/components.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<components xmlns="http://jboss.com/products/seam/components"
+ xmlns:core="http://jboss.com/products/seam/core"
+ xmlns:persistence="http://jboss.com/products/seam/persistence"
+ xmlns:drools="http://jboss.com/products/seam/drools"
+ xmlns:bpm="http://jboss.com/products/seam/bpm"
+ xmlns:security="http://jboss.com/products/seam/security"
+ xmlns:mail="http://jboss.com/products/seam/mail"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
+ http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
+ http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd
+ http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.0.xsd
+ http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
+ http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.0.xsd
+ http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
+
+ <core:init debug="true" jndi-pattern="@jndiPattern@" />
+
+ <core:manager concurrent-request-timeout="500"
+ conversation-timeout="120000" conversation-id-parameter="cid"
+ parent-conversation-id-parameter="pid" />
+
+ <persistence:managed-persistence-context name="entityManager"
+ auto-create="true"
+ entity-manager-factory="#{HelloWorldEntityManagerFactory}" />
+
+ <persistence:entity-manager-factory
+ name="HelloWorldEntityManagerFactory"
+ persistence-unit-name="HelloWorld" />
+
+ <drools:rule-base name="securityRules">
+ <drools:rule-files>
+ <value>/security.drl</value>
+ </drools:rule-files>
+ </drools:rule-base>
+
+ <security:identity
+ authenticate-method="#{authenticator.authenticate}"
+ security-rules="#{securityRules}" remember-me="true" />
+
+ <event type="org.jboss.seam.security.notLoggedIn">
+ <action execute="#{redirect.captureCurrentView}" />
+ </event>
+ <event type="org.jboss.seam.security.loginSuccessful">
+ <action execute="#{redirect.returnToCapturedView}" />
+ </event>
+
+ <mail:mail-session host="localhost" port="2525" username="test"
+ password="test" />
+
+ <!-- For use with jBPM pageflow or process management -->
+ <!--
+ <bpm:jbpm>
+ <bpm:process-definitions></bpm:process-definitions>
+ <bpm:pageflow-definitions></bpm:pageflow-definitions>
+ </bpm:jbpm>
+ -->
+</components>
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/WEB-INF/faces-config.xml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/WEB-INF/faces-config.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ 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_1_2.xsd">
+ <converter>
+ <converter-id>listShuttleConverter</converter-id>
+ <converter-class>
+ org.domain.HelloWorld.session.util.converter.ListShuttleConverter
+ </converter-class>
+ </converter>
+ <converter>
+ <converter-id>orderingListConverter</converter-id>
+ <converter-class>
+ org.domain.HelloWorld.session.util.converter.OrderingListConverter
+ </converter-class>
+ </converter>
+ <converter>
+ <converter-id>inplaceInputConverter</converter-id>
+ <converter-class>
+ org.domain.HelloWorld.session.util.converter.InplaceInputConverter
+ </converter-class>
+ </converter>
+ <validator>
+ <validator-id>CalendarValidator</validator-id>
+ <validator-class>
+ org.domain.HelloWorld.session.calendar.CalendarValidator
+ </validator-class>
+ </validator>
+ <validator>
+ <validator-id>MessageValidator</validator-id>
+ <validator-class>
+ org.domain.HelloWorld.session.message.MessageValidator
+ </validator-class>
+ </validator>
+ <application>
+ <locale-config>
+ <default-locale>en</default-locale>
+ <supported-locale>bg</supported-locale>
+ <supported-locale>de</supported-locale>
+ <supported-locale>en</supported-locale>
+ <supported-locale>fr</supported-locale>
+ <supported-locale>tr</supported-locale>
+ </locale-config>
+ </application>
+</faces-config>
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/jboss-web.xml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/WEB-INF/jboss-web.xml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/WEB-INF/jboss-web.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,12 @@
+ <!DOCTYPE jboss-web PUBLIC
+ "-//JBoss//DTD Web Application 4.2//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
+
+<jboss-web>
+ <class-loading java2ClassLoadingCompliance="false">
+ <loader-repository>
+ seam.jboss.org:loader=HelloWorld
+ <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
+ </loader-repository>
+ </class-loading>
+</jboss-web>
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/antlr-runtime.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/antlr-runtime.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/commons-beanutils.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/commons-beanutils.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/commons-digester.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/commons-digester.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/drools-compiler.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/drools-compiler.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/drools-core.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/drools-core.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-el.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-el.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-debug.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-debug.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-mail.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-mail.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-ui.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam-ui.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jboss-seam.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jbpm-jpdl.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jbpm-jpdl.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jsf-facelets.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/jsf-facelets.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/mvel14.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/mvel14.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/richfaces-api-3.2.2.BETA5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/richfaces-api-3.2.2.BETA5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/richfaces-impl-3.2.2.BETA5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/richfaces-impl-3.2.2.BETA5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/richfaces-ui-3.2.2.BETA5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/WEB-INF/lib/richfaces-ui-3.2.2.BETA5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/pages.xml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/WEB-INF/pages.xml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/WEB-INF/pages.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pages xmlns="http://jboss.com/products/seam/pages"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd"
+ no-conversation-view-id="/home.xhtml" login-view-id="/login.xhtml">
+
+ <page view-id="*">
+ <navigation>
+ <rule if-outcome="home">
+ <redirect view-id="/home.xhtml" />
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/home.xhtml">
+ <navigation>
+ <rule if-outcome="dataScroller">
+ <redirect view-id="/DataScroller.xhtml" />
+ </rule>
+ <rule if-outcome="dataTable_scroll">
+ <redirect view-id="/DataTable_scroll.xhtml" />
+ </rule>
+ <rule if-outcome="dataScroller1">
+ <redirect view-id="/DataScroller.xhtml" />
+ </rule>
+ <rule if-outcome="sortingAndFiltering">
+ <redirect view-id="/DataTable.xhtml" />
+ </rule>
+ <rule if-outcome="Rich">
+ <redirect view-id="/pages/Rich/Rich.xhtml" />
+ </rule>
+ <rule if-outcome="custom">
+ <redirect view-id="/CustomizePage/CustomizePage.xhtml" />
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/DataTable.xhtml">
+ <navigation>
+ <rule if-outcome="dataTable_scroll1">
+ <redirect view-id="/DataTable_scroll.xhtml" />
+ </rule>
+ </navigation>
+ </page>
+
+ <exception
+ class="org.jboss.seam.framework.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.OptimisticLockException">
+ <end-conversation />
+ <redirect view-id="/error.xhtml">
+ <message>
+ Another user changed the same data, please try again
+ </message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.AuthorizationException">
+ <redirect view-id="/error.xhtml">
+ <message>You don't have permission to do this</message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.NotLoggedInException">
+ <redirect view-id="/login.xhtml">
+ <message>Please log in first</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.faces.application.ViewExpiredException">
+ <redirect view-id="/error.xhtml">
+ <message>
+ Your session has timed out, please try again
+ </message>
+ </redirect>
+ </exception>
+
+ <exception>
+ <redirect view-id="/error.xhtml">
+ <message>Unexpected error, please try again</message>
+ </redirect>
+ </exception>
+
+</pages>
Added: trunk/test-applications/HelloWorld/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/WEB-INF/web.xml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/WEB-INF/web.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,81 @@
+<?xml version="1.0" ?>
+<web-app 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"
+ version="2.5">
+
+ <!-- Ajax4jsf -->
+
+ <context-param>
+ <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
+ <param-value>com.sun.facelets.FaceletViewHandler</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>org.richfaces.SKIN</param-name>
+ <param-value>blueSky</param-value>
+ </context-param>
+
+ <!-- Seam -->
+
+ <listener>
+ <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
+ </listener>
+
+ <filter>
+ <filter-name>Seam Filter</filter-name>
+ <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>Seam Filter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <servlet>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <url-pattern>/seam/resource/*</url-pattern>
+ </servlet-mapping>
+
+ <!-- Facelets development mode (disable in production) -->
+
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <!-- JSF -->
+
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+
+ <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>*.seam</url-pattern>
+ </servlet-mapping>
+
+ <security-constraint>
+ <display-name>Restrict raw XHTML Documents</display-name>
+ <web-resource-collection>
+ <web-resource-name>XHTML</web-resource-name>
+ <url-pattern>*.xhtml</url-pattern>
+ </web-resource-collection>
+ <auth-constraint/>
+ </security-constraint>
+
+
+
+</web-app>
Added: trunk/test-applications/HelloWorld/WebContent/error.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/error.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/error.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,18 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>Error</h1>
+ <p>Something bad happened :-(</p>
+
+ <h:messages styleClass="message"/>
+
+</ui:define>
+</ui:composition>
Added: trunk/test-applications/HelloWorld/WebContent/home.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/home.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/home.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,32 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" template="layout/template.xhtml">
+
+ <ui:define name="body">
+
+ <h:form>
+ <h:messages globalOnly="true" styleClass="message" />
+
+ <rich:panel>
+ <f:facet name="header">Welcome!</f:facet>
+ <p>This empty shell application includes:</p>
+ <ul>
+ <li><h:commandLink action="sortingAndFiltering" value="Sort/Filter dataTable test" /></li>
+ <li><h:commandLink action="custom" value="Customize page" /></li>
+ <li>JavaBean or EJB 3.0 Seam components</li>
+ <li>JPA entity classes</li>
+ <li>A configurable DataSource and JPA EntityManager</li>
+ <li>Templated Facelets views</li>
+ <li>RichFaces panels and tables</li>
+ <li>Default CSS stylesheet</li>
+ <li><h:commandLink action="Rich" value="RichFaces" /></li>
+ </ul>
+ </rich:panel>
+ </h:form>
+ </ui:define>
+</ui:composition>
Added: trunk/test-applications/HelloWorld/WebContent/img/dtpick.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/img/dtpick.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/img/error.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/img/error.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/index.html
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/index.html (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/index.html 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,5 @@
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=home.seam">
+</head>
+</html>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/jQuery/jQuery.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/jQuery/jQuery.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/jQuery/jQuery.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,129 @@
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich" id="jQuerySubviewID">
+ <style>
+.divSize_1 {
+ width: 150px;
+ height: 90px;
+ margin: 10px;
+ border: 2px solid #DAA520;
+}
+
+.divColor_1 {
+ background-color: #1E90FF;
+}
+
+.divTextSize_1 {
+ font-size: xx-large;
+}
+
+.divSize_2 {
+ width: 90px;
+ height: 150px;
+ margin: 10px;
+ border: 2px solid #FF0000;
+}
+
+.divColor_2 {
+ background-color: #7FFF00;
+}
+
+.oddTable {
+ background-color: #FFE4C4;
+}
+
+.activeTable {
+ background-color: #AFEEEE;
+}
+
+.fontColor {
+ font-style: italic;
+ color: #228B22;
+}
+</style>
+ <h:panelGrid id="panelGridID" columns="2" border="1">
+ <h:outputText value="add text: [li],work!, e.g. A. one [li],work!" />
+ <h:panelGroup>
+ <f:verbatim>
+ <ol type="A" title="li">
+ <li>one</li>
+ <li>two</li>
+ <li>three</li>
+ </ol>
+ </f:verbatim>
+ </h:panelGroup>
+
+ <h:outputText value="green text: add text3 " />
+ <f:verbatim>
+ <p><span>Text1 </span>text2</p>
+ </f:verbatim>
+
+ <h:panelGroup>
+ <h:outputText
+ value="Rectangle: size: "150 x 90"; bgcolor: "dodgerblue"" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText value="Table: bgcolor: "bisque"" />
+ </h:panelGroup>
+ <f:verbatim>
+ <div id="div_1_ID">xx-large <br />
+ text</div>
+ </f:verbatim>
+
+ <h:panelGroup>
+ <h:outputText
+ value="Rectangle: size: "90 x 150"; border-color "red"" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText value="Table: bgcolor: "none"" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText value="effect(mouseover)" />
+ </h:panelGroup>
+ <f:verbatim>
+ <div id="div_2_ID">normal text</div>
+ </f:verbatim>
+ </h:panelGrid>
+
+
+ <rich:jQuery selector="li" timing="onload" id="jQid"
+ query="find('ol').end().append('[li],work!')" binding="#{jQuery.htmlJQuery}" />
+
+ <rich:jQuery selector="body" timing="onload" query="addClass('body')" />
+ <rich:jQuery selector="tr:nth-child(odd)" timing="onload"
+ query="addClass('oddTable')" />
+ <rich:jQuery selector="#panelGridID tr"
+ query="mouseover(function(){jQuery(this).addClass('activeTable')})" />
+ <rich:jQuery selector="#panelGridID tr"
+ query="mouseout(function(){jQuery(this).removeClass('activeTable')})" />
+
+ <rich:jQuery selector="#div_2_ID" timing="onload"
+ query="mouseover(function(){jQuery(this).fadeOut({height: 'hide'}, 500).text('New text').animate({height: 'show'}, 500)})" />
+ <rich:jQuery selector="p" timing="onload"
+ query="find('span').html('text1').end().append('<p class=\'fontColor\'>add text3<p>')" />
+ <rich:jQuery selector="#div_1_ID" timing="onload"
+ query="addClass('divSize_1')" />
+ <rich:jQuery selector=".divSize_1" timing="onload"
+ query="addClass('divColor_1')" />
+ <rich:jQuery selector="#panelGridID #div_1_ID" timing="onload"
+ query="addClass('divTextSize_1')" />
+ <rich:jQuery selector="#form\\:panelGridID #div_2_ID" timing="onload"
+ query="addClass('divSize_2')" />
+ <br />
+ <h:commandButton action="#{jQuery.add}" value="add test" />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('jQid').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/layout/display.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/layout/display.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/layout/display.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,16 @@
+<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:s="http://jboss.com/products/seam/taglib">
+
+ <div class="prop">
+ <span class="name">
+ <ui:insert name="label"/>
+ </span>
+ <span class="value">
+ <ui:insert/>
+ </span>
+ </div>
+
+</ui:composition>
Added: trunk/test-applications/HelloWorld/WebContent/layout/edit.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/layout/edit.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/layout/edit.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,27 @@
+<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:s="http://jboss.com/products/seam/taglib">
+
+ <div class="prop">
+
+ <s:label styleClass="name #{invalid?'errors':''}">
+ <ui:insert name="label"/>
+ <s:span styleClass="required" rendered="#{required}">*</s:span>
+ </s:label>
+
+ <span class="value #{invalid?'errors':''}">
+ <s:validateAll>
+ <ui:insert/>
+ </s:validateAll>
+ </span>
+
+ <span class="error">
+ <h:graphicImage value="/img/error.gif" rendered="#{invalid}" styleClass="errors"/>
+ <s:message styleClass="errors"/>
+ </span>
+
+ </div>
+
+</ui:composition>
Added: trunk/test-applications/HelloWorld/WebContent/layout/menu.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/layout/menu.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/layout/menu.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,18 @@
+<rich:toolBar
+ 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:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.org/rich">
+ <rich:toolBarGroup>
+ <h:outputText value="#{projectName}:"/>
+ <s:link view="/home.xhtml" value="Home"/>
+ </rich:toolBarGroup>
+ <!-- @newMenuItem@ -->
+ <rich:toolBarGroup location="right">
+ <h:outputText value="Welcome, #{identity.username}!" rendered="#{identity.loggedIn}"/>
+ <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
+ <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
+ </rich:toolBarGroup>
+</rich:toolBar>
Added: trunk/test-applications/HelloWorld/WebContent/layout/template.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/layout/template.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/layout/template.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,30 @@
+<!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:s="http://jboss.com/products/seam/taglib">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>HelloWorld</title>
+ <link href="stylesheet/theme.css" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+
+ <ui:include src="menu.xhtml">
+ <ui:param name="projectName" value="HelloWorld"/>
+ </ui:include>
+
+ <div class="body">
+ <ui:insert name="body"/>
+ </div>
+
+ <div class="footer">
+ Powered by <a href="http://jboss.com/products/seam">Seam</a>.
+ Generated by seam-gen.
+ </div>
+
+</body>
+</html>
Added: trunk/test-applications/HelloWorld/WebContent/login.page.xml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/login.page.xml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/login.page.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<page xmlns="http://jboss.com/products/seam/pages"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd">
+
+ <navigation from-action="#{identity.login}">
+ <rule if="#{identity.loggedIn}">
+ <redirect view-id="/home.xhtml"/>
+ </rule>
+ </navigation>
+
+</page>
Added: trunk/test-applications/HelloWorld/WebContent/login.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/login.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/login.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,49 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h:messages styleClass="message"/>
+
+ <h:form id="login">
+
+ <rich:panel>
+ <f:facet name="header">Login</f:facet>
+
+ <p>Please login here</p>
+
+ <div class="dialog">
+ <h:panelGrid columns="2" rowClasses="prop" columnClasses="name,value">
+ <h:outputLabel for="username">Username</h:outputLabel>
+ <h:inputText id="username"
+ value="#{identity.username}"/>
+ <h:outputLabel for="password">Password</h:outputLabel>
+ <h:inputSecret id="password"
+ value="#{identity.password}"/>
+ <h:outputLabel for="rememberMe">Remember me</h:outputLabel>
+ <h:selectBooleanCheckbox id="rememberMe"
+ value="#{identity.rememberMe}"/>
+ </h:panelGrid>
+ </div>
+
+ <p>
+ <i>Note - </i> You may login using any username/password combination.
+ </p>
+
+ </rich:panel>
+
+ <div class="actionButtons">
+ <h:commandButton value="Login" action="#{identity.login}"/>
+ </div>
+
+ </h:form>
+
+ </ui:define>
+</ui:composition>
Added: trunk/test-applications/HelloWorld/WebContent/pages/Blank/Blank.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/pages/Blank/Blank.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/pages/Blank/Blank.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,3 @@
+
+<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="calendarSubviewID">
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankDefault.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankDefault.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankDefault.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,2 @@
+<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="defaultSubviewID">
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankProperty.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankProperty.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankProperty.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,3 @@
+
+<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="PropertySubviewID">
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankStraightforward.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankStraightforward.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/pages/Blank/BlankStraightforward.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,3 @@
+
+<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="StraightforwardSubviewID">
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/pages/Info/Info.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/pages/Info/Info.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/pages/Info/Info.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,38 @@
+<f:subview id="infoSubview" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+ <h:panelGrid binding="#{myInfo.panelEvent}" columns="2">
+ </h:panelGrid>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:commandButton action="#{myInfo.getEvent}" value="test event"></h:commandButton>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="style:"></h:outputText>
+ <h:dataTable id="styleTableID" value="#{myInfo.style}" var="myInfo">
+ <h:column>
+ <h:outputText value="#{myInfo.key}"></h:outputText>
+ </h:column>
+ <h:column>
+ <h:outputText value="#{myInfo.value}"></h:outputText>
+ </h:column>
+ </h:dataTable>
+
+ <h:outputText value="attribute"></h:outputText>
+ <h:selectBooleanCheckbox value="#{option.attribute}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+
+ <h:outputText value="attribute:" rendered="#{option.attribute}"></h:outputText>
+ <h:dataTable id="attributeTableID" rendered="#{option.attribute}"
+ value="#{myInfo.attribute}" var="myInfo">
+ <h:column>
+ <h:outputText value="#{myInfo.key}"></h:outputText>
+ </h:column>
+ <h:column>
+ <h:outputText value="#{myInfo.value}"></h:outputText>
+ </h:column>
+ </h:dataTable>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/pages/Rich/Rich.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/pages/Rich/Rich.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/pages/Rich/Rich.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,62 @@
+<!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"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>HelloWorld</title>
+</head>
+
+<body>
+
+<h:form id="formID">
+ <div id="divOpthID" align="right" style="z-index: 200"><ui:include
+ src="/pages/RichMenu/RichMenu.xhtml" /></div>
+ <rich:messages id="richMessagesID" ajaxRendered="true"
+ showSummary="true">
+ <f:facet name="errorMarker">
+ <h:graphicImage url="/pics/error.gif" />
+ </f:facet>
+
+ <f:facet name="fatalMarker">
+ <h:graphicImage url="/pics/fatal.gif" />
+ </f:facet>
+
+ <f:facet name="infoMarker">
+ <h:graphicImage url="/pics/info.gif" />
+ </f:facet>
+
+ <f:facet name="warnMarker">
+ <h:graphicImage url="/pics/warn.gif" />
+ </f:facet>
+
+ <f:facet name="passedMarker">
+ <h:graphicImage url="/pics/passed.gif" />
+ </f:facet>
+ </rich:messages>
+ <h:messages showDetail="true" showSummary="true"></h:messages>
+
+ <h:panelGrid id="richGridID" columns="1" width="100%">
+ <h:column rendered="#{option.reComponent}">
+ <ui:include src="#{richBean.pathComponent}" />
+ </h:column>
+
+ <h:column rendered="#{option.reStraightforward}">
+ <ui:include src="#{richBean.pathStraightforward}" />
+ </h:column>
+
+ <h:column rendered="#{option.reProperty}">
+ <ui:include src="#{richBean.pathProperty}" />
+ </h:column>
+
+ </h:panelGrid>
+
+ <ui:include src="/pages/Info/Info.xhtml" />
+
+</h:form>
+</body>
+</html>
Added: trunk/test-applications/HelloWorld/WebContent/pages/RichMenu/RichMenu.xhtml
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/pages/RichMenu/RichMenu.xhtml (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/pages/RichMenu/RichMenu.xhtml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,51 @@
+<f:subview xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="richMenuSubviewID">
+ <h:panelGrid columns="5" border="1">
+ <h:panelGrid columns="2">
+ <h:outputText value="h" />
+ <h:outputText value="a4j" />
+ <h:commandButton value="submit" style="width : 85px; height : 21px;"></h:commandButton>
+ <a4j:commandButton value="submit" reRender="richGridID" style="width : 85px; height : 21px;"></a4j:commandButton>
+ <h:commandButton value="immediate" immediate="true" style="width : 85px; height : 21px;"></h:commandButton>
+ <a4j:commandButton value="immediate" immediate="true" reRender="richGridID" style="width : 85px; height : 21px;"></a4j:commandButton>
+ </h:panelGrid>
+ <h:panelGrid columns="1">
+ <a4j:status startText="WORK!" startStyle="color: red;" stopText="a4j:status"></a4j:status>
+ </h:panelGrid>
+ <h:panelGrid columns="1">
+ <h:panelGrid columns="4">
+ <h:outputText value="Default:" />
+ <h:selectBooleanCheckbox value="#{option.reDefault}" />
+
+ <h:outputText value="Component" />
+ <h:selectBooleanCheckbox value="#{option.reComponent}" onchange="submit();" />
+
+ <h:outputText value="Straightforward" />
+ <h:selectBooleanCheckbox value="#{option.reStraightforward}" onchange="submit();" />
+
+ <h:outputText value="Property" />
+ <h:selectBooleanCheckbox value="#{option.reProperty}" onchange="submit();" />
+ </h:panelGrid>
+ </h:panelGrid>
+
+ <h:panelGrid columns="1">
+ <h:outputText value="Select skin: " />
+ <h:selectOneMenu binding="#{skinBean.skinComponent}" onblur="submit();">
+ <a4j:support action="#{skinBean.change}" event="onchange" />
+ </h:selectOneMenu>
+ <h:selectOneMenu value="#{skinning.selectSkinning}" onblur="submit();">
+ <f:selectItem itemLabel="none" itemValue="none"/>
+ <f:selectItem itemLabel="skinning" itemValue="SKINNING"/>
+ <f:selectItem itemLabel="skinningClass" itemValue="SKINNING_CLASSES"/>
+ </h:selectOneMenu>
+ </h:panelGrid>
+
+ <h:panelGrid columns="1">
+ <h:outputText value="Select component:" />
+ <h:selectOneMenu value="#{richBean.src}" immediate="true" onchange="submit();">
+ <f:selectItems value="#{richBean.list}" />
+ <f:param value="#{richBean.src}" name="currentComponent"/>
+ </h:selectOneMenu>
+ </h:panelGrid>
+ </h:panelGrid>
+ <h:commandLink value="Back" action="main"></h:commandLink>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/pics/458_1_big.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/458_1_big.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/458_2_big.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/458_2_big.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/ajax_process.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/ajax_process.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/ajax_stoped.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/ajax_stoped.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/asus.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/asus.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/benq.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/benq.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/collapse.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/collapse.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/error.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/error.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/expand.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/expand.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/fatal.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/fatal.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/file-manager-reject.png
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/file-manager-reject.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/file-manager.png
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/file-manager.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/header.png
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/header.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/info.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/info.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/item.png
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/item.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/masshtaby_01.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/masshtaby_01.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/passed.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/passed.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/podb109_61.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/podb109_61.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/toshiba.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/toshiba.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/pics/warn.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/HelloWorld/WebContent/pics/warn.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/HelloWorld/WebContent/styles/app.css
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/styles/app.css (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/styles/app.css 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,29 @@
+.rich-message-label{
+ padding: 0px 10px;
+}
+
+.rich-messages-label{
+ padding: 0px 10px
+}
+
+.rich-message-marker{
+}
+
+.rich-message{
+}
+
+.errorLabel{
+ color: #FF0000;
+}
+
+.warnLabel{
+ color: #0000FF;
+}
+
+.infoLabel{
+ color: #00FF00;
+}
+
+.fatalLabel{
+ color: #FF1493;
+}
Added: trunk/test-applications/HelloWorld/WebContent/styles/styles.css
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/styles/styles.css (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/styles/styles.css 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,256 @@
+/*simple toggle panel (icon position)*/
+.dr-stglpanel-marker {
+ float: right;
+}
+/* Message and messages */
+.rich-message-label {
+ padding: 0px 10px;
+}
+
+.rich-messages-label {
+ padding: 0px 10px
+}
+
+.rich-message-marker {
+
+}
+
+.rich-message {
+
+}
+
+.errorLabel {
+ color: #FF0000;
+}
+
+.warnLabel {
+ color: #0000FF;
+}
+
+.infoLabel {
+ color: #00FF00;
+ width: inherit;
+}
+
+.fatalLabel {
+ color: #FF1493;
+}
+
+.maintext {
+ font-size: 30px !important;
+}
+
+.text1 {
+ font-size: 14px !important;
+}
+
+.style {
+ background: teal;
+ border: solid 3px red;
+ font: 14px arial bold;
+}
+
+/* inputNumderSlider Styles */
+.barStyle {
+ background-color: purple !important;
+ border: red 3px solid;
+}
+
+.inputStyle {
+ background-color: lime !important;
+ border: red 3px solid;
+ font-family: monospace;
+}
+
+.tipStyle {
+ border: green 3px solid;
+ background-color: yellow;
+ font: 14px san-serif italic;
+}
+
+.handleStyle {
+ border: green 3px solid;
+ background-color: yellow;
+}
+
+/* TabPanel Styles */
+.activeTabStyle {
+ background: lime;
+ border: solid 3px black;
+ font: 14px arial italic ;
+}
+
+.inactiveTabStyle {
+ background: gray;
+ border: solid 3px blue;
+ font: 14px san-serif bold ;
+}
+
+.disabledTabStyle {
+ background: silver;
+ border: dotted 3px blue;
+ font: 14px small-caps normal;
+}
+
+.contentStyle {
+ background: silver;
+ border: 1px red solid;
+ font: 20px tahoma normal;
+}
+
+/* inputNumerSpinner Styles*/
+.inputStyle {
+ background: aqua;
+ border: thin red;
+ font: 15px fantasy normal;
+}
+
+/* ToolBar Styles*/
+.separatorStyle {
+ border: 3px solid red;
+ background: lime;
+}
+
+/*Calendar*/
+.smallText {
+ font-size: xx-small;
+}
+
+.largeText {
+ font-size: xx-large;
+}
+
+.Selecteddayclass {
+ background-color: #0087FF;
+}
+
+/*Data FilterSlider*/
+.column {
+ width: 75px;
+ font: normal 11px tahoma, sans-serif;
+ text-align: center;
+}
+
+.column-index {
+ width: 75px;
+ font: normal 11px tahoma, sans-serif;
+ text-align: left;
+}
+
+.list-row3 {
+ background-color: #ececec;
+}
+
+.list-row1 {
+ background-color: #f1f6fd;
+}
+
+.list-row2 {
+ background-color: #fff;
+}
+
+.list-header {
+ font: bold 11px tahoma, sans-serif;
+ text-align: center;
+}
+
+.list-table1 {
+ border: 1px solid #bed6f8;
+}
+
+.list-table2 {
+ border: 1px solid #bed6f8;
+}
+
+/*Drag and drop*/
+.dropzoneDecoration {
+ width: 70px;
+ height: 70px;
+ border: 2px dotted navy;
+}
+
+.accept {
+ border: 3px dotted green;
+ padding: 10px;
+}
+
+.reject {
+ border: 3px dashed red;
+ padding: 10px;
+}
+
+.mousemove {
+ border: 3px dotted green;
+ padding: 5px;
+}
+
+/*Panel2*/
+.panel {
+ vertical-align: top;
+}
+
+.rich-panel-header {
+
+}
+
+.top {
+ width: 200px !important;
+ height: 100px !important;
+}
+
+.hea {
+ color: #FCC !important;
+}
+
+.bo {
+ color: #F00 !important;
+}
+
+.top2 {
+ width: 200px !important;
+ height: 100px !important;
+ border: 2px solid #4C9600 !important;
+ background-color: #E4FFC8 !important;
+}
+
+.hea2 {
+ background-image: url() !important;
+ background-color: #4C9600 !important;
+ height: 18px !important;
+ text-align: center !important;
+ vertical-align: middle !important;
+ color: #CFF !important;
+ padding: 4px 0 !important;
+}
+
+.bo2 {
+ color: #4C9600;
+}
+
+.bo3 {
+ height: 100px;
+ overflow: auto;
+}
+
+/*TabPanel*/
+.text {
+ font-size: 20px
+}
+
+.bgc {
+ border: thick;
+ background-color: green
+}
+
+/*SimpleTogglePanel*/
+.head {
+ background-color: aqua;
+}
+
+.body {
+ background-color: purple;
+}
+.test{
+ color: red;
+ background-color:red;
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/WebContent/stylesheet/theme.css
===================================================================
--- trunk/test-applications/HelloWorld/WebContent/stylesheet/theme.css (rev 0)
+++ trunk/test-applications/HelloWorld/WebContent/stylesheet/theme.css 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,117 @@
+body {
+ font-size: 12px;
+}
+
+a:active, a:link, a:visited {
+ color: #0D5798;
+}
+a:hover {
+ color: #8CAFCD;
+}
+
+input, textarea {
+ border: 1px solid #BBBBBB;
+ font-size: 10px;
+ background: #F0F8FF;
+ color: black;
+}
+
+input[type='submit'], input[type='button'] {
+ background: #4477AA;
+ color: white;
+ margin: 5px;
+ border-color: gray;
+}
+
+.tableControl, .actionButtons {
+ width: 100%;
+}
+
+.tableControl a {
+ padding-left: 10px;
+}
+
+.tableControl {
+ text-align: right;
+}
+
+.footer {
+ text-align: center;
+ font-size: 10px;
+}
+
+.rich-table {
+ width:100%;
+}
+
+h1 {
+ font-family: Arial,sans-serif;
+ color: #578BB8;
+ font-size: 1.6em;
+ margin-top: 0;
+}
+
+body {
+ margin: 0px;
+ font-family: Arial,sans-serif;
+ color: #616161;
+}
+
+.body {
+ padding: 30px;
+}
+
+.columnHeader:hover
+{
+ color: #FF6600;
+}
+
+.message {
+ border: 1px solid #FFCC00;
+ padding: 5px;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ background-color: #F0F8FF;
+ font-size: 12px;
+}
+
+.name {
+ vertical-align: top;
+ font-weight: bold;
+ width: 115px;
+ float: left;
+ padding: 5px;
+ margin-top: 3px;
+ clear: left;
+}
+.value {
+ float: left;
+ padding: 5px;
+}
+
+.error {
+ float: left;
+ padding: 5px;
+}
+.errors {
+ color: red;
+ vertical-align: middle;
+}
+img.errors {
+ padding-right: 5px;
+}
+.errors input {
+ border: 1px solid red;
+}
+.errors textarea {
+ border: 1px solid red;
+}
+
+.required {
+ color: red;
+ padding-left: 2px;
+}
+
+.rich-stglpanel-body {
+ overflow: auto;
+}
Added: trunk/test-applications/HelloWorld/hibernate-console.properties
===================================================================
--- trunk/test-applications/HelloWorld/hibernate-console.properties (rev 0)
+++ trunk/test-applications/HelloWorld/hibernate-console.properties 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,10 @@
+#File used by hibernate tools to override <datasource> and other container specific settings in persistence.xml
+hibernate.connection.password=
+hibernate.connection.username=sa
+hibernate.connection.driver_class=org.hsqldb.jdbcDriver
+hibernate.dialect=org.hibernate.dialect.HSQLDialect
+hibernate.connection.url=jdbc:hsqldb:.
+
+hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider
+hibernate.datasource=
+hibernate.transaction.manager_lookup_class=
Added: trunk/test-applications/HelloWorld/resources/HelloWorld-ds.xml
===================================================================
--- trunk/test-applications/HelloWorld/resources/HelloWorld-ds.xml (rev 0)
+++ trunk/test-applications/HelloWorld/resources/HelloWorld-ds.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE datasources
+ PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
+
+<datasources>
+
+ <local-tx-datasource>
+ <jndi-name>HelloWorldDatasource</jndi-name>
+ <connection-url>jdbc:hsqldb:.</connection-url>
+ <driver-class>org.hsqldb.jdbcDriver</driver-class>
+ <user-name>sa</user-name>
+ <password></password>
+<!--
+ <exception-sorter-class-name>
+ org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
+ </exception-sorter-class-name>
+ <metadata>
+ <type-mapping>mySQL</type-mapping>
+ </metadata>
+-->
+ </local-tx-datasource>
+
+</datasources>
+
Added: trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/Authenticator.java
===================================================================
--- trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/Authenticator.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/Authenticator.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,26 @@
+package org.domain.HelloWorld.session;
+
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.security.Identity;
+
+
+@Name("authenticator")
+public class Authenticator
+{
+ @Logger Log log;
+
+ @In Identity identity;
+
+ public boolean authenticate()
+ {
+ log.info("authenticating #0", identity.getUsername());
+ //write your authentication logic here,
+ //return true if the authentication was
+ //successful, false otherwise
+ identity.addRole("admin");
+ return true;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/Container.java
===================================================================
--- trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/Container.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/Container.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,22 @@
+package org.domain.HelloWorld.session;
+
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Table;
+
+@Entity
+@Table(name="container")
+public class Container{
+
+ @GeneratedValue
+ private Integer id;
+
+ public Container(){
+ }
+ public Integer getId() {
+ return id;
+ }
+ public void setId(Integer id) {
+ this.id = id;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/ContainerManager.java
===================================================================
--- trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/ContainerManager.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/ContainerManager.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,46 @@
+package org.domain.HelloWorld.session;
+
+import java.util.List;
+
+import javax.ejb.Remove;
+import javax.ejb.Stateful;
+import javax.persistence.EntityManager;
+import org.hibernate.Criteria;
+import org.hibernate.Session;
+import org.hibernate.criterion.Projections;
+import org.jboss.seam.annotations.Name;
+
+@Stateful
+@Name("containerManager")
+public class ContainerManager implements ContainerService {
+
+ private EntityManager entityManager;
+
+ public Integer countContainers() {
+ // For test and debug purposes you can comment the following code and
+ // just: return 500;
+// Session session = (Session) entityManager.getDelegate();
+// Criteria criteria = session.createCriteria(Container.class)
+// .setProjection(Projections.rowCount());
+// Integer containerCount = (Integer) criteria.uniqueResult();
+ return 500;
+ }
+
+ public List<Container> findContainersPaged(int firstRow, int numberOfRows,
+ String sortField, boolean descending) {
+ List<Container> container = entityManager.createQuery(
+ "select c from Container c ").setFirstResult(firstRow)
+ .setMaxResults(numberOfRows).getResultList();
+ System.out.println(container);
+ return container;
+ }
+
+ public Container getContainerById(Integer id) {
+ return entityManager.find(Container.class, id);
+ }
+ @Remove
+ public void removeEntity(){
+ entityManager = null;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/ContainerService.java
===================================================================
--- trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/ContainerService.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/ContainerService.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,10 @@
+package org.domain.HelloWorld.session;
+
+import java.util.List;
+
+public interface ContainerService {
+ public Integer countContainers();
+ public List<Container> findContainersPaged(int firstRow, int numberOfRows,
+ String sortField, boolean descending);
+ public Container getContainerById(Integer id);
+}
Added: trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/TestDataModel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/TestDataModel.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/action/org/domain/HelloWorld/session/TestDataModel.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,139 @@
+package org.domain.HelloWorld.session;
+
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.faces.context.FacesContext;
+import javax.persistence.Entity;
+
+import org.jboss.seam.annotations.In;
+import org.ajax4jsf.model.DataVisitor;
+import org.ajax4jsf.model.Range;
+import org.ajax4jsf.model.SequenceRange;
+import org.ajax4jsf.model.SerializableDataModel;
+
+@Entity(name="testDataModel")
+public class TestDataModel extends SerializableDataModel {
+
+ private Integer currentPk;
+ private boolean detached = false;
+ private boolean descending;
+ private List<Integer> wrappedKeys = null;
+ private final Map<Integer, Container> wrappedData = new HashMap<Integer, Container>();
+ private int rowCount = 0;
+
+ @Override
+ public Object getRowKey() {
+ return currentPk;
+ }
+
+ @Override
+ public void setRowKey(Object key) {
+ this.currentPk = (Integer) key;
+ }
+
+ @In(create = true)
+ private ContainerService containerManager;
+
+ @Override
+ public void walk(FacesContext context, DataVisitor visitor, Range range,
+ Object argument) throws IOException {
+ System.out.println("TestDataModel.walk()");
+ if (detached) {
+ for (Integer key : wrappedKeys) {
+ setRowKey(key);
+ visitor.process(context, key, argument);
+ }
+ } else {
+ int firstRow = ((SequenceRange) range).getFirstRow();
+ int numberOfRows = 10;// ((SequenceRange) range).getRows();
+ wrappedKeys = new ArrayList<Integer>();
+
+ for (Container container : containerManager.findContainersPaged(
+ firstRow, numberOfRows, null, false)) {
+ wrappedKeys.add(container.getId());
+ wrappedData.put(container.getId(), container);
+ visitor.process(context, container.getId(), argument);
+ }
+ }
+ }
+
+ @Override
+ public SerializableDataModel getSerializableModel(Range range) {
+ if (wrappedKeys != null) {
+ detached = true;
+ return this;
+ }
+ return null;
+ }
+
+ @Override
+ public void update() {
+ detached = false;
+ }
+
+ @Override
+ public int getRowCount() {
+// if (rowCount == 0) {
+// rowCount = containerManager.countContainers();
+// }
+ // Here for test and debug purposes you can comment the code above and
+ // just do:
+ // return 500;
+
+ return 500;
+ }
+
+ @Override
+ public Object getRowData() {
+ System.out.println("TestDataModel.getRowData()");
+ if (currentPk == null) {
+ return null;
+ } else {
+ Container container = wrappedData.get(currentPk);
+ if (container == null) {
+ container = containerManager.getContainerById(currentPk);
+ wrappedData.put(currentPk, container);
+ }
+ return container;
+ }
+ }
+
+ @Override
+ public boolean isRowAvailable() {
+ if (currentPk == null) {
+ return false;
+ }
+ if (wrappedKeys.contains(currentPk)) {
+ return true;
+ }
+ if (wrappedData.entrySet().contains(currentPk)) {
+ return true;
+ }
+ if (containerManager.getContainerById(currentPk) != null) {
+ return true;
+ }
+ return false;
+ }
+
+ @Override
+ public void setRowIndex(int index) {
+ }
+
+ @Override
+ public int getRowIndex() {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public Object getWrappedData() {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public void setWrappedData(java.lang.Object data) {
+ throw new UnsupportedOperationException();
+ }
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/action/seam.properties
===================================================================
Added: trunk/test-applications/HelloWorld/src/model/META-INF/persistence.xml
===================================================================
--- trunk/test-applications/HelloWorld/src/model/META-INF/persistence.xml (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/META-INF/persistence.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Persistence deployment descriptor for dev profile -->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+
+ <persistence-unit name="HelloWorld" transaction-type="JTA">
+ <provider>org.hibernate.ejb.HibernatePersistence</provider>
+ <jta-data-source>java:/HelloWorldDatasource</jta-data-source>
+ <properties>
+ <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
+ <property name="hibernate.hbm2ddl.auto" value="update"/>
+ <property name="hibernate.show_sql" value="true"/>
+ <property name="hibernate.format_sql" value="true"/>
+ <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
+ </properties>
+ </persistence-unit>
+
+</persistence>
Added: trunk/test-applications/HelloWorld/src/model/components.properties
===================================================================
--- trunk/test-applications/HelloWorld/src/model/components.properties (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/components.properties 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,4 @@
+#
+#Fri Aug 22 20:26:51 EEST 2008
+jndiPattern=\#{ejbName}/local
+embeddedEjb=false
Added: trunk/test-applications/HelloWorld/src/model/import.sql
===================================================================
--- trunk/test-applications/HelloWorld/src/model/import.sql (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/import.sql 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,500 @@
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
+insert into container values(null);
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/messages_en.properties
===================================================================
--- trunk/test-applications/HelloWorld/src/model/messages_en.properties (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/messages_en.properties 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,90 @@
+up=\u2191
+down=\u2193
+left=\u2039
+right=\u203A
+
+validator.assertFalse=validation failed
+validator.assertTrue=validation failed
+validator.future=must be a future date
+validator.length=length must be between {min} and {max}
+validator.max=must be less than or equal to {value}
+validator.min=must be greater than or equal to {value}
+validator.notNull=may not be null
+validator.past=must be a past date
+validator.pattern=must match "{regex}"
+validator.range=must be between {min} and {max}
+validator.size=size must be between {min} and {max}
+validator.email=must be a well-formed email address
+
+org.jboss.seam.loginFailed=Login failed
+org.jboss.seam.loginSuccessful=Welcome, #0
+
+org.jboss.seam.TransactionFailed=Transaction failed
+org.jboss.seam.NoConversation=The conversation ended, timed out or was processing another request
+org.jboss.seam.IllegalNavigation=Illegal navigation
+org.jboss.seam.ProcessEnded=Process #0 already ended
+org.jboss.seam.ProcessNotFound=Process #0 not found
+org.jboss.seam.TaskEnded=Task #0 already ended
+org.jboss.seam.TaskNotFound=Task #0 not found
+org.jboss.seam.NotLoggedIn=Please log in first
+
+javax.faces.component.UIInput.CONVERSION=value could not be converted to the expected type
+javax.faces.component.UIInput.REQUIRED=value is required
+javax.faces.component.UIInput.UPDATE=an error occurred when processing your submitted information
+javax.faces.component.UISelectOne.INVALID=value is not valid
+javax.faces.component.UISelectMany.INVALID=value is not valid
+
+javax.faces.converter.BigDecimalConverter.DECIMAL=value must be a number
+javax.faces.converter.BigDecimalConverter.DECIMAL_detail=value must be a signed decimal number consisting of zero or more digits, optionally followed by a decimal point and fraction, eg. {1}
+javax.faces.converter.BigIntegerConverter.BIGINTEGER=value must be an integer
+javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=value must be a signed integer number consisting of zero or more digits
+javax.faces.converter.BooleanConverter.BOOLEAN=value must be true or false
+javax.faces.converter.BooleanConverter.BOOLEAN_detail=value must be true or false (any value other than true will evaluate to false)
+javax.faces.converter.ByteConverter.BYTE=value must be a number between 0 and 255
+javax.faces.converter.ByteConverter.BYTE_detail=value must be a number between 0 and 255
+javax.faces.converter.CharacterConverter.CHARACTER=value must be a character
+javax.faces.converter.CharacterConverter.CHARACTER_detail=value must be a valid ASCII character
+javax.faces.converter.DateTimeConverter.DATE=value must be a date
+javax.faces.converter.DateTimeConverter.DATE_detail=value must be a date, eg. {1}
+javax.faces.converter.DateTimeConverter.TIME=value must be a time
+javax.faces.converter.DateTimeConverter.TIME_detail=value must be a time, eg. {1}
+javax.faces.converter.DateTimeConverter.DATETIME=value must be a date and time
+javax.faces.converter.DateTimeConverter.DATETIME_detail=value must be a date and time, eg. {1}
+javax.faces.converter.DateTimeConverter.PATTERN_TYPE=a pattern or type attribute must be specified to convert the value
+javax.faces.converter.DoubleConverter.DOUBLE=value must be a number
+javax.faces.converter.DoubleConverter.DOUBLE_detail=value must be a number between 4.9E-324 and 1.7976931348623157E308
+javax.faces.converter.EnumConverter.ENUM=value must be convertible to an enum
+javax.faces.converter.EnumConverter.ENUM_detail=value must be convertible to an enum or from the enum that contains the constant {1}
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS=value must be convertible to an enum or from the enum, but no enum class provided
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=value must be convertible to an enum or from the enum, but no enum class provided
+javax.faces.converter.FloatConverter.FLOAT=value must be a number
+javax.faces.converter.FloatConverter.FLOAT_detail=value must be a number between 1.4E-45 and 3.4028235E38
+javax.faces.converter.IntegerConverter.INTEGER=value must be an integer
+javax.faces.converter.IntegerConverter.INTEGER_detail=value must be an integer number between -2147483648 and 2147483647
+javax.faces.converter.LongConverter.LONG=value must be an integer
+javax.faces.converter.LongConverter.LONG_detail=value must be an integer number between -9223372036854775808 and 9223372036854775807
+javax.faces.converter.NumberConverter.CURRENCY=value must be a currency amount
+javax.faces.converter.NumberConverter.CURRENCY_detail=value must be a currency amount, eg. {1}
+javax.faces.converter.NumberConverter.PERCENT=value must be a percentage amount
+javax.faces.converter.NumberConverter.PERCENT_detail=value must be a percentage amount, eg. {1}
+javax.faces.converter.NumberConverter.NUMBER=value must be a number
+javax.faces.converter.NumberConverter.NUMBER_detail=value must be a number
+javax.faces.converter.NumberConverter.PATTERN=value must be a number
+javax.faces.converter.NumberConverter.PATTERN_detail=value must be a number
+javax.faces.converter.ShortConverter.SHORT=value must be an integer
+javax.faces.converter.ShortConverter.SHORT_detail=value must be an integer number between -32768 and 32767
+
+javax.faces.validator.DoubleRangeValidator.MAXIMUM=value must be less than or equal to {0}
+javax.faces.validator.DoubleRangeValidator.MINIMUM=value must be greater than or equal to {0}
+javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.validator.DoubleRangeValidator.TYPE=value is not of the correct type
+javax.faces.validator.LengthValidator.MAXIMUM=value is must be shorter than or equal to {0} characters
+javax.faces.validator.LengthValidator.MINIMUM=value is must be longer than or equal to {0} characters
+javax.faces.validator.LongRangeValidator.MAXIMUM=value must be less than or equal to {0}
+javax.faces.validator.LongRangeValidator.MINIMUM=value must be greater than or equal to {0}
+javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.validator.LongRangeValidator.TYPE=value is not of the correct type
+
+javax.faces.validator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.converter.STRING=value could not be converted to a string
+
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/Bean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/Bean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/Bean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,29 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.domain.HelloWorld.session.calendar;
+/**
+ * @author $Autor$
+ *
+ */
+public class Bean {
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,675 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.domain.HelloWorld.session.calendar;
+
+import java.text.DateFormat;
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.Locale;
+import java.util.StringTokenizer;
+import java.util.TimeZone;
+import javax.faces.event.ValueChangeEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.annotations.Name;
+import org.richfaces.component.html.HtmlCalendar;
+import org.richfaces.event.CurrentDateChangeEvent;
+
+@Name("calendarBean")
+public class CalendarBean {
+
+ private static final String [] WEEK_DAY_SHORT = new String[] { "<i>Sun</i>",
+ "Mon +", "Tue +", "Wed +", "Thu +", "Fri +", "Sat*" };
+ private static final String [] WEEK_DAY = new String[] { "*Saturday", "+Monday+",
+ "+Tuesday+", "+Wednesday+", "+Thursday+", "+Friday+", "*Sunday*"};
+ private static final String [] MOUNT_LABELS = new String[] { "<i>January</i>",
+ "February+", "March+", "April+", "May +", "June +", "July +", "August +",
+ "September +", "October +", "November +", "December +" };
+ private static final String [] MOUNT_LABELS_SHORT = new String[] { "+Jan",
+ "+Feb+", "+Mar+", "+Apr+", "+May+", "+Jun+", "+Jul+", "+Aug+",
+ "+Sep+", "+Oct+", "+Nov+", "+Dec+" };
+ private Locale locale;
+ private TimeZone tZone;
+ private boolean popup;
+ private boolean readonly;
+ private boolean showInput;
+ private boolean enableManualInput;
+ private boolean ajaxSingle;
+ private boolean disabled;
+ private boolean bypassUpdates;
+ private boolean rendered;
+ private boolean required;
+ private Date currentDate;
+ private Date selectedDate;
+ private String headerFacet;
+ private String mode;
+ private String preloadDateRangeBegin;
+ private String preloadDateRangeEnd;
+ private String weekDay;
+ private String month;
+ private String pattern;
+ private String jointPoint;
+ private String direction;
+ private String boundary;
+ private String icon;
+ private String toolTipMode;
+ private String label;
+ private String timeZone;
+ private String horizontalOffset;
+ private String verticalOffset;
+ private int zindex;
+ private int counter;
+ private String cellHeight;
+ private String cellWidth;
+ private boolean immediate;
+ private boolean isDayEnabled;
+ private boolean showApplyButton;
+ private boolean showScrollerBar;
+ private boolean showWeekDaysBar;
+ private boolean showWeeksBar;
+ private String todayControlMode; // scroll, select, hidden;
+ private HtmlCalendar htmlCalendar = null;
+
+ public CalendarBean() {
+ horizontalOffset = "0";
+ verticalOffset = "0";
+ isDayEnabled = true;
+ immediate = false;
+ cellHeight = "15";
+ cellWidth = "15";
+ showApplyButton = false;
+ showWeeksBar = false;
+ showWeekDaysBar = false;
+ showScrollerBar = false;
+ todayControlMode = "select";
+ mode = "client";
+ label = "Button label";
+ locale = new Locale("us","US","");
+ popup = true;
+ pattern = "MMM d, yyyy";
+ jointPoint = "bottom-left";
+ direction = "bottom-right";
+ readonly = true;
+ enableManualInput = false;
+ showInput = true;
+ boundary = "inactive";
+ icon = null;
+ disabled = false;
+ bypassUpdates = false;
+ rendered = true;
+ zindex = 2;
+ toolTipMode = "none";
+ required = false;
+ weekDay = "long";
+ month = "none";
+ timeZone = "Eastern European Time";
+ preloadDateRangeBegin = "10.08.2007"; //d.m.y
+ preloadDateRangeEnd = "11.10.2007";
+ }
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlCalendar);
+ return null;
+ }
+
+ public String getHorizontalOffset() {
+ return horizontalOffset;
+ }
+
+ public void setHorizontalOffset(String horizontalOffset) {
+ this.horizontalOffset = horizontalOffset;
+ }
+
+ public String getVerticalOffset() {
+ return verticalOffset;
+ }
+
+ public void setVerticalOffset(String verticalOffset) {
+ this.verticalOffset = verticalOffset;
+ }
+
+ public boolean getImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+
+ public boolean getIsDayEnabled() {
+ return isDayEnabled;
+ }
+
+ public void setIsDayEnabled(boolean isDayEnabled) {
+ this.isDayEnabled = isDayEnabled;
+ }
+
+ public String getTodayControlMode() {
+ return todayControlMode;
+ }
+
+ public void setTodayControlMode(String todayControlMode) {
+ this.todayControlMode = todayControlMode;
+ }
+
+ public String getCellHeight() {
+ return cellHeight;
+ }
+
+ public void setCellHeight(String cellHeight) {
+ this.cellHeight = cellHeight;
+ }
+
+ public String getCellWidth() {
+ return cellWidth;
+ }
+
+ public void setCellWidth(String cellWidth) {
+ this.cellWidth = cellWidth;
+ }
+
+ public boolean isShowApplyButton() {
+ return showApplyButton;
+ }
+
+ public void setShowApplyButton(boolean showApplyButton) {
+ this.showApplyButton = showApplyButton;
+ }
+
+ public boolean isShowScrollerBar() {
+ return showScrollerBar;
+ }
+
+ public void setShowScrollerBar(boolean showScrollerBar) {
+ this.showScrollerBar = showScrollerBar;
+ }
+
+ public boolean isShowWeekDaysBar() {
+ return showWeekDaysBar;
+ }
+
+ public void setShowWeekDaysBar(boolean showWeekDaysBar) {
+ this.showWeekDaysBar = showWeekDaysBar;
+ }
+
+ public boolean isShowWeeksBar() {
+ return showWeeksBar;
+ }
+
+ public void setShowWeeksBar(boolean showWeeksBar) {
+ this.showWeeksBar = showWeeksBar;
+ }
+
+ public boolean getRenderedAjax() {
+ if(mode.equalsIgnoreCase("ajax") && rendered) return true;
+ else return false;
+ }
+
+ public boolean getRenderedClient() {
+ if(mode.equalsIgnoreCase("client") && rendered) return true;
+ else return false;
+ }
+
+ public String getTimeZone() {
+ return timeZone;
+ }
+
+ public void setTimeZone(String timeZone) {
+ this.timeZone = timeZone;
+ }
+
+ public void changeIcons() {
+ if (icon != null) {
+ icon = null;
+ label = "Button label";
+ } else {
+ icon = "/pics/item.png";
+ label = null;
+ }
+ }
+
+ public Locale getLocale() {
+ return locale;
+ }
+
+ public void setLocale(Locale locale) {
+ this.locale = locale;
+ }
+
+ public boolean isPopup() {
+ return popup;
+ }
+
+ public void setPopup(boolean popup) {
+ this.popup = popup;
+ }
+
+ public String getPattern() {
+ return pattern;
+ }
+
+ public void setPattern(String pattern) {
+
+ this.pattern = pattern;
+ }
+
+ public void selectLocale(ValueChangeEvent event) {
+ String tLocale = (String) event.getNewValue();
+ if (tLocale != null) {
+ String lang = tLocale.substring(0, 2);
+ String country = tLocale.substring(3);
+ locale = new Locale(lang, country, "");
+ }
+ }
+
+ public Date getPrDateRangeBegin() {
+ Calendar cal = Calendar.getInstance();
+ StringTokenizer st = new StringTokenizer(preloadDateRangeBegin,".");
+ ArrayList<Integer> date = new ArrayList<Integer>();
+ while(st.hasMoreTokens()) {
+ date.add(Integer.parseInt(st.nextToken()));
+ }
+ cal.set(date.get(2), date.get(1) - 1, date.get(0), 12, 0, 0);
+ return cal.getTime();
+ }
+
+ public Date getPrDateRangeEnd() {
+ Calendar cal = Calendar.getInstance();
+ StringTokenizer st = new StringTokenizer(preloadDateRangeEnd, ".");
+ ArrayList<Integer> date = new ArrayList<Integer>();
+ while(st.hasMoreTokens()) {
+ date.add(Integer.parseInt(st.nextToken()));
+ }
+ cal.set(date.get(2), date.get(1) - 1, date.get(0), 12, 0, 0);
+ return cal.getTime();
+ }
+
+ public boolean isShowInput() {
+ return showInput;
+ }
+
+ public void setShowInput(boolean showInput) {
+ this.showInput = showInput;
+ }
+
+ public boolean isEnableManualInput() {
+ return enableManualInput;
+ }
+
+ public void setEnableManualInput(boolean enableManualInput) {
+ this.enableManualInput = enableManualInput;
+ }
+
+ public boolean isReadonly() {
+ return readonly;
+ }
+
+ public void setReadonly(boolean readonly) {
+ this.readonly = readonly;
+ }
+
+ public Object getWeekDayLabels() {
+ if(weekDay.equals("long"))
+ return CalendarBean.WEEK_DAY;
+ else return null;
+ }
+
+ public Object getWeekDayLabelsShort() {
+ if(weekDay.equals("short"))
+ return CalendarBean.WEEK_DAY_SHORT;
+ else return null;
+ }
+
+ public Object getMonthLabels() {
+ if(month.equals("long"))
+ return CalendarBean.MOUNT_LABELS;
+ else return null;
+ }
+
+ public Object getMonthLabelsShort() {
+ if(month.equals("short"))
+ return CalendarBean.MOUNT_LABELS_SHORT;
+ else return null;
+
+ }
+
+ public String getMonth() {
+ return month;
+ }
+
+ public void setMonth(String month) {
+ this.month = month;
+ }
+
+ public String getCurrentDateAsText() {
+ Date currentDate = getCurrentDate();
+ if (currentDate != null) {
+ return DateFormat.getDateInstance(DateFormat.FULL).format(
+ currentDate);
+ }
+
+ return null;
+ }
+
+ public Date getCurrentDate() {
+ return currentDate;
+ }
+
+ public void setCurrentDate(Date currentDate) {
+ this.currentDate = currentDate;
+ }
+
+ public Date getSelectedDate() {
+ return selectedDate;
+ }
+
+ public void setSelectedDate(Date selectedDate) {
+ this.selectedDate = selectedDate;
+ }
+
+ public String getJointPoint() {
+ return jointPoint;
+ }
+
+ public void setJointPoint(String jointPoint) {
+ this.jointPoint = jointPoint;
+ }
+
+
+ public String getDirection() {
+ return direction;
+ }
+
+ public void setDirection(String direction) {
+ this.direction = direction;
+ }
+
+ public String getBoundary() {
+ return boundary;
+ }
+
+ public void setBoundary(String boundary) {
+ this.boundary = boundary;
+ }
+
+ public void dcl(CurrentDateChangeEvent event) {
+ System.out.println(event.getCurrentDateString());
+ }
+
+ public void ddd(ValueChangeEvent event) {
+ System.out.println("=============inside valueChangeListener==============");
+ System.out.println(event.getOldValue());
+ System.out.println(event.getNewValue());
+
+ }
+
+ public int getCounter() {
+ return counter++;
+ }
+
+ public boolean isAjaxSingle() {
+ return ajaxSingle;
+ }
+
+ public void setAjaxSingle(boolean ajaxSingle) {
+ this.ajaxSingle = ajaxSingle;
+ }
+
+ public String getIcon() {
+ return icon;
+ }
+
+ public void setIcon(String icon) {
+ this.icon = icon;
+ }
+
+ public boolean isDisabled() {
+ return disabled;
+ }
+
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ public boolean isBypassUpdates() {
+ return bypassUpdates;
+ }
+
+ public void setBypassUpdates(boolean bypassUpdates) {
+ this.bypassUpdates = bypassUpdates;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getToolTipMode() {
+ return toolTipMode;
+ }
+
+ public void setToolTipMode(String toolTipMode) {
+ this.toolTipMode = toolTipMode;
+ }
+
+ public int getZindex() {
+ return zindex;
+ }
+
+ public void setZindex(int zindex) {
+ this.zindex = zindex;
+ }
+
+ public boolean isRequired() {
+ return required;
+ }
+
+ public void setRequired(boolean required) {
+ this.required = required;
+ }
+
+ public String getLabel() {
+ return label;
+ }
+
+ public void setLabel(String label) {
+ this.label = label;
+ }
+
+ public TimeZone getTmZone() {
+ TimeZone tZone = TimeZone.getDefault();
+ tZone.setID(timeZone);
+ return tZone;
+ }
+
+ public String getPreloadDateRangeBegin() {
+ return preloadDateRangeBegin;
+ }
+
+ public void setPreloadDateRangeBegin(String preloadDateRangeBegin) {
+ this.preloadDateRangeBegin = preloadDateRangeBegin;
+ }
+
+ public String getPreloadDateRangeEnd() {
+ return preloadDateRangeEnd;
+ }
+
+ public void setPreloadDateRangeEnd(String preloadDateRangeEnd) {
+ this.preloadDateRangeEnd = preloadDateRangeEnd;
+ }
+
+ public String getWeekDay() {
+ return weekDay;
+ }
+
+ public void setWeekDay(String weekDay) {
+ this.weekDay = weekDay;
+ }
+
+ public void setMode(String mode) {
+ this.mode = mode;
+ }
+
+ public String getMode() {
+ return mode;
+ }
+ public void bTest1() {
+ setCurrentDate(new Date());
+// setTimeZone();
+ setSelectedDate(new Date());
+ changeIcons();
+ setHeaderFacet("Test 1");
+ setLocale(new Locale("de","DE",""));
+ setDirection("bottom-left");
+ setEnableManualInput(false);
+ setDisabled(false);
+ setJointPoint("top-right");
+ setMonth("long");
+ setPattern("dd-MM-yyyy");
+ setPopup(true);
+ setPreloadDateRangeBegin("10.09.2007");
+ setPreloadDateRangeEnd("11.01.2008");
+ setReadonly(true);
+ setRequired(true);
+ setShowInput(false);
+ setToolTipMode("single");
+ setWeekDay("long");
+ setZindex(3);
+ }
+
+ public void bTest2() {
+// setCurrentDate(new Date());
+// setTimeZone();
+// setSelectedDate();
+ changeIcons();
+ setHeaderFacet("Test 2");
+ setLocale(new Locale("fr","FR",""));
+ setDirection("top-right");
+ setEnableManualInput(true);
+ setDisabled(false);
+ setJointPoint("bottom-left");
+ setMonth("none");
+ setPattern("dd.MM.yyyy");
+ setPopup(true);
+ setPreloadDateRangeBegin("10.09.2007");
+ setPreloadDateRangeEnd("12.01.2008");
+ setReadonly(true);
+ setRequired(true);
+ setShowInput(false);
+ setToolTipMode("single");
+ setWeekDay("none");
+ setZindex(3);
+ }
+
+ public void bTest3() {
+// setCurrentDate(new Date());
+// setTimeZone();
+// setSelectedDate();
+ changeIcons();
+ setHeaderFacet("Test 3");
+ setLocale(new Locale("ru","RU",""));
+ setDirection("bottom-left");
+ setEnableManualInput(false);
+ setDisabled(false);
+ setJointPoint("top-right");
+ setMonth("long");
+ setPattern("dd-MM-yyyy");
+ setPopup(false);
+ setPreloadDateRangeBegin("10.09.2007");
+ setPreloadDateRangeEnd("11.01.2008");
+ setReadonly(false);
+ setRequired(false);
+ setShowInput(false);
+ setToolTipMode("single");
+ setWeekDay("long");
+ setZindex(3);
+ }
+
+ public void bTest4() {
+// setCurrentDate(new Date());
+// setTimeZone();
+// setSelectedDate();
+ changeIcons();
+ setHeaderFacet("Test 4");
+ setLocale(new Locale("de","DE",""));
+ setDirection("bottom-left");
+ setEnableManualInput(false);
+ setDisabled(true);
+ setJointPoint("top-right");
+ setMonth("long");
+ setPattern("dd-MM-yyyy");
+ setPopup(false);
+ setPreloadDateRangeBegin("10.09.2007");
+ setPreloadDateRangeEnd("11.01.2008");
+ setReadonly(false);
+ setRequired(false);
+ setShowInput(false);
+ setToolTipMode("single");
+ setWeekDay("none");
+ setZindex(3);
+ }
+
+ public void bTest5() {
+// setCurrentDate(new Date());
+// setTimeZone();
+// setSelectedDate();
+ changeIcons();
+ setHeaderFacet("Test 5");
+ setLocale(new Locale("de","DE",""));
+ setDirection("bottom-right");
+ setEnableManualInput(false);
+ setDisabled(false);
+ setJointPoint("bottom-left");
+ setMonth("none");
+ setPattern("d/M/yy");
+ setPopup(true);
+ setPreloadDateRangeBegin("09.09.2007");
+ setPreloadDateRangeEnd("10.01.2008");
+ setReadonly(false);
+ setRequired(true);
+ setShowInput(true);
+ setToolTipMode("none");
+ setWeekDay("short");
+ setZindex(1);
+ }
+
+ public String getHeaderFacet() {
+ return headerFacet;
+ }
+
+ public void setHeaderFacet(String headerFacet) {
+ this.headerFacet = headerFacet;
+ }
+
+
+ public HtmlCalendar getHtmlCalendar() {
+ return htmlCalendar;
+ }
+
+
+ public void setHtmlCalendar(HtmlCalendar htmlCalendar) {
+ this.htmlCalendar = htmlCalendar;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarDataModelImpl.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,102 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.domain.HelloWorld.session.calendar;
+
+import java.text.DateFormat;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Locale;
+import java.util.Map;
+import java.util.Random;
+
+import javax.faces.application.FacesMessage;
+import javax.faces.validator.ValidatorException;
+
+import org.richfaces.model.CalendarDataModel;
+import org.richfaces.model.CalendarDataModelItem;
+
+/**
+ * @author Nick Belaevski - mailto:nbelaevski@exadel.com
+ * created 30.06.2007
+ *
+ */
+public class CalendarDataModelImpl implements CalendarDataModel {
+
+ /* (non-Javadoc)
+ * @see org.richfaces.component.CalendarDataModel#getData(java.util.Date[])
+ */
+ public CalendarDataModelItem[] getData(Date[] dateArray) {
+ if (dateArray == null) {
+ return null;
+ }
+
+ CalendarDataModelItem[] items = new CalendarDataModelItem[dateArray.length];
+ for (int i = 0; i < dateArray.length; i++) {
+ items[i] = createDataModelItem(dateArray[i]);
+ }
+
+ return items;
+ }
+
+ protected CalendarDataModelItem createDataModelItem(Date date) {
+ CalendarDataModelItemImpl item = new CalendarDataModelItemImpl();
+ Map data = new HashMap();
+ DateFormat enFormatter = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.ENGLISH);
+ DateFormat frFormatter = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.FRENCH);
+ DateFormat deFormatter = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.GERMAN);
+ data.put("enLabel", enFormatter.format(date));
+ data.put("frLabel", frFormatter.format(date));
+ data.put("deLabel", deFormatter.format(date));
+ /*Calendar c = Calendar.getInstance();
+ c.setTime(date);
+ item.setDay(c.get(Calendar.DAY_OF_MONTH));*/
+
+// if (new Random().nextInt(10) > 5) {
+// item.setEnabled(true);
+// } else {
+// item.setEnabled(false);
+// }
+
+ item.setData(data);
+ if (date != null) {
+ Calendar calendar = Calendar.getInstance();
+ calendar.setTime(date);
+ int d = calendar.get(Calendar.DATE);
+ if (d == 7 || d == 15) {
+ item.setEnabled(false);
+ } else item.setEnabled(true);
+ }
+ System.out.println(item.getData() + " " + item.isEnabled());
+
+ return item;
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.component.CalendarDataModel#getToolTip(java.util.Date)
+ */
+ public Object getToolTip(Date date) {
+
+ return null;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarDataModelItemImpl.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,105 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.domain.HelloWorld.session.calendar;
+
+import org.richfaces.model.CalendarDataModelItem;
+
+/**
+ * @author Nick Belaevski - mailto:nbelaevski@exadel.com
+ * created 04.07.2007
+ *
+ */
+public class CalendarDataModelItemImpl implements CalendarDataModelItem {
+
+ private Object data;
+ private String styleClass;
+ private Object toolTip;
+ private boolean enabled = true;
+
+
+ /* (non-Javadoc)
+ * @see org.richfaces.component.CalendarDataModelItem#getData()
+ */
+ public Object getData() {
+ return data;
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.component.CalendarDataModelItem#getStyleClass()
+ */
+ public String getStyleClass() {
+ return styleClass;
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.component.CalendarDataModelItem#getToolTip()
+ */
+ public Object getToolTip() {
+ return toolTip;
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.component.CalendarDataModelItem#hasToolTip()
+ */
+ public boolean hasToolTip() {
+ return getToolTip() != null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.component.CalendarDataModelItem#isEnabled()
+ */
+ public boolean isEnabled() {
+ return enabled;
+ }
+
+ /**
+ * @param data the data to set
+ */
+ public void setData(Object data) {
+ this.data = data;
+ }
+
+ /**
+ * @param styleClass the styleClass to set
+ */
+ public void setStyleClass(String styleClass) {
+ this.styleClass = styleClass;
+ }
+
+ /**
+ * @param toolTip the toolTip to set
+ */
+ public void setToolTip(Object toolTip) {
+ this.toolTip = toolTip;
+ }
+
+ /**
+ * @param enabled the enabled to set
+ */
+ public void setEnabled(boolean enabled) {
+ this.enabled = enabled;
+ }
+
+ public int getDay() {
+ return 0;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarValidator.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarValidator.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/calendar/CalendarValidator.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,44 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.calendar;
+
+import java.util.Calendar;
+import java.util.Date;
+
+import javax.faces.application.FacesMessage;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.validator.Validator;
+import javax.faces.validator.ValidatorException;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+/**
+ * @author Nick Belaevski
+ * mailto:nbelaevski@exadel.com
+ * created 21.07.2007
+ *
+ */
+public class CalendarValidator implements Validator {
+
+ /* (non-Javadoc)
+ * @see javax.faces.validator.Validator#validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)
+ */
+ public void validate(FacesContext context, UIComponent component,
+ Object value) throws ValidatorException {
+
+ Date date = (Date) value;
+ if (date != null) {
+ Calendar calendar = Calendar.getInstance();
+ calendar.setTime(date);
+ int d = calendar.get(Calendar.DATE);
+ if (d == 13 || d == 17) {
+ throw new ValidatorException(new FacesMessage("Test validator: 13th and 17th dates are restricted!"));
+ }
+ }
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/columns/Columns.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/columns/Columns.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/columns/Columns.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,235 @@
+package org.domain.HelloWorld.session.columns;
+
+import java.util.ArrayList;
+import java.util.Comparator;
+
+import org.richfaces.model.Ordering;
+
+import org.domain.HelloWorld.session.util.data.Data;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+@Name("columns")
+(a)Scope(ScopeType.SESSION)
+public class Columns implements Comparator{
+ private String[] statusIcon = { "/pics/error.gif", "/pics/fatal.gif",
+ "/pics/info.gif", "/pics/passed.gif", "/pics/warn.gif" };
+ private ArrayList<Data> data1;
+ private ArrayList<Data> data2;
+ private int length1;
+ private int length2;
+ private String columns;
+ private String begin;
+ private String end;
+ private String width;
+ private String title;
+ private int colspan;
+ private int rowspan;
+ private boolean breakBefore;
+ private Ordering[] orderings = new Ordering[100];
+ private boolean sortable;
+ private boolean dataTableRendered;
+ private Ordering sortOrder;
+ private String[] filterValue;
+ private String filterInput;
+
+ public String getFilterInput() {
+ return filterInput;
+ }
+
+ public void setFilterInput(String filterInput) {
+ this.filterInput = filterInput;
+ }
+
+ public boolean filterMethod(Object obj) {
+ Data d = (Data)obj;
+ if(d.getStr0().startsWith(filterInput)) return true;
+ return false;
+ }
+
+ public String[] getFilterValue() {
+ return filterValue;
+ }
+
+ public void setFilterValue(String[] filterValue) {
+ this.filterValue = filterValue;
+ }
+ public Ordering getSortOrder() {
+ return sortOrder;
+ }
+
+ public void setSortOrder(Ordering sortOrder) {
+ this.sortOrder = sortOrder;
+ }
+
+ public Columns() {
+ this.columns = "3";
+ this.begin = "0";
+ this.end = "10";
+ this.width = "100";
+ this.title = "Title columns";
+ this.colspan = 1;
+ this.rowspan = 1;
+ this.breakBefore = false;
+ this.sortable = true;
+ this.dataTableRendered = true;
+ this.length1 = 5;
+ this.length2 = 5;
+ this.data1 = new ArrayList<Data>();
+ this.data2 = new ArrayList<Data>();
+ this.filterValue = new String[length2];
+ this.sortOrder = Ordering.ASCENDING;
+ this.filterInput = "";
+ for (int i = 0; i < length1; i++) {
+ data1.add(new Data(i, "data 1 [" + i + "]", "Button " + i, "Link " + i, "select" + (i % 5)));
+ data2.add(new Data(i, "data 2 [" + i + "]", "Button " + i, "Link " + i, statusIcon[i % 5]));
+ }
+ }
+
+ public String getColumns() {
+ return columns;
+ }
+
+ public void setColumns(String columns) {
+ this.columns = columns;
+ }
+
+ public String getBegin() {
+ return begin;
+ }
+
+ public void setBegin(String begin) {
+ this.begin = begin;
+ }
+
+ public String getEnd() {
+ return end;
+ }
+
+ public void setEnd(String end) {
+ this.end = end;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public int getColspan() {
+ return colspan;
+ }
+
+ public void setColspan(int colspan) {
+ this.colspan = colspan;
+ }
+
+ public int getRowspan() {
+ return rowspan;
+ }
+
+ public void setRowspan(int rowspan) {
+ this.rowspan = rowspan;
+ }
+
+ public boolean isBreakBefore() {
+ return breakBefore;
+ }
+
+ public void setBreakBefore(boolean breakBefore) {
+ this.breakBefore = breakBefore;
+ }
+
+ public boolean isSortable() {
+ return sortable;
+ }
+
+ public void setSortable(boolean sortable) {
+ this.sortable = sortable;
+ }
+
+ public void addNewItem1() {
+ if (length1 < 0)
+ length1 = 0;
+ if (data1.size() > length1)
+ for (int i = length1; i < data1.size();)
+ data1.remove(i);
+ else
+ for (int i = data1.size() + 1; i <= length1; i++)
+ data1.add(new Data(i, "data 1 [" + i + "]", "Button " + i, "Link " + i, "select" + (i % 5)));
+ }
+
+ public void addNewItem2() {
+ if (length2 < 0)
+ length2 = 0;
+ if (data2.size() > length2)
+ for (int i = length2; i < data2.size();)
+ data2.remove(i);
+ else
+ for (int i = data1.size() + 1; i <= length2; i++)
+ data2.add(new Data(i, "data 1 [" + i + "]", "Button " + i, "Link " + i, "select" + (i % 5)));
+ }
+
+ public ArrayList<Data> getData2() {
+ return data2;
+ }
+
+ public void setData2(ArrayList<Data> data2) {
+ this.data2 = data2;
+ }
+
+ public ArrayList<Data> getData1() {
+ return data1;
+ }
+
+ public void setData1(ArrayList<Data> data1) {
+ this.data1 = data1;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public int getLength1() {
+ return length1;
+ }
+
+ public void setLength1(int length1) {
+ this.length1 = length1;
+ }
+
+ public int getLength2() {
+ return length2;
+ }
+
+ public void setLength2(int length2) {
+ this.length2 = length2;
+ }
+
+ public boolean isDataTableRendered() {
+ return dataTableRendered;
+ }
+
+ public void setDataTableRendered(boolean dataTableRendered) {
+ this.dataTableRendered = dataTableRendered;
+ }
+
+ public Ordering[] getOrderings() {
+ return orderings;
+ }
+
+ public void setOrderings(Ordering[] orderings) {
+ this.orderings = orderings;
+ }
+
+ public int compare(Object arg0, Object arg1) {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/combobox/Combobox.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/combobox/Combobox.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/combobox/Combobox.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,277 @@
+package org.domain.HelloWorld.session.combobox;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Random;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import javax.faces.event.ValueChangeEvent;
+import javax.faces.model.SelectItem;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.domain.HelloWorld.session.util.data.Data;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlComboBox;
+
+/**
+ * @author Mikhail Vitenkov
+ *
+ */
+@Name("combobox")
+(a)Scope(ScopeType.SESSION)
+public class Combobox {
+ public boolean disabled;
+ public String defaultLabel;
+ public boolean filterNewValues;
+ public String hideDelay;
+ public boolean directInputSuggestions;
+ public boolean immediate;
+ public String width;
+ public Data value;
+ public int tabindex;
+ public List<Data> suggestionValues;
+ public int size;
+ public String showDelay;
+ public boolean required;
+ public String requiredMessage;
+ public boolean rendered;
+ public boolean selectFirstOnUpdate;
+ public boolean enableManualInput;
+ public String listHeight;
+ public String listWidth;
+ public ArrayList<SelectItem> selectItem;
+ private HtmlComboBox myComboBox = null;
+ private String bindLabel;
+ private String align;
+
+ public String getAlign() {
+ return align;
+ }
+
+ public void setAlign(String align) {
+ this.align = align;
+ }
+
+ public void add(){
+ ComponentInfo myInfo = ComponentInfo.getInstance();
+ myInfo.addField(myComboBox);
+ }
+
+ public Combobox() {
+ this.disabled = false;
+ this.defaultLabel = "defaultLabel";
+ this.filterNewValues = false;
+ this.hideDelay = "100";
+ this.directInputSuggestions = true;
+ this.immediate = false;
+ this.width = "300";
+ this.value = new Data("default",0);
+ this.tabindex = 2;
+ this.showDelay = "200";
+ this.required = false;
+ this.requiredMessage = "requiredMessage";
+ this.rendered = true;
+ this.selectFirstOnUpdate = true;
+ this.enableManualInput = true;
+ this.listHeight = "400";
+ this.listWidth = "350";
+ this.suggestionValues = new ArrayList<Data>();
+ this.selectItem = new ArrayList<SelectItem>();
+ this.bindLabel = "Click Binding";
+ this.align = "left";
+ Random r = new Random();
+ for(int i = 0; i < 10; i++){
+ suggestionValues.add(new Data("selectItem", i));
+ selectItem.add(new SelectItem("selectItem"));
+ System.out.println(selectItem.get(i).getValue().toString());
+ }
+ }
+
+ public ArrayList<SelectItem> getSelectItem() {
+ return selectItem;
+ }
+
+ public void setSelectItem(ArrayList<SelectItem> selectItem) {
+ this.selectItem = selectItem;
+ }
+
+ public void valueChangeListener(ValueChangeEvent event) {
+ System.out.println(event.getNewValue());
+ }
+
+ public boolean isDisabled() {
+ return disabled;
+ }
+
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ public String getDefaultLabel() {
+ return defaultLabel;
+ }
+
+ public void setDefaultLabel(String defaultLabel) {
+ this.defaultLabel = defaultLabel;
+ }
+
+ public String getHideDelay() {
+ return hideDelay;
+ }
+
+ public void setHideDelay(String hideDelay) {
+ this.hideDelay = hideDelay;
+ }
+
+ public boolean isDirectInputSuggestions() {
+ return directInputSuggestions;
+ }
+
+ public void setDirectInputSuggestions(boolean directInputSuggestions) {
+ this.directInputSuggestions = directInputSuggestions;
+ }
+
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public Data getValue() {
+ return value;
+ }
+
+ public void setValue(Data value) {
+ this.value = value;
+ }
+
+ public int getTabindex() {
+ return tabindex;
+ }
+
+ public void setTabindex(int tabindex) {
+ this.tabindex = tabindex;
+ }
+
+ public List<Data> getSuggestionValues() {
+ return suggestionValues;
+ }
+
+ public void setSuggestionValues(List<Data> suggestionValues) {
+ this.suggestionValues = suggestionValues;
+ }
+
+ public int getSize() {
+ return size;
+ }
+
+ public void setSize(int size) {
+ this.size = size;
+ }
+
+ public boolean isFilterNewValues() {
+ return filterNewValues;
+ }
+
+ public void setFilterNewValues(boolean filterNewValues) {
+ this.filterNewValues = filterNewValues;
+ }
+
+ public String getShowDelay() {
+ return showDelay;
+ }
+
+ public void setShowDelay(String showDelay) {
+ this.showDelay = showDelay;
+ }
+
+ public boolean isRequired() {
+ return required;
+ }
+
+ public void setRequired(boolean required) {
+ this.required = required;
+ }
+
+ public String getRequiredMessage() {
+ return requiredMessage;
+ }
+
+ public void setRequiredMessage(String requiredMessage) {
+ this.requiredMessage = requiredMessage;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public boolean isSelectFirstOnUpdate() {
+ return selectFirstOnUpdate;
+ }
+
+ public void setSelectFirstOnUpdate(boolean selectFirstOnUpdate) {
+ this.selectFirstOnUpdate = selectFirstOnUpdate;
+ }
+
+ public boolean isEnableManualInput() {
+ return enableManualInput;
+ }
+
+ public void setEnableManualInput(boolean enableManualInput) {
+ this.enableManualInput = enableManualInput;
+ }
+
+ public String getListHeight() {
+ return listHeight;
+ }
+
+ public void setListHeight(String listHeight) {
+ this.listHeight = listHeight;
+ }
+
+ public String getListWidth() {
+ return listWidth;
+ }
+
+ public void setListWidth(String listWidth) {
+ this.listWidth = listWidth;
+ }
+
+
+ public HtmlComboBox getMyComboBox() {
+ return myComboBox;
+ }
+
+ public void setMyComboBox(HtmlComboBox myComboBox) {
+ this.myComboBox = myComboBox;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = myComboBox.getClientId(context);
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/componentControl/ComponentControl.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/componentControl/ComponentControl.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/componentControl/ComponentControl.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,39 @@
+package org.domain.HelloWorld.session.componentControl;
+
+import org.richfaces.component.html.HtmlComponentControl;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("componentControl")
+(a)Scope(ScopeType.SESSION)
+public class ComponentControl {
+ private boolean calendarPopup;
+ private HtmlComponentControl htmlComponentControl = null;
+
+ public HtmlComponentControl getHtmlComponentControl() {
+ return htmlComponentControl;
+ }
+
+ public void setHtmlComponentControl(HtmlComponentControl htmlComponentControl) {
+ this.htmlComponentControl = htmlComponentControl;
+ }
+
+ public String addHtmlComponentControl(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlComponentControl);
+ return null;
+ }
+ public ComponentControl() {
+ calendarPopup = false;
+ }
+
+ public boolean isCalendarPopup() {
+ return calendarPopup;
+ }
+
+ public void setCalendarPopup(boolean calendarPopup) {
+ this.calendarPopup = calendarPopup;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/contextMenu/ContextMenu.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/contextMenu/ContextMenu.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/contextMenu/ContextMenu.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,163 @@
+package org.domain.HelloWorld.session.contextMenu;
+
+import java.util.Map;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.UIContextMenu;
+
+@Name("contextMenu")
+(a)Scope(ScopeType.SESSION)
+public class ContextMenu {
+ private String info;
+ private String inputText;
+ private String submitMode;
+ private String event;
+ private String popupWidth;
+ private String selectOneMenu;
+ private int hideDelay;
+ private int showDelay;
+ private boolean disableDefaultMenu;
+ private boolean rendered;
+ private boolean disamble;
+ private boolean attached;
+ private UIContextMenu htmlContextMenu;
+
+ public UIContextMenu getHtmlContextMenu() {
+ return htmlContextMenu;
+ }
+
+ public void setHtmlContextMenu(UIContextMenu htmlContextMenu) {
+ this.htmlContextMenu = htmlContextMenu;
+ }
+
+ public String addHtmlContextMenu(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlContextMenu);
+ return null;
+ }
+
+ public boolean isAttached() {
+ return attached;
+ }
+
+ public void setAttached(boolean attached) {
+ this.attached = attached;
+ }
+
+ public String getInfo() {
+ FacesContext facesContext = FacesContext.getCurrentInstance();
+ Map params = facesContext.getExternalContext().getRequestParameterMap();
+ String cmdParam = (String) params.get("cmdParam");
+ if (cmdParam != null) info = cmdParam;
+ System.out.println(info);
+ return info;
+ }
+
+ public void actionListener(ActionEvent event) {
+ setInfo("actionListener");
+ }
+
+ public void setInfo(String info) {
+ System.out.println("Info: " + info);
+ this.info = info;
+ }
+
+ public ContextMenu() {
+ this.selectOneMenu = "item1";
+ this.inputText = "inputText";
+ this.submitMode = "none";
+ this.event = "oncontextmenu";
+ this.popupWidth = "300px";
+ this.hideDelay = 3;
+ this.showDelay = 3;
+ this.disableDefaultMenu = true;
+ this.rendered = true;
+ this.disamble = false;
+ this.attached = true;
+ this.info = "";
+ }
+
+ public boolean isDisamble() {
+ return disamble;
+ }
+
+ public void setDisamble(boolean disamble) {
+ this.disamble = disamble;
+ }
+
+ public String getEvent() {
+ return event;
+ }
+
+ public void setEvent(String event) {
+ this.event = event;
+ }
+
+ public String getSubmitMode() {
+ return submitMode;
+ }
+
+ public void setSubmitMode(String submitMode) {
+ this.submitMode = submitMode;
+ }
+
+ public boolean isDisableDefaultMenu() {
+ return disableDefaultMenu;
+ }
+
+ public void setDisableDefaultMenu(boolean disableDefaultMenu) {
+ this.disableDefaultMenu = disableDefaultMenu;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getPopupWidth() {
+ return popupWidth;
+ }
+
+ public void setPopupWidth(String popupWidth) {
+ this.popupWidth = popupWidth;
+ }
+
+ public int getHideDelay() {
+ return hideDelay;
+ }
+
+ public void setHideDelay(int hideDelay) {
+ this.hideDelay = hideDelay;
+ }
+
+ public int getShowDelay() {
+ return showDelay;
+ }
+
+ public void setShowDelay(int showDelay) {
+ this.showDelay = showDelay;
+ }
+
+ public String getInputText() {
+ return inputText;
+ }
+
+ public void setInputText(String inputText) {
+ this.inputText = inputText;
+ }
+
+ public String getSelectOneMenu() {
+ return selectOneMenu;
+ }
+
+ public void setSelectOneMenu(String selectOneMenu) {
+ this.selectOneMenu = selectOneMenu;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/Custom.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/Custom.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/Custom.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,144 @@
+package org.domain.HelloWorld.session.custom;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("custom")
+(a)Scope(ScopeType.SESSION)
+public class Custom {
+
+ private int index;
+ private boolean b0;
+ private boolean b1;
+ private boolean b2;
+ private String s0;
+ private String s1;
+ private String s2;
+ private int i0;
+ private int i1;
+ private int i2;
+
+ public Custom() {
+ this.index = 0;
+ this.b0 = true;
+ this.b1 = true;
+ this.b2 = true;
+ this.s0 = "s0";
+ this.s1 = "s1";
+ this.s2 = "s2";
+ this.i0 = 0;
+ this.i1 = 1;
+ this.i2 = 2;
+ }
+
+ public Custom(int index) {
+ this.index = index;
+ this.b0 = true;
+ this.b1 = true;
+ this.b2 = true;
+ this.s0 = "s0";
+ this.s1 = "s1";
+ this.s2 = "s2";
+ this.i0 = 0;
+ this.i1 = 1;
+ this.i2 = 2;
+ }
+
+ public Custom(int index, boolean b0, boolean b1, boolean b2, String s0, String s1,
+ String s2, int i0, int i1, int i2) {
+ this.index = index;
+ this.b0 = b0;
+ this.b1 = b1;
+ this.b2 = b2;
+ this.s0 = s0;
+ this.s1 = s1;
+ this.s2 = s2;
+ this.i0 = i0;
+ this.i1 = i1;
+ this.i2 = i2;
+ }
+
+
+
+ public boolean isB0() {
+ return b0;
+ }
+
+ public void setB0(boolean b0) {
+ this.b0 = b0;
+ }
+
+ public boolean isB1() {
+ return b1;
+ }
+
+ public void setB1(boolean b1) {
+ this.b1 = b1;
+ }
+
+ public boolean isB2() {
+ return b2;
+ }
+
+ public void setB2(boolean b2) {
+ this.b2 = b2;
+ }
+
+ public String getS0() {
+ return s0;
+ }
+
+ public void setS0(String s0) {
+ this.s0 = s0;
+ }
+
+ public String getS1() {
+ return s1;
+ }
+
+ public void setS1(String s1) {
+ this.s1 = s1;
+ }
+
+ public String getS2() {
+ return s2;
+ }
+
+ public void setS2(String s2) {
+ this.s2 = s2;
+ }
+
+ public int getI0() {
+ return i0;
+ }
+
+ public void setI0(int i0) {
+ this.i0 = i0;
+ }
+
+ public int getI1() {
+ return i1;
+ }
+
+ public void setI1(int i1) {
+ this.i1 = i1;
+ }
+
+ public int getI2() {
+ return i2;
+ }
+
+ public void setI2(int i2) {
+ this.i2 = i2;
+ }
+
+ public int getIndex() {
+ return index;
+ }
+
+ public void setIndex(int index) {
+ this.index = index;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/CustomList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/CustomList.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/CustomList.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,47 @@
+package org.domain.HelloWorld.session.custom;
+
+import java.util.ArrayList;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("customList")
+(a)Scope(ScopeType.SESSION)
+public class CustomList {
+ private ArrayList<Custom> customList;
+ private int listSize;
+
+ public CustomList() {
+ listSize = 12;
+ customList = new ArrayList<Custom>();
+
+ for(int i = 0; i < listSize; i++) {
+ customList.add(new Custom(i));
+ }
+ }
+
+ public void resizeList(int elements){
+ customList.clear();
+ for(int i = 0; i < elements; i++){
+ customList.add(new Custom(i));
+ }
+ }
+
+ public int getListSize() {
+ return listSize;
+ }
+
+ public void setListSize(int listSize) {
+ this.listSize = listSize;
+ }
+
+ public ArrayList<Custom> getCustomList() {
+ return customList;
+ }
+
+ public void setCustomList(ArrayList<Custom> testList) {
+ this.customList = testList;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/UserBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/UserBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/custom/UserBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,27 @@
+package org.domain.HelloWorld.session.custom;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("userBean")
+(a)Scope(ScopeType.SESSION)
+public class UserBean {
+ private String name;
+
+ /**
+ * @return the name
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * @param name
+ * the name to set
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataDefinitionList/DataDefinitionList.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,133 @@
+package org.domain.HelloWorld.session.dataDefinitionList;
+
+import java.util.ArrayList;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.domain.HelloWorld.session.util.data.Data;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlDataDefinitionList;
+
+@Name("dataDefinitionList")
+(a)Scope(ScopeType.SESSION)
+public class DataDefinitionList
+{
+ private ArrayList<Data> arr;
+ private int first;
+ private int rows;
+ private boolean rendered;
+ private String title;
+ private String dir;
+ private int mSize;
+ private HtmlDataDefinitionList myDefinitionList = null;
+ private String bindLabel;
+ private String columnClasses;
+
+ public String getColumnClasses() {
+ return columnClasses;
+ }
+
+ public void setColumnClasses(String columnClasses) {
+ this.columnClasses = columnClasses;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(myDefinitionList);
+ return null;
+ }
+
+ public String getDir() {
+ return dir;
+ }
+
+ public void setDir(String dir) {
+ this.dir = dir;
+ }
+
+ public int getMSize() {
+ return mSize;
+ }
+
+ public void setMSize(int size) {
+ mSize = size;
+ }
+
+ public void setArr(ArrayList<Data> arr) {
+ this.arr = arr;
+ }
+
+ public DataDefinitionList(){
+ arr = new ArrayList<Data>();
+ dir ="LTR";
+ rows = 20;
+ rows = 0;
+ first = 0;
+ rendered = true;
+ title = "title";
+ bindLabel = "not ready";
+ columnClasses = "test,style";
+ for(int i = 1; i < Data.cityAfrica.length; i++)
+ arr.add(new Data(Data.cityAfrica[i]));
+ }
+
+ public int getFirst() {
+ return first;
+ }
+
+ public void setFirst(int first) {
+ this.first = first;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public int getRows() {
+ return rows;
+ }
+
+ public void setRows(int rows) {
+ this.rows = rows;
+ }
+
+ public ArrayList<Data> getArr() {
+ return arr;
+ }
+
+ public HtmlDataDefinitionList getMyDefinitionList() {
+ return myDefinitionList;
+ }
+
+ public void setMyDefinitionList(HtmlDataDefinitionList myDefinitionList) {
+ this.myDefinitionList = myDefinitionList;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = myDefinitionList.getBaseClientId(context);
+ }
+
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataGrid/Car.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataGrid/Car.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataGrid/Car.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,49 @@
+package org.domain.HelloWorld.session.dataGrid;
+
+public class Car {
+
+ private String make;
+ private String model;
+ private String mileage;
+ private String price;
+
+ public Car(String make, String model, String mileage, String price) {
+ this.make = make;
+ this.model = model;
+ this.mileage = mileage;
+ this.price = price;
+ }
+
+ public String getMake() {
+ return make;
+ }
+
+ public void setMake(String make) {
+ this.make = make;
+ }
+
+ public String getModel() {
+ return model;
+ }
+
+ public void setModel(String model) {
+ this.model = model;
+ }
+
+ public String getMileage() {
+ return mileage;
+ }
+
+ public void setMileage(String mileage) {
+ this.mileage = mileage;
+ }
+
+ public String getPrice() {
+ return price;
+ }
+
+ public void setPrice(String price) {
+ this.price = price;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataGrid/DataGrid.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataGrid/DataGrid.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataGrid/DataGrid.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,175 @@
+package org.domain.HelloWorld.session.dataGrid;
+
+import java.util.ArrayList;
+import java.util.List;
+import org.richfaces.component.html.HtmlDataGrid;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+
+@Name("dataGrid")
+(a)Scope(ScopeType.SESSION)
+public class DataGrid {
+
+ public static final String[] carMake = {"Mersedes-Benz", "Audi", "BMW", "Ford", "Ferrari", "Jaguar", "Bently", "Rolls-Royse", "Bugatti", "Porshe"};
+ public static final String[] carModel = {"S65AMG", "RS4", "M6", "GT40", "550 Maranello", "XJ", "Brookland", "Phantom", "Veyron", "Carerra GT"};
+ public static final String[] carMileage = {"0 km", "0 km", "0 km", "0 km", "0 km", "123 km", "0 km", "250 km", "0 km", ""};
+ public static final String[] carPrice = {"125000 eur", "55000 eur", "75000 eur", "255000 eur", "246000 eur", "85000 usd", "430000 eur", "325000 eur", "1200000 eur", "750000 usd"};
+
+ public DataGrid() {
+ border = "2px";
+ dir = "LTR";
+ bindLabel = "not ready";
+ elements = "4";
+ first = "0";
+ columns = "2";
+ cellpadding = "1";
+ cellspacing = "1";
+ rendered = true;
+ width = "";
+
+ for(int i = 0; i < carMake.length; i++) {
+ Car car = new Car(carMake[i], carModel[i], carMileage[i], carPrice[i]);
+ allCars.add(car);
+ }
+ }
+
+ private List<Car> allCars = new ArrayList<Car>();
+ private HtmlDataGrid myDataGrid = null;
+ private String bindLabel;
+ private String elements;
+ private HtmlDataGrid htmlDataGrid = null;
+ private String border;
+ private String dir;
+ private String first;
+ private String columns;
+ private String cellpadding;
+ private String cellspacing;
+ private boolean rendered;
+ private String width;
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getCellpadding() {
+ return cellpadding;
+ }
+
+ public void setCellpadding(String cellpadding) {
+ this.cellpadding = cellpadding;
+ }
+
+ public String getCellspacing() {
+ return cellspacing;
+ }
+
+ public void setCellspacing(String cellspacing) {
+ this.cellspacing = cellspacing;
+ }
+
+ public String getColumns() {
+ return columns;
+ }
+
+ public void setColumns(String columns) {
+ this.columns = columns;
+ }
+
+ public String getFirst() {
+ return first;
+ }
+
+ public void setFirst(String first) {
+ this.first = first;
+ }
+
+ public void addHtmlDataGrid(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlDataGrid);
+ }
+
+ public String getElements() {
+ return elements;
+ }
+
+ public void setElements(String elements) {
+ this.elements = elements;
+ }
+
+ public String submit() {
+ return null;
+ }
+
+ public void submitAjax() {
+
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = myDataGrid.getBaseClientId(context);
+ }
+
+ public List<Car> getAllCars() {
+ return allCars;
+ }
+
+ public void setAllCars(List<Car> allCars) {
+ this.allCars = allCars;
+ }
+
+ public HtmlDataGrid getMyDataGrid() {
+ return myDataGrid;
+ }
+
+ public void setMyDataGrid(HtmlDataGrid myDataGrid) {
+ this.myDataGrid = myDataGrid;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public HtmlDataGrid getHtmlDataGrid() {
+ return htmlDataGrid;
+ }
+
+ public void setHtmlDataGrid(HtmlDataGrid htmlDataGrid) {
+ this.htmlDataGrid = htmlDataGrid;
+ }
+
+ public String getBorder() {
+ return border;
+ }
+
+ public void setBorder(String border) {
+ this.border = border;
+ }
+
+ public String getDir() {
+ return dir;
+ }
+
+ public void setDir(String dir) {
+ this.dir = dir;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataOrderedList/DataOrderedList.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,143 @@
+package org.domain.HelloWorld.session.dataOrderedList;
+
+import java.util.ArrayList;
+import org.richfaces.component.html.HtmlDataOrderedList;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.domain.HelloWorld.session.util.data.Data;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("dataOrderedList")
+(a)Scope(ScopeType.SESSION)
+public class DataOrderedList
+{
+ private ArrayList<Data> arr;
+ private int first;
+ private int rows;
+ private boolean rendered;
+ private String title;
+ private String type;
+ private String dir;
+ private int mSize;
+ private ArrayList defaultArr;
+ private HtmlDataOrderedList myOrderedList = null;
+ private String bindLabel;
+
+ public HtmlDataOrderedList getMyOrderedList() {
+ return myOrderedList;
+ }
+
+ public void setMyOrderedList(HtmlDataOrderedList myOrderedList) {
+ this.myOrderedList = myOrderedList;
+ }
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(myOrderedList);
+ return null;
+ }
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = myOrderedList.getBaseClientId(context);
+ }
+
+ public String getDir() {
+ return dir;
+ }
+
+ public void setDir(String dir) {
+ this.dir = dir;
+ }
+
+ public int getMSize() {
+ return mSize;
+ }
+
+ public void setMSize(int size) {
+ mSize = size;
+ }
+
+ public void setArr(ArrayList<Data> arr) {
+ this.arr = arr;
+ }
+
+ public DataOrderedList(){
+ arr = new ArrayList<Data>();
+ defaultArr = new ArrayList<String>();
+ dir ="LTR";
+ rows = 20;
+ rows = 0;
+ first = 0;
+ rendered = true;
+ title = "title";
+ type = "1";
+ for(int i = 1; i < Data.cityAfrica.length; i++)
+ arr.add(new Data(Data.cityAfrica[i]));
+ for(int i = 0; i < 5; i++)
+ defaultArr.add("text_" + i);
+ }
+
+ public int getFirst() {
+ return first;
+ }
+
+ public void setFirst(int first) {
+ this.first = first;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public int getRows() {
+ return rows;
+ }
+
+ public void setRows(int rows) {
+ this.rows = rows;
+ }
+
+ public ArrayList<Data> getArr() {
+ return arr;
+ }
+
+ public ArrayList getDefaultArr() {
+ return defaultArr;
+ }
+
+ public void setDefaultArr(ArrayList defaultArr) {
+ this.defaultArr = defaultArr;
+ }
+
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataScroller/Data.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataScroller/Data.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataScroller/Data.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,57 @@
+package org.domain.HelloWorld.session.dataScroller;
+
+public class Data {
+
+ public String data0;
+ public int data1;
+ public String data2;
+ public String data3;
+
+
+ public Data(String data0, int data1) {
+ this.data0 = data0;
+ this.data1 = data1;
+ }
+
+ public Data(String data0, int data1, String data2, String data3) {
+ this(data0, data1);
+ this.data2 = data2;
+ this.data3 = data3;
+ }
+
+ public String getData0() {
+ return data0;
+ }
+
+ public void setData0(String data0) {
+ this.data0 = data0;
+ }
+
+ public int getData1() {
+ return data1;
+ }
+
+ public String getData2() {
+ return data2;
+ }
+
+ public void setData2(String data2) {
+ this.data2 = data2;
+ }
+
+ public String getData3() {
+ return data3;
+ }
+
+ public void setData3(String data3) {
+ this.data3 = data3;
+ }
+
+ public void setData1(int data1) {
+ this.data1 = data1;
+ }
+
+
+
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataScroller/DataScroller.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataScroller/DataScroller.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataScroller/DataScroller.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,358 @@
+package org.domain.HelloWorld.session.dataScroller;
+
+import java.util.ArrayList;
+import javax.faces.event.ActionEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlDatascroller;
+import org.richfaces.event.DataScrollerEvent;
+import org.richfaces.model.Ordering;
+
+@Name("dataScroller")
+(a)Scope(ScopeType.SESSION)
+public class DataScroller {
+
+ private ArrayList<Data> dataTable;
+ public Data tD;
+ public String align;
+ public String fastControls;
+ public boolean render;
+ public boolean renderIfSinglePage;
+ public boolean limitToList;
+ public boolean renderTable;
+ public int maxPages;
+ private String action;
+ private String actionListener;
+ private boolean ajaxSingle = false;
+ private String boundaryControls = "auto";
+ private HtmlDatascroller htmlDatascroller= null;
+ private String fastStep = "0";
+ private String page = "10";
+ private Object value = null;
+ private String stepControls = "auto";
+ private String sortMode;
+ private boolean selfSorted;
+ private Ordering sortOrder;
+ private String filterValue;
+ private String currentSortOrder;
+
+ public HtmlDatascroller getHtmlDatascroller(){
+ return htmlDatascroller;
+ }
+
+ public void setHtmlDatascroller(HtmlDatascroller htmlDatascroller){
+ this.htmlDatascroller = htmlDatascroller;
+ }
+
+ public void addHtmlDatascroller(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlDatascroller);
+ }
+
+ public String getSortMode() {
+ return sortMode;
+ }
+
+ public void setSortMode(String sortMode) {
+ this.sortMode = sortMode;
+ }
+
+ public boolean isSelfSorted() {
+ return selfSorted;
+ }
+
+ public void setSelfSorted(boolean selfSorted) {
+ this.selfSorted = selfSorted;
+ }
+
+ public String getFilterValue() {
+ return filterValue;
+ }
+
+ public void setFilterValue(String filterValue) {
+ this.filterValue = filterValue;
+ }
+
+ public Ordering getSortOrder() {
+ return sortOrder;
+ }
+
+ public String getCurrentSortOrder() {
+ return currentSortOrder;
+ }
+
+ public String act() {
+ action = "action work!";
+ return null;
+ }
+
+ public String actListener(ActionEvent e) {
+ actionListener = "actionListener work!";
+ return null;
+ }
+
+ public String getAction() {
+ return action;
+ }
+
+ public String getActionListener() {
+ return actionListener;
+ }
+
+ public boolean isRenderTable() {
+ return renderTable;
+ }
+
+ public void setRenderTable(boolean renderTable) {
+ this.renderTable = renderTable;
+ }
+
+ public String getFastControls() {
+ return fastControls;
+ }
+
+ public void setFastControls(String fastControls) {
+ this.fastControls = fastControls;
+ }
+
+ public int getMaxPages() {
+ return maxPages;
+ }
+
+ public void setMaxPages(int maxPages) {
+ this.maxPages = maxPages;
+ }
+
+ public DataScroller() {
+ action = "---";
+ actionListener = "---";
+ fastControls = "auto";
+ render = true;
+ renderIfSinglePage = true;
+ align = "left";
+ maxPages = 20;
+ limitToList = false;
+
+ filterValue = "";
+ sortMode = "single";
+ sortOrder = Ordering.ASCENDING;
+ selfSorted = true;
+ currentSortOrder = "ASCENDING";
+
+ dataTable = new ArrayList<Data>();
+
+ for(int i=0;i<1000;i++)
+ {
+ dataTable.add(new Data("Random", i));
+ }
+
+ }
+
+ public void setCurrentSortOrder(String currentSortOrder) {
+ if("DESCENDING".equals(currentSortOrder)) this.sortOrder = Ordering.DESCENDING;
+ else if("UNSORTED".equals(currentSortOrder)) this.sortOrder = Ordering.UNSORTED;
+ else if("ASCENDING".equals(currentSortOrder)) this.sortOrder = Ordering.ASCENDING;
+ this.currentSortOrder = currentSortOrder;
+ }
+
+ public void CutArray(){
+ int k = dataTable.size()-1;
+ for(int i = k ;i > (k+1)/2; i--)
+ {
+ dataTable.remove(i);
+ }
+ }
+
+ public void RestoreArray(){
+
+ int k = dataTable.size()-1;
+ for(int i = k;i < (k+1)*2;i++)
+ {
+ dataTable.add(new Data("Random", i));
+ }
+ }
+
+ public ArrayList getDataTable() {
+ return dataTable;
+ }
+
+ public void setDataTable(ArrayList dataTable) {
+ this.dataTable = dataTable;
+ }
+
+ public void ScrollerListener(DataScrollerEvent e){
+
+ System.out.println("NewScrollValue: "+e.getNewScrolVal());
+ System.out.println("OldScrollValue: "+e.getOldScrolVal());
+ }
+
+ public Data getTD() {
+ return tD;
+ }
+
+ public void setTD(Data td) {
+ tD = td;
+ }
+
+ public boolean isRender() {
+ return render;
+ }
+
+ public void setRender(boolean render) {
+ this.render = render;
+ }
+
+ public boolean isRenderIfSinglePage() {
+ return renderIfSinglePage;
+ }
+
+ public void setRenderIfSinglePage(boolean renderIfSinglePage) {
+ this.renderIfSinglePage = renderIfSinglePage;
+ }
+
+ public String getAlign() {
+ return align;
+ }
+
+ public void setAlign(String align) {
+ this.align = align;
+ }
+
+ public boolean isLimitToList() {
+ return limitToList;
+ }
+
+ public void setLimitToList(boolean limitToList) {
+ this.limitToList = limitToList;
+ }
+
+ public void bTest1(){
+ setAlign("left");
+ setFastControls("auto");
+ setLimitToList(false);
+ setMaxPages(20);
+ setRenderIfSinglePage(true);
+ }
+
+ public void bTest2(){
+ setAlign("right");
+ setFastControls("show");
+ setLimitToList(false);
+ setMaxPages(30);
+ setRenderIfSinglePage(false);
+ }
+
+ public void bTest3(){
+ setAlign("center");
+ setFastControls("hide");
+ setLimitToList(false);
+ setMaxPages(10);
+ setRenderIfSinglePage(true);
+ }
+
+ public void bTest4(){
+ setAlign("center");
+ setFastControls("auto");
+ setLimitToList(true);
+ setMaxPages(30);
+ setRenderIfSinglePage(false);
+ }
+
+ public void bTest5(){
+ setAlign("left");
+ setFastControls("show");
+ setLimitToList(false);
+ setMaxPages(40);
+ setRenderIfSinglePage(true);
+ }
+
+ /**
+ * @return the ajaxSingle
+ */
+ public boolean isAjaxSingle() {
+ return ajaxSingle;
+ }
+
+ /**
+ * @param ajaxSingle the ajaxSingle to set
+ */
+ public void setAjaxSingle(boolean ajaxSingle) {
+ this.ajaxSingle = ajaxSingle;
+ }
+
+ /**
+ * @return the boundaryControls
+ */
+ public String getBoundaryControls() {
+ return boundaryControls;
+ }
+
+ /**
+ * @param boundaryControls the boundaryControls to set
+ */
+ public void setBoundaryControls(String boundaryControls) {
+ this.boundaryControls = boundaryControls;
+ }
+
+ /**
+ * @return the fastStep
+ */
+ public String getFastStep() {
+ return fastStep;
+ }
+
+ /**
+ * @param fastStep the fastStep to set
+ */
+ public void setFastStep(String fastStep) {
+ this.fastStep = fastStep;
+ }
+
+ /**
+ * @return the page
+ */
+ public String getPage() {
+ return page;
+ }
+
+ /**
+ * @param page the page to set
+ */
+ public void setPage(String page) {
+ this.page = page;
+ }
+
+ /**
+ * @return the value
+ */
+ public Object getValue() {
+ return value;
+ }
+
+ /**
+ * @param value the value to set
+ */
+ public void setValue(Object value) {
+ this.value = value;
+ }
+
+ /**
+ * @return the stepControls
+ */
+ public String getStepControls() {
+ return stepControls;
+ }
+
+ /**
+ * @param stepControls the stepControls to set
+ */
+ public void setStepControls(String stepControls) {
+ this.stepControls = stepControls;
+ }
+
+ public void setSortOrder(Ordering sortOrder) {
+ this.sortOrder = sortOrder;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/ChildBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/ChildBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/ChildBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,41 @@
+package org.domain.HelloWorld.session.dataTable;
+
+/**
+ * @author shura
+ *
+ */
+public class ChildBean {
+
+ private String name;
+
+ private int qty;
+
+ /**
+ * @return the name
+ */
+ public String getName() {
+ return this.name;
+ }
+
+ /**
+ * @param name the name to set
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * @return the qty
+ */
+ public int getQty() {
+ return this.qty;
+ }
+
+ /**
+ * @param qty the qty to set
+ */
+ public void setQty(int qty) {
+ this.qty = qty;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/Data.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/Data.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/Data.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,121 @@
+package org.domain.HelloWorld.session.dataTable;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.faces.event.ValueChangeEvent;
+
+
+public class Data {
+ private List detail = new ArrayList();
+ private String mounth;
+ private String town;
+ private String day;
+ private int total;
+ private int price;
+
+ private boolean checked=true;
+ /**
+ *
+ */
+ public Data() {
+ }
+
+ /**
+ * @return the detail
+ */
+ public List getDetail() {
+ return this.detail;
+ }
+
+ /**
+ * @param detail the detail to set
+ */
+ public void setDetail(List detail) {
+ this.detail = detail;
+ }
+
+ /**
+ * @return the mounth
+ */
+ public String getMounth() {
+ return this.mounth;
+ }
+
+ /**
+ * @param mounth the mounth to set
+ */
+ public void setMounth(String mounth) {
+ this.mounth = mounth;
+ }
+
+ /**
+ * @return the total
+ */
+ public int getTotal() {
+ return this.total;
+ }
+
+ /**
+ * @param total the total to set
+ */
+ public void setTotal(int total) {
+ this.total = total;
+ }
+
+ /**
+ * @return the checked
+ */
+ public boolean isChecked() {
+ System.out.println("Invoke get checked for mounth "+getMounth()+", checked:"+checked);
+ return this.checked;
+ }
+
+ /**
+ * @param checked the checked to set
+ */
+ public void setChecked(boolean checked) {
+ System.out.println("Invoke set checked for mounth "+getMounth()+", checked:"+checked);
+ this.checked = checked;
+ }
+
+ public String check(){
+ checked = !checked;
+ System.out.println("Invoke check action for mounth "+getMounth()+", checked:"+checked);
+ return null;
+ }
+
+ public void checkChanged(ValueChangeEvent event) {
+ System.out.println("Checked changed for mounth "+getMounth());
+ }
+
+ /**
+ * @return the price
+ */
+ public int getPrice() {
+ return price;
+ }
+
+ /**
+ * @param price the price to set
+ */
+ public void setPrice(int price) {
+ this.price = price;
+ }
+
+ public String getTown() {
+ return town;
+ }
+
+ public void setTown(String town) {
+ this.town = town;
+ }
+
+ public String getDay() {
+ return day;
+ }
+
+ public void setDay(String day) {
+ this.day = day;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/DataTable.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/DataTable.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dataTable/DataTable.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,243 @@
+package org.domain.HelloWorld.session.dataTable;
+
+import java.util.ArrayList;
+import java.util.Enumeration;
+import java.util.List;
+import java.util.Properties;
+import org.richfaces.component.html.HtmlDataTable;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("dataTable")
+(a)Scope(ScopeType.SESSION)
+public class DataTable {
+
+ private static final String [] mNames={"Jan","Feb","Mar","Apr","May", "Jun", "Jul"};
+ private static final String [] mDay={"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
+ private static final String [] mTtown = {"Adrian", "Ailey", "Alamo", "Alapaha", "Albany", "Allenhurst", "Alma"};
+ private List mounths = new ArrayList();
+ private List numbers = new ArrayList();
+ private String align;
+ private String border;
+ private String width;
+ private String columns;
+ private String columnsWidth;
+ private String cellpadding;
+ private String cellspacing;
+ private String rows;
+ private boolean r2rendered;
+ private boolean rendered;
+ private HtmlDataTable htmlDataTable = null;
+
+ public HtmlDataTable getHtmlDataTable() {
+ return htmlDataTable;
+ }
+
+ public void setHtmlDataTable(HtmlDataTable htmlDataTable) {
+ this.htmlDataTable = htmlDataTable;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlDataTable);
+ return null;
+ }
+
+ public DataTable() {
+ columns = "2";
+ cellpadding = "0";
+ cellspacing = "0";
+ rows = "0";
+ align = "center";
+ border = "1";
+ width = "400px";
+ columnsWidth = "200px";
+ rendered = true;
+ r2rendered = true;
+
+ Properties properties = System.getProperties();
+ Enumeration keys = properties.keys();
+ for(int i=0;i<7;i++){
+ Data bean = new Data();
+ int l = (int)(Math.random()*8)+1;
+ bean.setTotal(0);
+ bean.setMounth(DataTable.mNames[i]);
+ bean.setDay(DataTable.mDay[i]);
+ bean.setTown(DataTable.mTtown[i]);
+ mounths.add(bean);
+ for(int j=0;j<l;j++){
+ ChildBean child = new ChildBean();
+ child.setName((String) keys.nextElement());
+ int qty = (int)(Math.random()*10);
+ bean.setTotal(bean.getTotal()+qty);
+ child.setQty(qty);
+ bean.getDetail().add(child);
+ }
+ }
+ for(int i=0;i<16;i++){
+ numbers.add(new Integer(i));
+ }
+ }
+
+ public boolean isC1rendered() {
+ return r2rendered;
+ }
+
+ public void setC1rendered(boolean c1rendered) {
+ this.r2rendered = c1rendered;
+ }
+
+ public String toggleColumn() {
+ this.r2rendered = !this.r2rendered;
+ return null;
+ }
+ /**
+ * @return the numbers
+ */
+ public List getNumbers() {
+ return this.numbers;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ /**
+ * @param numbers the numbers to set
+ */
+ public void setNumbers(List numbers) {
+ this.numbers = numbers;
+ }
+
+ /**
+ * @return the mounths
+ */
+ public List getMounths() {
+ return this.mounths;
+ }
+
+ /**
+ * @param mounths the mounths to set
+ */
+ public void setMounths(List mounths) {
+ this.mounths = mounths;
+ }
+
+ public String getAlign() {
+ return align;
+ }
+
+ public void setAlign(String align) {
+ this.align = align;
+ }
+
+ public String getBorder() {
+ return border;
+ }
+
+ public void setBorder(String border) {
+ this.border = border;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public String getColumnsWidth() {
+ return columnsWidth;
+ }
+
+ public void setColumnsWidth(String columnsWidth) {
+ this.columnsWidth = columnsWidth;
+ }
+
+ public boolean isR2rendered() {
+ return r2rendered;
+ }
+
+ public void setR2rendered(boolean r2rendered) {
+ this.r2rendered = r2rendered;
+ }
+
+ public void bTest1() {
+ setAlign("center");
+ setBorder("4px");
+ setC1rendered(false);
+ setColumnsWidth("300px");
+ setWidth("500px");
+ }
+
+ public void bTest2() {
+ setAlign("left");
+ setBorder("0px");
+ setC1rendered(true);
+ setColumnsWidth("500px");
+ setWidth("300px");
+ }
+
+ public void bTest3() {
+ setAlign("right");
+ setBorder("5px");
+ setC1rendered(true);
+ setColumnsWidth("100px");
+ setWidth("200px");
+ }
+
+ public void bTest4() {
+ setAlign("center");
+ setBorder("4px");
+ setC1rendered(false);
+ setColumnsWidth("500px");
+ setWidth("500px");
+ }
+
+ public void bTest5() {
+ setAlign("center");
+ setBorder("4px");
+ setC1rendered(false);
+ setColumnsWidth("400px");
+ setWidth("800px");
+ }
+
+ public String getColumns() {
+ return columns;
+ }
+
+ public void setColumns(String columns) {
+ this.columns = columns;
+ }
+
+ public String getCellpadding() {
+ return cellpadding;
+ }
+
+ public void setCellpadding(String cellpadding) {
+ this.cellpadding = cellpadding;
+ }
+
+ public String getCellspacing() {
+ return cellspacing;
+ }
+
+ public void setCellspacing(String cellspacing) {
+ this.cellspacing = cellspacing;
+ }
+
+ public String getRows() {
+ return rows;
+ }
+
+ public void setRows(String rows) {
+ this.rows = rows;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/ddMenu/DDMenu.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/ddMenu/DDMenu.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/ddMenu/DDMenu.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,303 @@
+package org.domain.HelloWorld.session.ddMenu;
+
+import javax.faces.event.ActionEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlDropDownMenu;
+
+@Name("dDMenu")
+(a)Scope(ScopeType.SESSION)
+public class DDMenu {
+
+ private int hideDelay;
+ private int showDelay;
+ private int verticalOffset;
+ private int horizontalOffset;
+ private String event;
+ private String direction = "";
+ private String groupDirection;
+ private String jointPoint = "";
+ private String popupWidth = "";
+ private String icon = null;
+ private String iconFolder = null;
+ private String selectMenu;
+ private String mode;
+ private String action;
+ private String actionListener;
+ private boolean rendered;
+ private boolean disabled;
+ private boolean disabledDDM;
+ private boolean check;
+ private HtmlDropDownMenu htmlDDMenu = null;
+
+ public HtmlDropDownMenu getHtmlDDMenu() {
+ return htmlDDMenu;
+ }
+
+ public void setHtmlDDMenu(HtmlDropDownMenu htmlDDMenu) {
+ this.htmlDDMenu = htmlDDMenu;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlDDMenu);
+ return null;
+ }
+
+ public DDMenu() {
+ selectMenu = "accord";
+ hideDelay = 0;
+ showDelay = 0;
+ verticalOffset = 0;
+ horizontalOffset = 0;
+ event = "onmouseover";
+ direction = "";
+ groupDirection = "auto";
+ jointPoint = "";
+ popupWidth = "";
+ mode = "none";
+ icon = null;
+ iconFolder = null;
+ rendered = true;
+ disabled = false;
+ disabledDDM = false;
+ check = false;
+ action = "---";
+ actionListener = "---";
+ }
+
+ public void act() {
+ action = "action work!";
+ }
+
+ public void actListener(ActionEvent e) {
+ actionListener = "actionListener work!";
+ }
+
+ public String getActionListener() {
+ return actionListener;
+ }
+
+ public String getIcon() {
+ return icon;
+ }
+
+ public void setIcon(String icon) {
+ this.icon = icon;
+ }
+
+ public String getIconFolder() {
+ return iconFolder;
+ }
+
+ public void setIconFolder(String iconFolder) {
+ this.iconFolder = iconFolder;
+ }
+
+ public boolean isDisabled() {
+ return disabled;
+ }
+
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ public String getGroupDirection() {
+ return groupDirection;
+ }
+
+ public void setGroupDirection(String groupDirection) {
+ this.groupDirection = groupDirection;
+ }
+
+ public boolean isCheck() {
+ return check;
+ }
+
+ public void setCheck(boolean check) {
+ this.check = check;
+ }
+
+ public String getDirection() {
+ return direction;
+ }
+
+ public void setDirection(String direction) {
+ this.direction = direction;
+ }
+
+ public int getHideDelay() {
+ return hideDelay;
+ }
+
+ public void setHideDelay(int hideDelay) {
+ this.hideDelay = hideDelay;
+ }
+
+ public int getHorizontalOffset() {
+ return horizontalOffset;
+ }
+
+ public void setHorizontalOffset(int horizontalOffset) {
+ this.horizontalOffset = horizontalOffset;
+ }
+
+ public String getJointPoint() {
+ return jointPoint;
+ }
+
+ public void setJointPoint(String jointPoint) {
+ this.jointPoint = jointPoint;
+ }
+
+ public String getPopupWidth() {
+ return popupWidth;
+ }
+
+ public void setPopupWidth(String popupWidth) {
+ this.popupWidth = popupWidth;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public int getShowDelay() {
+ return showDelay;
+ }
+
+ public void setShowDelay(int showDelay) {
+ this.showDelay = showDelay;
+ }
+
+ public int getVerticalOffset() {
+ return verticalOffset;
+ }
+
+ public void setVerticalOffset(int verticalOffset) {
+ this.verticalOffset = verticalOffset;
+ }
+
+ public void changeIcons() {
+ if (icon != null) {
+ icon = null;
+ iconFolder = null;
+ } else {
+ icon = "/pics/header.png";
+ iconFolder = "/pics/ajax_process.gif";
+
+ }
+ }
+
+ public String getEvent() {
+ return event;
+ }
+
+ public void setEvent(String event) {
+ this.event = event;
+ }
+
+ public String getSelectMenu() {
+ return selectMenu;
+ }
+
+ public void setSelectMenu(String selectMenu) {
+ this.selectMenu = selectMenu;
+ }
+
+ public String getMode() {
+ return mode;
+ }
+
+ public void setMode(String mode) {
+ this.mode = mode;
+ }
+
+ public void bTest1(){
+ setDirection("top-right");
+ setEvent("onmouseover");
+ setGroupDirection("top-up");
+ setHideDelay(5);
+ setHorizontalOffset(1);
+ setVerticalOffset(1);
+ setJointPoint("top-left");
+ setMode("none");
+ setPopupWidth("300px");
+ setShowDelay(1);
+ setDisabled(false);
+ }
+
+ public void bTest2(){
+ setDirection("bottom-right");
+ setEvent("onclick");
+ setGroupDirection("bottom-left");
+ setHideDelay(5);
+ setShowDelay(5);
+ setHorizontalOffset(20);
+ setVerticalOffset(20);
+ setJointPoint("bottom-right");
+ setMode("ajax");
+ setPopupWidth("200px");
+ setDisabled(false);
+ }
+
+ public void bTest3(){
+ setDirection("bottom-left");
+ setEvent("onmouseover");
+ setGroupDirection("top-up");
+ setHideDelay(10);
+ setShowDelay(10);
+ setHorizontalOffset(5);
+ setVerticalOffset(5);
+ setJointPoint("top-left");
+ setMode("server");
+ setPopupWidth("50px");
+ setDisabled(false);
+ }
+
+ public void bTest4(){
+ setDirection("top-left");
+ setEvent("onmouseover");
+ setGroupDirection("auto");
+ setHideDelay(0);
+ setShowDelay(0);
+ setHorizontalOffset(0);
+ setVerticalOffset(0);
+ setJointPoint("auto");
+ setMode("ajax");
+ setPopupWidth("auto");
+ setDisabled(true);
+ }
+
+ public void bTest5(){
+ setDirection("auto");
+ setEvent("onmouseover");
+ setGroupDirection("auto");
+ setHideDelay(1);
+ setShowDelay(5);
+ setHorizontalOffset(2);
+ setVerticalOffset(2);
+ setJointPoint("auto");
+ setMode("ajax");
+ setPopupWidth("auto");
+ setDisabled(true);
+ }
+
+ public boolean isDisabledDDM() {
+ return disabledDDM;
+ }
+
+ public void setDisabledDDM(boolean disabledDDM) {
+ this.disabledDDM = disabledDDM;
+ }
+
+ public String getAction() {
+ return action;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDao.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,34 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.domain.HelloWorld.session.dfs;
+
+import java.util.List;
+
+public interface DataFilterSliderDao {
+
+ public List getCarsById(String id);
+
+ public List getAllCarMakes();
+
+ public int genRand();
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DataFilterSliderDaoImpl.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,183 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.domain.HelloWorld.session.dfs;
+
+import java.util.*;
+import java.math.BigDecimal;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Wesley
+ * Date: Jan 26, 2007
+ * Time: 8:20:38 AM
+ * To change this template use File | Settings | File Templates.
+ */
+public class DataFilterSliderDaoImpl implements DataFilterSliderDao {
+
+ private Map itemKeyMap = new HashMap();
+ private static int DECIMALS = 1;
+ private static int ROUNDING_MODE = BigDecimal.ROUND_HALF_UP;
+ private static DataFilterSliderDaoImpl ourInstance = new DataFilterSliderDaoImpl();
+
+ public static DataFilterSliderDaoImpl getInstance() {
+ return ourInstance;
+ }
+
+ private DataFilterSliderDaoImpl() {
+ loadCarList("0");
+ loadCarList("1");
+ loadCarList("2");
+ loadCarList("3");
+ loadCarList("4");
+ loadCarList("5");
+
+ }
+
+ public List getAllCarMakes(){
+ List retVal = new ArrayList();
+
+ retVal.add("Chevrolet");
+ retVal.add("Ford");
+ retVal.add("Nissan");
+ retVal.add("Toyota");
+ retVal.add("GMC");
+ retVal.add("Infiniti");
+
+ return retVal;
+ }
+
+ public List getCarsById(String id){
+ List retVal = new ArrayList();
+
+ retVal = (ArrayList)itemKeyMap.get( id );
+
+ return retVal;
+ }
+
+ public List loadCarList(String id) {
+
+ ArrayList retVal = new ArrayList();
+ if ( itemKeyMap.containsKey( id ) ){
+ retVal = (ArrayList)itemKeyMap.get( id );
+ //log.info("***************************YES we already have this one in cache: " + id);
+ }else{
+ try{
+
+ if (id.equals("0")){
+ retVal.addAll(createCar("Chevrolet","Corvette"));
+ retVal.addAll(createCar("Chevrolet","Malibu"));
+ retVal.addAll(createCar("Chevrolet","S-10"));
+ retVal.addAll(createCar("Chevrolet","Tahoe"));
+ }else if(id.equals("1")){
+ retVal.addAll(createCar("Ford","Taurus"));
+ retVal.addAll(createCar("Ford","Explorer"));
+ }else if(id.equals("2")){
+ retVal.addAll(createCar("Nissan","Maxima"));
+ }else if(id.equals("3")){
+ retVal.addAll(createCar("Toyota","4-Runner"));
+ retVal.addAll(createCar("Toyota","Camry"));
+ retVal.addAll(createCar("Toyota","Avalon"));
+ }else if(id.equals("4")){
+ retVal.addAll(createCar("GMC","Sierra"));
+ retVal.addAll(createCar("GMC","Yukon"));
+ }else if(id.equals("5")){
+ retVal.addAll(createCar("Infiniti","G35"));
+ }
+
+ }catch(Exception e){
+ e.printStackTrace();
+ }
+
+ itemKeyMap.put(id,retVal);
+ }
+
+
+ return retVal;
+ }
+
+ public int genRand() {
+ return rand(1,10000);
+ }
+
+ public List createCar(String make, String model){
+
+ ArrayList iiList = null;
+
+ try{
+ int arrayCount = rand(5,20);
+
+ DemoInventoryItem[] demoInventoryItemArrays = new DemoInventoryItem[arrayCount];
+ //System.out.println("******demoInventoryItemArrays: " + demoInventoryItemArrays.length);
+
+ for (int j = 0; j < demoInventoryItemArrays.length; j++){
+ DemoInventoryItem ii = new DemoInventoryItem();
+
+ ii.setMake(make);
+ ii.setModel(model);
+ ii.setStock(randomstring(6,7));
+ ii.setVin(randomstring(14,15));
+ ii.setMileage(new BigDecimal(rand(5000,80000)).setScale(DECIMALS, ROUNDING_MODE));
+ ii.setMileageMarket(new BigDecimal(rand(25000,45000)).setScale(DECIMALS, ROUNDING_MODE));
+ ii.setPrice(new Integer(rand(15000,55000)));
+ ii.setPriceMarket(new BigDecimal(rand(15000,55000)).setScale(DECIMALS, ROUNDING_MODE));
+ ii.setDaysLive(rand(1,90));
+ ii.setChangeSearches(new BigDecimal(rand(0,5)).setScale(DECIMALS, ROUNDING_MODE));
+ ii.setChangePrice(new BigDecimal(rand(0,5)).setScale(DECIMALS, ROUNDING_MODE));
+ ii.setExposure(new BigDecimal(rand(0,5)).setScale(DECIMALS, ROUNDING_MODE));
+ ii.setActivity(new BigDecimal(rand(0,5)).setScale(DECIMALS, ROUNDING_MODE));
+ ii.setPrinted(new BigDecimal(rand(0,5)).setScale(DECIMALS, ROUNDING_MODE));
+ ii.setInquiries(new BigDecimal(rand(0,5)).setScale(DECIMALS, ROUNDING_MODE));
+ demoInventoryItemArrays[j] = ii;
+
+ }
+
+ iiList = new ArrayList(Arrays.asList(demoInventoryItemArrays));
+
+ }catch(Exception e){
+ e.printStackTrace();
+ }
+ return iiList;
+ }
+
+ public static int rand(int lo, int hi)
+ {
+ Random rn2 = new Random();
+ //System.out.println("**" + lo);
+ //System.out.println("**" + hi);
+ int n = hi - lo + 1;
+ int i = rn2.nextInt() % n;
+ if (i < 0)
+ i = -i;
+ return lo + i;
+ }
+
+ @SuppressWarnings("deprecation")
+ public static String randomstring(int lo, int hi)
+ {
+ int n = rand(lo, hi);
+ byte b[] = new byte[n];
+ for (int i = 0; i < n; i++)
+ b[i] = (byte)rand('A', 'Z');
+ return new String(b, 0);
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoInventoryItem.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoInventoryItem.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoInventoryItem.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,175 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.domain.HelloWorld.session.dfs;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Wesley
+ * Date: Jan 26, 2007
+ * Time: 8:21:36 AM
+ * To change this template use File | Settings | File Templates.
+ */
+public class DemoInventoryItem implements Serializable {
+
+ String make;
+ String model;
+ String stock;
+ String vin;
+
+ BigDecimal mileage;
+ BigDecimal mileageMarket;
+ Integer price;
+ BigDecimal priceMarket;
+
+ int daysLive;
+ BigDecimal changeSearches;
+ BigDecimal changePrice;
+
+ BigDecimal exposure;
+ BigDecimal activity;
+ BigDecimal printed;
+ BigDecimal inquiries;
+
+
+ public String getMake() {
+ return make;
+ }
+
+ public void setMake(String make) {
+ this.make = make;
+ }
+
+ public String getModel() {
+ return model;
+ }
+
+ public void setModel(String model) {
+ this.model = model;
+ }
+
+ public String getStock() {
+ return stock;
+ }
+
+ public void setStock(String stock) {
+ this.stock = stock;
+ }
+
+ public String getVin() {
+ return vin;
+ }
+
+ public void setVin(String vin) {
+ this.vin = vin;
+ }
+
+ public BigDecimal getMileage() {
+ return mileage;
+ }
+
+ public void setMileage(BigDecimal mileage) {
+ this.mileage = mileage;
+ }
+
+ public BigDecimal getMileageMarket() {
+ return mileageMarket;
+ }
+
+ public void setMileageMarket(BigDecimal mileageMarket) {
+ this.mileageMarket = mileageMarket;
+ }
+
+ public Integer getPrice() {
+ return price;
+ }
+
+ public void setPrice(Integer price) {
+ this.price = price;
+ }
+
+ public BigDecimal getPriceMarket() {
+ return priceMarket;
+ }
+
+ public void setPriceMarket(BigDecimal priceMarket) {
+ this.priceMarket = priceMarket;
+ }
+
+ public int getDaysLive() {
+ return daysLive;
+ }
+
+ public void setDaysLive(int daysLive) {
+ this.daysLive = daysLive;
+ }
+
+ public BigDecimal getChangeSearches() {
+ return changeSearches;
+ }
+
+ public void setChangeSearches(BigDecimal changeSearches) {
+ this.changeSearches = changeSearches;
+ }
+
+ public BigDecimal getChangePrice() {
+ return changePrice;
+ }
+
+ public void setChangePrice(BigDecimal changePrice) {
+ this.changePrice = changePrice;
+ }
+
+ public BigDecimal getExposure() {
+ return exposure;
+ }
+
+ public void setExposure(BigDecimal exposure) {
+ this.exposure = exposure;
+ }
+
+ public BigDecimal getActivity() {
+ return activity;
+ }
+
+ public void setActivity(BigDecimal activity) {
+ this.activity = activity;
+ }
+
+ public BigDecimal getPrinted() {
+ return printed;
+ }
+
+ public void setPrinted(BigDecimal printed) {
+ this.printed = printed;
+ }
+
+ public BigDecimal getInquiries() {
+ return inquiries;
+ }
+
+ public void setInquiries(BigDecimal inquiries) {
+ this.inquiries = inquiries;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoInventoryList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoInventoryList.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoInventoryList.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,294 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.domain.HelloWorld.session.dfs;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.faces.component.UIData;
+import javax.faces.event.ActionEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.UIDataFltrSlider;
+
+
+@Name("inventoryList")
+(a)Scope(ScopeType.SESSION)
+public class DemoInventoryList {
+ DataFilterSliderDao dataFilterSliderDao = DataFilterSliderDaoImpl.getInstance();
+
+
+ public DemoInventoryList() {
+ loadCarMakeIndex();
+ }
+
+ private List headers;
+ private List members;
+
+ // dataTableColumn Names
+ private static final String mileageColumnName = "Mileage";
+ private static final String mileageMktAvgColumnName = "+/- Mkt Avg";
+ private static final String priceColumnName = "Price";
+ private static final String priceMktAvgColumnName = "+/- Mkt Avg";
+ private static final String daysLiveColumnName = "Days Live";
+ private static final String changeSearchesColumnName = "% Change Searches";
+ private static final String changePriceColumnName = "% Change Price";
+ private static final String exposureColumnName = "Exposure";
+ private static final String activityColumnName = "Activity";
+ private static final String printedColumnName = "Printed";
+ private static final String inquiriesColumnName = "Inquiries";
+
+ private void populateHeaderList(){
+ headers = new ArrayList();
+ //headers.add("");
+ headers.add(mileageColumnName);
+ headers.add(mileageMktAvgColumnName);
+ headers.add(priceColumnName);
+ headers.add(priceMktAvgColumnName);
+ headers.add(daysLiveColumnName);
+ headers.add(changeSearchesColumnName);
+ headers.add(changePriceColumnName);
+ headers.add(exposureColumnName);
+ headers.add(activityColumnName);
+ headers.add(printedColumnName);
+ headers.add(inquiriesColumnName);
+
+
+ }
+
+ private void populateMemberList(){
+ members = new ArrayList();
+ members.add("avgMileage");
+ members.add("avgMileageMarket");
+ members.add("avgPrice");
+ members.add("avgPriceMarket");
+ members.add("avgDaysLive");
+ members.add("avgChangeSearches");
+ members.add("avgChangePrice");
+ members.add("avgExposure");
+ members.add("avgActivity");
+ members.add("avgPrinted");
+ members.add("avgInquiries");
+ }
+
+
+
+ public String getMileageColumnName() {
+ return mileageColumnName;
+ }
+
+
+ public String getMileageMktAvgColumnName() {
+ return mileageMktAvgColumnName;
+ }
+
+ public String getPriceMktAvgColumnName() {
+ return priceMktAvgColumnName;
+ }
+
+ public String getPriceColumnName() {
+ return priceColumnName;
+ }
+
+ public String getDaysLiveColumnName() {
+ return daysLiveColumnName;
+ }
+
+ public String getChangeSearchesColumnName() {
+ return changeSearchesColumnName;
+ }
+
+ public String getChangePriceColumnName() {
+ return changePriceColumnName;
+ }
+
+ public String getExposureColumnName() {
+ return exposureColumnName;
+ }
+
+ public String getActivityColumnName() {
+ return activityColumnName;
+ }
+
+ public String getPrintedColumnName() {
+ return printedColumnName;
+ }
+
+ public String getInquiriesColumnName() {
+ return inquiriesColumnName;
+ }
+
+ private List carMakeIndex;
+
+
+ public List getCarMakeIndex() {
+ return carMakeIndex;
+ }
+
+ public void setCarMakeIndex(List carMakeIndex) {
+ this.carMakeIndex = carMakeIndex;
+ }
+
+ private UIData carMakeIndexUIData;
+
+
+ public UIData getCarMakeIndexUIData() {
+ return carMakeIndexUIData;
+ }
+
+ public void setCarMakeIndexUIData(UIData carMakeIndexUIData) {
+ this.carMakeIndexUIData = carMakeIndexUIData;
+ }
+
+ public Object getCarInventory() {
+
+ if (uiData == null){
+ loadCarTable("1");
+ }
+
+ return getUiData().getValue();
+
+ }
+
+ protected void loadCarMakeIndex() {
+
+ carMakeIndex = dataFilterSliderDao.getAllCarMakes();
+ }
+
+ UIData uiData;
+
+
+ public UIData getUiData() {
+ if(uiData == null){
+ uiData = new UIData();
+ }
+ return uiData;
+ }
+
+ public void setUiData(UIData uiData) {
+ this.uiData = uiData;
+ }
+
+ public void loadCarTable(String id) {
+ try{
+
+ getUiData().setValue(dataFilterSliderDao.getCarsById(id));
+
+ }catch(Exception e){
+ e.printStackTrace();
+ }
+ }
+
+
+ private static final String carMileageColumnName = "Mileage";
+ private static final String carMileageMktAvgColumnName = "MktAvg";
+ private static final String carPriceColumnName = "Price";
+
+
+ public String getCarMileageColumnName() {
+ return carMileageColumnName;
+ }
+
+ public String getCarMileageMktAvgColumnName() {
+ return carMileageMktAvgColumnName;
+ }
+
+ public String getCarPriceColumnName() {
+ return carPriceColumnName;
+ }
+
+ private String filterValue;
+ private String filterRule;
+
+
+ public String getFilterValue() {
+ return filterValue;
+ }
+
+ public void setFilterValue(String filterValue) {
+ this.filterValue = filterValue;
+ }
+
+
+ public String getFilterRule() {
+ return filterRule;
+ }
+
+ public void setFilterRule(String filterRule) {
+ this.filterRule = filterRule;
+
+
+ }//Other Functions---------------------------------------------------------------------------------------
+ public void populateTableFromMake(){
+ loadCarTable(filterValue);
+ }
+
+ UIDataFltrSlider dataFilterSlider;
+
+
+ public UIDataFltrSlider getDataFilterSlider() {
+ return dataFilterSlider;
+ }
+
+ public void setDataFilterSlider(UIDataFltrSlider dataFilterSlider) {
+ this.dataFilterSlider = dataFilterSlider;
+ }
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(dataFilterSlider);
+ return null;
+ }
+ public void filterCarList(ActionEvent event) {
+
+ UIDataFltrSlider slider = getDataFilterSlider();
+ slider.resetDataTable();
+
+ try{
+ filterValue = String.valueOf(carMakeIndexUIData.getRowIndex());
+ filterRule = getAttribute(event, "filterRule");
+
+ if (filterRule.equals("showTable")){
+ loadCarTable(filterValue);
+ }
+ }catch(Exception e){
+ e.printStackTrace();
+ }
+
+ slider.filterDataTable(slider.getHandleValue());
+ }
+
+ private static String getAttribute(ActionEvent event, String name) {
+ return (String) event.getComponent().getAttributes().get(name);
+ }
+
+ public int genRandom;
+
+
+ public int getGenRandom() {
+ return dataFilterSliderDao.genRand();
+ }
+
+ public void setGenRandom(int genRandom) {
+ this.genRandom = genRandom;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoSliderBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoSliderBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dfs/DemoSliderBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,118 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.domain.HelloWorld.session.dfs;
+
+import org.richfaces.component.html.HtmlDataFilterSlider;
+import org.richfaces.event.DataFilterSliderEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+
+/**
+ * @author $Autor$
+ *
+ */
+@Name("dfs")
+(a)Scope(ScopeType.SESSION)
+public class DemoSliderBean {
+ private boolean rendered;
+ @In("#{inventoryList}")
+ private DemoInventoryList demoInventoryList;
+ private String action;
+ private String actionListener;
+ private HtmlDataFilterSlider htmlDataFilterSlider = null;
+
+ public DemoSliderBean() {
+ rendered = true;
+ action = "---";
+ actionListener = "---";
+ //demoInventoryList = new DemoInventoryList();
+ }
+
+ public String addHtmlDataFilterSlider(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlDataFilterSlider);
+ return null;
+ }
+
+ public void setDemoInventoryList(DemoInventoryList demoInventoryList) {
+ this.demoInventoryList = demoInventoryList;
+ }
+
+ public void doSlide(DataFilterSliderEvent event) {
+
+ Integer oldSliderVal = event.getOldSliderVal();
+ Integer newSliderVal = event.getNewSliderVal();
+
+ System.out.println("Old Slider Value = " + oldSliderVal.toString() + " " + "New Slider Value = " + newSliderVal.toString());
+
+ }
+
+ public void doRendered()
+ {
+ if(rendered)
+ rendered = false;
+ else rendered = true;
+ }
+
+ public String getRenderedName() {
+ if(rendered) return "Rendered on";
+ else return "Rendered off";
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String act() {
+ action = "action work!";
+ return null;
+ }
+
+ public String actListener() {
+ actionListener = "actionListener work!";
+ return null;
+ }
+
+ public String getAction() {
+ return action;
+ }
+
+ public String getActionListener() {
+ return actionListener;
+ }
+
+ public HtmlDataFilterSlider getHtmlDataFilterSlider() {
+ return htmlDataFilterSlider;
+ }
+
+ public void setHtmlDataFilterSlider(HtmlDataFilterSlider htmlDataFilterSlider) {
+ this.htmlDataFilterSlider = htmlDataFilterSlider;
+ }
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dnd/DndBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dnd/DndBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/dnd/DndBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,149 @@
+package org.domain.HelloWorld.session.dnd;
+
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.faces.event.ActionEvent;
+import org.richfaces.component.html.HtmlDragSupport;
+import org.richfaces.component.html.HtmlDropSupport;
+import org.richfaces.event.DragEvent;
+import org.richfaces.event.DropEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("dndBean")
+(a)Scope(ScopeType.SESSION)
+public class DndBean {
+
+ private List types = new ArrayList();
+ private Object dragValue;
+ private Object testParam;
+ private String actionDrop;
+ private String actionListenerDrop;
+ private String actionDrag;
+ private String actionListenerDrag;
+ private HtmlDragSupport htmlDrag = null;
+ private HtmlDropSupport htmlDrop = null;
+
+ public DndBean() {
+ super();
+
+ types.add("One");
+ types.add("Two");
+
+ actionDrag = "---";
+ actionListenerDrag = "---";
+ actionDrop = "---";
+ actionListenerDrop = "---";
+ }
+
+ public String actListenerDrag(ActionEvent e) {
+ actionListenerDrag = "actionListenerDrag work!";
+ return null;
+ }
+
+ public String actListenerDrop(ActionEvent e) {
+ actionListenerDrop = "actionListenerDrop work!";
+ return null;
+ }
+
+ public void processDrop(DropEvent event) {
+ System.out.println("Bean.processDrop()" + event.getDropValue());
+ this.dragValue = event.getDragValue();
+ }
+
+ public void processDrag(DragEvent event) {
+ System.out.println("Bean.processDrag()"+ event.getDropValue());
+ }
+
+ public List getTypes() {
+ return types;
+ }
+
+ public String dragAction() {
+ System.out.println("Bean.dragAction()");
+ actionDrag = "actionDtag work!";
+ return null;
+ }
+
+ public String dropAction() {
+ System.out.println("Bean.dropAction()");
+ actionDrop = "actionDrop work!";
+ return null;
+ }
+
+ public Object getDragValue() {
+ return dragValue;
+ }
+
+ public Object getTestParam() {
+ return testParam;
+ }
+
+ public void setTestParam(Object testParam) {
+ this.testParam = testParam;
+ System.out.println("Bean.setTestParam()" + testParam);
+ }
+
+ public String getActionDrop() {
+ return actionDrop;
+ }
+
+ public void setActionDrop(String actionDrop) {
+ this.actionDrop = actionDrop;
+ }
+
+ public String getActionListenerDrop() {
+ return actionListenerDrop;
+ }
+
+ public void setActionListenerDrop(String actionListenerDrop) {
+ this.actionListenerDrop = actionListenerDrop;
+ }
+
+ public String getActionDrag() {
+ return actionDrag;
+ }
+
+ public void setActionDrag(String actionDrag) {
+ this.actionDrag = actionDrag;
+ }
+
+ public String getActionListenerDrag() {
+ return actionListenerDrag;
+ }
+
+ public void setActionListenerDrag(String actionListenerDrag) {
+ this.actionListenerDrag = actionListenerDrag;
+ }
+
+ public HtmlDragSupport getHtmlDrag() {
+ return htmlDrag;
+ }
+
+ public void setHtmlDrag(HtmlDragSupport htmlDrag) {
+ this.htmlDrag = htmlDrag;
+ }
+
+ public HtmlDropSupport getHtmlDrop() {
+ return htmlDrop;
+ }
+
+ public void setHtmlDrop(HtmlDropSupport htmlDrop) {
+ this.htmlDrop = htmlDrop;
+ }
+
+ public String add1(){
+ ComponentInfo info1 = ComponentInfo.getInstance();
+ info1.addField(htmlDrag);
+ return null;
+ }
+
+ public String add2(){
+ ComponentInfo info1 = ComponentInfo.getInstance();
+ info1.addField(htmlDrop);
+ return null;
+ }
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/effect/Effect.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/effect/Effect.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/effect/Effect.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,81 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.domain.HelloWorld.session.effect;
+
+import org.richfaces.component.html.HtmlEffect;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("effect")
+(a)Scope(ScopeType.SESSION)
+public class Effect {
+ private double time;
+ private String stateName;
+ private boolean state;
+ private HtmlEffect htmlEffect = null;
+
+ public HtmlEffect getHtmlEffect() {
+ return htmlEffect;
+ }
+
+ public void setHtmlEffect(HtmlEffect htmlEffect) {
+ this.htmlEffect = htmlEffect;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlEffect);
+ return null;
+ }
+
+ public Effect() {
+ time = 1.4;
+ state = true;
+ stateName = "buttonID";
+ }
+
+ public double getTime() {
+ return time;
+ }
+
+ public void setTime(double time) {
+ this.time = time;
+ }
+
+ public String getStateName() {
+ return stateName;
+ }
+
+ public void setStateName(String stateName) {
+ this.stateName = stateName;
+ }
+
+ public boolean isState() {
+ return state;
+ }
+
+ public void setState(boolean state) {
+ this.state = state;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatient.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,86 @@
+package org.domain.HelloWorld.session.extendedDataTable;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @author pkawiak
+ */
+
+public class DemoPatient implements Serializable{
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -2265498014894008031L;
+ private Integer id;
+ private String firstName;
+ private String lastName;
+ private Date admissionDate;
+
+ DemoPatient(Integer id, String firstName, String lastName, Date admissionDate) {
+ this.id = id;
+ this.firstName = firstName;
+ this.lastName = lastName;
+ this.admissionDate = admissionDate;
+ }
+
+ /**
+ * @return the id
+ */
+ public Integer getId() {
+ return id;
+ }
+
+ /**
+ * @param id the id to set
+ */
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ /**
+ * @return the firstName
+ */
+ public String getFirstName() {
+ return firstName;
+ }
+
+ /**
+ * @param firstName the firstName to set
+ */
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ /**
+ * @return the lastName
+ */
+ public String getLastName() {
+ return lastName;
+ }
+
+ /**
+ * @param lastName the lastName to set
+ */
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+
+ /**
+ * @return the admissionDate
+ */
+ public Date getAdmissionDate() {
+ return admissionDate;
+ }
+
+ /**
+ * @param admissionDate the admissionDate to set
+ */
+ public void setAdmissionDate(Date admissionDate) {
+ this.admissionDate = admissionDate;
+ }
+
+
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/DemoPatientProvider.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,125 @@
+package org.domain.HelloWorld.session.extendedDataTable;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+import java.util.Random;
+
+import org.richfaces.model.DataProvider;
+
+/**
+ * @author pkawiak
+ *
+ */
+
+public class DemoPatientProvider implements DataProvider<DemoPatient>{
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 7038048580234887663L;
+
+ private String allFirstNames[] = {
+ "Aaron", "Abbott", "Abel", "Abner",
+ "Abraham", "Adam", "Addison", "Adler",
+ "Adley", "Adrian", "Aedan", "Aiken",
+ "Alan", "Alastair", "Albern", "Albert",
+ "Albion", "Alden", "Aldis", "Aldrich",
+ "Alexander", "Alfie", "Alfred", "Algernon",
+ "Alston", "Alton", "Alvin", "Ambrose",
+ "Amery", "Amos", "Andrew", "Angus",
+ "Ansel", "Anthony", "Archer", "Archibald",
+ "Arlen", "Arnold", "Arthur", "Arvel",
+ "Atwater", "Atwood", "Aubrey", "Austin",
+ "Małgorzata", "Paweł", "Piotr"
+ };
+
+ private String allLastNames[] = {
+ "Brown", "Smith", "Patel",
+ "Jones", "Williams", "Johnson",
+ "Taylor", "Thomas", "Roberts",
+ "Khan", "Lewis", "Jackson",
+ "Clarke", "James", "Phillips",
+ "Wilson", "Ali", "Mason",
+ "Davies", "Rodriguez", "Cox",
+ "Alexander", "Popiołek", "Buda",
+ "Goławski", "Kawiak", "Mitchel"
+
+ };
+
+ private List<DemoPatient> items;
+ private Integer itemsNumber;
+
+ private Random random = new Random();
+ private long now = new Date().getTime();
+
+
+ public DemoPatientProvider(Integer itemsNumber) {
+ super();
+ this.itemsNumber = itemsNumber;
+ }
+
+ private Date generateRandomDate(){
+ return new Date(Math.abs(random.nextLong()%now));
+ }
+
+ private String generateRandomFirstName() {
+ int rand = Math.abs(random.nextInt());
+ return allFirstNames[rand%(allFirstNames.length)];
+ }
+
+ private String generateRandomLastName() {
+ int rand = Math.abs(random.nextInt());
+ return allLastNames[rand%(allLastNames.length)];
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.model.DataProvider#getItemByKey(java.lang.Object)
+ */
+ public DemoPatient getItemByKey(Object key) {
+ if (key == null)
+ return null;
+ for (DemoPatient entity : getItems()){
+ if (entity.getId().equals(key))
+ return entity;
+ }
+ return null;
+ }
+
+ protected List<DemoPatient> getItems() {
+ if (items == null){
+ int l = itemsNumber;
+ items = new ArrayList<DemoPatient>(l);
+ for (int i=0;i<l;i++) {
+ items.add(new DemoPatient(i,
+ generateRandomFirstName(),
+ generateRandomLastName(),
+ generateRandomDate()));
+ }
+
+ }
+ return items;
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.model.DataProvider#getItemsByRange(int, int)
+ */
+ public List<DemoPatient> getItemsByRange(int firstRow, int lastRow) {
+ return getItems().subList(firstRow, lastRow);
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.model.DataProvider#getKey(java.lang.Object)
+ */
+ public Object getKey(DemoPatient item) {
+ return item.getId();
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.model.DataProvider#getRowCount()
+ */
+ public int getRowCount() {
+ return getItems().size();
+ }
+
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableBB.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,120 @@
+package org.domain.HelloWorld.session.extendedDataTable;
+
+import java.util.ArrayList;
+import java.util.Comparator;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.faces.context.FacesContext;
+import javax.servlet.http.Cookie;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.model.ExtendedTableDataModel;
+import org.richfaces.model.selection.SimpleSelection;
+
+/**
+ * @author mvitenkov
+ *
+ */
+@Name("extendedDataTableBean")
+(a)Scope(ScopeType.SESSION)
+public class ExtendedDataTableBB {
+
+ private SimpleSelection selection = new SimpleSelection();
+ private List<DemoPatient> selectedItems;
+ private Comparator<DemoPatient> dateComparator;
+ private String tableState = null;
+ private ExtendedTableDataModel<DemoPatient> dataModel;
+ private Integer patientsNumber = 100;
+
+ public ExtendedDataTableBB() {
+ }
+
+ public ExtendedTableDataModel<DemoPatient> getDataModel(){
+ if (dataModel == null){
+ dataModel = new ExtendedTableDataModel<DemoPatient>(new DemoPatientProvider(patientsNumber));
+ }
+ return dataModel;
+ }
+
+ public SimpleSelection getSelection() {
+ return selection;
+ }
+
+ public void setSelection(SimpleSelection selection) {
+ this.selection = selection;
+ }
+
+ public String takeSelection() {
+ getSelectedItems().clear();
+ Iterator<Object> iterator = getSelection().getKeys();
+ while (iterator.hasNext()){
+ Object key = iterator.next();
+ selectedItems.add(getDataModel().getObjectByKey(key));
+ }
+ return null;
+ }
+
+ public Integer getPatientsNumber() {
+ return patientsNumber;
+ }
+
+ public void setPatientsNumber(Integer patientsNumber) {
+ if (patientsNumber != this.patientsNumber) {
+ dataModel = new ExtendedTableDataModel<DemoPatient>(new DemoPatientProvider(patientsNumber));
+ }
+ this.patientsNumber = patientsNumber;
+ }
+
+ public List<DemoPatient> getSelectedItems() {
+ if (selectedItems == null){
+ selectedItems = new ArrayList<DemoPatient>();
+ }
+ return selectedItems;
+ }
+
+ public void setSelectedItems(List<DemoPatient> selectedItems) {
+ this.selectedItems = selectedItems;
+ }
+
+ public String getTableState() {
+ if (tableState == null){
+ //try to get state from cookies
+ Cookie[] cookies = ((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest()).getCookies();
+ if (cookies != null){
+ for (Cookie c : cookies){
+ if (c.getName().equals("g3demoTabelState")){
+ tableState = c.getValue();
+ break;
+ }
+ }
+ }
+ }
+ return tableState;
+ }
+
+ public void setTableState(String tableState) {
+ this.tableState = tableState;
+ //save state in cookies
+ Cookie stateCookie = new Cookie("g3demoTabelState", this.tableState);
+ ((HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse()).addCookie(stateCookie);
+ }
+
+ public Comparator<DemoPatient> getDateComparator(){
+ if (dateComparator == null){
+ dateComparator = new Comparator<DemoPatient>(){
+
+ public int compare(DemoPatient o1, DemoPatient o2) {
+ return o1.getAdmissionDate().compareTo(o2.getAdmissionDate());
+ }
+
+ };
+ }
+ return dateComparator;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/extendedDataTable/ExtendedDataTableControlBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,218 @@
+package org.domain.HelloWorld.session.extendedDataTable;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import javax.faces.model.SelectItem;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlExtendedDataTable;
+
+@Name("extendedDataTableControlBean")
+(a)Scope(ScopeType.SESSION)
+public class ExtendedDataTableControlBean {
+
+ private String width = "100%";
+ private String height = "500px";
+ private List<SelectItem> sortModeSelectItems = new ArrayList<SelectItem>();
+ private List<SelectItem> selectionModeSelectItems = new ArrayList<SelectItem>();
+ private String sortMode;
+ private String selectionMode;
+ private Integer rowsNumber;
+ private boolean paginated = false;
+ private HtmlExtendedDataTable extDTable = null;
+ private String bindLabel;
+ private String border;
+ private String cellpadding;
+ private String cellspacing;
+ private String dir;
+ private int first;
+ private String frame;
+ private String groupingColumn;
+ private boolean rendered;
+ private String sortPriority;
+
+ public String getSortPriority() {
+ return sortPriority;
+ }
+
+ public void setSortPriority(String sortPriority) {
+ this.sortPriority = sortPriority;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getGroupingColumn() {
+ return groupingColumn;
+ }
+
+ public void setGroupingColumn(String groupingColumn) {
+ this.groupingColumn = groupingColumn;
+ }
+
+ public String getFrame() {
+ return frame;
+ }
+
+ public void setFrame(String frame) {
+ this.frame = frame;
+ }
+
+ public int getFirst() {
+ return first;
+ }
+
+ public void setFirst(int first) {
+ this.first = first;
+ }
+
+ public String getDir() {
+ return dir;
+ }
+
+ public void setDir(String dir) {
+ this.dir = dir;
+ }
+
+ public String getCellpadding() {
+ return cellpadding;
+ }
+
+ public void setCellpadding(String cellpadding) {
+ this.cellpadding = cellpadding;
+ }
+
+ public String getCellspacing() {
+ return cellspacing;
+ }
+
+ public void setCellspacing(String cellspacing) {
+ this.cellspacing = cellspacing;
+ }
+
+ public String getBorder() {
+ return border;
+ }
+
+ public void setBorder(String border) {
+ this.border = border;
+ }
+
+ public HtmlExtendedDataTable getExtDTable() {
+ return extDTable;
+ }
+
+ public void setExtDTable(HtmlExtendedDataTable extDTable) {
+ this.extDTable = extDTable;
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = extDTable.getBaseClientId(context);
+ }
+ public void addExtDTable(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(extDTable);
+ }
+
+ public ExtendedDataTableControlBean() {
+ sortModeSelectItems.add(new SelectItem("single", "single"));
+ sortModeSelectItems.add(new SelectItem("multi", "multi"));
+ selectionModeSelectItems.add(new SelectItem("single", "single"));
+ selectionModeSelectItems.add(new SelectItem("multi", "multi"));
+ selectionModeSelectItems.add(new SelectItem("none", "none"));
+ bindLabel = "click binding";
+ border = "1px";
+ cellpadding = "1px";
+ cellspacing = "1px";
+ dir = "LTR";
+ first = 0;
+ frame = "void";
+ rendered = true;
+ }
+
+ public boolean isPaginated() {
+ return paginated;
+ }
+
+ public void setPaginated(boolean paginated) {
+ this.paginated = paginated;
+ }
+
+ public Integer getRowsNumber() {
+ return rowsNumber;
+ }
+
+ public void setRowsNumber(Integer rowsNumber) {
+ this.rowsNumber = rowsNumber;
+ }
+
+ public List<SelectItem> getSelectionModeSelectItems() {
+ return selectionModeSelectItems;
+ }
+
+ public void setSelectionModeSelectItems(
+ List<SelectItem> selectionModeSelectItems) {
+ this.selectionModeSelectItems = selectionModeSelectItems;
+ }
+
+
+
+ public List<SelectItem> getSortModeSelectItems() {
+ return sortModeSelectItems;
+ }
+
+ public void setSortModeSelectItems(List<SelectItem> sortModeSelectItems) {
+ this.sortModeSelectItems = sortModeSelectItems;
+ }
+
+ public String getSortMode() {
+ return sortMode;
+ }
+
+ public void setSortMode(String sortMode) {
+ this.sortMode = sortMode;
+ }
+
+ public String getSelectionMode() {
+ return selectionMode;
+ }
+
+ public void setSelectionMode(String selectionMode) {
+ this.selectionMode = selectionMode;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public String getHeight() {
+ return height;
+ }
+
+ public void setHeight(String height) {
+ this.height = height;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/fileUpload/FileUpload.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/fileUpload/FileUpload.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/fileUpload/FileUpload.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,165 @@
+package org.domain.HelloWorld.session.fileUpload;
+
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.util.ArrayList;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlFileUpload;
+import org.richfaces.event.UploadEvent;
+import org.richfaces.model.UploadItem;
+
+@Name("fileUpload")
+(a)Scope(ScopeType.SESSION)
+public class FileUpload {
+ private boolean disabled;
+ private boolean autoclear;
+ private boolean rendered;
+ private boolean required;
+ private String acceptedTypes;
+ private String requiredMessage;
+ private String listHeight;
+ private String listWidth;
+ private ArrayList data;
+ private Integer maxFilesQuantity;
+ private UploadItem upload;
+ private HtmlFileUpload htmlFileUpload = null;
+ private String allowFlash;
+
+ public String getAllowFlash() {
+ return allowFlash;
+ }
+
+ public void setAllowFlash(String allowFlash) {
+ this.allowFlash = allowFlash;
+ }
+
+ public HtmlFileUpload getHtmlFileUpload() {
+ return htmlFileUpload;
+ }
+
+ public void setHtmlFileUpload(HtmlFileUpload htmlFileUpload) {
+ this.htmlFileUpload = htmlFileUpload;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlFileUpload);
+ return null;
+ }
+
+ public FileUpload() {
+ data = new ArrayList();
+ disabled = false;
+ autoclear = false;
+ rendered = true;
+ required = false;
+ acceptedTypes = "*";
+ requiredMessage = "requiredMessage";
+ listHeight = "200px";
+ listWidth = "150px";
+ maxFilesQuantity = 3;
+ upload = null;
+ allowFlash = "false";
+ }
+
+ public void fileUploadListener(UploadEvent event) throws Exception{
+ upload = event.getUploadItem();
+ if (upload.isTempFile()) {
+ File file = upload.getFile();
+ } else {
+ ByteArrayOutputStream b = new ByteArrayOutputStream();
+ b.write(upload.getData());
+ }
+ }
+
+ public boolean isDisabled() {
+ return disabled;
+ }
+
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ public boolean isAutoclear() {
+ return autoclear;
+ }
+
+ public void setAutoclear(boolean autoclear) {
+ this.autoclear = autoclear;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public boolean isRequired() {
+ return required;
+ }
+
+ public void setRequired(boolean required) {
+ this.required = required;
+ }
+
+ public String getRequiredMessage() {
+ return requiredMessage;
+ }
+
+ public void setRequiredMessage(String requiredMessage) {
+ this.requiredMessage = requiredMessage;
+ }
+
+ public Integer getMaxFilesQuantity() {
+ return maxFilesQuantity;
+ }
+
+ public void setMaxFilesQuantity(Integer maxFilesQuantity) {
+ this.maxFilesQuantity = maxFilesQuantity;
+ }
+
+ public String getListHeight() {
+ return listHeight;
+ }
+
+ public void setListHeight(String listHeight) {
+ this.listHeight = listHeight;
+ }
+
+ public String getListWidth() {
+ return listWidth;
+ }
+
+ public void setListWidth(String listWidth) {
+ this.listWidth = listWidth;
+ }
+
+ public String getAcceptedTypes() {
+ return acceptedTypes;
+ }
+
+ public void setAcceptedTypes(String acceptedTypes) {
+ this.acceptedTypes = acceptedTypes;
+ }
+
+ public ArrayList getData() {
+ return data;
+ }
+
+ public void setData(ArrayList data) {
+ this.data = data;
+ }
+
+ public UploadItem getUpload() {
+ return upload;
+ }
+
+ public void setUpload(UploadItem upload) {
+ this.upload = upload;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/gmap/Gmap.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/gmap/Gmap.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/gmap/Gmap.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,181 @@
+package org.domain.HelloWorld.session.gmap;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlGmap;
+
+/**
+ * @author user
+ *
+ */
+@Name("gmap")
+(a)Scope(ScopeType.SESSION)
+public class Gmap {
+
+ private String continuousZoom;
+ private String doubleClickZoom;
+ private String dragging;
+ private String enableInfoWindow;
+ private String lat;
+ private String lng;
+ private String mapType;
+ private String showGLargeMapControl;
+ private String showGMapTypeControl;
+ private String showGScaleControl;
+ private String warningMessage;
+ private String zoom;
+ private boolean rendered;
+ private HtmlGmap htmlGMap = null;
+ private String locale;
+
+ public String getLocale() {
+ return locale;
+ }
+
+ public void setLocale(String locale) {
+ this.locale = locale;
+ }
+
+ public HtmlGmap getHtmlGMap() {
+ return htmlGMap;
+ }
+
+ public void setHtmlGMap(HtmlGmap htmlGMap) {
+ this.htmlGMap = htmlGMap;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlGMap);
+ return null;
+ }
+
+ public Gmap() {
+ locale = "en";
+ zoom = "17";
+ mapType ="G_NORMAL_MAP";
+ lng = "44.44";
+ lat = "37.37";
+ warningMessage = "warning!!!";
+ showGLargeMapControl = "true";
+ showGMapTypeControl = "true";
+ showGScaleControl = "true";
+ enableInfoWindow = "true";
+ rendered = true;
+ continuousZoom = "false";
+ doubleClickZoom = "false";
+ dragging = "false";
+ }
+
+ public String act() {
+ zoom = "17";
+ System.out.println("zoom=" + zoom);
+ return null;
+ }
+
+ public String getContinuousZoom() {
+ return continuousZoom;
+ }
+
+ public void setContinuousZoom(String continuousZoom) {
+ this.continuousZoom = continuousZoom;
+ }
+
+ public String getDoubleClickZoom() {
+ return doubleClickZoom;
+ }
+
+ public void setDoubleClickZoom(String doubleClickZoom) {
+ this.doubleClickZoom = doubleClickZoom;
+ }
+
+ public String getDragging() {
+ return dragging;
+ }
+
+ public void setDragging(String dragging) {
+ this.dragging = dragging;
+ }
+
+ public String getEnableInfoWindow() {
+ return enableInfoWindow;
+ }
+
+ public void setEnableInfoWindow(String enableInfoWindow) {
+ this.enableInfoWindow = enableInfoWindow;
+ }
+
+ public String getLat() {
+ return lat;
+ }
+
+ public void setLat(String lat) {
+ this.lat = lat;
+ }
+
+ public String getLng() {
+ return lng;
+ }
+
+ public void setLng(String lng) {
+ this.lng = lng;
+ }
+
+ public String getMapType() {
+ return mapType;
+ }
+
+ public void setMapType(String mapType) {
+ this.mapType = mapType;
+ }
+
+ public String getShowGLargeMapControl() {
+ return showGLargeMapControl;
+ }
+
+ public void setShowGLargeMapControl(String showGLargeMapControl) {
+ this.showGLargeMapControl = showGLargeMapControl;
+ }
+
+ public String getShowGMapTypeControl() {
+ return showGMapTypeControl;
+ }
+
+ public void setShowGMapTypeControl(String showGMapTypeControl) {
+ this.showGMapTypeControl = showGMapTypeControl;
+ }
+
+ public String getShowGScaleControl() {
+ return showGScaleControl;
+ }
+
+ public void setShowGScaleControl(String showGScaleControl) {
+ this.showGScaleControl = showGScaleControl;
+ }
+
+ public String getWarningMessage() {
+ return warningMessage;
+ }
+
+ public void setWarningMessage(String warningMessage) {
+ this.warningMessage = warningMessage;
+ }
+
+ public String getZoom() {
+ return zoom;
+ }
+
+ public void setZoom(String zoom) {
+ this.zoom = zoom;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/hotKey/HotKey.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/hotKey/HotKey.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/hotKey/HotKey.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,155 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.hotKey;
+
+import javax.faces.context.FacesContext;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlHotKey;
+
+/**
+ * @author AYanul
+ *
+ */
+@Name("hotKey")
+(a)Scope(ScopeType.SESSION)
+public class HotKey {
+ private HtmlHotKey binding = null;
+ private String bindingInfo = "";
+ private String handler = "alert('work')";
+ private String key = "alt+q";
+ private String selector = "";
+ private String timing = "onload";
+ private String type = "onkeydown";
+ private boolean rendered = true;
+ private boolean disableInInput = false;
+ private boolean checkParent = false;
+
+ /**
+ * @return the binding
+ */
+ public HtmlHotKey getBinding() {
+ return binding;
+ }
+ /**
+ * @param binding the binding to set
+ */
+ public void setBinding(HtmlHotKey binding) {
+ this.binding = binding;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(binding);
+ return null;
+ }
+
+ /**
+ * @return the handler
+ */
+ public String getHandler() {
+ return handler;
+ }
+ /**
+ * @param handler the handler to set
+ */
+ public void setHandler(String handler) {
+ this.handler = handler;
+ }
+ /**
+ * @return the key
+ */
+ public String getKey() {
+ return key;
+ }
+ /**
+ * @param key the key to set
+ */
+ public void setKey(String key) {
+ this.key = key;
+ }
+ /**
+ * @return the selector
+ */
+ public String getSelector() {
+ return selector;
+ }
+ /**
+ * @param selector the selector to set
+ */
+ public void setSelector(String selector) {
+ this.selector = selector;
+ }
+ /**
+ * @return the timing
+ */
+ public String getTiming() {
+ return timing;
+ }
+ /**
+ * @param timing the timing to set
+ */
+ public void setTiming(String timing) {
+ this.timing = timing;
+ }
+ /**
+ * @return the type
+ */
+ public String getType() {
+ return type;
+ }
+ /**
+ * @param type the type to set
+ */
+ public void setType(String type) {
+ this.type = type;
+ }
+ /**
+ * @return the rendered
+ */
+ public boolean isRendered() {
+ return rendered;
+ }
+ /**
+ * @param rendered the rendered to set
+ */
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+ /**
+ * @return the disableInInput
+ */
+ public boolean isDisableInInput() {
+ return disableInInput;
+ }
+ /**
+ * @param disableInInput the disableInInput to set
+ */
+ public void setDisableInInput(boolean disableInInput) {
+ this.disableInInput = disableInInput;
+ }
+ /**
+ * @return the checkParent
+ */
+ public boolean isCheckParent() {
+ return checkParent;
+ }
+ /**
+ * @param checkParent the checkParent to set
+ */
+ public void setCheckParent(boolean checkParent) {
+ this.checkParent = checkParent;
+ }
+ /**
+ * @return the bindingInfo
+ */
+ public String getBindingInfo() {
+ String b = binding.getClientId(FacesContext.getCurrentInstance());
+ if(b != null && b.length() != 0)
+ return "work";
+ return "don't work";
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inplaceInput/InplaceInput.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inplaceInput/InplaceInput.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inplaceInput/InplaceInput.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,192 @@
+package org.domain.HelloWorld.session.inplaceInput;
+
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import javax.faces.event.ValueChangeEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlInplaceInput;
+
+@Name("inplaceInput")
+(a)Scope(ScopeType.SESSION)
+public class InplaceInput {
+ private String inputWidth;
+ private String maxInputWidth;
+ private String minInputWidth;
+ private boolean required;
+ private String requiredMessage;
+ private int tabindex;
+ private String editEvent;
+ private String defaultLabel;
+ private String controlsVerticalPosition;
+ private String controlsHorizontalPosition;
+ private String value;
+ private boolean selectOnEdit;
+ private boolean showControls;
+ private boolean rendered;
+ private boolean immediate;
+ private String valueCL;
+ private HtmlInplaceInput myInplaceInput = null;
+ private String bindLabel;
+ private String layout;
+
+ public HtmlInplaceInput getMyInplaceInput() {
+ return myInplaceInput;
+ }
+
+ public void setMyInplaceInput(HtmlInplaceInput myInplaceInput) {
+ this.myInplaceInput = myInplaceInput;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(myInplaceInput);
+ return null;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = myInplaceInput.getClientId(context);
+ }
+
+ public InplaceInput() {
+ inputWidth = "150";
+ maxInputWidth = "250";
+ minInputWidth = "100";
+ required = false;
+ requiredMessage = "requiredMessage";
+ tabindex = 0;
+ editEvent = "onclick";
+ defaultLabel = "defaultLabel";
+ controlsVerticalPosition = "top";
+ controlsHorizontalPosition = "left";
+ value = "errors";
+ selectOnEdit = false;
+ showControls = false;
+ rendered = true;
+ immediate = false;
+ valueCL = "---";
+ bindLabel = "Click Binding";
+ layout = "inline";
+ }
+
+ public void valueChangeListener(ValueChangeEvent event){
+ valueCL = "valueChangeListener work!";
+ }
+ public String getInputWidth() {
+ return inputWidth;
+ }
+ public void setInputWidth(String inputWidth) {
+ this.inputWidth = inputWidth;
+ }
+ public String getMaxInputWidth() {
+ return maxInputWidth;
+ }
+ public void setMaxInputWidth(String maxInputWidth) {
+ this.maxInputWidth = maxInputWidth;
+ }
+ public String getMinInputWidth() {
+ return minInputWidth;
+ }
+ public void setMinInputWidth(String minInputWidth) {
+ this.minInputWidth = minInputWidth;
+ }
+ public boolean isRequired() {
+ return required;
+ }
+ public void setRequired(boolean required) {
+ this.required = required;
+ }
+ public String getRequiredMessage() {
+ return requiredMessage;
+ }
+ public void setRequiredMessage(String requiredMessage) {
+ this.requiredMessage = requiredMessage;
+ }
+ public int getTabindex() {
+ return tabindex;
+ }
+ public void setTabindex(int tabindex) {
+ this.tabindex = tabindex;
+ }
+ public String getEditEvent() {
+ return editEvent;
+ }
+ public void setEditEvent(String editEvent) {
+ this.editEvent = editEvent;
+ }
+ public String getDefaultLabel() {
+ return defaultLabel;
+ }
+ public void setDefaultLabel(String defaultLabel) {
+ this.defaultLabel = defaultLabel;
+ }
+ public String getControlsVerticalPosition() {
+ return controlsVerticalPosition;
+ }
+ public void setControlsVerticalPosition(String controlsVerticalPosition) {
+ this.controlsVerticalPosition = controlsVerticalPosition;
+ }
+ public String getControlsHorizontalPosition() {
+ return controlsHorizontalPosition;
+ }
+ public void setControlsHorizontalPosition(String controlsHorizontalPosition) {
+ this.controlsHorizontalPosition = controlsHorizontalPosition;
+ }
+ public String getValue() {
+ return value;
+ }
+ public void setValue(String value) {
+ this.value = value;
+ }
+ public boolean isSelectOnEdit() {
+ return selectOnEdit;
+ }
+ public void setSelectOnEdit(boolean selectOnEdit) {
+ this.selectOnEdit = selectOnEdit;
+ }
+ public boolean isShowControls() {
+ return showControls;
+ }
+ public void setShowControls(boolean showControls) {
+ this.showControls = showControls;
+ }
+ public boolean isRendered() {
+ return rendered;
+ }
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+ public boolean isImmediate() {
+ return immediate;
+ }
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+ public String getValueCL() {
+ return valueCL;
+ }
+ public void setValueCL(String valueCL) {
+ this.valueCL = valueCL;
+ }
+
+ public String getLayout() {
+ return layout;
+ }
+
+ public void setLayout(String layout) {
+ this.layout = layout;
+ }
+
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inplaceSelect/InplaceSelect.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,268 @@
+package org.domain.HelloWorld.session.inplaceSelect;
+
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import javax.faces.event.ValueChangeEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlInplaceSelect;
+
+@Name("inplaceSelect")
+(a)Scope(ScopeType.SESSION)
+public class InplaceSelect {
+ private boolean applyFromControlsOnly;
+ private String controlsHorizontalPosition;
+ private String controlsVerticalPosition;
+ private String defaultLabel;
+ private String editEvent;
+ private boolean immediate;
+ private String listHeight;
+ private String listWidth;
+ private String maxSelectWidth;
+ private String minSelectWidth;
+ private boolean openOnEdit;
+ private boolean rendered;
+ private boolean required;
+ private String requiredMessage;
+ private String selectWidth;
+ private boolean showControls;
+ private int tabindex;
+ private Object value;
+ private String valueCL;
+ private HtmlInplaceSelect myInplaceSelect = null;
+ private String bindLabel;
+ private String layout;
+
+ public InplaceSelect() {
+ valueCL = "---";
+ editEvent = "onclick";
+ maxSelectWidth = "150";
+ minSelectWidth = "85";
+ selectWidth = "170";
+ defaultLabel = "defaultLabel";
+ controlsVerticalPosition = "top";
+ controlsHorizontalPosition = "center";
+ value = "errors";
+ listWidth = "200";
+ listHeight = "150";
+ showControls = false;
+ applyFromControlsOnly = false;
+ openOnEdit = true;
+ rendered = true;
+ immediate = false;
+ bindLabel = "Click binding";
+ required = false;
+ requiredMessage="requiredMessage";
+ layout = "inline";
+ }
+
+ public String getLayout() {
+ return layout;
+ }
+
+ public void setLayout(String layout) {
+ this.layout = layout;
+ }
+
+ public void setmyInplaceSelect(HtmlInplaceSelect myInplaceSelect){
+ this.myInplaceSelect = myInplaceSelect;
+ }
+
+ public HtmlInplaceSelect getmyInplaceSelect(){
+ return myInplaceSelect;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(myInplaceSelect);
+ return null;
+ }
+
+ public void setbindLabel(String bindLabel){
+ this.bindLabel = bindLabel;
+ }
+
+ public String getbindLabel(){
+ return bindLabel;
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = myInplaceSelect.getClientId(context);
+ }
+
+ public void valueChangeListener(ValueChangeEvent event){
+ valueCL = "valueChangeListener work!";
+ }
+
+ public String getControlsHorizontalPosition() {
+ return controlsHorizontalPosition;
+ }
+
+ public String getControlsVerticalPosition() {
+ return controlsVerticalPosition;
+ }
+
+ public int getTabindex() {
+ return tabindex;
+ }
+
+ public void setTabindex(int tabindex) {
+ this.tabindex = tabindex;
+ }
+
+ public String getValueCL() {
+ return valueCL;
+ }
+
+ public void setValueCL(String valueCL) {
+ this.valueCL = valueCL;
+ }
+
+ public String getDefaultLabel() {
+ return defaultLabel;
+ }
+
+ public String getEditEvent() {
+ return editEvent;
+ }
+
+ public String getListHeight() {
+ return listHeight;
+ }
+
+ public String getListWidth() {
+ return listWidth;
+ }
+
+ public String getMaxSelectWidth() {
+ return maxSelectWidth;
+ }
+
+ public String getMinSelectWidth() {
+ return minSelectWidth;
+ }
+
+ public String getSelectWidth() {
+ return selectWidth;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public boolean isApplyFromControlsOnly() {
+ return applyFromControlsOnly;
+ }
+
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public boolean isOpenOnEdit() {
+ return openOnEdit;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public boolean isShowControls() {
+ return showControls;
+ }
+
+ public void setApplyFromControlsOnly(boolean applyFromControlsOnly) {
+ this.applyFromControlsOnly = applyFromControlsOnly;
+ }
+
+ public void setControlsHorizontalPosition(String controlsHorizontalPosition) {
+ this.controlsHorizontalPosition = controlsHorizontalPosition;
+ }
+
+ public void setControlsVerticalPosition(String controlsVerticalPosition) {
+ this.controlsVerticalPosition = controlsVerticalPosition;
+ }
+
+ public void setDefaultLabel(String defaultLabel) {
+ this.defaultLabel = defaultLabel;
+ }
+
+ public void setEditEvent(String editEvent) {
+ this.editEvent = editEvent;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+
+ public void setListHeight(String listHeight) {
+ this.listHeight = listHeight;
+ }
+
+ public void setListWidth(String listWidth) {
+ this.listWidth = listWidth;
+ }
+
+ public void setMaxSelectWidth(String maxSelectWidth) {
+ this.maxSelectWidth = maxSelectWidth;
+ }
+
+ public void setMinSelectWidth(String minSelectWidth) {
+ this.minSelectWidth = minSelectWidth;
+ }
+
+ public void setOpenOnEdit(boolean openOnEdit) {
+ this.openOnEdit = openOnEdit;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public void setSelectWidth(String selectWidth) {
+ this.selectWidth = selectWidth;
+ }
+
+ public void setShowControls(boolean showControls) {
+ this.showControls = showControls;
+ }
+
+ public void setValue(Object value) {
+ this.value = value;
+ }
+
+ public boolean isRequired() {
+ return required;
+ }
+
+ public void setRequired(boolean required) {
+ this.required = required;
+ }
+
+ public String getRequiredMessage() {
+ return requiredMessage;
+ }
+
+ public void setRequiredMessage(String requiredMessage) {
+ this.requiredMessage = requiredMessage;
+ }
+
+ public HtmlInplaceSelect getMyInplaceSelect() {
+ return myInplaceSelect;
+ }
+
+ public void setMyInplaceSelect(HtmlInplaceSelect myInplaceSelect) {
+ this.myInplaceSelect = myInplaceSelect;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inputNumberSlider/InputNumberSlider.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,378 @@
+package org.domain.HelloWorld.session.inputNumberSlider;
+
+import javax.faces.event.ValueChangeEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlInputNumberSlider;
+
+@Name("inputNumberSlider")
+(a)Scope(ScopeType.SESSION)
+public class InputNumberSlider {
+
+ private int inputSize;
+ private int maxlength;
+ private String requiredMessage;
+ private String inputPosition;
+ private String tabindex;
+ private String value;
+ private String width;
+ private String minValue;
+ private String maxValue;
+ private String step;
+ private String btnLabel;
+ private String barStyle;
+ private String inputStyle;
+ private String tipStyle;
+ private String handleStyle;
+ private String valueChangeListener;
+ private boolean immediate;
+ private boolean required;
+ private boolean showToolTip;
+ private boolean disabled;
+ private boolean showInput;
+ private boolean rendered;
+ private boolean enableManualInput;
+ private boolean showBoundaryValues;
+ private HtmlInputNumberSlider htmlINS = null;
+
+ public HtmlInputNumberSlider getHtmlINS() {
+ return htmlINS;
+ }
+
+ public void setHtmlINS(HtmlInputNumberSlider htmlINS) {
+ this.htmlINS = htmlINS;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlINS);
+ return null;
+ }
+
+ public InputNumberSlider() {
+ immediate = false;
+ rendered = false;
+ showToolTip = false;
+ requiredMessage = "requiredMessage work!";
+ inputPosition = "right";
+ tabindex = "2";
+ value = "30";
+ inputSize = 5;
+ maxlength = 3;
+ width = "300px";
+ minValue="10";
+ maxValue="100";
+ step="5";
+ btnLabel="On";
+ barStyle=null;
+ inputStyle=null;
+ tipStyle=null;
+ handleStyle=null;
+ disabled = false;
+ showInput=true;
+ rendered=true;
+ enableManualInput = true;
+ showBoundaryValues=true;
+ }
+
+ public void changeListener(ValueChangeEvent event) {
+ System.out.println("valueChangeListener " + event.toString());
+ }
+
+ public boolean isDisabled() {
+ return disabled;
+ }
+
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ public boolean isEnableManualInput() {
+ return enableManualInput;
+ }
+
+ public void setEnableManualInput(boolean enableManualInput) {
+ this.enableManualInput = enableManualInput;
+ }
+
+ public int getInputSize() {
+ return inputSize;
+ }
+
+ public void setInputSize(int inputSize) {
+ this.inputSize = inputSize;
+ }
+
+ public String getMaxValue() {
+ return maxValue;
+ }
+
+ public void setMaxValue(String maxValue) {
+ this.maxValue = maxValue;
+ }
+
+ public String getMinValue() {
+ return minValue;
+ }
+
+ public void setMinValue(String minValue) {
+ this.minValue = minValue;
+ }
+
+ public boolean isShowBoundaryValues() {
+ return showBoundaryValues;
+ }
+
+ public void setShowBoundaryValues(boolean showBoundaryValues) {
+ this.showBoundaryValues = showBoundaryValues;
+ }
+
+ public boolean isShowInput() {
+ return showInput;
+ }
+
+ public void setShowInput(boolean showInput) {
+ this.showInput = showInput;
+ }
+
+ public String getStep() {
+ return step;
+ }
+
+ public void setStep(String step) {
+ this.step = step;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public void doStyles()
+ {
+ if (getBarStyle() == null) {
+ setBtnLabel("Off");
+ setBarStyle("barStyle");
+ setInputStyle("inputStyle");
+ setTipStyle("tipStyle");
+ setHandleStyle("handleStyle");
+ } else {
+ setBarStyle(null);
+ setBtnLabel("On");
+ setInputStyle(null);
+ setTipStyle(null);
+ setHandleStyle(null);
+ }
+ }
+
+
+ public String getBarStyle() {
+ return barStyle;
+ }
+
+
+ public void setBarStyle(String barStyle) {
+ this.barStyle = barStyle;
+ }
+
+
+ public String getBtnLabel() {
+ return btnLabel;
+ }
+
+
+ public void setBtnLabel(String btnLabel) {
+ this.btnLabel = btnLabel;
+ }
+
+
+ public String getInputStyle() {
+ return inputStyle;
+ }
+
+
+ public void setInputStyle(String inputStyle) {
+ this.inputStyle = inputStyle;
+ }
+
+
+ public String getTipStyle() {
+ return tipStyle;
+ }
+
+
+ public void setTipStyle(String tipStyle) {
+ this.tipStyle = tipStyle;
+ }
+
+
+ public String getHandleStyle() {
+ return handleStyle;
+ }
+
+
+ public void setHandleStyle(String handleStyle) {
+ this.handleStyle = handleStyle;
+ }
+
+
+ public int getMaxlength() {
+ return maxlength;
+ }
+
+
+ public void setMaxlength(int maxlength) {
+ this.maxlength = maxlength;
+ }
+
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+
+ public boolean isRequired() {
+ return required;
+ }
+
+ public void setRequired(boolean required) {
+ this.required = required;
+ }
+
+ public boolean isShowToolTip() {
+ return showToolTip;
+ }
+
+ public void setShowToolTip(boolean showToolTip) {
+ this.showToolTip = showToolTip;
+ }
+
+ public String getRequiredMessage() {
+ return requiredMessage;
+ }
+
+ public void setRequiredMessage(String requiredMessage) {
+ this.requiredMessage = requiredMessage;
+ }
+
+ public String getInputPosition() {
+ return inputPosition;
+ }
+
+ public void setInputPosition(String inputPosition) {
+ this.inputPosition = inputPosition;
+ }
+
+ public String getTabindex() {
+ return tabindex;
+ }
+
+ public void setTabindex(String tabindex) {
+ this.tabindex = tabindex;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public void valueChangeListener(ValueChangeEvent event) {
+ valueChangeListener = (String)event.getNewValue();
+ System.out.println("valueChangeListener: " + valueChangeListener);
+ }
+
+ public void bTest1(){
+ setMinValue("0");
+ setMaxValue("9");
+ setInputSize(1);
+ setInputPosition("right");
+ setEnableManualInput(true);
+ setValue("3");
+ setShowInput(true);
+ setStep("1");
+ setShowToolTip(true);
+ setShowBoundaryValues(true);
+ setShowInput(true);
+ setMaxlength(2);
+ }
+
+ public void bTest2(){
+ setMinValue("1000");
+ setMaxValue("99999");
+ setInputSize(10);
+ setInputPosition("left");
+ setEnableManualInput(false);
+ setValue("99999");
+ setShowInput(true);
+ setStep("50");
+ setShowToolTip(false);
+ setShowBoundaryValues(true);
+ setMaxlength(5);
+ }
+
+ public void bTest3(){
+ setMinValue("101");
+ setMaxValue("203");
+ setInputSize(4);
+ setInputPosition("left");
+ setEnableManualInput(false);
+ setValue("102");
+ setShowInput(true);
+ setStep("2");
+ setShowToolTip(false);
+ setShowBoundaryValues(true);
+ setMaxlength(6);
+ }
+
+ public void bTest4(){
+ setMinValue("10");
+ setMaxValue("12");
+ setInputSize(2);
+ setInputPosition("left");
+ setEnableManualInput(false);
+ setValue("102");
+ setShowInput(false);
+ setStep("2");
+ setShowToolTip(false);
+ setShowBoundaryValues(true);
+ setMaxlength(2);
+ }
+
+ public void bTest5(){
+ setMinValue("-99999");
+ setMaxValue("99999");
+ setInputSize(15);
+ setInputPosition("right");
+ setEnableManualInput(true);
+ setValue("103");
+ setShowInput(true);
+ setStep("2");
+ setShowToolTip(false);
+ setShowBoundaryValues(false);
+ setMaxlength(8);
+ }
+
+ public String getValueChangeListener() {
+ return valueChangeListener;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/inputNumberSpinner/InputNumberSpinner.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,244 @@
+package org.domain.HelloWorld.session.inputNumberSpinner;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlInputNumberSpinner;
+
+@Name("inputNumberSpinner")
+(a)Scope(ScopeType.SESSION)
+public class InputNumberSpinner {
+
+ // private String size;
+ // private String controlPosition;
+ private int inputSize;
+ private String tabindex;
+ private String max;
+ private String min;
+ private String value;
+ private String step;
+ private String inputStyle;
+ private String style;
+ private String btnLabel = "ON";
+ private boolean cycled;
+ private boolean disabled;
+ private boolean manualInput;
+ private boolean rendered;
+ private HtmlInputNumberSpinner htmlINSpinner = null;
+
+ public HtmlInputNumberSpinner getHtmlINSpinner() {
+ return htmlINSpinner;
+ }
+
+ public void setHtmlINSpinner(HtmlInputNumberSpinner htmlINSpinner) {
+ this.htmlINSpinner = htmlINSpinner;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlINSpinner);
+ return null;
+ }
+
+ public InputNumberSpinner() {
+ // size= "200";
+ inputSize = 2;
+ cycled = false;
+ disabled = false;
+ manualInput = true;
+ max = "100";
+ min = "10";
+ // value="50";
+ // controlPosition="outside";
+ step = "1";
+ rendered = true;
+ style = null;
+ inputStyle = null;
+
+ }
+
+ public void doStyles() {
+ if (getStyle() == null) {
+ setBtnLabel("OFF");
+ setStyle("style");
+ setInputStyle("inputStyle");
+
+ } else {
+ setStyle(null);
+ setBtnLabel("ON");
+ setInputStyle(null);
+
+ }
+ }
+
+ /*
+ * public String getControlPosition() { return controlPosition; } public
+ * void setControlPosition(String controlPosition) { this.controlPosition =
+ * controlPosition; }
+ */
+
+ public boolean isCycled() {
+ return cycled;
+ }
+
+ public void setCycled(boolean cycled) {
+ this.cycled = cycled;
+ }
+
+ public boolean isDisabled() {
+ return disabled;
+ }
+
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ public boolean isManualInput() {
+ return manualInput;
+ }
+
+ public void setManualInput(boolean manualInput) {
+ this.manualInput = manualInput;
+ }
+
+ public String getMax() {
+ return max;
+ }
+
+ public void setMax(String max) {
+ this.max = max;
+ }
+
+ public String getMin() {
+ return min;
+ }
+
+ public void setMin(String min) {
+ this.min = min;
+ }
+
+ /*
+ * public String getSize() { return size; } public void setSize(String size) {
+ * this.size = size; }
+ */
+
+ public String getStep() {
+ return step;
+ }
+
+ public void setStep(String step) {
+ this.step = step;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getInputStyle() {
+ return inputStyle;
+ }
+
+ public void setInputStyle(String inputStyle) {
+ this.inputStyle = inputStyle;
+ }
+
+ public String getStyle() {
+ return style;
+ }
+
+ public void setStyle(String style) {
+ this.style = style;
+ }
+
+ public String getBtnLabel() {
+ return btnLabel;
+ }
+
+ public void setBtnLabel(String btnLabel) {
+ this.btnLabel = btnLabel;
+ }
+
+ public int getInputSize() {
+ return inputSize;
+ }
+
+ public void setInputSize(int inputSize) {
+ this.inputSize = inputSize;
+ }
+
+ public String getTabindex() {
+ return tabindex;
+ }
+
+ public void setTabindex(String tabindex) {
+ this.tabindex = tabindex;
+ }
+
+ public void bTest1(){
+ setCycled(true);
+ setManualInput(true);
+ setInputSize(5);
+ setMin("0");
+ setMax("20");
+ setStep("1");
+ setTabindex("2");
+ setValue("1");
+ }
+
+ public void bTest2(){
+ setCycled(false);
+ setManualInput(false);
+ setInputSize(10);
+ setMin("1000");
+ setMax("99999");
+ setStep("255");
+ setTabindex("5");
+ setValue("5555");
+ }
+
+ public void bTest3(){
+ setCycled(true);
+ setManualInput(false);
+ setInputSize(3);
+ setMin("101");
+ setMax("202");
+ setStep("2");
+ setTabindex("2");
+ setValue("102");
+ }
+
+ public void bTest4(){
+ setCycled(false);
+ setManualInput(true);
+ setInputSize(4);
+ setMin("33");
+ setMax("66");
+ setStep("11");
+ setTabindex("3");
+ setValue("55");
+ }
+
+ public void bTest5(){
+ setCycled(true);
+ setManualInput(true);
+ setInputSize(15);
+ setMin("-99999");
+ setMax("99999");
+ setStep("33");
+ setTabindex("5");
+ setValue("101");
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/insert/Insert.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/insert/Insert.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/insert/Insert.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,61 @@
+package org.domain.HelloWorld.session.insert;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.ui.component.html.HtmlInsert;
+
+@Name("insert")
+(a)Scope(ScopeType.SESSION)
+public class Insert {
+ private String highlight;
+ private String src;
+ private boolean rendered;
+ private HtmlInsert htmlInsert = null;
+
+ public HtmlInsert getHtmlInsert() {
+ return htmlInsert;
+ }
+
+ public void setHtmlInsert(HtmlInsert htmlInsert) {
+ this.htmlInsert = htmlInsert;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlInsert);
+ return null;
+ }
+
+ public Insert() {
+ src = "/Insert/src/test.html";
+ rendered = true;
+ highlight = "HTML";
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getHighlight() {
+ return highlight;
+ }
+
+ public void setHighlight(String highlight) {
+ this.highlight = highlight;
+ }
+
+ public String getSrc() {
+ return src;
+ }
+
+ public void setSrc(String src) {
+ this.src = src;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/jQuery/JQuery.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/jQuery/JQuery.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/jQuery/JQuery.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,28 @@
+package org.domain.HelloWorld.session.jQuery;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlJQuery;
+
+@Name("jQuery")
+(a)Scope(ScopeType.SESSION)
+public class JQuery {
+
+ private HtmlJQuery htmlJQuery = null;
+
+ public HtmlJQuery getHtmlJQuery() {
+ return htmlJQuery;
+ }
+
+ public void setHtmlJQuery(HtmlJQuery htmlJQuery) {
+ this.htmlJQuery = htmlJQuery;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlJQuery);
+ return null;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/listShuttle/ListShuttle.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/listShuttle/ListShuttle.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/listShuttle/ListShuttle.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,357 @@
+package org.domain.HelloWorld.session.listShuttle;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Iterator;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.domain.HelloWorld.session.util.data.Data;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlListShuttle;
+
+@Name("listShuttle")
+(a)Scope(ScopeType.SESSION)
+public class ListShuttle {
+ private int first;
+ private int lenght;
+ private String [] statusIcon = {"/pics/error.gif", "/pics/fatal.gif", "/pics/info.gif", "/pics/passed.gif", "/pics/warn.gif"};
+ private boolean fastMoveControlsVisible;
+ private boolean fastOrderControlsVisible;
+ private boolean moveControlsVisible;
+ private boolean orderControlsVisible;
+ private boolean showButtonLabels;
+ private boolean showSelect;
+ private boolean showAllSourceData;
+ private boolean showAllTargetData;
+ private boolean switchByClick;
+ private ArrayList<Data> sourceValue;
+ private ArrayList<Data> targetValue;
+ private ArrayList<String> info;
+ private Collection sourceSelection;
+ private Collection targetSelection;
+ private String bottomControlLabel;
+ private String copyAllControlLabel;
+ private String copyControlLabel;
+ private String downControlLabel;
+ private String removeAllControlLabel;
+ private String removeControlLabel;
+ private String topControlLabel;
+ private String upControlLabel;
+ private String targetListWidth;
+ private String sourceListWidth;
+ private String listsHeight;
+ private String sourceCaptionLabel;
+ private String targetCaptionLabel;
+ private HtmlListShuttle htmlListShuttle = null;
+
+ public HtmlListShuttle getHtmlListShuttle() {
+ return htmlListShuttle;
+ }
+
+ public void setHtmlListShuttle(HtmlListShuttle htmlListShuttle) {
+ this.htmlListShuttle = htmlListShuttle;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlListShuttle);
+ return null;
+ }
+
+ public ListShuttle() {
+ this.first = 1;
+ this.lenght = 10;
+ this.showSelect = true;
+ this.showAllSourceData = true;
+ this.showAllTargetData = true;
+ this.fastMoveControlsVisible = true;
+ this.fastOrderControlsVisible = true;
+ this.moveControlsVisible = true;
+ this.orderControlsVisible = true;
+ this.showButtonLabels = true;
+ this.bottomControlLabel = "bottom";
+ this.copyAllControlLabel = "copy all";
+ this.copyControlLabel = "copy";
+ this.downControlLabel = "down";
+ this.removeAllControlLabel = "remove all";
+ this.removeControlLabel = "remove";
+ this.topControlLabel = "top";
+ this.upControlLabel = "up";
+ this.info = new ArrayList<String>();
+ this.switchByClick = false;
+ this.targetListWidth = "300";
+ this.sourceListWidth = "300";
+ this.listsHeight = "400";
+ this.sourceCaptionLabel = "sourceCaptionLabel";
+ this.targetCaptionLabel = "targetCaptionLabel";
+ this.targetValue = new ArrayList<Data>();
+ this.sourceValue = new ArrayList<Data>();
+ addNewItem();
+ }
+
+ public int getFirst() {
+ return first;
+ }
+
+ public void setFirst(int first) {
+ this.first = first;
+ }
+
+ public boolean isFastMoveControlsVisible() {
+ return fastMoveControlsVisible;
+ }
+
+ public void setFastMoveControlsVisible(boolean fastMoveControlsVisible) {
+ this.fastMoveControlsVisible = fastMoveControlsVisible;
+ }
+
+ public boolean isFastOrderControlsVisible() {
+ return fastOrderControlsVisible;
+ }
+
+ public void setFastOrderControlsVisible(boolean fastOrderControlsVisible) {
+ this.fastOrderControlsVisible = fastOrderControlsVisible;
+ }
+
+ public boolean isMoveControlsVisible() {
+ return moveControlsVisible;
+ }
+
+ public void setMoveControlsVisible(boolean moveControlsVisible) {
+ this.moveControlsVisible = moveControlsVisible;
+ }
+
+ public boolean isOrderControlsVisible() {
+ return orderControlsVisible;
+ }
+
+ public void setOrderControlsVisible(boolean orderControlsVisible) {
+ this.orderControlsVisible = orderControlsVisible;
+ }
+
+ public boolean isShowButtonLabels() {
+ return showButtonLabels;
+ }
+
+ public void setShowButtonLabels(boolean showButtonLabels) {
+ this.showButtonLabels = showButtonLabels;
+ }
+
+ public ArrayList<Data> getSourceValue() {
+ return sourceValue;
+ }
+
+ public void setSourceValue(ArrayList<Data> sourceValue) {
+ this.sourceValue = sourceValue;
+ }
+
+ public ArrayList getTargetValue() {
+ return targetValue;
+ }
+
+ public String getBottomControlLabel() {
+ return bottomControlLabel;
+ }
+
+ public void setBottomControlLabel(String bottomControlLabel) {
+ this.bottomControlLabel = bottomControlLabel;
+ }
+
+ public String getCopyAllControlLabel() {
+ return copyAllControlLabel;
+ }
+
+ public void setCopyAllControlLabel(String copyAllControlLabel) {
+ this.copyAllControlLabel = copyAllControlLabel;
+ }
+
+ public String getCopyControlLabel() {
+ return copyControlLabel;
+ }
+
+ public void setCopyControlLabel(String copyControlLabel) {
+ this.copyControlLabel = copyControlLabel;
+ }
+
+ public String getDownControlLabel() {
+ return downControlLabel;
+ }
+
+ public void setDownControlLabel(String downControlLabel) {
+ this.downControlLabel = downControlLabel;
+ }
+
+ public String getRemoveAllControlLabel() {
+ return removeAllControlLabel;
+ }
+
+ public void setRemoveAllControlLabel(String removeAllControlLabel) {
+ this.removeAllControlLabel = removeAllControlLabel;
+ }
+
+ public String getRemoveControlLabel() {
+ return removeControlLabel;
+ }
+
+ public void setRemoveControlLabel(String removeControlLabel) {
+ this.removeControlLabel = removeControlLabel;
+ }
+
+ public String getTopControlLabel() {
+ return topControlLabel;
+ }
+
+ public void setTopControlLabel(String topControlLabel) {
+ this.topControlLabel = topControlLabel;
+ }
+
+ public String getUpControlLabel() {
+ return upControlLabel;
+ }
+
+ public void setUpControlLabel(String upControlLabel) {
+ this.upControlLabel = upControlLabel;
+ }
+
+ public void addNewItem() {
+ if(lenght < 0) lenght = 0;
+ if(sourceValue.size() > lenght)
+ for(int i = lenght; i < sourceValue.size(); )
+ sourceValue.remove(i);
+ else
+ for(int i = sourceValue.size() + 1; i <= lenght; i++)
+ sourceValue.add(new Data(i, "Button " + i, "Link " + i, "select" +(i % 5), statusIcon[i % 5]));
+ }
+
+ public int getLenght() {
+ return lenght;
+ }
+
+ public void setLenght(int lenght) {
+ this.lenght = lenght;
+ }
+
+ public ArrayList<String> getInfo() {
+ info.clear();
+ addSelection(getSourceSelection(), "1. sourceSelection");
+ addSelection(getTargetSelection(), "2. targetSelection");
+ return info;
+ }
+
+ public void setInfo(ArrayList<String> info) {
+ this.info = info;
+ }
+
+ public void setTargetValue(ArrayList<Data> targetValue) {
+ this.targetValue = targetValue;
+ }
+
+ public void cbAction() {
+ info.clear();
+ info.add("commandButton submit();");
+ }
+
+ public void clAction() {
+ info.clear();
+ info.add("commandLink submit();");
+ }
+
+ public boolean isShowSelect() {
+ return showSelect;
+ }
+
+ public void setShowSelect(boolean showSelect) {
+ this.showSelect = showSelect;
+ }
+
+ public boolean isShowAllSourceData() {
+ return showAllSourceData;
+ }
+
+ public void setShowAllSourceData(boolean showAllSourceData) {
+ this.showAllSourceData = showAllSourceData;
+ }
+
+ public boolean isShowAllTargetData() {
+ return showAllTargetData;
+ }
+
+ public void setShowAllTargetData(boolean showAllTargetData) {
+ this.showAllTargetData = showAllTargetData;
+ }
+
+ public Collection getSourceSelection() {
+ return sourceSelection;
+ }
+
+ public void setSourceSelection(Collection sourceSelection) {
+ this.sourceSelection = sourceSelection;
+ }
+
+ public Collection getTargetSelection() {
+ return targetSelection;
+ }
+
+ public void setTargetSelection(Collection targetSelection) {
+ this.targetSelection = targetSelection;
+ }
+
+ public boolean isSwitchByClick() {
+ return switchByClick;
+ }
+
+ public void setSwitchByClick(boolean switchByClick) {
+ this.switchByClick = switchByClick;
+ }
+
+ public String getTargetListWidth() {
+ return targetListWidth;
+ }
+
+ public void setTargetListWidth(String targetListWidth) {
+ this.targetListWidth = targetListWidth;
+ }
+
+ public String getSourceListWidth() {
+ return sourceListWidth;
+ }
+
+ public void setSourceListWidth(String sourceListWidth) {
+ this.sourceListWidth = sourceListWidth;
+ }
+
+ public String getListsHeight() {
+ return listsHeight;
+ }
+
+ public void setListsHeight(String listsHeight) {
+ this.listsHeight = listsHeight;
+ }
+
+ public String getSourceCaptionLabel() {
+ return sourceCaptionLabel;
+ }
+
+ public void setSourceCaptionLabel(String sourceCaptionLabel) {
+ this.sourceCaptionLabel = sourceCaptionLabel;
+ }
+
+ public String getTargetCaptionLabel() {
+ return targetCaptionLabel;
+ }
+
+ public void setTargetCaptionLabel(String targetCaptionLabel) {
+ this.targetCaptionLabel = targetCaptionLabel;
+ }
+
+ private void addSelection(Collection<Data> selection, String description) {
+ if(selection == null) return;
+ Iterator<Data> inter = selection.iterator();
+ Data data = new Data();
+ while (inter.hasNext()) {
+ data = inter.next();
+ info.add(description + ": " + data.getInt0() + "; " + data.getStr0() + "; " + data.getStr0() + "submit(); " + data.getStr1() + "; " + data.getStr1() + "submit(); " + data.getStr2() + "; " + data.getStr3());
+ }
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/message/Message.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/message/Message.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/message/Message.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,226 @@
+package org.domain.HelloWorld.session.message;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlRichMessage;
+import org.richfaces.component.html.HtmlRichMessages;
+
+@Name("message")
+(a)Scope(ScopeType.SESSION)
+public class Message {
+ private String msg;
+ private String layout;
+ private String title;
+ private boolean showDetail;
+ private boolean showSummary;
+ private boolean tooltip;
+ private String select1;
+ private String select2;
+ private String select3;
+ private String select4;
+ private String select5;
+ private HtmlRichMessage htmlMessage = null;
+ private HtmlRichMessages htmlMessages = null;
+
+ public Message() {
+ msg = "select1";
+ layout = "table";
+ title = "Title";
+ showDetail = true;
+ showSummary = false;
+ tooltip = true;
+ select1 = "error";
+ select2 = "error";
+ select3 = "error";
+ select4 = "error";
+ select5 = "error";
+ }
+
+ public String getMsg() {
+ return msg;
+ }
+
+ public void setMsg(String msg) {
+ this.msg = msg;
+ }
+
+ public String getLayout() {
+ return layout;
+ }
+
+ public void setLayout(String layout) {
+ this.layout = layout;
+ }
+
+ public boolean isShowDetail() {
+ return showDetail;
+ }
+
+ public void setShowDetail(boolean showDetail) {
+ this.showDetail = showDetail;
+ }
+
+ public boolean isShowSummary() {
+ return showSummary;
+ }
+
+ public void setShowSummary(boolean showSummary) {
+ this.showSummary = showSummary;
+ }
+
+ public boolean isTooltip() {
+ return tooltip;
+ }
+
+ public void setTooltip(boolean tooltip) {
+ this.tooltip = tooltip;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getSelect1() {
+ return select1;
+ }
+
+ public void setSelect1(String select1) {
+ this.select1 = select1;
+ }
+
+ public String getSelect2() {
+ return select2;
+ }
+
+ public void setSelect2(String select2) {
+ this.select2 = select2;
+ }
+
+ public String getSelect3() {
+ return select3;
+ }
+
+ public void setSelect3(String select3) {
+ this.select3 = select3;
+ }
+
+ public String getSelect4() {
+ return select4;
+ }
+
+ public void setSelect4(String select4) {
+ this.select4 = select4;
+ }
+
+ public String getSelect5() {
+ return select5;
+ }
+
+ public void setSelect5(String select5) {
+ this.select5 = select5;
+ }
+
+ public void bTest1(){
+ setLayout("table");
+ setMsg("fatal");
+ setShowDetail(true);
+ setShowSummary(true);
+ setTitle("Test1");
+ setTooltip(true);
+ setSelect1("error");
+ setSelect2("fatal");
+ setSelect3("warn");
+ setSelect4("info");
+ setSelect5("passed");
+ }
+
+ public void bTest2(){
+ setLayout("table");
+ setMsg("error");
+ setShowDetail(false);
+ setShowSummary(true);
+ setTitle("Test2");
+ setTooltip(true);
+ setSelect1("error");
+ setSelect2("fatal");
+ setSelect3("fatal");
+ setSelect4("passed");
+ setSelect5("passed");
+ }
+
+ public void bTest3(){
+ setLayout("table");
+ setMsg("passed");
+ setShowDetail(true);
+ setShowSummary(false);
+ setTitle("Test3");
+ setTooltip(true);
+ setSelect1("error");
+ setSelect2("error");
+ setSelect3("passed");
+ setSelect4("error");
+ setSelect5("passed");
+ }
+
+ public void bTest4(){
+ setLayout("table");
+ setMsg("passed");
+ setShowDetail(true);
+ setShowSummary(true);
+ setTitle("Test4");
+ setTooltip(false);
+ setSelect1("warn");
+ setSelect2("warn");
+ setSelect3("warn");
+ setSelect4("warn");
+ setSelect5("warn");
+ }
+
+ public void bTest5(){
+ setLayout("table");
+ setMsg("warn");
+ setShowDetail(false);
+ setShowSummary(false);
+ setTitle("Test5");
+ setTooltip(false);
+ setSelect1("passed");
+ setSelect2("fatal");
+ setSelect3("error");
+ setSelect4("passed");
+ setSelect5("warn");
+ }
+
+ public HtmlRichMessage getHtmlMessage() {
+ return htmlMessage;
+ }
+
+ public void setHtmlMessage(HtmlRichMessage htmlMessage) {
+ this.htmlMessage = htmlMessage;
+ }
+
+ public HtmlRichMessages getHtmlMessages() {
+ return htmlMessages;
+ }
+
+ public void setHtmlMessages(HtmlRichMessages htmlMessages) {
+ this.htmlMessages = htmlMessages;
+ }
+
+ public String add1(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlMessage);
+ return null;
+ }
+
+ public String add2(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlMessages);
+ return null;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/message/MessageValidator.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/message/MessageValidator.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/message/MessageValidator.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,76 @@
+package org.domain.HelloWorld.session.message;
+
+import javax.faces.application.FacesMessage;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.validator.Validator;
+import javax.faces.validator.ValidatorException;
+
+public class MessageValidator implements Validator {
+
+ public MessageValidator() {
+ }
+
+ public void validate(FacesContext context, UIComponent component,
+ Object value) throws ValidatorException {
+ System.out.println("SelectValidator.validate()");
+
+ String selectedValue = (String) value;
+ String clientId = component.getClientId(context);
+ int componentNum = componentNum(component.getId());
+ if (selectedValue.equals("warn")) {
+
+ FacesMessage message = new FacesMessage();
+ message.setSummary("warning SUMMARY for: " + componentNum
+ + " input");
+ message.setDetail("warning DETAIL for: " + componentNum + " input");
+ message.setSeverity(FacesMessage.SEVERITY_WARN);
+ context.addMessage(clientId, message);
+
+ } else if (selectedValue.equals("error")) {
+
+ FacesMessage message = new FacesMessage();
+ message.setSummary("error SUMMARY for: " + componentNum + " input");
+ message.setDetail("error DETAIL for: " + componentNum + " input");
+ message.setSeverity(FacesMessage.SEVERITY_ERROR);
+
+ context.addMessage(clientId, message);
+
+ } else if (selectedValue.equals("info")) {
+
+ FacesMessage message = new FacesMessage();
+ message.setSummary("info SUMMARY for: " + componentNum + " input");
+ message.setDetail("info DETAIL for: " + componentNum + " input");
+ message.setSeverity(FacesMessage.SEVERITY_INFO);
+
+ context.addMessage(clientId, message);
+
+ } else if (selectedValue.equals("fatal")) {
+
+ FacesMessage message = new FacesMessage();
+ message.setSummary("fatal SUMMARY for: " + componentNum + " input");
+ message.setDetail("fatal DETAIL for:" + componentNum + " input");
+ message.setSeverity(FacesMessage.SEVERITY_FATAL);
+
+ context.addMessage(clientId, message);
+ }
+ }
+
+ public int componentNum(String baseId) {
+ System.out.println("baseId=" + baseId);
+
+ if (baseId.endsWith("1")) {
+ return 1;
+ } else if (baseId.endsWith("2")) {
+ return 2;
+ } else if (baseId.endsWith("3")) {
+ return 3;
+ } else if (baseId.endsWith("4")) {
+ return 4;
+ } else if (baseId.endsWith("5")) {
+ return 5;
+ }
+
+ return -1;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/modalPanel/ModalPanel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/modalPanel/ModalPanel.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/modalPanel/ModalPanel.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,272 @@
+package org.domain.HelloWorld.session.modalPanel;
+
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlModalPanel;
+
+@Name("modalPanel")
+(a)Scope(ScopeType.SESSION)
+public class ModalPanel {
+ private boolean autosized;
+ private boolean keepVisualState;
+ private String left;
+ private String top;
+ private boolean rendered;
+ private String shadowDepth;
+ private String shadowOpacity;
+ private boolean showWhenRendered;
+ private int zindex;
+ private int minHeight;
+ private int minWidth;
+ private int height;
+ private int width;
+ private boolean moveable;
+ private boolean resizeable;
+ private String inputTextTest;
+ private String selectOneListboxTest;
+ private String visualOptions;
+ private String bindLabel;
+ private HtmlModalPanel htmlModalPanel;
+
+ public String getVisualOptions() {
+ return visualOptions;
+ }
+
+ public void setVisualOptions(String visualOptions) {
+ this.visualOptions = visualOptions;
+ }
+
+ public String getInputTextTest() {
+ return inputTextTest;
+ }
+
+ public void setInputTextTest(String inputTextTest) {
+ this.inputTextTest = inputTextTest;
+ }
+
+ public String getSelectOneListboxTest() {
+ return selectOneListboxTest;
+ }
+
+ public void setSelectOneListboxTest(String selectOneListboxTest) {
+ this.selectOneListboxTest = selectOneListboxTest;
+ }
+
+ public ModalPanel() {
+ this.visualOptions = "";
+ this.inputTextTest = "text";
+ this.selectOneListboxTest = "1";
+ this.minHeight = 100;
+ this.minWidth = 100;
+ this.height = 300;
+ this.width = 300;
+ this.moveable = true;
+ this.resizeable = true;
+ this.autosized = false;
+ this.keepVisualState = false;
+ this.left = "auto";
+ this.top = "auto";
+ this.rendered = true;
+ this.shadowDepth = "3";
+ this.shadowOpacity = "3";
+ this.zindex = 3;
+ this.showWhenRendered = false;
+ this.bindLabel = "not ready";
+ this.htmlModalPanel = null;
+ }
+
+ public void checkBinding(ActionEvent actionEvent) {
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = htmlModalPanel.getClientId(context);
+ }
+
+ public int getHeight() {
+ return height;
+ }
+
+ public void setHeight(int height) {
+ this.height = height;
+ }
+
+ public int getMinHeight() {
+ return minHeight;
+ }
+
+ public void setMinHeight(int minHeight) {
+ this.minHeight = minHeight;
+ }
+
+ public int getMinWidth() {
+ return minWidth;
+ }
+
+ public void setMinWidth(int minWidth) {
+ this.minWidth = minWidth;
+ }
+
+ public boolean isMoveable() {
+ return moveable;
+ }
+
+ public void setMoveable(boolean moveable) {
+ this.moveable = moveable;
+ }
+
+ public boolean isResizeable() {
+ return resizeable;
+ }
+
+ public void setResizeable(boolean resizeable) {
+ this.resizeable = resizeable;
+ }
+
+ public void setAutosized(boolean autosized) {
+ this.autosized = autosized;
+ }
+
+ public int getWidth() {
+ return width;
+ }
+
+ public void setWidth(int width) {
+ this.width = width;
+ }
+
+ public void bTest1() {
+ setHeight(300);
+ setWidth(450);
+ setMinHeight(250);
+ setMinWidth(400);
+ setMoveable(false);
+ setResizeable(false);
+ }
+
+ public void bTest2() {
+ setHeight(350);
+ setWidth(400);
+ setMinHeight(400);
+ setMinWidth(450);
+ setMoveable(true);
+ setResizeable(false);
+ }
+
+ public void bTest3() {
+ setHeight(400);
+ setWidth(300);
+ setMinHeight(400);
+ setMinWidth(300);
+ setMoveable(true);
+ setResizeable(true);
+ }
+
+ public void bTest4() {
+ setHeight(450);
+ setWidth(450);
+ setMinHeight(450);
+ setMinWidth(450);
+ setMoveable(false);
+ setResizeable(true);
+ }
+
+ public void bTest5() {
+ setHeight(900);
+ setWidth(800);
+ setMinHeight(700);
+ setMinWidth(600);
+ setMoveable(true);
+ setResizeable(true);
+ }
+
+ public boolean isAutosized() {
+ return autosized;
+ }
+
+ public boolean isKeepVisualState() {
+ return keepVisualState;
+ }
+
+ public void setKeepVisualState(boolean keepVisualState) {
+ this.keepVisualState = keepVisualState;
+ }
+
+ public String getLeft() {
+ return left;
+ }
+
+ public void setLeft(String left) {
+ this.left = left;
+ }
+
+ public String getTop() {
+ return top;
+ }
+
+ public void setTop(String top) {
+ this.top = top;
+ }
+
+ public boolean getRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getShadowDepth() {
+ return shadowDepth;
+ }
+
+ public void setShadowDepth(String shadowDepth) {
+ this.shadowDepth = shadowDepth;
+ }
+
+ public String getShadowOpacity() {
+ return shadowOpacity;
+ }
+
+ public void setShadowOpacity(String shadowOpacity) {
+ this.shadowOpacity = shadowOpacity;
+ }
+
+ public boolean isShowWhenRendered() {
+ return showWhenRendered;
+ }
+
+ public void setShowWhenRendered(boolean showWhenRendered) {
+ this.showWhenRendered = showWhenRendered;
+ }
+
+ public int getZindex() {
+ return zindex;
+ }
+
+ public void setZindex(int zindex) {
+ this.zindex = zindex;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public HtmlModalPanel getHtmlModalPanel() {
+ return htmlModalPanel;
+ }
+
+ public void setHtmlModalPanel(HtmlModalPanel myModalPanel) {
+ this.htmlModalPanel = myModalPanel;
+ }
+
+ public void addHtmlModalPanel() {
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlModalPanel);
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/orderingList/OrderingList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/orderingList/OrderingList.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/orderingList/OrderingList.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,373 @@
+package org.domain.HelloWorld.session.orderingList;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Iterator;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.domain.HelloWorld.session.util.data.Data;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlOrderingList;
+
+@Name("orderingList")
+(a)Scope(ScopeType.SESSION)
+public class OrderingList{
+ private ArrayList<String> info;
+ private ArrayList<Data> list;
+ private String captionLabel;
+ private Collection<Data> selection;
+ private String controlsType;
+ private String controlsVerticalAlign;
+ private String controlsHorizontalAlign;
+ private String bottomControlLabel;
+ private String upControlLabel;
+ private String topControlLabel;
+ private String downControlLabel;
+ private String listHeight;
+ private String listWidth;
+ private int lenght;
+ private boolean orderControlsVisible;
+ private boolean fastOrderControlsVisible;
+ private boolean rendered;
+ private boolean showButtonLabels;
+ private boolean facet;
+ private boolean showAllData;
+ private boolean showSelect;
+ private HtmlOrderingList htmlOL = null;
+
+ public HtmlOrderingList getHtmlOL() {
+ return htmlOL;
+ }
+
+ public void setHtmlOL(HtmlOrderingList htmlOL) {
+ this.htmlOL = htmlOL;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlOL);
+ return null;
+ }
+
+ public boolean isFacet() {
+ return facet;
+ }
+
+ public void setFacet(boolean facet) {
+ this.facet = facet;
+ }
+
+ public Collection<Data> getSelection() {
+ return selection;
+ }
+
+ public void setSelection(Collection<Data> selection) {
+ System.out.println("Selection.out: " + selection);
+ info.clear();
+ addSelection(selection);
+ this.selection = selection;
+ }
+
+ public ArrayList<Data> getList() {
+ return list;
+ }
+
+ public void setList(ArrayList<Data> list) {
+ this.list = list;
+ }
+
+ public void addNewItem() {
+ if(lenght < 0) lenght = 0;
+ if(list.size() > lenght)
+ for(int i = lenght; i < list.size(); )
+ list.remove(i);
+ else
+ for(int i = list.size() + 1; i <= lenght; i++)
+ list.add(new Data(i, "Button " + i, "Link " + i, "select" +(i % 5), Data.statusIcon[i % 5]));
+ }
+
+ public OrderingList() {
+ this.info = new ArrayList<String>();
+ this.captionLabel = "captionLabel";
+ this.lenght = 10;
+ this.listHeight = "300";
+ this.listWidth = "800";
+ this.controlsType = "button";
+ this.controlsHorizontalAlign = "right";
+ this.controlsVerticalAlign = "center";
+ this.bottomControlLabel = "bottom label";
+ this.upControlLabel = "up label";
+ this.downControlLabel = "down label";
+ this.topControlLabel = "top label";
+ this.orderControlsVisible = true;
+ this.fastOrderControlsVisible = true;
+ this.rendered = true;
+ this.showButtonLabels = true;
+ this.showAllData = true;
+ this.showSelect = true;
+ this.list = new ArrayList<Data>();
+ addNewItem();
+ }
+
+ public String getListHeight() {
+ return listHeight;
+ }
+
+ public void setListHeight(String listHeight) {
+ this.listHeight = listHeight;
+ }
+
+ public String getListWidth() {
+ return listWidth;
+ }
+
+ public void setListWidth(String listWidth) {
+ this.listWidth = listWidth;
+ }
+
+ public String getControlsType() {
+ return controlsType;
+ }
+
+ public void setControlsType(String controlsType) {
+ this.controlsType = controlsType;
+ }
+
+ public String getBottomControlLabel() {
+ return bottomControlLabel;
+ }
+
+ public void setBottomControlLabel(String bottomControlLabel) {
+ this.bottomControlLabel = bottomControlLabel;
+ }
+
+ public String getCaptionLabel() {
+ return captionLabel;
+ }
+
+ public void setCaptionLabel(String captionLabel) {
+ this.captionLabel = captionLabel;
+ }
+
+ public String getUpControlLabel() {
+ return upControlLabel;
+ }
+
+ public void setUpControlLabel(String upControlLabel) {
+ this.upControlLabel = upControlLabel;
+ }
+
+ public String getTopControlLabel() {
+ return topControlLabel;
+ }
+
+ public void setTopControlLabel(String topControlLabel) {
+ this.topControlLabel = topControlLabel;
+ }
+
+ public String getControlsVerticalAlign() {
+ return controlsVerticalAlign;
+ }
+
+ public void setControlsVerticalAlign(String controlsVerticalAlign) {
+ this.controlsVerticalAlign = controlsVerticalAlign;
+ }
+
+ public String getControlsHorizontalAlign() {
+ return controlsHorizontalAlign;
+ }
+
+ public void setControlsHorizontalAlign(String controlsHorizontalAlign) {
+ this.controlsHorizontalAlign = controlsHorizontalAlign;
+ }
+
+ public String getDownControlLabel() {
+ return downControlLabel;
+ }
+
+ public void setDownControlLabel(String downControlLabel) {
+ this.downControlLabel = downControlLabel;
+ }
+
+ public boolean isOrderControlsVisible() {
+ return orderControlsVisible;
+ }
+
+ public void setOrderControlsVisible(boolean orderControlsVisible) {
+ this.orderControlsVisible = orderControlsVisible;
+ }
+
+ public boolean isFastOrderControlsVisible() {
+ return fastOrderControlsVisible;
+ }
+
+ public void setFastOrderControlsVisible(boolean fastOrderControlsVisible) {
+ this.fastOrderControlsVisible = fastOrderControlsVisible;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public boolean isShowButtonLabels() {
+ return showButtonLabels;
+ }
+
+ public void setShowButtonLabels(boolean showButtonLabels) {
+ this.showButtonLabels = showButtonLabels;
+ }
+
+ public int getLenght() {
+ return lenght;
+ }
+
+ public void setLenght(int lenght) {
+ this.lenght = lenght;
+ }
+
+ public void cbAction() {
+ info.clear();
+ info.add("commandButton submit();");
+ addSelection(getSelection());
+ }
+
+ public void clAction() {
+ info.clear();
+ info.add("commandLink submit();");
+ addSelection(getSelection());
+ }
+
+ public void bTest1(){
+ setCaptionLabel("Caption Test1");
+ setControlsHorizontalAlign("0");
+ setControlsVerticalAlign("0");
+ setControlsType("button");
+ setLenght(40);
+ setListHeight("300");
+ setListWidth("400");
+ setFastOrderControlsVisible(true);
+ setOrderControlsVisible(true);
+ setRendered(true);
+ setShowButtonLabels(true);
+ setTopControlLabel("t1 top label");
+ setBottomControlLabel("t1 bottom label");
+ setUpControlLabel("t1 up label");
+ setDownControlLabel("t1 down label");
+ addNewItem();
+ }
+
+ public void bTest2(){
+ setCaptionLabel("Caption Test2");
+ setControlsHorizontalAlign("30");
+ setControlsVerticalAlign("50");
+ setControlsType("button");
+ setLenght(40);
+ setListHeight("600");
+ setListWidth("400");
+ setFastOrderControlsVisible(false);
+ setOrderControlsVisible(true);
+ setRendered(true);
+ setShowButtonLabels(true);
+ setTopControlLabel("t2");
+ setBottomControlLabel("t2");
+ setUpControlLabel("t2");
+ setDownControlLabel("t2");
+ addNewItem();
+ }
+
+ public void bTest3(){
+ setCaptionLabel("Caption Test3");
+ setControlsHorizontalAlign("50");
+ setControlsVerticalAlign("10");
+ setControlsType("button");
+ setLenght(40);
+ setListHeight("500");
+ setListWidth("500");
+ setFastOrderControlsVisible(true);
+ setOrderControlsVisible(false);
+ setRendered(true);
+ setShowButtonLabels(true);
+ setTopControlLabel("top");
+ setBottomControlLabel("bottom");
+ setUpControlLabel("up");
+ setDownControlLabel("down");
+ addNewItem();
+ }
+
+ public void bTest4(){
+ setCaptionLabel("Caption Test4");
+ setControlsHorizontalAlign("0");
+ setControlsVerticalAlign("0");
+ setControlsType("button");
+ setLenght(10000);
+ setListHeight("500");
+ setListWidth("600");
+ setFastOrderControlsVisible(true);
+ setOrderControlsVisible(true);
+ setRendered(true);
+ setShowButtonLabels(false);
+ setTopControlLabel("");
+ setBottomControlLabel("");
+ setUpControlLabel("");
+ setDownControlLabel("");
+ addNewItem();
+ }
+
+ public void bTest5(){
+ setCaptionLabel("Caption Test5");
+ setControlsHorizontalAlign("20");
+ setControlsVerticalAlign("20");
+ setControlsType("none");
+ setLenght(100);
+ setListHeight("400");
+ setListWidth("500");
+ setFastOrderControlsVisible(true);
+ setOrderControlsVisible(true);
+ setRendered(true);
+ setShowButtonLabels(true);
+ setTopControlLabel("top");
+ setBottomControlLabel("bottom");
+ setUpControlLabel("up");
+ setDownControlLabel("down");
+ addNewItem();
+ }
+
+ public ArrayList<String> getInfo() {
+ return info;
+ }
+
+ public void setInfo(ArrayList<String> info) {
+ this.info = info;
+ }
+
+ private void addSelection(Collection<Data> selection) {
+ if(selection == null) return;
+ Iterator<Data> inter = selection.iterator();
+ Data data = new Data();
+ while (inter.hasNext()) {
+ data = inter.next();
+ info.add(data.getInt0() + "; " + data.getStr0() + "; " + data.getStr0() + "submit(); " + data.getStr1() + "; " + data.getStr1() + "submit(); " + data.getStr2() + "; " + data.getStr3());
+ }
+ }
+
+ public boolean isShowAllData() {
+ return showAllData;
+ }
+
+ public void setShowAllData(boolean showAllData) {
+ this.showAllData = showAllData;
+ }
+
+ public boolean isShowSelect() {
+ return showSelect;
+ }
+
+ public void setShowSelect(boolean showSelect) {
+ this.showSelect = showSelect;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/paint2D/Paint2D.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/paint2D/Paint2D.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/paint2D/Paint2D.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,267 @@
+/** @package
+
+ Paint2D.java
+
+ Copyright(c) exadel 2000
+
+ Author: Alex Yanul
+ Created: AY 7/30/2007 12:52:38 PM
+*/
+package org.domain.HelloWorld.session.paint2D;
+
+import java.awt.Color;
+import java.awt.Font;
+import java.awt.Graphics2D;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlPaint2D;
+
+@Name("paint2D")
+(a)Scope(ScopeType.SESSION)
+public class Paint2D {
+
+ private static float location = 150;
+
+ PaintData data = new PaintData();
+ private int width;
+ private int height;
+ private String title;
+ private String align; // bottom, middle, top
+ private String hspace;
+ private String vspace;
+ private String format; // jpeg|gif|png
+ private String bgcolor;
+ private String border;
+ private boolean cacheable;
+ private boolean rendered;
+ private boolean style;
+ private HtmlPaint2D htmlPaint2D = null;
+
+ public HtmlPaint2D getHtmlPaint2D() {
+ return htmlPaint2D;
+ }
+
+ public void setHtmlPaint2D(HtmlPaint2D htmlPaint2D) {
+ this.htmlPaint2D = htmlPaint2D;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlPaint2D);
+ return null;
+ }
+
+ public boolean isRerender() {
+ return rendered;
+ }
+
+ public void setRerender(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getBorder() {
+ return border;
+ }
+
+ public void setBorder(String border) {
+ this.border = border;
+ }
+
+ public Paint2D() {
+ cacheable = false;
+ width = 400;
+ align = "left";
+ height = 200;
+ title = "Pain2D title";
+ bgcolor = "white";
+ rendered = true;
+ border = "2px";
+ style = false;
+ }
+
+ public String getStyleString() {
+ if(style)
+ return "style";
+ else
+ return "";
+ }
+
+ public void paint(Graphics2D g2, Object obj) {
+ data.setText(((PaintData) obj).getText());
+ int testLenght = data.getText().length();
+ int fontSize = testLenght < 8 ? 40 : 40 - (testLenght - 8);
+ if (fontSize < 12) fontSize = 12;
+ Font font = new Font("Serif", Font.HANGING_BASELINE, fontSize);
+ g2.setFont(font);
+
+ int x = 10;
+ int y = fontSize * 5 / 2;
+ g2.translate(x, y);
+
+ g2.setPaint(Color.BLUE);
+ g2.drawString(data.getText(), 0, 0);
+ }
+
+ public int getHeight() {
+ return height;
+ }
+
+ public void setHeight(int height) {
+ this.height = height;
+ }
+
+ public int getWidth() {
+ return width;
+ }
+
+ public void setWidth(int width) {
+ this.width = width;
+ }
+
+ public String getAlign() {
+ return align;
+ }
+
+ public void setAlign(String align) {
+ this.align = align;
+ }
+
+ public String getHspace() {
+ return hspace;
+ }
+
+ public void setHspace(String hspace) {
+ this.hspace = hspace;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getVspace() {
+ return vspace;
+ }
+
+ public void setVspace(String vspace) {
+ this.vspace = vspace;
+ }
+
+ public String getFormat() {
+ return format;
+ }
+
+ public void setFormat(String format) {
+ this.format = format;
+ }
+
+ public String getBgcolor() {
+ return bgcolor;
+ }
+
+ public void setBgcolor(String bgcolor) {
+ this.bgcolor = bgcolor;
+ }
+
+ public float getLocation() {
+ return location;
+ }
+
+ public void setLocation(float location) {
+ this.location = location;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public boolean isStyle() {
+ return style;
+ }
+
+ public void setStyle(boolean style) {
+ this.style = style;
+ }
+
+ public void bTest1(){
+ setAlign("top");
+ setBgcolor("gray");
+ setBorder("3");
+ setFormat("gif");
+ setHeight(300);
+ setWidth(300);
+ setVspace("15");
+ setHspace("15");
+ setTitle("Test1");
+ //data.setText("Test1!");
+ }
+
+ public void bTest2(){
+ setAlign("middle");
+ setBgcolor("yellow");
+ setBorder("1");
+ setFormat("png");
+ setHeight(400);
+ setWidth(300);
+ setVspace("0");
+ setHspace("15");
+ setTitle("Test2");
+ //data.setText("Test2!");
+ }
+
+ public void bTest3(){
+ setAlign("left");
+ setBgcolor("lime");
+ setBorder("10");
+ setFormat("jpeg");
+ setHeight(300);
+ setWidth(400);
+ setVspace("15");
+ setHspace("0");
+ setTitle("Test3");
+ //data.setText("Test3!");
+ }
+
+ public void bTest4(){
+ setAlign("right");
+ setBgcolor("teal");
+ setBorder("3");
+ setFormat("gif");
+ setHeight(400);
+ setWidth(600);
+ setVspace("0");
+ setHspace("0");
+ setTitle("Test4");
+ //data.setText("Test4!");
+ }
+
+ public void bTest5(){
+ setAlign("botton");
+ setBgcolor("fuchsia");
+ setBorder("3");
+ setFormat("png");
+ setHeight(400);
+ setWidth(450);
+ setVspace("-5");
+ setHspace("-5");
+ setTitle("Test5");
+ //data.setText("Test5!");
+ }
+
+ public boolean isCacheable() {
+ return cacheable;
+ }
+
+ public void setCacheable(boolean cacheable) {
+ this.cacheable = cacheable;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/paint2D/PaintData.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/paint2D/PaintData.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/paint2D/PaintData.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,28 @@
+package org.domain.HelloWorld.session.paint2D;
+
+import java.io.Serializable;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("paintData")
+(a)Scope(ScopeType.SESSION)
+public class PaintData implements Serializable{
+ private String text;
+
+ public PaintData()
+ {
+ text = "Paint2D";
+ }
+
+ public String getText()
+ {
+ return text;
+ }
+ public void setText(String text)
+ {
+ this.text = text;
+ }
+}
+
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panel/Panel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panel/Panel.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panel/Panel.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,114 @@
+package org.domain.HelloWorld.session.panel;
+
+import javax.faces.event.ValueChangeEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlPanel;
+
+@Name("panel")
+(a)Scope(ScopeType.SESSION)
+public class Panel {
+
+ private boolean rendered;
+
+ private String width;
+ private String height;
+ private String[] title ;
+ private HtmlPanel htmlPanel = null;
+
+ public HtmlPanel getHtmlPanel() {
+ return htmlPanel;
+ }
+
+ public void setHtmlPanel(HtmlPanel htmlPanel) {
+ this.htmlPanel = htmlPanel;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlPanel);
+ return null;
+ }
+
+ public Panel() {
+ rendered = false;
+ width = "350px";
+ height = "400px";
+ title = new String[] {"Titles_0", "Titles_1", "Titles_2"};
+ }
+
+ public String getHeight() {
+ return height;
+ }
+
+ public void setHeight(String height) {
+ this.height = height;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public String[] getTitle() {
+ return title;
+ }
+
+ public void setTitle(String[] title) {
+ this.title = title;
+ }
+
+ public void makeTitle(ValueChangeEvent event){
+ String t = event.getNewValue().toString();
+ if(t.equalsIgnoreCase(""))
+ for(int i = 0; i < title.length; i++)
+ title[i] = "Titles_" + i;
+ else
+ for(int i = 0; i < title.length; i++)
+ title[i] = t + "_" + i;
+ }
+
+ public void bTest1(){
+ setWidth("500px");
+ setHeight("300px");
+ setTitle(new String [] {"Test1", "Test 1", "Test_1", "Test-1"});
+ }
+
+ public void bTest2(){
+ setWidth("500px");
+ setHeight("600px");
+ setTitle(new String [] {"Test2", "Test 2", "Test_2", "Test-2"});
+ }
+
+ public void bTest3(){
+ setWidth("50%");
+ setHeight("300px");
+ setTitle(new String [] {"Test3", "Test 3", "Test_3", "Test-3"});
+ }
+
+ public void bTest4(){
+ setWidth("400px");
+ setHeight("10%");
+ setTitle(new String [] {"Test4", "Test 4", "Test_4", "Test-4"});
+ }
+
+ public void bTest5(){
+ setWidth("400px");
+ setHeight("400px");
+ setTitle(new String [] {"Test5", "Test 5", "Test_5", "Test-5"});
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panelBar/PanelBar.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panelBar/PanelBar.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panelBar/PanelBar.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,175 @@
+package org.domain.HelloWorld.session.panelBar;
+
+import javax.faces.event.ValueChangeEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlPanelBar;
+
+@Name("panelBar")
+(a)Scope(ScopeType.SESSION)
+public class PanelBar {
+
+ private String width;
+
+ private String height;
+ private String contentStyle;
+ private String style=null;
+ private String headerStyle=null;
+ private String btnLabel="ON";
+ private HtmlPanelBar htmlPanelBar = null;
+
+ private String[] label = {"label_0","label_1", "label_2", "label_3"};
+
+ private boolean rendered;
+
+ public PanelBar() {
+
+ height = "300px";
+ width = "500px";
+ rendered = true;
+ //contentStyle=null;
+ //style=null;
+ //headerStyle=null;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlPanelBar);
+ return null;
+ }
+
+ public void doStyles()
+ {
+ if (getContentStyle() == null) {
+ setBtnLabel("OFF");
+ setContentStyle("contentStyle");
+ setHeaderStyle("activeTabStyle");
+ setStyle("style");
+ } else {
+ setBtnLabel("ON");
+ setContentStyle(null);
+ setHeaderStyle(null);
+ setStyle(null);
+ }
+ }
+
+ public String getHeight() {
+ return height;
+ }
+
+ public String getContentStyle() {
+ return contentStyle;
+ }
+
+ public void setContentStyle(String contentStyle) {
+ this.contentStyle = contentStyle;
+ }
+
+ public String getHeaderStyle() {
+ return headerStyle;
+ }
+
+ public void setHeaderStyle(String headerStyle) {
+ this.headerStyle = headerStyle;
+ }
+
+ public String getStyle() {
+ return style;
+ }
+
+ public void setStyle(String style) {
+ this.style = style;
+ }
+
+ public void setHeight(String height) {
+ this.height = height;
+ }
+
+ public String[] getLabel() {
+ return label;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public void setLabel(String[] label) {
+
+ this.label = label;
+
+ }
+
+ public void makeLabels(ValueChangeEvent event) {
+ String tlabel = event.getNewValue().toString();
+ if (tlabel.equalsIgnoreCase("")) {
+ for (int i = 0; i < 4; i++) {
+ label[i] = "label_" + i;
+ }
+ } else {
+ for (int i = 0; i < 4; i++) {
+ label[i] = tlabel + "_" + i;
+ }
+ }
+
+ }
+
+ public String getBtnLabel() {
+ return btnLabel;
+ }
+
+ public void setBtnLabel(String btnLabel) {
+ this.btnLabel = btnLabel;
+ }
+
+ public void bTest1(){
+ setWidth("500px");
+ setHeight("300px");
+ setLabel(new String [] {"Test1", "Test 1", "Test_1", "Test-1"});
+ }
+
+ public void bTest2(){
+ setWidth("500px");
+ setHeight("600px");
+ setLabel(new String [] {"Test2", "Test 2", "Test_2", "Test-2"});
+ }
+
+ public void bTest3(){
+ setWidth("50%");
+ setHeight("300px");
+ setLabel(new String [] {"Test3", "Test 3", "Test_3", "Test-3"});
+ }
+
+ public void bTest4(){
+ setWidth("400px");
+ setHeight("10%");
+ setLabel(new String [] {"Test4", "Test 4", "Test_4", "Test-4"});
+ }
+
+ public void bTest5(){
+ setWidth("400px");
+ setHeight("400px");
+ setLabel(new String [] {"Test5", "Test 5", "Test_5", "Test-5"});
+ }
+
+ public HtmlPanelBar getHtmlPanelBar() {
+ return htmlPanelBar;
+ }
+
+ public void setHtmlPanelBar(HtmlPanelBar htmlPanelBar) {
+ this.htmlPanelBar = htmlPanelBar;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panelMenu/PanelMenu.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panelMenu/PanelMenu.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/panelMenu/PanelMenu.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,268 @@
+package org.domain.HelloWorld.session.panelMenu;
+
+import org.richfaces.component.html.HtmlPanelMenu;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.domain.HelloWorld.session.util.icon.Icon;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("panelMenu")
+(a)Scope(ScopeType.SESSION)
+public class PanelMenu {
+
+ private Icon icon;
+ private String width;
+ private String mode;
+ private String align;
+ private boolean rendered;
+ private String iconItemPosition;
+ private String iconItemTopPosition;
+ private String iconGroupPosition;
+ private String iconGroupTopPosition;
+ private String tabIndex;
+ private String expandMode;
+ private String inputText;
+ private boolean disabled;
+ private boolean expandSingle;
+ private HtmlPanelMenu htmlPanelMenu = null;
+
+ public HtmlPanelMenu getHtmlPanelMenu() {
+ return htmlPanelMenu;
+ }
+
+ public void setHtmlPanelMenu(HtmlPanelMenu htmlPanelMenu) {
+ this.htmlPanelMenu = htmlPanelMenu;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlPanelMenu);
+ return null;
+ }
+
+ public PanelMenu() {
+ width = "500px";
+ mode = "none";
+ expandMode = "none";
+ align = "";
+ rendered = true;
+ disabled = false;
+ tabIndex = "1";
+ iconGroupPosition = "left";
+ iconGroupTopPosition = "left";
+ iconItemPosition = "left";
+ iconGroupTopPosition = "left";
+ icon = new Icon();
+ icon.setCollapsed(icon.iconCollapse);
+ icon.setExpanded(icon.iconExpand);
+ icon.setItem(icon.iconItem);
+ icon.setIcon(icon.iconFileManager);
+ icon.setCollapsedGroup(icon.iconAjaxProcess);
+ icon.setDisabledGroup(icon.iconAjaxStoped);
+ }
+
+ public boolean isDisabled() {
+ return disabled;
+ }
+ public String getWidth() {
+ return width;
+ }
+ public void setWidth(String width) {
+ this.width = width;
+ }
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
+ public boolean isExpandSingle() {
+ return expandSingle;
+ }
+ public void setExpandSingle(boolean expandSingle) {
+ this.expandSingle = expandSingle;
+ }
+ public String getAlign() {
+ return align;
+ }
+ public void setAlign(String align) {
+ this.align = align;
+ }
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public Icon getIcon() {
+ return icon;
+ }
+ public void setIcon(Icon icon) {
+ this.icon = icon;
+ }
+ public String getIconGroupPosition() {
+ return iconGroupPosition;
+ }
+ public void setIconGroupPosition(String iconGroupPosition) {
+ this.iconGroupPosition = iconGroupPosition;
+ }
+ public String getIconGroupTopPosition() {
+ return iconGroupTopPosition;
+ }
+ public void setIconGroupTopPosition(String iconGroupTopPosition) {
+ this.iconGroupTopPosition = iconGroupTopPosition;
+ }
+ public String getIconItemPosition() {
+ return iconItemPosition;
+ }
+ public void setIconItemPosition(String iconItemPosition) {
+ this.iconItemPosition = iconItemPosition;
+ }
+ public String getIconItemTopPosition() {
+ return iconItemTopPosition;
+ }
+ public void setIconItemTopPosition(String iconItemTopPosition) {
+ this.iconItemTopPosition = iconItemTopPosition;
+ }
+
+ public String getMode() {
+ return mode;
+ }
+
+ public void setMode(String mode) {
+ this.mode = mode;
+ }
+
+ public String getTabIndex() {
+ return tabIndex;
+ }
+
+ public void setTabIndex(String tabIndex) {
+ this.tabIndex = tabIndex;
+ }
+
+ public String getExpandMode() {
+ return expandMode;
+ }
+
+ public void setExpandMode(String expandMode) {
+ this.expandMode = expandMode;
+ }
+
+ public String getInputText() {
+ return inputText;
+ }
+
+ public void setInputText(String inputText) {
+ this.inputText = inputText;
+ }
+
+ public void bTest1(){
+ icon.setCollapsed(icon.iconCollapse);
+ icon.setExpanded(icon.iconExpand);
+ icon.setItem(icon.iconItem);
+ icon.setIcon(icon.iconFileManager);
+ icon.setCollapsedGroup(icon.iconAjaxProcess);
+ icon.setDisabledGroup(icon.iconAjaxStoped);
+
+ setWidth("400px");
+ setAlign("right");
+ setDisabled(false);
+ setExpandMode("ajax");
+ setExpandSingle(false);
+ setIconGroupPosition("left");
+ setIconGroupTopPosition("right");
+ setIconItemPosition("left");
+ setIconItemTopPosition("right");
+ setMode("ajax");
+ setTabIndex("3");
+ }
+
+ public void bTest2(){
+ icon.setCollapsed(icon.iconExpand);
+ icon.setExpanded(icon.iconCollapse);
+ icon.setItem(icon.iconHeader);
+ icon.setIcon(icon.iconFileManagerReject);
+ icon.setCollapsedGroup(icon.iconAjaxStoped);
+ icon.setDisabledGroup(icon.iconAjaxProcess);
+
+ setWidth("250px");
+ setAlign("bottom");
+ setDisabled(false);
+ setExpandMode("server");
+ setExpandSingle(false);
+ setIconGroupPosition("right");
+ setIconGroupTopPosition("left");
+ setIconItemPosition("right");
+ setIconItemTopPosition("left");
+ setMode("server");
+ setTabIndex("2");
+ }
+
+ public void bTest3(){
+ icon.setCollapsed(icon.iconCollapse);
+ icon.setExpanded(icon.iconExpand);
+ icon.setItem(icon.iconItem);
+ icon.setIcon(icon.iconFileManager);
+ icon.setCollapsedGroup(icon.iconAjaxProcess);
+ icon.setDisabledGroup(icon.iconAjaxStoped);
+
+ setWidth("400px");
+ setAlign("middle");
+ setDisabled(false);
+ setExpandMode("server");
+ setExpandSingle(false);
+ setIconGroupPosition("right");
+ setIconGroupTopPosition("right");
+ setIconItemPosition("right");
+ setIconItemTopPosition("left");
+ setMode("none");
+ setTabIndex("2");
+
+ }
+
+ public void bTest4(){
+ icon.setCollapsed(icon.iconExpand);
+ icon.setExpanded(icon.iconCollapse);
+ icon.setItem(icon.iconHeader);
+ icon.setIcon(icon.iconFileManagerReject);
+ icon.setCollapsedGroup(icon.iconAjaxStoped);
+ icon.setDisabledGroup(icon.iconAjaxProcess);
+
+ setWidth("250px");
+ setAlign("top");
+ setDisabled(true);
+ setExpandMode("none");
+ setExpandSingle(false);
+ setIconGroupPosition("left");
+ setIconGroupTopPosition("left");
+ setIconItemPosition("left");
+ setIconItemTopPosition("left");
+ setMode("ajax");
+ setTabIndex("2");
+
+ }
+
+ public void bTest5(){
+ icon.setCollapsed(icon.iconCollapse);
+ icon.setExpanded(icon.iconExpand);
+ icon.setItem(icon.iconItem);
+ icon.setIcon(icon.iconFileManager);
+ icon.setCollapsedGroup(icon.iconAjaxProcess);
+ icon.setDisabledGroup(icon.iconAjaxStoped);
+
+ setWidth("250px");
+ setAlign("right");
+ setDisabled(false);
+ setExpandMode("none");
+ setExpandSingle(true);
+ setIconGroupPosition("right");
+ setIconGroupTopPosition("right");
+ setIconItemPosition("right");
+ setIconItemTopPosition("right");
+ setMode("none");
+ setTabIndex("2");
+
+ }
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/pickList/PickList.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/pickList/PickList.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/pickList/PickList.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,266 @@
+package org.domain.HelloWorld.session.pickList;
+
+import java.util.ArrayList;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import javax.faces.event.ValueChangeEvent;
+import javax.faces.model.SelectItem;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlPickList;
+
+@Name("pickList")
+(a)Scope(ScopeType.SESSION)
+public class PickList {
+ public String copyAllControlLabel;
+ public String copyControlLabel;
+ public boolean disabled;
+ public boolean fastOrderControlsVisible;
+ public boolean immediate;
+ public String listsHeight;
+ public String localValueSet;
+ public String moveControlsVerticalAlign;
+ public String removeAllControlLabel;
+ public String removeControlLabel;
+ public boolean rendered;
+ public boolean showButtonLabels;
+ public String sourceListWidth;
+ public boolean switchByClick;
+ public String targetListWidth;
+ public String title;
+ private ArrayList<SelectItem> data;
+ private boolean required;
+ private String requiredMessage;
+ private Object[] value;
+ private String valueCL;
+ private HtmlPickList myPickList = null;
+ private String bindLabel;
+
+ public PickList() {
+ this.copyAllControlLabel = "copyAllControlLabel";
+ this.copyControlLabel = "copyControlLabel";
+ this.disabled = false;
+ this.fastOrderControlsVisible = true;
+ this.immediate = false;
+ this.listsHeight = "400";
+ this.valueCL = "---";
+ // this.localValueSet = ;
+ this.moveControlsVerticalAlign = "center";
+ this.removeAllControlLabel = "removeAllControlLabel";
+ this.removeControlLabel = "removeControlLabel";
+ this.rendered = true;
+ this.showButtonLabels = true;
+ this.sourceListWidth = "300";
+ this.switchByClick = false;
+ this.targetListWidth = "400";
+ this.title = "title";
+ this.required = false;
+ this.requiredMessage = "requiredMessage";
+ bindLabel = "Click Binding";
+ data = new ArrayList<SelectItem>();
+ for (int i = 0; i < 10; i++)
+ data.add(new SelectItem("selectItems " + i));
+
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = myPickList.getClientId(context);
+ }
+
+ public HtmlPickList getMyPickList() {
+ return myPickList;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(myPickList);
+ return null;
+ }
+
+ public void setMyPickList(HtmlPickList myPickList) {
+ this.myPickList = myPickList;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public String getValueCL() {
+ return valueCL;
+ }
+
+ public void setValueCL(String valueCL) {
+ this.valueCL = valueCL;
+ }
+
+ public boolean isRequired() {
+ return required;
+ }
+
+ public void setRequired(boolean required) {
+ this.required = required;
+ }
+
+ public String getRequiredMessage() {
+ return requiredMessage;
+ }
+
+ public void setRequiredMessage(String requiredMessage) {
+ this.requiredMessage = requiredMessage;
+ }
+
+ public void valueChangeListener(ValueChangeEvent event) {
+ valueCL = "valueChangeListener work!";
+ }
+
+ public String getCopyAllControlLabel() {
+ return copyAllControlLabel;
+ }
+
+ public void setCopyAllControlLabel(String copyAllControlLabel) {
+ this.copyAllControlLabel = copyAllControlLabel;
+ }
+
+ public String getCopyControlLabel() {
+ return copyControlLabel;
+ }
+
+ public void setCopyControlLabel(String copyControlLabel) {
+ this.copyControlLabel = copyControlLabel;
+ }
+
+ public boolean isDisabled() {
+ return disabled;
+ }
+
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ public boolean isFastOrderControlsVisible() {
+ return fastOrderControlsVisible;
+ }
+
+ public void setFastOrderControlsVisible(boolean fastOrderControlsVisible) {
+ this.fastOrderControlsVisible = fastOrderControlsVisible;
+ }
+
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+
+ public String getListsHeight() {
+ return listsHeight;
+ }
+
+ public void setListsHeight(String listsHeight) {
+ this.listsHeight = listsHeight;
+ }
+
+ public String getLocalValueSet() {
+ return localValueSet;
+ }
+
+ public void setLocalValueSet(String localValueSet) {
+ this.localValueSet = localValueSet;
+ }
+
+ public String getMoveControlsVerticalAlign() {
+ return moveControlsVerticalAlign;
+ }
+
+ public void setMoveControlsVerticalAlign(String moveControlsVerticalAlign) {
+ this.moveControlsVerticalAlign = moveControlsVerticalAlign;
+ }
+
+ public String getRemoveAllControlLabel() {
+ return removeAllControlLabel;
+ }
+
+ public void setRemoveAllControlLabel(String removeAllControlLabel) {
+ this.removeAllControlLabel = removeAllControlLabel;
+ }
+
+ public String getRemoveControlLabel() {
+ return removeControlLabel;
+ }
+
+ public void setRemoveControlLabel(String removeControlLabel) {
+ this.removeControlLabel = removeControlLabel;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getSourceListWidth() {
+ return sourceListWidth;
+ }
+
+ public void setSourceListWidth(String sourceListWidth) {
+ this.sourceListWidth = sourceListWidth;
+ }
+
+ public boolean isSwitchByClick() {
+ return switchByClick;
+ }
+
+ public void setSwitchByClick(boolean switchByClick) {
+ this.switchByClick = switchByClick;
+ }
+
+ public String getTargetListWidth() {
+ return targetListWidth;
+ }
+
+ public void setTargetListWidth(String targetListWidth) {
+ this.targetListWidth = targetListWidth;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public boolean isShowButtonLabels() {
+ return showButtonLabels;
+ }
+
+ public void setShowButtonLabels(boolean showButtonLabels) {
+ this.showButtonLabels = showButtonLabels;
+ }
+
+ public ArrayList<SelectItem> getData() {
+ return data;
+ }
+
+ public void setData(ArrayList<SelectItem> data) {
+ this.data = data;
+ }
+
+ public Object[] getValue() {
+ return value;
+ }
+
+ public void setValue(Object[] value) {
+ this.value = value;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/progressBar/ProgressBar.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/progressBar/ProgressBar.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/progressBar/ProgressBar.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,165 @@
+package org.domain.HelloWorld.session.progressBar;
+
+import javax.faces.event.ActionEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.domain.HelloWorld.session.util.data.Data;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlProgressBar;
+
+@Name("progressBar")
+(a)Scope(ScopeType.SESSION)
+public class ProgressBar {
+ private boolean ajaxSingle;
+ private Integer value;
+ private boolean enabled;
+ private String mode;
+ private String interval;
+ private String maxValue;
+ private String minValue;
+ private boolean dualColoredLabel;
+ private boolean rendered;
+ private String listnerInfo;
+ private boolean ignoreDupResponses;
+ private boolean permanent;
+ private HtmlProgressBar htmlProgressBar = null;
+
+ public HtmlProgressBar getHtmlProgressBar() {
+ return htmlProgressBar;
+ }
+
+ public void setHtmlProgressBar(HtmlProgressBar htmlProgressBar) {
+ this.htmlProgressBar = htmlProgressBar;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlProgressBar);
+ return null;
+ }
+
+ public boolean isIgnoreDupResponses() {
+ return ignoreDupResponses;
+ }
+
+ public void setIgnoreDupResponses(boolean ignoreDupResponses) {
+ this.ignoreDupResponses = ignoreDupResponses;
+ }
+
+ public String getListnerInfo() {
+ return listnerInfo;
+ }
+
+ public void setListnerInfo(String listnerInfo) {
+ this.listnerInfo = listnerInfo;
+ }
+
+ public String getLoadInfo() {
+ return Data.cityAfrica[Math.abs((int)value) % 62];
+ }
+
+ public ProgressBar() {
+ ajaxSingle = false;
+ value = 0;
+ enabled = false;
+ mode = "ajax";
+ interval = "500";
+ maxValue = "100";
+ minValue = "0";
+ dualColoredLabel = false;
+ rendered = true;
+ ignoreDupResponses = false;
+ permanent = false;
+ }
+
+ public String action() {
+ System.out.println("action");
+ return null;
+ }
+
+ public void actionListener(ActionEvent actionEvent){
+ System.out.println("actionEvent");
+ }
+
+ public boolean isAjaxSingle() {
+ return ajaxSingle;
+ }
+
+ public void setAjaxSingle(boolean ajaxSingle) {
+ this.ajaxSingle = ajaxSingle;
+ }
+
+ public boolean isEnabled() {
+ return enabled;
+ }
+
+ public void setEnabled(boolean enabled) {
+ this.enabled = enabled;
+ }
+
+ public String getMode() {
+ return mode;
+ }
+
+ public void setMode(String mode) {
+ this.mode = mode;
+ }
+
+ public String getInterval() {
+ return interval;
+ }
+
+ public void setInterval(String interval) {
+ this.interval = interval;
+ }
+
+ public String getMaxValue() {
+ return maxValue;
+ }
+
+ public void setMaxValue(String maxValue) {
+ this.maxValue = maxValue;
+ }
+
+ public String getMinValue() {
+ return minValue;
+ }
+
+ public void setMinValue(String minValue) {
+ this.minValue = minValue;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public Integer getValue() {
+ // without a vodka bottle you will not understand :)
+ return enabled ? (permanent ? new Integer(maxValue) : value++) : value;
+ }
+
+ public void setValue(Integer value) {
+ this.value = value;
+ }
+
+ public boolean isDualColoredLabel() {
+ return dualColoredLabel;
+ }
+
+ public void setDualColoredLabel(boolean dualColoredLabel) {
+ this.dualColoredLabel = dualColoredLabel;
+ }
+
+ public boolean isPermanent() {
+ return permanent;
+ }
+
+ public void setPermanent(boolean permanent) {
+ this.permanent = permanent;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/MapComponent.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/MapComponent.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/MapComponent.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,26 @@
+package org.domain.HelloWorld.session.rich;
+
+import java.util.ArrayList;
+import java.util.Map;
+import java.util.Set;
+import java.util.TreeMap;
+
+public class MapComponent {
+ private Map<String, ArrayList<String>> m;
+
+ public MapComponent() {
+ m = new TreeMap<String, ArrayList<String>>();
+ }
+
+ public void add(String component, ArrayList<String> path) {
+ m.put(component, path);
+ }
+
+ public ArrayList<String> get(String key){
+ return m.get(key);
+ }
+
+ public Set getSet() {
+ return m.keySet();
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/Options.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/Options.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/Options.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,141 @@
+package org.domain.HelloWorld.session.rich;
+
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Name;
+
+@Name("option")
+public class Options {
+ private static String[] CALENDAR_EVENT = { "onbeforedomupdate",
+ "onchanged", "oncollapse", "oncomplete", "oncurrentdateselect",
+ "ondatemouseout", "ondatemouseover", "ondateselect",
+ "ondateselected", "onexpand", "oninputblur", "oninputchange",
+ "oninputclick", "oninputfocus", "oninputkeydown",
+ "oninputkeypress", "oninputkeyup", "oninputselect", "ontimeselect",
+ "ontimeselected" };
+ private static String[] CALENDAR_STYLE = { "style", "styleClass",
+ "inputStyle" };
+ private static String[] COLUMNS_STYLE = { "footerClass", "headerClass",
+ "styleClass", "style" };
+ private static String[] COMBOBOX_EVENT = { "onblur", "onchange", "onclick",
+ "ondblclick", "onfocus", "onitemselected", "onkeydown",
+ "onkeypress", "onkeyup", "onlistcall", "onmousedown",
+ "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onselect" };
+ private static String[] COMBOBOX_STYLE = { "buttonClass",
+ "buttonDisabledClass", "buttonDisabledStyle",
+ "buttonInactiveClass", "buttonInactiveStyle", "buttonStyle",
+ "inputClass", "inputDisabledClass", "inputDisabledStyle",
+ "inputInactiveClass", "inputInactiveStyle", "itemClass",
+ "inputStyle", "listClass", "listStyle" };
+ private static String[] CONTEXTMENU_EVENT = { "oncollapse", "onexpand",
+ "ongroupactivate", "onitemselect", "onmousemove", "onmouseout",
+ "onmouseover" };
+ private static String[] CONTEXTMENU_STYLE = { "disabledItemClass",
+ "disabledItemStyle", "itemClass", "itemStyle", "selectItemClass",
+ "selectItemStyle", "style", "styleClass" };
+ private static String[] DATADEFINITIONLIST_STYLE = { "columnClasses",
+ "rowClasses", "style", "styleClass" };
+ private static String[] DATAORDEREDLIST_STYLE = { "columnClasses",
+ "rowClasses", "style", "styleClass", "footerClass", "headerClass" };
+ private static String[] DATAFILTERSLIDER_EVENT = { "onbeforedomupdate",
+ "onchange", "onclick", "oncomplete", "ondblclick", "onerror",
+ "onkeydown", "onkeypress", "onkeyup", "onmousedown", "onmousemove",
+ "onmouseout", "onmouseover", "onmouseup", "onslide",
+ "onSlideSubmit" };
+ private static String[] DATAFILTERSLIDER_STYLE = { "styleClass",
+ "rangeStyleClass", "trailerStyleClass", "style", "fieldStyleClass",
+ "trackStyleClass", "handleStyleClass" };
+ private static String[] DATASCROLLER_EVENT = { "onbeforedomupdate",
+ "onclick", "oncomplete", "ondblclick", "onkeydown", "onkeypress",
+ "onkeyup", "onmousedown", "onmousemove", "onmouseout",
+ "onmouseover", "onmouseup" };
+ private static String[] DATASCROLLER_STYLE = { "inactiveStyle",
+ "inactiveStyleClass", "selectedStyle", "selectedStyleClass",
+ "style", "styleClass", "tableStyle", "tableStyleClass" };
+ private static String[] DATATABLE_EVENT = { "onclick", "ondblclick",
+ "onkeydown", "onkeypress", "onkeyup", "onmousedown", "onmousemove",
+ "onmouseout", "onmouseover", "onmouseup", "onRowClick",
+ "onRowDblClick", "onRowMouseDown", "onRowMouseMove",
+ "onRowMouseOut", "onRowMouseOver", "onRowMouseUp" };
+ private static String[] DATATABLE_STYLE = { "captionClass", "rowClasses",
+ "headerClass", "footerClass", "styleClass", "captionStyle",
+ "columnClasses" };
+ private static String[] DRAGANDDROP_EVENT = { "ondragenter", "ondragexit",
+ "ondrop", "ondropend", "oncomplete", "onsubmit",
+ "onbeforedomupdate", "oncomplete", "ondragend", "ondragstart",
+ "onsubmit", "ondropout", "ondropover" };
+ private static String[] DRAGANDDROP_STYLE = { "acceptClass", "rejectClass",
+ "style", "styleClass" };
+ private static String[] DROPDOWNMENU_EVENT = { "oncollapse", "onexpand",
+ "ongroupactivate", "onitemselect", "onmousemove", "onmouseout",
+ "onmouseover", "onbeforedomupdate", "onclick", "oncomplete",
+ "onmousedown", "onmouseup", "onselect" };
+ private static String[] DROPDOWNMENU_STYLE = { "iconClass", "iconStyle",
+ "selectClass", "selectStyle", "style", "disabledItemClass",
+ "disabledItemStyle", "itemClass", "itemStyle", "selectItemClass",
+ "selectItemStyle", "styleClass" };
+ private static String[] GMAP_EVENT = { "onclick", "ondblclick",
+ "onkeydown", "onkeypress", "onkeyup", "onmousedown", "onmousemove",
+ "onmouseout", "onmouseover", "onmouseup" };
+ private static String[] GMAP_STYLE = { "style=", "styleClass" };
+ private static String[] INPUTNUMBERSLIDER_EVENT = { "onblur", "onchange",
+ "onclick", "ondblclick", "onerror", "onfocus", "onkeydown",
+ "onkeypress", "onkeyup", "onmousedown", "onmousemove",
+ "onmouseout", "onmouseover", "onmouseup", "onselect", "onslide" };
+ private static String[] INPUTNUMBERSLIDER_STYLE = { "barClass", "barStyle",
+ "handleClass", "inputClass", "handleSelectedClass", "inputSize",
+ "styleClass", "inputStyle", "tipStyle", "style", "tipClass" };
+
+ private boolean reDefault;
+ private boolean reComponent;
+ private boolean reProperty;
+ private boolean reStraightforward;
+ private boolean attribute;
+
+ public Options() {
+
+ reDefault = true;
+ reComponent = true;
+ reProperty = true;
+ reStraightforward = true;
+ attribute = false;
+ }
+
+ public boolean isReComponent() {
+ return reComponent;
+ }
+
+ public void setReComponent(boolean reComponent) {
+ this.reComponent = reComponent;
+ }
+
+ public boolean isReProperty() {
+ return reProperty;
+ }
+
+ public void setReProperty(boolean reProperty) {
+ this.reProperty = reProperty;
+ }
+
+ public boolean isReStraightforward() {
+ return reStraightforward;
+ }
+
+ public void setReStraightforward(boolean reStraightforward) {
+ this.reStraightforward = reStraightforward;
+ }
+
+ public boolean isReDefault() {
+ return reDefault;
+ }
+
+ public void setReDefault(boolean reDefault) {
+ this.reDefault = reDefault;
+ }
+ public boolean isAttribute() {
+ return attribute;
+ }
+
+ public void setAttribute(boolean attribute) {
+ this.attribute = attribute;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/RichBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/RichBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/rich/RichBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,153 @@
+package org.domain.HelloWorld.session.rich;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import javax.faces.context.FacesContext;
+import javax.faces.model.SelectItem;
+
+import org.jboss.seam.annotations.Name;
+import org.richfaces.VersionBean;
+
+@Name("richBean")
+public class RichBean {
+ private static final String EXT = ".xhtml";
+ private String version = VersionBean.SCM_REVISION;
+ private String src;
+ private String srcContainer;
+ private MapComponent map;
+ private List<SelectItem> list;
+
+
+ public RichBean() {
+ list = new ArrayList<SelectItem>();
+ src = "Blank";
+ srcContainer = "Blank";
+ map = new MapComponent();
+ // map.add( value, add( pages_path/name_pages, array<boolean>(Property, Straightforward) );
+ map.add("Blank", add("/pages/Blank/Blank", new boolean [] {false, true, true}));
+ map.add("Calendar", add("/Calendar/Calendar", new boolean [] {false, true, true}));
+ map.add("DataFilterSlider", add("/DataFilterSlider/DataFilterSlider", new boolean [] {false, true, false}));
+ map.add("DataScroller", add("/DataScroller/DataScroller", new boolean [] {false, true, true}));
+ map.add("DataTable", add("/DataTable/DataTable", new boolean [] {false, true, true}));
+ map.add("DragAndDrop", add("/DragAndDrop/DragAndDrop", new boolean [] {false, false, false}));
+ map.add("DropDownMenu", add("/DropDownMenu/DropDownMenu", new boolean [] {false, true, true}));
+ map.add("Effect", add("/Effect/Effect", new boolean [] {false, false, false}));
+ map.add("Gmap", add("/Gmap/Gmap", new boolean [] {false, true, false}));
+ map.add("InputNumberSlider", add("/InputNumberSlider/InputNumberSlider", new boolean [] {false, true, true}));
+ map.add("InputNumberSpinner", add("/InputNumberSpinner/InputNumberSpinner", new boolean [] {false, true, true}));
+ map.add("Insert", add("/Insert/Insert", new boolean [] {false, true, false}));
+ map.add("Message", add("/Message/Message", new boolean [] {false, true, true}));
+ map.add("ModalPanel", add("/ModalPanel/ModalPanel", new boolean [] {false, true, true}));
+ map.add("Paint2D", add("/Paint2D/Paint2D", new boolean [] {false, true, true}));
+ map.add("Panel", add("/Panel/Panel", new boolean [] {false, true, true}));
+ map.add("PanelBar", add("/PanelBar/PanelBar", new boolean [] {false, true, true}));
+ map.add("PanelMenu", add("/PanelMenu/PanelMenu", new boolean [] {false, true, true}));
+ map.add("Separator", add("/Separator/Separator", new boolean [] {false, true, true}));
+ map.add("SimpleTogglePanel", add("/SimpleTogglePanel/SimpleTogglePanel", new boolean [] {false, true, true}));
+ map.add("Spacer", add("/Spacer/Spacer", new boolean [] {false, true, true}));
+ map.add("SuggestionBox", add("/SuggestionBox/SuggestionBox", new boolean [] {false, true, true}));
+ map.add("TabPanel", add("/TabPanel/TabPanel", new boolean [] {false, true, true}));
+ map.add("TogglePanel", add("/TogglePanel/TogglePanel", new boolean [] {false, true, true}));
+ map.add("ToolBar", add("/ToolBar/ToolBar", new boolean [] {false, true, false}));
+ map.add("Tooltip", add("/Tooltip/Tooltip", new boolean [] {false, true, true}));
+ map.add("Tree", add("/Tree/Tree", new boolean [] {false, true, false}));
+ map.add("VirtualEarth", add("/VirtualEarth/VirtualEarth", new boolean [] {false, true, false}));
+ map.add("ScrollableDataTable", add("/ScrollableDataTable/ScrollableDataTable", new boolean [] {false, true, false}));
+ map.add("jQuery", add("/jQuery/jQuery", new boolean [] {true, false, false}));
+ map.add("OrderingList", add("/OrderingList/OrderingList", new boolean [] {false, true, true}));
+ map.add("DataDefinitionList", add("/DataDefinitionList/DataDefinitionList", new boolean [] {false, true, false}));
+ map.add("DataOrderedList", add("/DataOrderedList/DataOrderedList", new boolean [] {false, true, false}));
+ map.add("ContextMenu", add("/ContextMenu/ContextMenu", new boolean [] {false, true, false}));
+ map.add("ListShuttle", add("/ListShuttle/ListShuttle", new boolean [] {false, true, true}));
+ map.add("ComponentControl", add("/ComponentControl/ComponentControl", new boolean [] {false, false, false}));
+ map.add("Columns", add("/Columns/Columns", new boolean [] {false, true, false}));
+ map.add("PickList", add("/PickList/PickList", new boolean [] {false, true, false}));
+ map.add("Combobox", add("/Combobox/Combobox", new boolean [] {false, true, false}));
+ map.add("ProgressBar", add("/ProgressBar/ProgressBar", new boolean [] {false, false, false}));
+ map.add("SortingAndFiltering", add("/SortingAndFiltering/SortingAndFiltering", new boolean [] {false, false, false}));
+ map.add("FileUpload", add("/FileUpload/FileUpload", new boolean [] {false, false, false}));
+ map.add("InplaceSelect", add("/InplaceSelect/InplaceSelect", new boolean [] {false, true, false}));
+ map.add("InplaceInput", add("/InplaceInput/InplaceInput", new boolean [] {false, true, false}));
+ map.add("Skinning", add("/Skinning/Skinning", new boolean [] {false, false, false}));
+ map.add("HotKey", add("/HotKey/HotKey", new boolean [] {false, false, false}));
+ map.add("Validator", add("/Validator/Validator", new boolean [] {true, true, true}));
+ map.add("DataGrid", add("/DataGrid/DataGrid", new boolean [] {false, true, false}));
+ map.add("ExtendedDataTable", add("/ExtendedDataTable/ExtendedDataTable", new boolean [] {false, true, false}));
+ Iterator<String> iterator = map.getSet().iterator();
+ while(iterator.hasNext()){
+ list.add(new SelectItem(iterator.next()));
+ }
+ }
+
+ public String getSrc() {
+ return src;
+ }
+
+ public String getPathComponent() {
+ return map.get(src).get(0);
+ }
+
+ public String getDefaultPathComponent() {
+ return map.get(src).get(1);
+ }
+
+ public String getPathProperty() {
+ return map.get(src).get(2);
+ }
+
+ public String getPathStraightforward() {
+ return map.get(src).get(3);
+ }
+
+ public void setSrc(String src) {
+ this.src = src;
+ }
+
+ private ArrayList<String> add(String path, boolean [] arr){
+ ArrayList<String> list = new ArrayList<String>();
+ list.add(path + EXT);
+ if(arr[0]) list.add(path + "Default" + EXT); else list.add("/pages/Blank/BlankDefault" + EXT);
+ if(arr[1]) list.add(path + "Property" + EXT); else list.add("/pages/Blank/BlankProperty" + EXT);
+ if(arr[2]) list.add(path + "Straightforward" + EXT); else list.add("/pages/Blank/BlankStraightforward" + EXT);
+ return list;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public List<SelectItem> getList(){
+ return list;
+ }
+
+ public String getSrcContainer() {
+ return srcContainer;
+ }
+
+ public void setSrcContainer(String srcContainer) {
+ this.srcContainer = srcContainer;
+ }
+
+ public String getPathComponentContainer() {
+ return map.get(srcContainer).get(0);
+ }
+
+ public List<SelectItem> getListContainer() {
+ Iterator<String> iterator = map.getSet().iterator();
+ List<SelectItem> l = new ArrayList<SelectItem>();
+ String str;
+ while(iterator.hasNext()){
+ str = iterator.next();
+ if(!str.equals(src))
+ l.add(new SelectItem(str));
+ }
+ return l;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/richPanels/MapComponent.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/richPanels/MapComponent.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/richPanels/MapComponent.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,21 @@
+package org.domain.HelloWorld.session.richPanels;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Map;
+
+public class MapComponent {
+ private Map<String, ArrayList<String>> m;
+
+ public MapComponent() {
+ m = new HashMap<String, ArrayList<String>>();
+ }
+
+ public void add(String component, ArrayList<String> path) {
+ m.put(component, path);
+ }
+
+ public ArrayList<String> get(String key){
+ return m.get(key);
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/richPanels/RichPanelsBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/richPanels/RichPanelsBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/richPanels/RichPanelsBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,75 @@
+package org.domain.HelloWorld.session.richPanels;
+
+import java.util.ArrayList;
+
+public class RichPanelsBean {
+ private String src;
+ private MapComponent map;
+
+ public RichPanelsBean() {
+ src = "Blank";
+ map = new MapComponent();
+ // map.add( value, add( pages_path/name_pages, array<boolean>(Property, Straightforward) );
+ map.add("Blank", add("/pages/Blank/Blank", new boolean [] {true, true}));
+ map.add("Calendar", add("/Calendar/Calendar", new boolean [] {true, true}));
+ map.add("DataFilterSlider", add("/DataFilterSlider/DataFilterSlider", new boolean [] {true, false}));
+ map.add("DataScroller", add("/DataScroller/DataScroller", new boolean [] {true, true}));
+ map.add("DataTable", add("/DataTable/DataTable", new boolean [] {true, true}));
+ map.add("DragAndDrop", add("/DragAndDrop/DragAndDrop", new boolean [] {false, false}));
+ map.add("DropDownMenu", add("/DropDownMenu/DropDownMenu", new boolean [] {true, true}));
+ map.add("Effect", add("/Effect/Effect", new boolean [] {false, false}));
+ map.add("Gmap", add("/Gmap/Gmap", new boolean [] {true, false}));
+ map.add("InputNumberSlider", add("/InputNumberSlider/InputNumberSlider", new boolean [] {true, true}));
+ map.add("InputNumberSpinner", add("/InputNumberSpinner/InputNumberSpinner", new boolean [] {true, true}));
+ map.add("Insert", add("/Insert/Insert", new boolean [] {true, false}));
+ map.add("Message", add("/Message/Message", new boolean [] {true, true}));
+ map.add("ModalPanel", add("/RichPanels/ModalPanel/ModalPanel", new boolean [] {false, false}));
+ map.add("Paint2D", add("/Paint2D/Paint2D", new boolean [] {true, true}));
+ map.add("Panel", add("/RichPanels/Panel/Panel", new boolean [] {false, false}));
+ map.add("Panel2", add("/Panel/Panel2", new boolean [] {false, false}));
+ map.add("PanelBar", add("/RichPanels/PanelBar/PanelBar", new boolean [] {false, false}));
+ map.add("PanelMenu", add("/PanelMenu/PanelMenu", new boolean [] {true, true}));
+ map.add("Separator", add("/Separator/Separator", new boolean [] {true, true}));
+ map.add("SimpleTogglePanel", add("/RichPanels/SimpleTogglePanel/SimpleTogglePanel", new boolean [] {false, false}));
+ map.add("Spacer", add("/Spacer/Spacer", new boolean [] {true, true}));
+ map.add("SuggestionBox", add("/SuggestionBox/SuggestionBox", new boolean [] {true, true}));
+ map.add("TabPanel", add("/RichPanels/TabPanel/TabPanel", new boolean [] {false, false}));
+ map.add("TogglePanel", add("/RichPanels/TogglePanel/TogglePanel", new boolean [] {false, false}));
+ map.add("ToolBar", add("/ToolBar/ToolBar", new boolean [] {true, false}));
+ map.add("Tooltip", add("/Tooltip/Tooltip", new boolean [] {true, true}));
+ map.add("Tree", add("/Tree/Tree", new boolean [] {true, false}));
+ map.add("VirtualEarth", add("/VirtualEarth/VirtualEarth", new boolean [] {true, true}));
+ map.add("ScrollableDataTable", add("/ScrollableDataTable/ScrollableDataTable", new boolean [] {true, false}));
+ map.add("jQuery", add("/jQuery/jQuery", new boolean [] {false, false}));
+ map.add("OrderingList", add("/OrderingList/OrderingList", new boolean [] {true, false}));
+ }
+
+ public String getSrc() {
+ return src;
+ }
+
+ public String getPathComponent() {
+ return map.get(src).get(0);
+ }
+
+ public String getPathProperty() {
+ return map.get(src).get(1);
+ }
+
+ public String getPathStraightforward() {
+ return map.get(src).get(2);
+ }
+
+ public void setSrc(String src) {
+ this.src = src;
+ }
+
+ private ArrayList<String> add(String path, boolean [] arr){
+ ArrayList<String> list = new ArrayList<String>();
+ list.add(path + ".xhtml");
+ if(arr[0]) list.add(path + "Property.xhtml"); else list.add("/pages/Blank/BlankProperty.xhtml");
+ if(arr[1]) list.add(path + "Straightforward.xhtml"); else list.add("/pages/Blank/BlankStraightforward.xhtml");
+ return list;
+ }
+}
+
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sTP/SimpleTogglePanel.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,142 @@
+package org.domain.HelloWorld.session.sTP;
+
+import javax.faces.event.ActionEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlSimpleTogglePanel;
+
+@Name("simpleTogglePanel")
+(a)Scope(ScopeType.SESSION)
+public class SimpleTogglePanel {
+
+ private String switchType; // "client", "server"(default), "ajax"
+ private String width;
+ private String height;
+ private String position = "right";
+ private boolean focus;
+ private boolean rendered;
+ private String action;
+ private String actionListener;
+ private HtmlSimpleTogglePanel htmlSTP = null;
+
+ public HtmlSimpleTogglePanel getHtmlSTP() {
+ return htmlSTP;
+ }
+
+ public void setHtmlSTP(HtmlSimpleTogglePanel htmlSTP) {
+ this.htmlSTP = htmlSTP;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlSTP);
+ return null;
+ }
+
+ public SimpleTogglePanel() {
+ width = "75%";
+ height = "100%";
+ switchType = "server";
+ focus = true;
+ rendered = true;
+ action = "---";
+ actionListener = "---";
+ }
+
+ public String act() {
+ action = "action work!";
+ return null;
+ }
+
+ public void actListener(ActionEvent e){
+ actionListener = "actionListener work!";
+ }
+
+ public String getHeight() {
+ return height;
+ }
+
+ public void setHeight(String height) {
+ this.height = height;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getSwitchType() {
+ return switchType;
+ }
+
+ public void setSwitchType(String switchType) {
+ this.switchType = switchType;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public boolean isFocus() {
+ return focus;
+ }
+
+ public void setFocus(boolean focus) {
+ this.focus = focus;
+ }
+
+ public void bTest1(){
+ setHeight("80px");
+ setWidth("300px");
+ setSwitchType("ajax");
+ }
+
+ public void bTest2(){
+ setHeight("10%");
+ setWidth("100%");
+ setSwitchType("client");
+ }
+
+ public void bTest3(){
+ setHeight("80px");
+ setWidth("100%");
+ setSwitchType("server");
+ }
+
+ public void bTest4(){
+ setHeight("10%");
+ setWidth("200px");
+ setSwitchType("client");
+ }
+
+ public void bTest5(){
+ setHeight("400px");
+ setWidth("250px");
+ setSwitchType("client");
+ }
+
+ public String getPosition() {
+ return position;
+ }
+
+ public void setPosition(String position) {
+ this.position = position;
+ }
+
+ public String getAction() {
+ return action;
+ }
+
+ public String getActionListener() {
+ return actionListener;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sb/Data.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sb/Data.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sb/Data.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,45 @@
+package org.domain.HelloWorld.session.sb;
+
+public class Data {
+ private String city;
+ private String contry;
+ private boolean flag;
+
+ public Data(String city, String contry, boolean flag) {
+ this.city = city;
+ this.contry = contry;
+ this.flag = flag;
+ }
+
+ public boolean getFlag() {
+ return flag;
+ }
+
+ public void setFlag(boolean flag) {
+ this.flag = flag;
+ }
+
+ public String getCity() {
+ return city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getContry() {
+ return contry;
+ }
+
+ public void setContry(String contry) {
+ this.contry = contry;
+ }
+
+ public String getText() {
+ return city + " (" + contry + ")";
+ }
+
+ public String toString() {
+ return city + " (" + contry + ")";
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sb/Sb.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sb/Sb.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sb/Sb.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,506 @@
+package org.domain.HelloWorld.session.sb;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlSuggestionBox;
+import org.richfaces.renderkit.html.SuggestionBoxRenderer;
+
+@Name("sb")
+(a)Scope(ScopeType.SESSION)
+public class Sb implements Serializable {
+
+ private ArrayList cities;
+ private ArrayList data;
+ private int first;
+ private int zindex;
+ private double frequency;
+ private String property;
+ private String rows;
+ private String cellspacing;
+ private String cellpadding;
+ private String minchars;
+ private String rules;
+ private String border;
+ private String width;
+ private String height;
+ private String shadowOpacity;
+ private String bgColor;
+ private String shadowDepth;
+ private Object tokens;
+ private boolean focus;
+ private boolean ajaxSingle;
+ private boolean rendered;
+ private boolean selfRendered;
+ private String value;
+ private String dir;
+ private int requestDelay;
+ private HtmlSuggestionBox mySuggestionBox = null;
+ private String bindLabel;
+ private boolean bypassUpdates;
+ private String frame;
+ private boolean ignoreDupResponses;
+ private boolean immediate;
+ private String nothingLabel;
+ private boolean usingSuggestObjects;
+
+ /*
+ * private static final String[] cit = { "Abba", "Abbeville", "Acworth",
+ * "Adairsville", "Adel", "Adrian", "Ailey", "Alamo", "Alapaha", "Albany",
+ * "Allenhurst", "Alma", "Alma", "Alpharetta", "Alston", "Amboy", "Ambrose",
+ * "Americus", "Appling", "Arlington", "Ashburn", "Athens", "Athens-Clarke
+ * County", "Atkinson", "Atlanta", "Attapulgus", "Auburn", "Augusta",
+ * "Augusta-Richmond County", "Austell", "Avondale Estates", "Axson" };
+ */
+ private static final String[] cityAfrica = {"Africa", "Algeria", "Angola", "Bassas da India", "Benin", "Botswana", "Burkina Faso", "Burundi", "Cameroon", "Central African Republic", "Chad", "Comoros", "Democratic Republic of the Congo", "Djibouti", "Egypt", "Equatorial Guinea", "Eritrea", "Ethiopia", "Europa Island", "Gabon", "Gambia", "Ghana", "Glorioso Islands", "Guinea", "Guinea-Bissau", "Ivory Coast", "Juan de Nova Island", "Kenya", "Lesotho", "Liberia", "Libya", "Madagascar", "Malawi", "Mali", "Mauritania", "Mauritius Island", "Mayotte", "Morocco", "Mozambique", "Namibia", "Niger", "Nigeria", "Republic of the Congo", "Reunion", "Rwanda", "Saint Helena", "Sao Tome and Principe", "Senegal", "Seychelles", "Sierra Leone", "Somalia", "South Africa", "Sudan", "Swaziland", "Tanzania", "Togo", "Tromelin Island", "Tunisia", "Uganda", "Western Sahara", "Zambia", "Zimbabwe"};
+ private static final String[] cityAsia = {"Asia", "Afghanistan", "Armenia", "Azerbaijan", "Bangladesh", "Bhutan", "China", "Georgia", "India", "Japan", "Kazakhstan", "Korea, North", "Korea, South", "Kyrgyzstan", "Maldives", "Mongolia", "Nepal", "Pakistan", "Russia", "Sri Lanka", "Tajikistan", "Turkmenistan", "Uzbekistan"};
+ private static final String[] cityCAmerica = {"Central America", "Belize", "Costa Rica", "El Salvador", "Guatemala", "Honduras", "Nicaragua", "Panama"};
+ private static final String[] cityEurope = {"Europe", "Albania", "Andorra", "Austria", "Belarus", "Belgium", "Bosnia and Herzegovina", "Bulgaria", "Canary Islands", "Croatia", "Czech Republic", "Denmark", "Estonia", "Faroe Islands", "Finland", "France", "Germany", "Gibraltar", "Greece", "Guernsey", "Hungary", "Iceland", "Ireland", "Isle of Man", "Italy", "Jersey", "Latvia", "Liechtenstein", "Lithuania", "Luxembourg", "Macedonia", "Malta", "Moldova", "Monaco", "Montenegro", "Netherlands", "Norway", "Poland", "Portugal", "Romania", "San Marino", "Serbia and Montenegro", "Slovakia", "Slovenia", "Spain", "Sweden", "Switzerland", "Ukraine", "United Kingdom", "Vatican The Holy See"};
+ private static final String[] cityMEast = {"Middle East", "Akrotiri", "Bahrain", "Cyprus", "Dhekelia", "Gaza Strip", "Iran", "Iraq", "Israel", "Jordan", "Kuwait", "Lebanon", "Oman", "Qatar", "Saudi Arabia", "Syria", "Turkey", "United Arab Emirates", "West Bank", "Yemen"};
+ private static final String[] cityNAmerica = {"North America", "Bermuda", "Canada", "Greenland", "Mexico", "Saint Pierre and Miquelon", "United States of America"};
+ private static final String[] cityOceania = {"Oceania", "American Samoa", "Australia", "Baker Island", "Cook Islands", "Coral Sea Islands", "Fiji", "French Polynesia", "Guam", "Howland Island", "Jarvis Island", "Johnston Atoll", "Kingman Reef", "Kiribati", "Marshall Islands", "Micronesia", "Midway Islands", "Nauru", "New Caledonia", "New Zealand", "Niue", "Norfolk Island", "Northern Mariana Islands", "Palau", "Palmyra Atoll", "Papua New Guinea", "Pitcairn Islands", "Samoa", "Solomon Islands", "Tokelau", "Tonga", "Tuvalu", "Vanuatu", "Wake Island", "Wallis and Futuna"};
+ private static final String[] citySAmerica = {"South America","Argentina", "Bolivia", "Brazil", "Chile", "Colombia", "Easter Island", "Ecuador", "Falkland Islands", "French Guiana", "Guyana", "Paraguay", "Peru", "Suriname", "Uruguay", "Venezuela"};
+ private static final String[] citySEAsia = {"SouthEast Asia", "Ashmore and Cartier Islands", "Brunei", "Burma", "Cambodia", "Christmas Island", "Cocos (Keeling) Islands", "East Timor", "Hong Kong", "Indonesia", "Laos", "Malaysia", "Paracel Islands", "Philippines", "Singapore", "Spratly Islands", "Taiwan", "Thailand", "Vietnam"};
+ private static final String[] cityCaribbean = {"The Caribbean", "Anguilla", "Antigua and Barbuda", "Aruba", "Barbados", "British Virgin Islands", "Cayman Islands", "Cuba", "Dominica", "Dominican Republic", "Grenada", "Guadeloupe", "Haiti", "Jamaica", "Martinique", "Montserrat", "Navassa Island", "Netherlands Antilles", "Puerto Rico", "Saint Barthelemy", "Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent and the Grenadines", "The Bahamas", "Trinidad and Tobago", "Turks and Caicos Islands", "Virgin Islands"};
+
+
+ public void addHtmlSuggestionBox(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(mySuggestionBox);
+ }
+
+ public Sb() {
+ ignoreDupResponses = true;
+ immediate = true;
+ dir = "LTR";
+ ajaxSingle = false;
+ rendered = true;
+ selfRendered = false;
+ value = "a, ";
+ requestDelay = 500;
+ tokens = "[ ,";
+ border = "1";
+ width = "200";
+ height = "150";
+ shadowOpacity = "1";
+ shadowDepth = Integer.toString(SuggestionBoxRenderer.SHADOW_DEPTH);
+ zindex = 3;
+ rows = "0";
+ first = 0;
+ cellspacing = "2";
+ cellpadding = "2";
+ minchars = "1";
+ frequency = 0;
+ rules = "none";
+ bindLabel = "Not checked";
+ bypassUpdates = true;
+ frame = "void";
+ nothingLabel = "Nothinf label works!";
+ usingSuggestObjects = true;
+ setCities(getAllData());
+ }
+
+ public void selectValue(ActionEvent actionEvent){
+ System.out.println("----inside selectValue(ActionEvent actionEvent)-----");
+ }
+
+ public void checkBinding(ActionEvent actionEvent) {
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = mySuggestionBox.getClientId(context) + "; param: " + mySuggestionBox.getParam();
+ }
+
+ public List autocomplete(Object event) {
+ String pref = event.toString();
+ ArrayList result = new ArrayList();
+
+ Iterator iterator = getAllData().iterator();
+ while (iterator.hasNext()) {
+ Data elem = (Data) iterator.next();
+ if ((elem != null && elem.getCity().toLowerCase().indexOf(
+ pref.toLowerCase()) == 0)
+ || "".equals(pref)) {
+ result.add(elem);
+ }
+ }
+ return result;
+ }
+
+ public ArrayList getCities() {
+ return cities;
+ }
+
+ public void setCities(ArrayList cities) {
+ this.cities = cities;
+ }
+
+ private ArrayList<Data> addData(String[] mStr, ArrayList<Data> arr) {
+ for (int i = 1; i < mStr.length; i++) {
+ Data data = new Data(mStr[i], mStr[0], false);
+ arr.add(data);
+ }
+ return arr;
+ }
+
+ public ArrayList getAllData() {
+ /*
+ * for (int i = 0; i < cit.length; i++) { Data data = new Data(cit[i],
+ * String.valueOf(i + 1)); result.add(data); }
+ */
+ ArrayList<Data> result = new ArrayList<Data>();
+ result = addData(cityAfrica, result);
+ result = addData(cityAsia, result);
+ result = addData(cityCAmerica, result);
+ result = addData(cityCaribbean, result);
+ result = addData(cityEurope, result);
+ result = addData(cityMEast, result);
+ result = addData(cityNAmerica, result);
+ result = addData(cityOceania, result);
+ result = addData(citySAmerica, result);
+ result = addData(citySEAsia, result);
+ return result;
+ }
+
+ public ArrayList getData() {
+ return data;
+ }
+
+ public void setData(ArrayList data) {
+ this.data = data;
+ }
+
+ public String getProperty() {
+ return property;
+ }
+
+ public void setProperty(String property) {
+ this.property = property;
+ }
+
+ public String getCellpadding() {
+ return cellpadding;
+ }
+
+ public void setCellpadding(String cellpadding) {
+ this.cellpadding = cellpadding;
+ }
+
+ public String getCellspacing() {
+ return cellspacing;
+ }
+
+ public void setCellspacing(String cellspacing) {
+ this.cellspacing = cellspacing;
+ }
+
+ public int getFirst() {
+ return first;
+ }
+
+ public int getIntFirst() {
+ return first;
+ }
+
+ public void setFirst(int first) {
+ this.first = first;
+ }
+
+ public double getFrequency() {
+ return frequency;
+ }
+
+ public void setFrequency(double frequency) {
+ this.frequency = frequency;
+ }
+
+ public String getMinchars() {
+ return minchars;
+ }
+
+ public void setMinchars(String minchars) {
+ this.minchars = minchars;
+ }
+
+ public String getRows() {
+ return rows;
+ }
+
+ public int getIntRows() {
+ return Integer.parseInt(getRows());
+ }
+
+ public void setRows(String rows) {
+ this.rows = rows;
+ }
+
+ public String getRules() {
+ return rules;
+ }
+
+ public void setRules(String rules) {
+ this.rules = rules;
+ }
+
+ public void OnSelect() {
+ System.out.print("Onselect works!!!");
+ }
+
+ public String getBorder() {
+ return border;
+ }
+
+ public void setBorder(String border) {
+ this.border = border;
+ }
+
+ public String getHeight() {
+ return height;
+ }
+
+ public void setHeight(String height) {
+ this.height = height;
+ }
+
+ public String getShadowOpacity() {
+ return shadowOpacity;
+ }
+
+ public void setShadowOpacity(String shadowOpacity) {
+ this.shadowOpacity = shadowOpacity;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public String getBgColor() {
+ return bgColor;
+ }
+
+ public void setBgColor(String bgColor) {
+ this.bgColor = bgColor;
+ }
+
+ public boolean isFocus() {
+ return focus;
+ }
+
+ public void setFocus(boolean focus) {
+ this.focus = focus;
+ }
+
+ public int getZindex() {
+ return zindex;
+ }
+
+ public void setZindex(int zindex) {
+ this.zindex = zindex;
+ }
+
+ public String getShadowDepth() {
+ return shadowDepth;
+ }
+
+ public void setShadowDepth(String shadowDepth) {
+ this.shadowDepth = shadowDepth;
+ }
+
+ public void bTest1() {
+ setBorder("2");
+ setCellpadding("0");
+ setCellspacing("0");
+ setFrequency(0);
+ setHeight("150");
+ setWidth("200");
+ setMinchars("1");
+ setShadowDepth("11");
+ setShadowOpacity("3");
+ setZindex(3);
+ }
+
+ public void bTest2() {
+ setBorder("0");
+ setCellpadding("3");
+ setCellspacing("3");
+ setFrequency(2);
+ setHeight("200");
+ setWidth("200");
+ setMinchars("1");
+ setShadowDepth("1");
+ setShadowOpacity("7");
+ setZindex(3);
+ }
+
+ public void bTest3() {
+ setBorder("1");
+ setCellpadding("5");
+ setCellspacing("0");
+ setFrequency(1);
+ setHeight("150");
+ setWidth("200");
+ setMinchars("2");
+ setShadowDepth("1");
+ setShadowOpacity("7");
+ setZindex(3);
+ }
+
+ public void bTest4() {
+ setBorder("1");
+ setCellpadding("0");
+ setCellspacing("5");
+ setFrequency(3);
+ setHeight("150");
+ setWidth("200");
+ setMinchars("2");
+ setShadowDepth("7");
+ setShadowOpacity("1");
+ setZindex(3);
+ }
+
+ public void bTest5() {
+ setBorder("4");
+ setCellpadding("1");
+ setCellspacing("1");
+ setFrequency(5);
+ setHeight("200");
+ setWidth("400");
+ setMinchars("2");
+ setShadowDepth("5");
+ setShadowOpacity("5");
+ setZindex(1);
+ }
+
+ public void setTokens(String tokens) {
+ this.tokens = tokens;
+ }
+
+ public Object getTokens() {
+ return tokens;
+ }
+
+ public void setTokens(Object tokens) {
+ this.tokens = tokens;
+ }
+
+ public boolean isAjaxSingle() {
+ return ajaxSingle;
+ }
+
+ public void setAjaxSingle(boolean ajaxSingle) {
+ this.ajaxSingle = ajaxSingle;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public boolean isSelfRendered() {
+ return selfRendered;
+ }
+
+ public void setSelfRendered(boolean selfRendered) {
+ this.selfRendered = selfRendered;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public int getRequestDelay() {
+ return requestDelay;
+ }
+
+ public void setRequestDelay(int requestDelay) {
+ this.requestDelay = requestDelay;
+ }
+
+ public String getDir() {
+ return dir;
+ }
+
+ public void setDir(String dir) {
+ this.dir = dir;
+ }
+
+ public HtmlSuggestionBox getMySuggestionBox() {
+ return mySuggestionBox;
+ }
+
+ public void setMySuggestionBox(HtmlSuggestionBox mySuggestionBox) {
+ this.mySuggestionBox = mySuggestionBox;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public boolean isBypassUpdates() {
+ return bypassUpdates;
+ }
+
+ public void setBypassUpdates(boolean bypassUpdates) {
+ this.bypassUpdates = bypassUpdates;
+ }
+
+ public String getFrame() {
+ return frame;
+ }
+
+ public void setFrame(String frame) {
+ this.frame = frame;
+ }
+
+ public boolean isIgnoreDupResponses() {
+ return ignoreDupResponses;
+ }
+
+ public void setIgnoreDupResponses(boolean ignoreDupResponses) {
+ this.ignoreDupResponses = ignoreDupResponses;
+ }
+
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+
+ public String getNothingLabel() {
+ return nothingLabel;
+ }
+
+ public void setNothingLabel(String nothingLabel) {
+ this.nothingLabel = nothingLabel;
+ }
+
+ public boolean isUsingSuggestObjects() {
+ return usingSuggestObjects;
+ }
+
+ public void setUsingSuggestObjects(boolean usingSuggestObjects) {
+ this.usingSuggestObjects = usingSuggestObjects;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/scrollableDataTable/ScrollableDataTable.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,257 @@
+package org.domain.HelloWorld.session.scrollableDataTable;
+
+import java.util.ArrayList;
+import java.util.GregorianCalendar;
+import org.ajax4jsf.model.DataComponentState;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.domain.HelloWorld.session.util.data.Data;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlScrollableDataTable;
+import org.richfaces.model.selection.Selection;
+
+/**
+ * @author AYanul
+ *
+ */
+@Name("scrollableDT")
+(a)Scope(ScopeType.SESSION)
+public class ScrollableDataTable
+{
+ private ArrayList<Data> data;
+ private String width;
+ private int rows;
+ private String key;
+ private boolean hideWhenScrolling;
+ private int dataLength;
+ private int frozenColCount;
+ private String sortMode;
+ private int first;
+ private boolean rendered;
+ private int timeout;
+ private String height;
+ private boolean limitToList;
+ private DataComponentState componentState;
+ private boolean bypassUpdates;
+ private boolean ignoreDupResponses;
+ private String eventsQueue;
+ private String activeRowKey;
+ private Selection selection;
+ private boolean ajaxSingle;
+ private GregorianCalendar date;
+ private HtmlScrollableDataTable htmlScrollableDataTable = null;
+
+ public void addHtmlScrollableDataTable(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlScrollableDataTable);
+ }
+
+ public HtmlScrollableDataTable getHtmlScrollableDataTable() {
+ return htmlScrollableDataTable;
+ }
+
+ public void setHtmlScrollableDataTable(
+ HtmlScrollableDataTable htmlScrollableDataTable) {
+ this.htmlScrollableDataTable = htmlScrollableDataTable;
+ }
+
+ public GregorianCalendar getDate() {
+ return date;
+ }
+
+ public void setDate(GregorianCalendar date) {
+ this.date = date;
+ }
+
+ public ScrollableDataTable() {
+ sortMode = "single";
+ width = "400px";
+ rows = 30;
+ hideWhenScrolling = false;
+ dataLength = 40;
+ data = new ArrayList<Data>();
+ first = 0;
+ rendered = true;
+ timeout = 0;
+ height = "400px";
+ limitToList = false;
+ bypassUpdates = false;
+ ignoreDupResponses = false;
+ ajaxSingle = false;
+ date = new GregorianCalendar();
+ addNewItem();
+ }
+
+ public Selection getSelection() {
+ return selection;
+ }
+
+ public void setSelection(Selection selection) {
+ this.selection = selection;
+ }
+
+ public int getFrozenColCount() {
+ return frozenColCount;
+ }
+
+ public void setFrozenColCount(int frozenColCount) {
+ this.frozenColCount = frozenColCount;
+ }
+
+ public int getFirst() {
+ return first;
+ }
+
+ public void setFirst(int first) {
+ this.first = first;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public int getTimeout() {
+ return timeout;
+ }
+
+ public void setTimeout(int timeout) {
+ this.timeout = timeout;
+ }
+
+ public String getHeight() {
+ return height;
+ }
+
+ public void setHeight(String height) {
+ this.height = height;
+ }
+
+ public boolean isLimitToList() {
+ return limitToList;
+ }
+
+ public void setLimitToList(boolean limitToList) {
+ this.limitToList = limitToList;
+ }
+
+ public DataComponentState getComponentState() {
+ return componentState;
+ }
+
+ public void setComponentState(DataComponentState componentState) {
+ this.componentState = componentState;
+ }
+
+ public boolean isBypassUpdates() {
+ return bypassUpdates;
+ }
+
+ public void setBypassUpdates(boolean bypassUpdates) {
+ this.bypassUpdates = bypassUpdates;
+ }
+
+ public boolean isIgnoreDupResponses() {
+ return ignoreDupResponses;
+ }
+
+ public void setIgnoreDupResponses(boolean ignoreDupResponses) {
+ this.ignoreDupResponses = ignoreDupResponses;
+ }
+
+ public String getEventsQueue() {
+ return eventsQueue;
+ }
+
+ public void setEventsQueue(String eventsQueue) {
+ this.eventsQueue = eventsQueue;
+ }
+
+ public String getActiveRowKey() {
+ return activeRowKey;
+ }
+
+ public void setActiveRowKey(String activeRowKey) {
+ this.activeRowKey = activeRowKey;
+ }
+
+ public String getKey() {
+ return key;
+ }
+
+ public boolean isHideWhenScrolling() {
+ return hideWhenScrolling;
+ }
+
+ public void setHideWhenScrolling(boolean hideWhenScrolling) {
+ this.hideWhenScrolling = hideWhenScrolling;
+ }
+
+ public void addNewItem() {
+ if(dataLength < 0) dataLength = 0;
+ if(data.size() > dataLength)
+ for(int i = data.size() - 1; i >= dataLength; i--)
+ data.remove(i);
+ else
+ for(int i = data.size(); i < dataLength; i++){
+ date.set(2008, 5, 14, 3, i);
+ data.add(new Data(i, "Text " + i, "Link " + i, "select" +(i % 5), Data.statusIcon[i % 5], date.getTime()));
+ }
+ }
+
+ public ArrayList<Data> getData() {
+ return data;
+ }
+
+ public void setData(ArrayList<Data> data) {
+ this.data = data;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public int getRows() {
+ return rows;
+ }
+
+ public void setRows(int rows) {
+ this.rows = rows;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public int getDataLength() {
+ return dataLength;
+ }
+
+ public void setDataLength(int dataLength) {
+ this.dataLength = dataLength;
+ }
+
+ public boolean isAjaxSingle() {
+ return ajaxSingle;
+ }
+
+ public void setAjaxSingle(boolean ajaxSingle) {
+ this.ajaxSingle = ajaxSingle;
+ }
+
+ public String getSortMode() {
+ return sortMode;
+ }
+
+ public void setSortMode(String sortMode) {
+ this.sortMode = sortMode;
+ }
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/separator/Separator.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/separator/Separator.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/separator/Separator.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,161 @@
+package org.domain.HelloWorld.session.separator;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlSeparator;
+
+@Name("separator")
+(a)Scope(ScopeType.SESSION)
+public class Separator {
+
+ private String width;
+ private String title;
+ private String height;
+ private String lineType;
+ private String align;
+ private String btnLabel="ON";
+ private String style;
+ private HtmlSeparator htmlSeparator = null;
+ private boolean rendered;
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlSeparator);
+ return null;
+ }
+
+ public String getBtnLabel() {
+ return btnLabel;
+ }
+
+ public void setBtnLabel(String btnLabel) {
+ this.btnLabel = btnLabel;
+ }
+
+ public String getStyle() {
+ return style;
+ }
+
+ public void setStyle(String style) {
+ this.style = style;
+ }
+
+ public Separator() {
+ width="300px";
+ height="10px";
+ title="title goes here";
+ rendered=true;
+ lineType="beveled";//beveled (default), dotted, dashed, double and solid
+ align="left"; //left|center|right
+ style=null;
+ }
+
+ public void doStyles() {
+ if (getStyle() == null) {
+ setBtnLabel("OFF");
+ setStyle("style");
+ } else {
+ setStyle(null);
+ setBtnLabel("ON");
+ }
+
+ }
+
+ public String getAlign() {
+ return align;
+ }
+
+ public void setAlign(String align) {
+ this.align = align;
+ }
+
+ public String getHeight() {
+ return height;
+ }
+
+ public void setHeight(String height) {
+ this.height = height;
+ }
+
+ public String getLineType() {
+ return lineType;
+ }
+
+ public void setLineType(String lineType) {
+ this.lineType = lineType;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public void bTest1(){
+ setAlign("left");
+ setHeight("300px");
+ setWidth("10px");
+ setLineType("beveled");
+ setTitle("Test1");
+ }
+
+ public void bTest2(){
+ setAlign("center");
+ setHeight("50px");
+ setWidth("600px");
+ setLineType("dotted");
+ setTitle("Test2");
+ }
+
+ public void bTest3(){
+ setAlign("right");
+ setHeight("150px");
+ setWidth("200px");
+ setLineType("dashed");
+ setTitle("Test3");
+ }
+
+ public void bTest4(){
+ setAlign("left");
+ setHeight("20px");
+ setWidth("300px");
+ setLineType("double");
+ setTitle("Test4");
+ }
+
+ public void bTest5(){
+ setAlign("left");
+ setHeight("100px");
+ setWidth("100px");
+ setLineType("solid");
+ setTitle("Test5");
+ }
+
+ public HtmlSeparator getHtmlSeparator() {
+ return htmlSeparator;
+ }
+
+ public void setHtmlSeparator(HtmlSeparator htmlSeparator) {
+ this.htmlSeparator = htmlSeparator;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/skinning/Skinning.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/skinning/Skinning.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/skinning/Skinning.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,279 @@
+package org.domain.HelloWorld.session.skinning;
+
+import java.util.ArrayList;
+import javax.faces.model.SelectItem;
+
+import org.jboss.seam.annotations.Name;
+
+@Name("skinning")
+public class Skinning {
+ private ArrayList<SelectItem> list = new ArrayList<SelectItem>();
+ private ArrayList<SelectItem> enableStyle = new ArrayList<SelectItem>();
+ private ArrayList<SelectItem> disabledStyle = new ArrayList<SelectItem>();
+ private final int MAX_SIZE = 5;
+ private String selectSkinning = "none";
+ private String skinning = "disable";
+ private String skinningClass = "disable";
+ private String commandButton = "rich-button";
+ private String commandLink = "rich-link";
+ private String dataTable = "rich-isindex";
+ private String inputSecret = "inputSecret";
+ private String inputSecretStyleClass = "rich-input";
+ private String inputTextStyleClass = "rich-input";
+ private String inputText = "inputText";
+ private String inputTextarea = "inputTextarea\nRichFaces";
+ private String inputTextareaStyleClass = "rich-textarea";
+ private String outputLink = "rich-link";
+ private String outputText = "rich-link";
+ private String selectBooleanCheckboxStyleClass = "rich-select";
+ private boolean selectBooleanCheckbox1 = true;
+ private boolean selectBooleanCheckbox2 = false;
+ private String selectManyCheckbox = "rich-select";
+ private String selectManyListbox = "rich-select";
+ private String selectManyListBox = "rich-select";
+ private String selectManyMenu = "rich-select";
+ private String selectOneListbox = "rich-select";
+ private String selectOneMenu = "rich-select";
+ private String selectOneRadio = "rich-select";
+
+ public Skinning() {
+ for(int i = 0; i < MAX_SIZE; i++){
+ list.add(new SelectItem("item " + i));
+ }
+ }
+
+ public String getCommandButton() {
+ return commandButton;
+ }
+
+ public void setCommandButton(String commandButton) {
+ this.commandButton = commandButton;
+ }
+
+ public String getCommandLink() {
+ return commandLink;
+ }
+
+ public void setOmmandLink(String commandLink) {
+ this.commandLink = commandLink;
+ }
+
+ public String getDataTable() {
+ return dataTable;
+ }
+
+ public void setDataTable(String dataTable) {
+ this.dataTable = dataTable;
+ }
+
+ public String getInputSecret() {
+ return inputSecret;
+ }
+
+ public void setInputSecret(String inputSecret) {
+ this.inputSecret = inputSecret;
+ }
+
+ public String getInputTextStyleClass() {
+ return inputTextStyleClass;
+ }
+
+ public void setInputTextStyleClass(String inputTextStyleClass) {
+ this.inputTextStyleClass = inputTextStyleClass;
+ }
+
+ public String getInputTextarea() {
+ return inputTextarea;
+ }
+
+ public void setInputTextarea(String inputTextarea) {
+ this.inputTextarea = inputTextarea;
+ }
+
+ public String getOutputLink() {
+ return outputLink;
+ }
+
+ public void setOutputLink(String outputLink) {
+ this.outputLink = outputLink;
+ }
+
+ public String getOutputText() {
+ return outputText;
+ }
+
+ public void setOutputText(String outputText) {
+ this.outputText = outputText;
+ }
+
+ public String getSelectBooleanCheckboxStyleClass() {
+ return selectBooleanCheckboxStyleClass;
+ }
+
+ public void setSelectBooleanCheckboxStyleClass(String selectBooleanCheckboxStyleClass) {
+ this.selectBooleanCheckboxStyleClass = selectBooleanCheckboxStyleClass;
+ }
+
+ public String getSelectManyListBox() {
+ return selectManyListBox;
+ }
+
+ public void setSelectManyListBox(String selectManyListBox) {
+ this.selectManyListBox = selectManyListBox;
+ }
+
+ public String getSelectManyMenu() {
+ return selectManyMenu;
+ }
+
+ public void setSelectManyMenu(String selectManyMenu) {
+ this.selectManyMenu = selectManyMenu;
+ }
+
+ public String getSelectOneListbox() {
+ return selectOneListbox;
+ }
+
+ public void setSelectOneListbox(String selectOneListbox) {
+ this.selectOneListbox = selectOneListbox;
+ }
+
+ public String getSelectOneMenu() {
+ return selectOneMenu;
+ }
+
+ public void setSelectOneMenu(String selectOneMenu) {
+ this.selectOneMenu = selectOneMenu;
+ }
+
+ public String getSelectOneRadio() {
+ return selectOneRadio;
+ }
+
+ public void setSelectOneRadio(String selectOneRadio) {
+ this.selectOneRadio = selectOneRadio;
+ }
+
+ public String getSelectManyCheckbox() {
+ return selectManyCheckbox;
+ }
+
+ public void setSelectManyCheckbox(String selectManyCheckbox) {
+ this.selectManyCheckbox = selectManyCheckbox;
+ }
+
+ public void setCommandLink(String commandLink) {
+ this.commandLink = commandLink;
+ }
+
+ public String getSelectSkinning() {
+ return selectSkinning;
+ }
+
+ public String getSkinning() {
+ return skinning;
+ }
+
+ public void setSkinning(String skinning) {
+ this.skinning = skinning;
+ }
+
+ public String getSkinningClass() {
+ return skinningClass;
+ }
+
+ public void setSkinningClass(String skinningClass) {
+ this.skinningClass = skinningClass;
+ }
+
+ public void setSelectSkinning(String selectSkinning) {
+ if (selectSkinning.equals("SKINNING")) {
+ setSkinning("enable");
+ } else if (selectSkinning.equals("SKINNING_CLASSES")) {
+ setSkinning("disable");
+ setSkinningClass("enable");
+ } else {
+ setSkinning("disable");
+ setSkinningClass("disable");
+ }
+ this.selectSkinning = selectSkinning;
+ }
+
+ /**
+ * @return the list
+ */
+ public ArrayList<SelectItem> getList() {
+ return list;
+ }
+
+ /**
+ * @param list the list to set
+ */
+ public void setList(ArrayList<SelectItem> list) {
+ this.list = list;
+ }
+
+ public String getInputText() {
+ return inputText;
+ }
+
+ public void setInputText(String inputText) {
+ this.inputText = inputText;
+ }
+
+ public ArrayList<SelectItem> getEnableStyle() {
+ return enableStyle;
+ }
+
+ public void setEnableStyle(ArrayList<SelectItem> enableStyle) {
+ this.enableStyle = enableStyle;
+ }
+
+ public ArrayList<SelectItem> getDisabledStyle() {
+ return disabledStyle;
+ }
+
+ public void setDisabledStyle(ArrayList<SelectItem> disabledStyle) {
+ this.disabledStyle = disabledStyle;
+ }
+
+ public String getInputSecretStyleClass() {
+ return inputSecretStyleClass;
+ }
+
+ public void setInputSecretStyleClass(String inputSecretStyleClass) {
+ this.inputSecretStyleClass = inputSecretStyleClass;
+ }
+
+ public String getInputTextareaStyleClass() {
+ return inputTextareaStyleClass;
+ }
+
+ public void setInputTextareaStyleClass(String inputTextareaStyleClass) {
+ this.inputTextareaStyleClass = inputTextareaStyleClass;
+ }
+
+ public boolean getSelectBooleanCheckbox1() {
+ return selectBooleanCheckbox1;
+ }
+
+ public void setSelectBooleanCheckbox1(boolean selectBooleanCheckbox1) {
+ this.selectBooleanCheckbox1 = selectBooleanCheckbox1;
+ }
+
+ public boolean getSelectBooleanCheckbox2() {
+ return selectBooleanCheckbox2;
+ }
+
+ public void setSelectBooleanCheckbox2(boolean selectBooleanCheckbox2) {
+ this.selectBooleanCheckbox2 = selectBooleanCheckbox2;
+ }
+
+ public String getSelectManyListbox() {
+ return selectManyListbox;
+ }
+
+ public void setSelectManyListbox(String selectManyListbox) {
+ this.selectManyListbox = selectManyListbox;
+ }
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/sortingAndFiltering/SortingAndFiltering.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,155 @@
+package org.domain.HelloWorld.session.sortingAndFiltering;
+
+import java.util.ArrayList;
+import java.util.Comparator;
+import java.util.Random;
+
+import javax.faces.context.FacesContext;
+import javax.persistence.Entity;
+import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
+
+import org.richfaces.component.html.HtmlDataTable;
+import org.richfaces.model.Ordering;
+import org.domain.HelloWorld.session.util.data.Data;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Factory;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.jboss.seam.annotations.datamodel.DataModel;
+
+@Name("sortingAndFiltering")
+(a)Scope(ScopeType.SESSION)
+public class SortingAndFiltering {
+ private ArrayList<Data> data;
+ private String sortMode;
+ private boolean selfSorted;
+ private boolean sortable;
+ private String sortExpression;
+ private Ordering sortOrder;
+ private String currentSortOrder;
+ private String filterInput;
+ private String filterValue;
+ private HtmlDataTable myDataTable = null;
+
+ private EntityManager mEntityManager;
+
+ private final Comparator<Data> comparator = new Comparator<Data> () {
+ public int compare(Data o1, Data o2) {
+ return o1.getStr1().length() - o2.getStr1().length();
+ }
+ };
+
+ public String getFilterValue() {
+ return filterValue;
+ }
+
+ public void setFilterValue(String filterValue) {
+ this.filterValue = filterValue;
+ }
+
+ public String getFilterInput() {
+ return filterInput;
+ }
+
+ public void setFilterInput(String filterInput) {
+ this.filterInput = filterInput;
+ }
+ public SortingAndFiltering() {
+ filterValue = "";
+ filterInput = "";
+ data = new ArrayList<Data>();
+ sortMode = "single";
+ sortOrder = Ordering.ASCENDING;
+ currentSortOrder = "ASCENDING";
+ boolean b = true;
+ Random r = new Random();
+ for(int i = 0; i < 10; i++)
+ data.add(new Data(i, r.nextInt(1000), "dataScroller1", r.nextInt(10000) + 98389, Data.Random(r.nextInt(10) + 1), r.nextInt(500000), Data.statusIcon[i % 5], Data.Random(3), false)); //new Data(i, Data.Random(5), Data.statusIcon[i % 5], Data.Random(6), false));
+ data.add(new Data(11, r.nextInt(1000), "dataTable_scroll1", r.nextInt(10000) + 98389, Data.Random(r.nextInt(10) + 1), r.nextInt(500000), Data.statusIcon[11 % 5], Data.Random(3), false)); //new Data(i, Data.Random(5), Data.statusIcon[i % 5], Data.Random(6), false));
+ }
+
+
+ public String getSortMode() {
+ return sortMode;
+ }
+
+ public void setSortMode(String sortMode) {
+ this.sortMode = sortMode;
+ }
+
+ public boolean isSelfSorted() {
+ return selfSorted;
+ }
+
+ public void setSelfSorted(boolean selfSorted) {
+ this.selfSorted = selfSorted;
+ }
+
+ public String getSortExpression() {
+ return sortExpression;
+ }
+
+ public void setSortExpression(String sortExpression) {
+ this.sortExpression = sortExpression;
+ }
+ public ArrayList<Data> getData() {
+ return data;
+ }
+ public void setData(ArrayList<Data> data) {
+ this.data = data;
+ }
+
+ public boolean isSortable() {
+ return sortable;
+ }
+
+ public void setSortable(boolean sortable) {
+ this.sortable = sortable;
+ }
+
+ public Ordering getSortOrder() {
+ return sortOrder;
+ }
+
+ public void setSortOrder(Ordering sortOrder) {
+ this.sortOrder = sortOrder;
+ }
+
+ public String getCurrentSortOrder() {
+ return currentSortOrder;
+ }
+
+ public void setCurrentSortOrder(String currentSortOrder) {
+ if("DESCENDING".equals(currentSortOrder)) this.sortOrder = Ordering.DESCENDING;
+ else if("UNSORTED".equals(currentSortOrder)) this.sortOrder = Ordering.UNSORTED;
+ else if("ASCENDING".equals(currentSortOrder)) this.sortOrder = Ordering.ASCENDING;
+ this.currentSortOrder = currentSortOrder;
+ }
+
+ public boolean filterMethod(Object obj) {
+ String value = ((Data) obj).getStr0();
+ if (null == value) {
+ return (null == filterInput);
+ }
+ return value.startsWith(filterInput);
+ }
+
+ public Comparator<Data> getComparator() {
+ return comparator;
+ }
+ public String navAction(Data data12){
+
+ System.out.println("action: " + data12.getStr1());
+ return data12.getStr1();
+ }
+
+ public HtmlDataTable getMyDataTable() {
+ return myDataTable;
+ }
+
+ public void setMyDataTable(HtmlDataTable myDataTable) {
+ this.myDataTable = myDataTable;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/spacer/Spacer.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/spacer/Spacer.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/spacer/Spacer.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,128 @@
+package org.domain.HelloWorld.session.spacer;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlSpacer;
+
+@Name("spacer")
+(a)Scope(ScopeType.SESSION)
+public class Spacer {
+
+ private String width;
+ private String height;
+ private String style;
+ private String btn;
+ private String title;
+ private boolean rendered;
+ private HtmlSpacer htmlSpacer = null;
+
+ public HtmlSpacer getHtmlSpacer() {
+ return htmlSpacer;
+ }
+
+ public void setHtmlSpacer(HtmlSpacer htmlSpacer) {
+ this.htmlSpacer = htmlSpacer;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlSpacer);
+ return null;
+ }
+
+ public Spacer() {
+ title = "title text";
+ height = "50px";
+ width = "300px";
+ rendered = true;
+ style = null;
+ btn = "Switch on styleClass";
+ }
+
+ public String getHeight() {
+ return height;
+ }
+
+ public void setHeight(String height) {
+ this.height = height;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public String getStyle() {
+ return style;
+ }
+
+ public void setStyle(String style) {
+ this.style = style;
+ }
+
+ public String doStyle() {
+ if (getStyle() == null) {
+ setBtn("Switch off styleClass");
+ setStyle("spacer");
+ } else {
+ setStyle(null);
+ setBtn("Switch on styleClass");
+ }
+ // if("spacer".equals(getStyle())) setStyle(null);
+ return null;
+ }
+
+ public String getBtn() {
+ return btn;
+ }
+
+ public void setBtn(String btn) {
+ this.btn = btn;
+ }
+
+ public void bTest1(){
+ setHeight("100");
+ setWidth("10");
+ }
+
+ public void bTest2(){
+ setHeight("10");
+ setWidth("100");
+ }
+
+ public void bTest3(){
+ setHeight("5");
+ setWidth("5");
+ }
+
+ public void bTest4(){
+ setHeight("100");
+ setWidth("100");
+ }
+
+ public void bTest5(){
+ setHeight("400");
+ setWidth("200");
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tabPanel/TabPanel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tabPanel/TabPanel.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tabPanel/TabPanel.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,290 @@
+package org.domain.HelloWorld.session.tabPanel;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlTabPanel;
+
+@Name("tabPanel")
+(a)Scope(ScopeType.SESSION)
+public class TabPanel {
+
+ private String width;
+ private String height;
+ private String title;
+ private String switchType; //"client", "server"(default), "ajax"
+ private String headerAlignment; //"left", "center" and "right".
+ private String headerSpacing;
+ private String selectedTab;
+ private String labelWidth;
+ private String label;
+ private String activeTabStyle;
+ private String disabledTabStyle;
+ private String inactiveTabStyle;
+ private String contentStyle;
+ private String BtnLabel="ON";
+ private boolean immediate;
+ private HtmlTabPanel htmlTabPanel = null;
+ private boolean rendered;
+ private boolean disabledTab;
+
+ public TabPanel() {
+ width="75%";
+ height="200px";
+ title="title goes here...";
+ switchType="server";
+ headerAlignment="center";
+ headerSpacing="20px";
+ label="Tab Label";
+ labelWidth="150px";
+
+ activeTabStyle=null;
+ disabledTabStyle=null;
+ inactiveTabStyle=null;
+ contentStyle=null;
+
+ immediate = false;
+ rendered=true;
+ disabledTab=false;
+
+ }
+
+ public void doStyles()
+ {
+ if (getContentStyle() == null) {
+ setBtnLabel("Off");
+ setActiveTabStyle("activeTabStyle");
+ setContentStyle("contentStyle");
+ setDisabledTabStyle("disabledTabStyle");
+ setInactiveTabStyle("inactiveTabStyle");
+ } else {
+ setBtnLabel("ON");
+ setActiveTabStyle(null);
+ setContentStyle(null);
+ setDisabledTabStyle(null);
+ setInactiveTabStyle(null);
+ }
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlTabPanel);
+ return null;
+ }
+
+ public String getHeaderAlignment() {
+ return headerAlignment;
+ }
+
+ public void setHeaderAlignment(String headerAlignment) {
+ this.headerAlignment = headerAlignment;
+ }
+
+ public String getHeaderSpacing() {
+ return headerSpacing;
+ }
+
+ public void setHeaderSpacing(String headerSpacing) {
+ this.headerSpacing = headerSpacing;
+ }
+
+ public String getHeight() {
+ return height;
+ }
+
+ public void setHeight(String height) {
+ this.height = height;
+ }
+
+ public String getLabel() {
+ return label;
+ }
+
+ public void setLabel(String label) {
+ this.label = label;
+ }
+
+ public String getLabelWidth() {
+ return labelWidth;
+ }
+
+ public void setLabelWidth(String labelWidth) {
+ this.labelWidth = labelWidth;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getSelectedTab() {
+ return selectedTab;
+ }
+
+ public void setSelectedTab(String selectedTab) {
+ this.selectedTab = selectedTab;
+ }
+
+ public String getSwitchType() {
+ return switchType;
+ }
+
+ public void setSwitchType(String switchType) {
+ this.switchType = switchType;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public boolean isDisabledTab() {
+ return disabledTab;
+ }
+
+ public void setDisabledTab(boolean disabledTab) {
+ this.disabledTab = disabledTab;
+ }
+
+ public String getActiveTabStyle() {
+ return activeTabStyle;
+ }
+
+ public void setActiveTabStyle(String activeTabStyle) {
+ this.activeTabStyle = activeTabStyle;
+ }
+
+ public String getContentStyle() {
+ return contentStyle;
+ }
+
+ public void setContentStyle(String contentStyle) {
+ this.contentStyle = contentStyle;
+ }
+
+ public String getDisabledTabStyle() {
+ return disabledTabStyle;
+ }
+
+ public void setDisabledTabStyle(String disabledTabStyl) {
+ this.disabledTabStyle = disabledTabStyl;
+ }
+
+ public String getInactiveTabStyle() {
+ return inactiveTabStyle;
+ }
+
+ public void setInactiveTabStyle(String inactiveTabStyle) {
+ this.inactiveTabStyle = inactiveTabStyle;
+ }
+
+ public String getBtnLabel() {
+ return BtnLabel;
+ }
+
+ public void setBtnLabel(String btnLabel) {
+ BtnLabel = btnLabel;
+ }
+
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+
+ public void bTest1() {
+ setDisabledTab(false);
+ setHeaderAlignment("left");
+ setHeaderSpacing("10px");
+ setHeight("250px");
+ setImmediate(false);
+ setLabel("Test 1");
+ setLabelWidth("10px");
+ setWidth("300px");
+ setSelectedTab("2");
+ setSwitchType("server");
+ setTitle("Title test 1");
+ }
+
+ public void bTest2() {
+ setDisabledTab(true);
+ setHeaderAlignment("right");
+ setHeaderSpacing("40px");
+ setHeight("400px");
+ setImmediate(false);
+ setLabel("Test 2");
+ setLabelWidth("40px");
+ setWidth("40%");
+ setSelectedTab("1");
+ setSwitchType("ajax");
+ setTitle("Title test2");
+ }
+
+ public void bTest3() {
+ setDisabledTab(false);
+ setHeaderAlignment("center");
+ setHeaderSpacing("20px");
+ setHeight("20%");
+ setImmediate(false);
+ setLabel("Test 3");
+ setLabelWidth("400px");
+ setWidth("600px");
+ setSelectedTab("3");
+ setSwitchType("client");
+ setTitle("Title test 3");
+ }
+
+ public void bTest4() {
+ setDisabledTab(true);
+ setHeaderAlignment("left");
+ setHeaderSpacing("300px");
+ setHeight("500px");
+ setImmediate(false);
+ setLabel("Teset 4");
+ setLabelWidth("500px");
+ setWidth("500px");
+ setSelectedTab("2");
+ setSwitchType("server");
+ setTitle("Title test 4");
+ }
+
+ public void bTest5() {
+ setDisabledTab(false);
+ setHeaderAlignment("left");
+ setHeaderSpacing("20px");
+ setHeight("40%");
+ setImmediate(false);
+ setLabel("Test 5");
+ setLabelWidth("40px");
+ setWidth("10%");
+ setSelectedTab("3");
+ setSwitchType("client");
+ setTitle("Title test 5");
+ }
+
+ public HtmlTabPanel getHtmlTabPanel() {
+ return htmlTabPanel;
+ }
+
+ public void setHtmlTabPanel(HtmlTabPanel htmlTabPanel) {
+ this.htmlTabPanel = htmlTabPanel;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/togglePanel/TogglePanel.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/togglePanel/TogglePanel.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/togglePanel/TogglePanel.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,91 @@
+package org.domain.HelloWorld.session.togglePanel;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlTogglePanel;
+
+@Name("togglePanel")
+(a)Scope(ScopeType.SESSION)
+public class TogglePanel {
+
+ private String initialState;
+ private String stateOrder;
+ private String switchType;
+ private HtmlTogglePanel htmlToglePanel = null;
+
+ public HtmlTogglePanel getHtmlToglePanel() {
+ return htmlToglePanel;
+ }
+
+ public void setHtmlToglePanel(HtmlTogglePanel htmlToglePanel) {
+ this.htmlToglePanel = htmlToglePanel;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlToglePanel);
+ return null;
+ }
+
+ public TogglePanel() {
+ initialState="asus";
+ switchType="server";
+ stateOrder="asus,benq,toshiba";
+ }
+
+ public String getInitialState() {
+ return initialState;
+ }
+
+ public void setInitialState(String initialState) {
+ this.initialState = initialState;
+ }
+
+ public String getStateOrder() {
+ return stateOrder;
+ }
+
+ public void setStateOrder(String stateOrder) {
+ this.stateOrder = stateOrder;
+ }
+
+ public String getSwitchType() {
+ return switchType;
+ }
+
+ public void setSwitchType(String switchType) {
+ this.switchType = switchType;
+ }
+
+ public void bTest1() {
+ setInitialState("asus");
+ setStateOrder("asus,benq,toshiba");
+ setSwitchType("client");
+ }
+
+ public void bTest2() {
+ setInitialState("benq");
+ setStateOrder("toshiba,asus,benq");
+ setSwitchType("client");
+ }
+
+ public void bTest3() {
+ setInitialState("asus");
+ setStateOrder("asus,benq,toshiba");
+ setSwitchType("server");
+ }
+
+ public void bTest4() {
+ setInitialState("benq");
+ setStateOrder("asus,benq,toshiba");
+ setSwitchType("ajax");
+ }
+
+ public void bTest5() {
+ setInitialState("toshiba");
+ setStateOrder("toshiba,asus,benq");
+ setSwitchType("ajax");
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/toolBar/ToolBar.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/toolBar/ToolBar.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/toolBar/ToolBar.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,158 @@
+package org.domain.HelloWorld.session.toolBar;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlToolBar;
+
+@Name("toolBar")
+(a)Scope(ScopeType.SESSION)
+public class ToolBar {
+
+ private String width;
+ private String height;
+ private String itemSeparator;//none, line, square, disc and grid
+ private String location;//A location of a group on a menu bar. Possible values are left and right
+ private HtmlToolBar htmlToolBar = null;
+ private String contentStyle;
+ private String separatorStyle;
+ private String btnLabel="ON";
+ private boolean rendered;
+
+
+
+ public ToolBar() {
+ rendered=true;
+ width="75%";
+ height="50px";
+ itemSeparator="square";
+ location="left";
+ contentStyle=null;
+ separatorStyle=null;
+ }
+
+
+ public void doStyles()
+ {
+ if (getSeparatorStyle() == null) {
+ setBtnLabel("OFF");
+ setContentStyle("contentStyle");
+ setSeparatorStyle("separatorStyle");
+
+ } else {
+ setBtnLabel("ON");
+ setContentStyle(null);
+ setSeparatorStyle(null);
+ }
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlToolBar);
+ return null;
+ }
+
+ public String getHeight() {
+ return height;
+ }
+
+
+
+ public void setHeight(String height) {
+ this.height = height;
+ }
+
+
+
+ public String getItemSeparator() {
+ return itemSeparator;
+ }
+
+
+
+ public void setItemSeparator(String itemSeparator) {
+ this.itemSeparator = itemSeparator;
+ }
+
+
+
+ public String getLocation() {
+ return location;
+ }
+
+
+
+ public void setLocation(String location) {
+ this.location = location;
+ }
+
+
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+
+
+ public String getWidth() {
+ return width;
+ }
+
+
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+
+
+ public String getContentStyle() {
+ return contentStyle;
+ }
+
+
+
+ public void setContentStyle(String contentStyle) {
+ this.contentStyle = contentStyle;
+ }
+
+
+
+ public String getSeparatorStyle() {
+ return separatorStyle;
+ }
+
+
+
+ public void setSeparatorStyle(String separatorStyle) {
+ this.separatorStyle = separatorStyle;
+ }
+
+
+ public String getBtnLabel() {
+ return btnLabel;
+ }
+
+
+ public void setBtnLabel(String btnLabel) {
+ this.btnLabel = btnLabel;
+ }
+
+
+ public HtmlToolBar getHtmlToolBar() {
+ return htmlToolBar;
+ }
+
+
+ public void setHtmlToolBar(HtmlToolBar htmlToolBar) {
+ this.htmlToolBar = htmlToolBar;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/toolTip/Tooltip.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/toolTip/Tooltip.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/toolTip/Tooltip.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,236 @@
+package org.domain.HelloWorld.session.toolTip;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlToolTip;
+
+@Name("tooltip")
+(a)Scope(ScopeType.SESSION)
+public class Tooltip {
+
+ private boolean followMouse;
+ private boolean rendered;
+ private boolean disabled;
+ private int horizontalOffset;
+ private int verticalOffset;
+ private int delay;
+ private int hideDelay;
+ private int showDelay;
+ private String value;
+ private String mode;
+ private String direction;
+ private String style;
+ private String layout;
+ private String event;
+ private HtmlToolTip htmlToolTip = null;
+
+ public HtmlToolTip getHtmlToolTip() {
+ return htmlToolTip;
+ }
+
+ public void setHtmlToolTip(HtmlToolTip htmlToolTip) {
+ this.htmlToolTip = htmlToolTip;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlToolTip);
+ return null;
+ }
+
+ public String getEvent() {
+ return event;
+ }
+
+ public void setEvent(String event) {
+ this.event = event;
+ }
+
+ public String getLayout() {
+ return layout;
+ }
+
+ public void setLayout(String layout) {
+ this.layout = layout;
+ }
+
+ public Tooltip() {
+ event = "onmouseover";
+ showDelay = 100;
+ hideDelay = 10;
+ followMouse = false;
+ rendered = true;
+ disabled = false;
+ value = "tooltip";
+ mode = "client";
+ direction = "top-right";
+ horizontalOffset = 0;
+ verticalOffset = 0;
+ delay = 0;
+ style = "none";
+ layout = "inline";
+ }
+
+ public String getDirection() {
+ return direction;
+ }
+
+ public void setDirection(String direction) {
+ this.direction = direction;
+ }
+
+ public boolean isFollowMouse() {
+ return followMouse;
+ }
+
+ public void setFollowMouse(boolean followMouse) {
+ this.followMouse = followMouse;
+ }
+
+ public int getHorizontalOffset() {
+ return horizontalOffset;
+ }
+
+ public void setHorizontalOffset(int horizontalOffset) {
+ this.horizontalOffset = horizontalOffset;
+ }
+
+ public boolean isDisabled() {
+ return disabled;
+ }
+
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ public String getMode() {
+ return mode;
+ }
+
+ public void setMode(String mode) {
+ this.mode = mode;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public int getVerticalOffset() {
+ return verticalOffset;
+ }
+
+ public void setVerticalOffset(int verticalOffset) {
+ this.verticalOffset = verticalOffset;
+ }
+
+ public String getStyle() {
+ return style;
+ }
+
+ public void setStyle(String style) {
+ this.style = style;
+ }
+
+ public int getDelay() {
+ return delay;
+ }
+
+ public void setDelay(int delay) {
+ this.delay = delay;
+ }
+
+ public void bTest1(){
+ setDelay(0);
+ setDirection("top-right");
+ setDisabled(false);
+ setFollowMouse(false);
+ setHorizontalOffset(0);
+ setVerticalOffset(0);
+ setLayout("inline");
+ setMode("client");
+ setValue("Test1");
+ setRendered(true);
+ }
+
+ public void bTest2(){
+ setDelay(0);
+ setDirection("top-left");
+ setDisabled(false);
+ setFollowMouse(false);
+ setHorizontalOffset(5);
+ setVerticalOffset(5);
+ setLayout("block");
+ setMode("ajax");
+ setValue("Test2");
+ setRendered(true);
+ }
+
+ public void bTest3(){
+ setDelay(0);
+ setDirection("bottom-right");
+ setDisabled(false);
+ setFollowMouse(true);
+ setHorizontalOffset(5);
+ setVerticalOffset(0);
+ setLayout("inline");
+ setMode("client");
+ setValue("Test3");
+ setRendered(true);
+ }
+
+ public void bTest4(){
+ setDelay(0);
+ setDirection("bottom-left");
+ setDisabled(false);
+ setFollowMouse(true);
+ setHorizontalOffset(0);
+ setVerticalOffset(5);
+ setLayout("block");
+ setMode("client");
+ setValue("Test4");
+ setRendered(true);
+ }
+
+ public void bTest5(){
+ setDelay(0);
+ setDirection("bottom-right");
+ setDisabled(false);
+ setFollowMouse(true);
+ setHorizontalOffset(-5);
+ setVerticalOffset(-5);
+ setLayout("inline");
+ setMode("ajax");
+ setValue("Test5");
+ setRendered(true);
+ }
+
+ public int getHideDelay() {
+ return hideDelay;
+ }
+
+ public void setHideDelay(int hideDelay) {
+ this.hideDelay = hideDelay;
+ }
+
+ public int getShowDelay() {
+ return showDelay;
+ }
+
+ public void setShowDelay(int showDelay) {
+ this.showDelay = showDelay;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Bean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Bean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Bean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,347 @@
+package org.domain.HelloWorld.session.tree;
+
+import java.io.IOException;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.LinkedHashMap;
+import java.util.Map;
+import java.util.Set;
+import javax.faces.FacesException;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.event.FacesEvent;
+import org.ajax4jsf.context.AjaxContext;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.UITree;
+import org.richfaces.component.UITreeNode;
+import org.richfaces.component.xml.XmlTreeDataBuilder;
+import org.richfaces.event.DropEvent;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeSelectedEvent;
+import org.richfaces.model.ListRowKey;
+import org.richfaces.model.TreeNode;
+import org.richfaces.model.TreeNodeImpl;
+import org.richfaces.model.TreeRowKey;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+@Name("treeBean")
+(a)Scope(ScopeType.SESSION)
+public class Bean {
+ private String switchType = "client";
+ private TreeNode data;
+ private TreeNode selectedNode = null;
+ private Map selectedNodeChildren = new LinkedHashMap();
+ private String commandButtonCaption = "Set user icons";
+ private String iconCollapsed = null;
+ private String iconExpanded = null;
+ private String iconLeaf = null;
+ private String icon = null;
+ private boolean renderFacets = false;
+ private String pathToExpand;
+ private boolean dragOn = true;
+ private TreeNodeImpl data1;
+ private int counter = 0;
+ private String expandPath;
+ private UITree tree;
+
+ public Bean() {
+ try {
+ FacesContext context = FacesContext.getCurrentInstance();
+ data = XmlTreeDataBuilder
+ .build(new InputSource(getClass().getResourceAsStream("test.xml")));
+ TreeNode pomData = XmlTreeDataBuilder.build(new InputSource(getClass()
+ .getResourceAsStream("pom_sample.xml")));
+ Iterator children = pomData.getChildren();
+ while (children.hasNext()) {
+ Map.Entry entry = (Map.Entry) children.next();
+ data.addChild(new Long(1), (TreeNode) entry.getValue());
+ }
+ } catch (SAXException e) {
+ e.printStackTrace();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+
+ data1 = new TreeNodeImpl();
+ data1.setData("Root node");
+ for (int i = 0; i < 10; i++) {
+ TreeNodeImpl child = new TreeNodeImpl() {
+
+ public Object getData() {
+ return super.getData() + " " + counter;
+ }
+ };
+ String id = Integer.toString(i);
+ child.setData("Node: " + id);
+ data1.addChild(id, child);
+ }
+ //initData();
+ }
+
+ private void initData() {
+ selectedNodeChildren.clear();
+ if (selectedNode != null) {
+ Iterator iter = selectedNode.getChildren();
+ int i = 0;
+ while (iter.hasNext()) {
+ Map.Entry entry = (Map.Entry) iter.next();
+ selectedNodeChildren
+ .put(((TreeNode) entry.getValue()).getData(), Integer.toString(i++));
+ }
+ }
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(tree);
+ return null;
+ }
+
+ public String getIcon() {
+ return icon;
+ }
+
+ public void setIcon(String icon) {
+ this.icon = icon;
+ }
+
+ public String getCommandButtonCaption() {
+ return commandButtonCaption;
+ }
+
+ public void setCommandButtonCaption(String commandButtonCaption) {
+ this.commandButtonCaption = commandButtonCaption;
+ }
+
+ public void changeIcons(javax.faces.event.ActionEvent event) {
+ if (null == icon) {
+ iconCollapsed = "/pics/header.png";
+ iconExpanded = "/pics/item.png";
+ iconLeaf = "/pics/ajax_process.gif";
+ icon = "/pics/ajax_stoped.gif";
+ commandButtonCaption = "Set defoult icons";
+ } else {
+ iconCollapsed = null;
+ iconExpanded = null;
+ iconLeaf = null;
+ icon = null;
+ commandButtonCaption = "Set user icons";
+ }
+ }
+
+ public TreeNode getData() {
+ return data;
+ }
+
+ public String getSwitchType() {
+ return switchType;
+ }
+
+ public void setSwitchType(String switchType) {
+ this.switchType = switchType;
+ }
+
+ private UITree getTree(FacesEvent event) {
+ UIComponent component = event.getComponent();
+ if (component instanceof UITree) {
+ return ((UITree) component);
+ }
+
+ if (component instanceof UITreeNode) {
+ return ((UITree) component.getParent());
+ }
+
+ return null;
+ }
+
+ public void up() {
+ if (selectedNode.getParent() != null) {
+ selectedNode = selectedNode.getParent();
+ }
+ initData();
+ }
+
+ public void onSelect(NodeSelectedEvent event) {
+ System.out.println("Node selected: " + getTree(event).getRowKey());
+ if (getTree(event).getTreeNode() != null) {
+ selectedNode = getTree(event).getTreeNode();
+ data.removeChild(selectedNode.getChildren());
+ initData();
+ }
+ }
+
+ public void onSelectInc(NodeSelectedEvent event) {
+ counter++;
+
+ UITree tree = getTree(event);
+ TreeRowKey key = (TreeRowKey) tree.getRowKey();
+ Set keys = tree.getAjaxKeys();
+ if (keys == null) {
+ keys = new HashSet();
+ tree.setAjaxKeys(keys);
+ }
+
+ AjaxContext ajaxCtx = AjaxContext.getCurrentInstance();
+ FacesContext fctx = FacesContext.getCurrentInstance();
+ tree.setRowKey(null);
+ // Force more than one node to update here:
+ for (int i = 0; i < 5; i++) {
+ ListRowKey dirtyKey = new ListRowKey(Integer.toString(i));
+ keys.add(dirtyKey);
+ tree.setRowKey(dirtyKey);
+ ajaxCtx.addComponentToAjaxRender(tree.getParent(), tree.getClientId(fctx));
+ }
+ tree.setRowKey(key);
+ }
+
+ public void onExpand(NodeExpandedEvent event) {
+ UITree tree = getTree(event);
+ System.out.println("Node " + (tree.isExpanded() ? "expanded" : "collapsed") + " "
+ + tree.getRowKey());
+ }
+
+ public String expand() {
+ if (expandPath != null && expandPath.length() != 0) {
+ try {
+ tree.queueNodeExpand(new ListRowKey(expandPath));
+ } catch (IOException e) {
+
+ e.printStackTrace();
+ }
+ }
+
+ return null;
+ }
+
+ public String getExpandPath() {
+ return expandPath;
+ }
+
+ public void setExpandPath(String expandPath) {
+ this.expandPath = expandPath;
+ }
+
+ public UIComponent getTree() {
+ return tree;
+ }
+
+ public void setTree(UIComponent tree) {
+ this.tree = (UITree) tree;
+ }
+
+ public String collapseAll() throws IOException {
+ this.tree.queueCollapseAll();
+ return null;
+ }
+
+ public String expandAll() {
+ try {
+ this.tree.queueExpandAll();
+ } catch (IOException e) {
+
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ public Map getSelectedNodeChildren() {
+ return selectedNodeChildren;
+ }
+
+ public void setSelectedNodeChildren(Map selectedNodeChildren) {
+ this.selectedNodeChildren = selectedNodeChildren;
+ }
+
+ public TreeNode getSelectedNode() {
+ return selectedNode;
+ }
+
+ public void setSelectedNode(TreeNode selectedNode) {
+ this.selectedNode = selectedNode;
+ }
+
+ public void processDrop(DropEvent dropEvent) {
+ System.out.println("Should be printed twice per event!!!");
+ System.out.println(dropEvent);
+ System.out.println("DragValue: " + dropEvent.getDragValue());
+ System.out.println("DropValue: " + dropEvent.getDropValue());
+ System.out.println("Drag row data: "
+ + getTree(dropEvent).getRowData(dropEvent.getDragValue()));
+ System.out.println("Drop row data: "
+ + getTree(dropEvent).getRowData(dropEvent.getDropValue()));
+ System.out.println("+++++");
+ }
+
+ public String getIconCollapsed() {
+ return iconCollapsed;
+ }
+
+ public void setIconCollapsed(String iconCollapsed) {
+ this.iconCollapsed = iconCollapsed;
+ }
+
+ public String getIconExpanded() {
+ return iconExpanded;
+ }
+
+ public void setIconExpanded(String iconExpanded) {
+ this.iconExpanded = iconExpanded;
+ }
+
+ public String getIconLeaf() {
+ return iconLeaf;
+ }
+
+ public void setIconLeaf(String iconLeaf) {
+ this.iconLeaf = iconLeaf;
+ }
+
+ public String getPathToExpand() {
+ return pathToExpand;
+ }
+
+ public void setPathToExpand(String pathToExpand) {
+ this.pathToExpand = pathToExpand;
+ }
+
+ public String expandNode() {
+ String pathToExpand = getPathToExpand();
+ if (pathToExpand != null && pathToExpand.trim().length() != 0) {
+ try {
+ ((UITree) getTree()).queueNodeExpand(new ListRowKey(pathToExpand));
+ } catch (IOException e) {
+ throw new FacesException(e);
+ }
+ }
+
+ return null;
+ }
+
+ public boolean isDragOn() {
+ return dragOn;
+ }
+
+ public void setDragOn(boolean dragOn) {
+ this.dragOn = dragOn;
+ }
+
+ public TreeNodeImpl getData1() {
+ return data1;
+ }
+
+ public void setData1(TreeNodeImpl data1) {
+ this.data1 = data1;
+ }
+
+ public boolean isRenderFacets() {
+ return renderFacets;
+ }
+
+ public void setRenderFacets(boolean renderFacets) {
+ this.renderFacets = renderFacets;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Library.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Library.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Library.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,116 @@
+package org.domain.HelloWorld.session.tree;
+
+
+
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import org.richfaces.model.TreeNode;
+
+public class Library implements TreeNode {
+
+ private Map pathways = null;
+ private Object state1;
+
+ private List listPathway;
+
+ public Library() {
+ }
+
+ public Library(List l) {
+ this.listPathway = l;
+ }
+
+ private Map getPathways() {
+ if (this.pathways == null) {
+ initData();
+ }
+ return this.pathways;
+ }
+
+ public void addPathway(Pathway pw) {
+ addChild(Long.toString(pw.getId()), pw);
+ pw.setParent(this);
+ }
+
+ public void addChild(Object identifier, TreeNode child) {
+ getPathways().put(identifier, child);
+ }
+
+ public TreeNode getChild(Object id) {
+ return (TreeNode) getPathways().get(id);
+ }
+
+ public Iterator getChildren() {
+ return getPathways().entrySet().iterator();
+ }
+
+ public Object getData() {
+ return this;
+ }
+
+ public TreeNode getParent() {
+ return null;
+ }
+
+ public boolean isLeaf() {
+ return getPathways().isEmpty();
+ }
+
+ public void removeChild(Object id) {
+ getPathways().remove(id);
+ }
+
+ public void setData(Object data) {
+ }
+
+ public void setParent(TreeNode parent) {
+ }
+
+ public String getType() {
+ return "library";
+ }
+
+ private long nextId = 0;
+
+ private long getNextId() {
+ return nextId++;
+ }
+
+ private Map pathCache = new HashMap();
+
+ private Pathway getPathwayByName(String name, Library library) {
+ Pathway pathway = (Pathway) pathCache.get(name);
+ if (pathway == null) {
+ pathway = new Pathway(getNextId());
+ pathway.setName(name);
+ pathCache.put(name, pathway);
+ library.addPathway(pathway);
+ }
+ return pathway;
+ }
+
+ private void initData() {
+ pathways = new HashMap();
+
+ for (int i = 0; i < 15; i++) {
+ Pathway path = getPathwayByName("PATH_" + i, this);
+ for (int j = 0; j < 20; j++) {
+ Organism org = new Organism(getNextId());
+ org.setName("ORG_" + i + "." + j);
+ path.addOrganism(org);
+ }
+ }
+
+ }
+
+ public Object getState1() {
+ return state1;
+ }
+
+ public void setState1(Object state1) {
+ this.state1 = state1;
+ }
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Organism.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Organism.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Organism.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,77 @@
+package org.domain.HelloWorld.session.tree;
+
+
+
+import java.util.ArrayList;
+import java.util.Iterator;
+
+import org.richfaces.model.TreeNode;
+
+public class Organism implements TreeNode {
+ private long id;
+ private String name;
+ private Pathway pathway;
+
+ public Organism(long id) {
+ this.id = id;
+ }
+
+ public void addChild(Object identifier, TreeNode child) {
+ throw new UnsupportedOperationException("Organisms do not have children");
+ }
+
+ public TreeNode getChild(Object id) {
+ throw new UnsupportedOperationException("Organisms do not have children");
+ }
+
+ public Iterator getChildren() {
+ // TODO: Fix me!
+ return new ArrayList().iterator(); // work around limitation for TreeNode
+ }
+
+ public Object getData() {
+ return this;
+ }
+
+ public TreeNode getParent() {
+ return pathway;
+ }
+
+ public boolean isLeaf() {
+ return true;
+ }
+
+ public void removeChild(Object id) {
+ throw new UnsupportedOperationException("Organisms do not have children");
+ }
+
+ public void setData(Object data) {
+ }
+
+ public void setParent(TreeNode parent) {
+ this.pathway = (Pathway) parent;
+ }
+
+ public Pathway getPathway() {
+ return pathway;
+ }
+
+ public void setPathway(Pathway artist) {
+ this.pathway = artist;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String title) {
+ this.name = title;
+ }
+
+ public long getId() {
+ return id;
+ }
+ public String getType() {
+ return "organism";
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Pathway.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Pathway.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/Pathway.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,85 @@
+package org.domain.HelloWorld.session.tree;
+
+
+
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+
+import org.richfaces.model.TreeNode;
+
+public class Pathway implements TreeNode {
+
+ private long id;
+ private Map organisms = new HashMap();
+ private String name;
+ private Library library;
+
+
+ public Pathway(long id) {
+ this.id = id;
+ }
+
+ public void addOrganism(Organism org) {
+ addChild(Long.toString(org.getId()), org);
+ org.setParent(this);
+ }
+
+ public void addChild(Object identifier, TreeNode child) {
+ organisms.put(identifier, child);
+ }
+
+ public TreeNode getChild(Object id) {
+ return (TreeNode) organisms.get(id);
+ }
+
+ public Iterator getChildren() {
+ return organisms.entrySet().iterator();
+ }
+
+ public Object getData() {
+ return this;
+ }
+
+ public TreeNode getParent() {
+ return library;
+ }
+
+ public boolean isLeaf() {
+ return organisms.isEmpty();
+ }
+
+ public void removeChild(Object id) {
+ organisms.remove(id);
+ }
+
+ public void setData(Object data) {
+ }
+
+ public void setParent(TreeNode parent) {
+ library = (Library) parent;
+ }
+
+ public long getId() {
+ return id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Library getLibrary() {
+ return library;
+ }
+
+ public void setLibrary(Library library) {
+ this.library = library;
+ }
+ public String getType() {
+ return "pathway";
+ }
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,13 @@
+package org.domain.HelloWorld.session.tree;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("pathwayBean")
+(a)Scope(ScopeType.SESSION)
+public class TreeBean {
+ public Object getPathwayTree() {
+ return new Library();
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeContainer.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeContainer.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeContainer.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,44 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.tree;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+
+import org.richfaces.component.UITree;
+import org.richfaces.component.UITreeNode;
+
+/**
+ * @author dmorozov
+ *
+ */
+public class TreeContainer {
+
+ /**
+ * Get tree component from event
+ *
+ * @param event tree event
+ * @return tree component
+ */
+ protected UITree getTree(FacesEvent event) {
+ return getTree(event.getComponent());
+ }
+
+ /**
+ * Safe getter of tree component
+ * @param component component to process
+ * @return tree component
+ */
+ protected UITree getTree(UIComponent component) {
+ if (component instanceof UITree) {
+ return ((UITree) component);
+ }
+
+ if (component instanceof UITreeNode) {
+ return ((UITree) component.getParent());
+ }
+
+ return null;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeDndBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeDndBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/TreeDndBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,337 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.tree;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Properties;
+
+import javax.faces.FacesException;
+import javax.faces.context.ExternalContext;
+import javax.faces.context.FacesContext;
+
+import org.ajax4jsf.context.AjaxContext;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.UITree;
+import org.richfaces.component.UITreeNode;
+import org.richfaces.event.DragEvent;
+import org.richfaces.event.DropEvent;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeSelectedEvent;
+import org.richfaces.model.TreeNode;
+import org.richfaces.model.TreeNodeImpl;
+import org.richfaces.model.TreeRowKey;
+/**
+ * @author mvitenkov
+ *
+ */
+@Name("treeDndBean")
+(a)Scope(ScopeType.SESSION)
+public class TreeDndBean extends TreeContainer {
+ private static final String DATA_PATH1 = "org/richfaces/simpleTreeData.properties";
+
+ private TreeNode<String> treeNodeLeft;
+
+ private TreeNode<String> treeNodeRight;
+
+ private String leftSelectedNodeTitle;
+
+ private String rightSelectedNodeTitle;
+
+ private UITree leftTree;
+
+ private UITree rightTree;
+
+ /**
+ * Helper tree model creation method from properties object
+ *
+ * @param path node path
+ * @param node parent node
+ * @param properties properties object
+ */
+ private void addNodes(String path, TreeNode<String> node, Properties properties) {
+ boolean end = false;
+ int counter = 1;
+ while (!end) {
+ String key = path != null ? path + '.' + counter : String.valueOf(counter);
+ String value = properties.getProperty(key);
+ if (value != null) {
+ TreeNodeImpl<String> nodeImpl = new TreeNodeImpl<String>();
+ nodeImpl.setData(value);
+ node.addChild(new Integer(counter), nodeImpl);
+ addNodes(key, nodeImpl, properties);
+ counter++;
+ } else {
+ end = true;
+ }
+ }
+ }
+
+ /**
+ * Init sample tree model
+ *
+ * @return tree model
+ */
+ private TreeNode<String> initPaneTree() {
+ TreeNode<String> rootNode = null;
+ FacesContext facesContext = FacesContext.getCurrentInstance();
+ ExternalContext externalContext = facesContext.getExternalContext();
+
+ InputStream dataStream = this.getClass().getClassLoader().getResourceAsStream(DATA_PATH1);
+
+ try {
+ Properties properties = new Properties();
+ properties.load(dataStream);
+ rootNode = new TreeNodeImpl<String>();
+ addNodes(null, rootNode, properties);
+ } catch (IOException e) {
+
+ throw new FacesException(e.getMessage(), e);
+
+ } finally {
+ if (dataStream != null) {
+ try {
+ dataStream.close();
+ } catch (IOException e) {
+ externalContext.log(e.getMessage(), e);
+ }
+ }
+ }
+
+ return rootNode;
+ }
+
+ /**
+ * Left tree demo selection handler.
+ * @param event node selection event
+ */
+ public void processLSelection(NodeSelectedEvent event) {
+ UITree tree = (UITree) event.getComponent();
+ leftSelectedNodeTitle = (String) tree.getRowData();
+ }
+
+ /**
+ * Right tree demo selection handler.
+ * @param event node selection event
+ */
+ public void processRSelection(NodeSelectedEvent event) {
+ UITree tree = (UITree) event.getComponent();
+ if (tree != null) {
+ rightSelectedNodeTitle = (String) tree.getRowData();
+ }
+ }
+
+ /**
+ * Left tree value binding
+ * @return the treeNodeLeft
+ */
+ public TreeNode<String> getTreeNodeLeft() {
+ if (treeNodeLeft == null) {
+ treeNodeLeft = initPaneTree();
+ }
+ return treeNodeLeft;
+ }
+
+ /**
+ * Left tree value binding
+ * @param treeNodeLeft
+ * the treeNodeLeft to set
+ */
+ public void setTreeNodeLeft(TreeNode<String> treeNodeLeft) {
+ this.treeNodeLeft = treeNodeLeft;
+ }
+
+ /**
+ * @return the leftSelectedNodeTitle
+ */
+ public String getLeftSelectedNodeTitle() {
+ return leftSelectedNodeTitle;
+ }
+
+ /**
+ * @param leftSelectedNodeTitle
+ * the leftSelectedNodeTitle to set
+ */
+ public void setLeftSelectedNodeTitle(String leftSelectedNodeTitle) {
+ this.leftSelectedNodeTitle = leftSelectedNodeTitle;
+ }
+
+ /**
+ * @return the rightSelectedNodeTitle
+ */
+ public String getRightSelectedNodeTitle() {
+ return rightSelectedNodeTitle;
+ }
+
+ /**
+ * @param rightSelectedNodeTitle
+ * the rightSelectedNodeTitle to set
+ */
+ public void setRightSelectedNodeTitle(String rightSelectedNodeTitle) {
+ this.rightSelectedNodeTitle = rightSelectedNodeTitle;
+ }
+
+ /**
+ * Right tree value binding
+ * @return the treeNodeRight
+ */
+ public TreeNode<String> getTreeNodeRight() {
+ if (treeNodeRight == null) {
+ treeNodeRight = initPaneTree();
+ }
+ return treeNodeRight;
+ }
+
+ /**
+ * Right tree value binding
+ * @param treeNodeRight
+ * the treeNodeRight to set
+ */
+ public void setTreeNodeRight(TreeNode<String> treeNodeRight) {
+ this.treeNodeRight = treeNodeRight;
+ }
+
+ /**
+ * Left tree binding
+ * @return the leftTree
+ */
+ public UITree getLeftTree() {
+ return leftTree;
+ }
+
+ /**
+ * Left tree binding
+ * @param leftTree
+ * the leftTree to set
+ */
+ public void setLeftTree(UITree leftTree) {
+ this.leftTree = leftTree;
+ }
+
+ /**
+ * Right tree binding
+ * @return the rightTree
+ */
+ public UITree getRightTree() {
+ return rightTree;
+ }
+
+ /**
+ * Right tree binding
+ * @param rightTree
+ * the rightTree to set
+ */
+ public void setRightTree(UITree rightTree) {
+ this.rightTree = rightTree;
+ }
+
+ /**
+ * Expand event handler
+ * @param event expand event
+ */
+ public void onExpand(NodeExpandedEvent event) {
+ UITree tree = getTree(event);
+ System.out.println("Tree ('"+tree.getId()+"') node " + (tree.isExpanded() ? "expanded" : "collapsed") + " " + tree.getRowKey());
+ }
+
+ /**
+ * Drag event handler
+ * @param dragEvent event handler
+ */
+ public void onDrag(DragEvent dragEvent) {
+ System.out.println("onDrag occured.");
+ System.out.println("DragValue: " + dragEvent.getDragValue());
+ System.out.println("DropValue: " + dragEvent.getDropValue());
+ }
+
+ /**
+ * Sample unique subnode identifier generation
+ *
+ * @param parentNode parent node
+ * @return unique subnode identifier
+ */
+ private Object getNewId(TreeNode parentNode) {
+ Map<Object, TreeNode> childs = new HashMap<Object, TreeNode>();
+ Iterator<Map.Entry<Object, TreeNode>> iter = parentNode.getChildren();
+ while (iter != null && iter.hasNext()) {
+ Map.Entry<Object, TreeNode> entry = iter.next();
+ childs.put(entry.getKey(), entry.getValue());
+ }
+
+ Integer index = 1;
+ while (childs.containsKey(index)) {
+ index++;
+ }
+ return index;
+ }
+
+ /**
+ * Drop event handler
+ * @param dropEvent Drop event
+ */
+ public void onDrop(DropEvent dropEvent) {
+ System.out.println("onDrop occured.");
+ System.out.println("DragValue: " + dropEvent.getDragValue());
+ System.out.println("DropValue: " + dropEvent.getDropValue());
+
+ // resolve drag source attributes
+ UITreeNode srcNode = (dropEvent.getDraggableSource() instanceof UITreeNode) ? (UITreeNode) dropEvent.getDraggableSource() : null;
+ UITree srcTree = srcNode != null ? srcNode.getUITree() : null;
+ TreeRowKey dragNodeKey = (dropEvent.getDragValue() instanceof TreeRowKey) ? (TreeRowKey) dropEvent.getDragValue() : null;
+
+ // resolve drag destination attributes
+ UITreeNode destNode = (dropEvent.getSource() instanceof UITreeNode) ? (UITreeNode) dropEvent.getSource() : null;
+ UITree destTree = destNode != null ? destNode.getUITree() : getTree(dropEvent);
+ TreeRowKey dropNodeKey = (dropEvent.getDropValue() instanceof TreeRowKey) ? (TreeRowKey) dropEvent.getDropValue() : null;
+
+ FacesContext context = FacesContext.getCurrentInstance();
+
+ if (dropNodeKey != null) {
+ // add destination node for rerender
+ destTree.addRequestKey(dropNodeKey);
+
+ Object state = null;
+ TreeNode draggedNode = null;
+ if (dragNodeKey != null) { // Drag from this or other tree
+ draggedNode = srcTree.getTreeNode(dragNodeKey);
+
+ TreeNode parentNode = draggedNode.getParent();
+ // 1. remove node from tree
+ state = srcTree.removeNode(dragNodeKey);
+ // 2. add parent for rerender
+ Object rowKey = srcTree.getTreeNodeRowKey(parentNode);
+ srcTree.addRequestKey(rowKey);
+ } else if (dropEvent.getDragValue() != null) { // Drag from some drag source
+ draggedNode = new TreeNodeImpl<String>();
+ draggedNode.setData(dropEvent.getDragValue().toString());
+ }
+
+ // generate new node id
+ Object id = getNewId(destTree.getTreeNode(dropNodeKey));
+ destTree.addNode(dropNodeKey, draggedNode, id, state);
+ }
+
+ AjaxContext ac = AjaxContext.getCurrentInstance();
+ // Add destination tree to reRender
+ try {
+ ac.addComponentToAjaxRender(destTree);
+ } catch (Exception e) {
+ System.err.print(e.getMessage());
+ }
+
+ // Add source tree to reRender
+ try {
+ ac.addComponentToAjaxRender(srcTree);
+ } catch (Exception e) {
+ System.err.print(e.getMessage());
+ }
+
+ System.out.println("+++++");
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/pom_sample.xml
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/pom_sample.xml (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/pom_sample.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,102 @@
+<?xml version="1.0"?>
+
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces</groupId>
+ <artifactId>tree</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.ajax4jsf.cdk</groupId>
+ <artifactId>maven-cdk-plugin</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <library>
+ <prefix>org.richfaces</prefix>
+ <taglib>
+ <shortName>tree</shortName>
+ </taglib>
+ </library>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <repositories>
+ <repository>
+ <releases />
+ <snapshots>
+ <enabled>false</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ <id>maven2-repository.dev.java.net</id>
+ <name>Java.net Repository for Maven</name>
+ <url>https://maven2-repository.dev.java.net/nonav/repository</url>
+ </repository>
+ <repository>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ <id>maven2-snapshots.ajax4jsf.org</id>
+ <name>Ajax4jsf Repository for Maven Snapshots</name>
+ <url>https://ajax4jsf.dev.java.net/nonav/snapshots</url>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ <id>maven2-snapshots.ajax4jsf.org</id>
+ <name>Ajax4jsf Repository for Maven Snapshots</name>
+ <url>https://ajax4jsf.dev.java.net/nonav/snapshots</url>
+ </pluginRepository>
+ </pluginRepositories>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ <version>1.1.6</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>1.1_02</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ajax4jsf</groupId>
+ <artifactId>framework</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/test.xml
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/test.xml (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/tree/test.xml 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<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">
+ <description>RF Test-Application</description>
+ <display-name>test-application</display-name>
+ <context-param>
+ <param-name>org.ajax4jsf.SKIN</param-name>
+ <param-value>#{skinBean.skin}</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+ <context-param>
+ <param-name>facelets.REFRESH_PERIOD</param-name>
+ <param-value>2</param-value>
+ </context-param>
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>client</param-value>
+ </context-param>
+ <context-param>
+ <param-name>com.sun.faces.validateXml</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>com.sun.faces.verifyObjects</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.CONFIG_FILES</param-name>
+ <param-value>/WEB-INF/faces-config-RichPanelsBean.xml,/WEB-INF/faces-config-DataTable.xml,/WEB-INF/faces-config-SimpleTogglePanel.xml,
+ /WEB-INF/faces-config-Panel.xml,/WEB-INF/faces-config-PanelBar.xml,/WEB-INF/faces-config-TabPanel.xml,
+ /WEB-INF/faces-config-TogglePanel.xml,/WEB-INF/faces-config-Paint2D.xml,/WEB-INF/faces-config-InputNumberSlider.xml,
+ /WEB-INF/faces-config-InputNumberSpinner.xml,/WEB-INF/faces-config-DDMenu.xml,/WEB-INF/faces-config-Tree.xml,
+ /WEB-INF/faces-config-PanelMenu.xml,/WEB-INF/faces-config-Icon.xml,/WEB-INF/faces-config-ModalPanel.xml,
+ /WEB-INF/faces-config-tooltip.xml,/WEB-INF/faces-config-Skin.xml,/WEB-INF/faces-config-Calendar.xml,
+ /WEB-INF/faces-config-Gmap.xml,/WEB-INF/faces-config-DataFilterSlider.xml,/WEB-INF/faces-config-Separator.xml,
+ /WEB-INF/faces-config-Spacer.xml,/WEB-INF/faces-config-ToolBar.xml,/WEB-INF/faces-config-DataScroller.xml,
+ /WEB-INF/faces-config-SuggestionBox.xml,/WEB-INF/faces-config-Message.xml,
+ /WEB-INF/faces-config-VirtualEarth.xml,/WEB-INF/faces-config-Effect.xml,/WEB-INF/faces-config-Insert.xml,
+ /WEB-INF/faces-config-RichBean.xml,/WEB-INF/faces-config-ScrollableDataTable.xml,
+ /WEB-INF/faces-config-RichTest.xml,/WEB-INF/faces-config-jQuery.xml,/WEB-INF/faces-config-DragAndDrop.xml,
+ /WEB-INF/faces-config-OrderingList.xml,/WEB-INF/faces-config-DataOrderedList.xml,/WEB-INF/faces-config-DataDefinitionList.xml</param-value>
+ </context-param>
+ <filter>
+ <display-name>Ajax4jsf Filter</display-name>
+ <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>
+ <dispatcher>INCLUDE</dispatcher>
+ </filter-mapping>
+ <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>
+ </servlet-mapping>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+</web-app>
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/ComponentAttribute.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,60 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.util.componentInfo;
+
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Set;
+
+/**
+ * @author user
+ *
+ */
+public class ComponentAttribute {
+ private Map<String, String> attribute = new HashMap<String, String>();
+ private Map<String, String> event = new HashMap<String, String>();
+ private Map<String, String> style = new HashMap<String, String>();
+
+ public String putAttribute(String attribute, String value) {
+ return this.attribute.put(attribute, value);
+ }
+
+ public String putEvent(String event, String value){
+ return this.event.put(event, value);
+ }
+
+ public String putStyle(String style, String value) {
+ return this.style.put(style, value);
+ }
+
+ public String removeAttribute(String attribute) {
+ return this.attribute.remove(attribute);
+ }
+
+ public String removeEvent(String event) {
+ return this.attribute.remove(event);
+ }
+
+ public String removeStyle(String style) {
+ return this.attribute.remove(style);
+ }
+
+ public void cleanAll() {
+ this.attribute.clear();
+ this.event.clear();
+ this.style.clear();
+ }
+
+ public Set<Map.Entry<String, String>> getAttributeEntry() {
+ return attribute.entrySet();
+ }
+
+ public Set<Map.Entry<String, String>> getEventEntry(){
+ return event.entrySet();
+ }
+
+ public Set<Map.Entry<String, String>> getStyleEntry(){
+ return style.entrySet();
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/ComponentInfo.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,246 @@
+package org.domain.HelloWorld.session.util.componentInfo;
+
+import java.lang.reflect.AccessibleObject;
+import java.lang.reflect.Field;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.lang.reflect.Modifier;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.Map.Entry;
+
+import javax.el.ValueExpression;
+import javax.faces.component.UIComponent;
+import javax.faces.component.UIComponentBase;
+import javax.faces.context.FacesContext;
+
+public class ComponentInfo {
+ private static volatile ComponentInfo INSTANCE;
+ private ComponentAttribute componentAttribute = new ComponentAttribute();
+ private Object component = null;
+ private String beanName;
+ private String description;
+ private String attribute;
+ private String property;
+ private boolean print;
+
+ public ComponentInfo(String beanName) {
+ this.beanName = beanName;
+ this.attribute = "";
+ this.property = "";
+ print = true;
+ }
+
+ public void setComponentInfo(String attribute, String property) {
+ this.attribute = attribute;
+ this.property = property;
+ this.description = "";
+ if(print) printInfo();
+ }
+
+ public void setComponentInfo(String attribute, String property, String description) {
+ this.attribute = attribute;
+ this.property = property;
+ this.description = description;
+ if(print) printInfo();
+ }
+
+ protected ComponentInfo() {
+ }
+
+ public static ComponentInfo getInstance() {
+ if (INSTANCE == null)
+ synchronized (ComponentInfo.class) {
+ if (INSTANCE == null)
+ INSTANCE = new ComponentInfo();
+ }
+ return INSTANCE;
+ }
+
+ public String getName() {
+ if (component == null)
+ return null;
+ return component.getClass().getName();
+ }
+
+ public void addField(Object component) {
+ if (component == null)
+ return;
+ this.component = component;
+
+ //if(ve.isLiteralText()) {ve.getExpressionString()} {ve.getValue(). }
+
+ componentAttribute.cleanAll();
+ String str = null;
+ Field[] fields = component.getClass().getDeclaredFields();
+ AccessibleObject.setAccessible(fields, true);
+ for (Field field : fields) {
+ if (!Modifier.isStatic(field.getModifiers())) {
+ str = field.getName().substring(1);
+ if (str.startsWith("on")) {
+ componentAttribute.putEvent(str,
+ "");
+ } else if (str.indexOf("tyle") != -1 || str.indexOf("lass") != -1) {
+ try {
+ //Object obj = field.get(component);
+ UIComponentBase comp = (UIComponentBase) component;
+ ValueExpression ve = comp.getValueExpression(str);
+ if(ve != null){
+ if(ve.isLiteralText()){
+ componentAttribute.putStyle(str, ve.getExpressionString());
+ } else{
+ componentAttribute.putStyle(str, ve.getValue(FacesContext.getCurrentInstance().getELContext()).toString());
+ }
+ } else componentAttribute.putStyle(str, "null");
+
+ } catch (IllegalArgumentException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+
+ } else {
+
+ try {
+ Class cl = field.getType();
+ if(cl.isPrimitive() || cl.getName().equals("java.lang.String")){
+ UIComponentBase comp = (UIComponentBase) component;
+ ValueExpression ve = comp.getValueExpression(str);
+ if(ve != null){
+ if(ve.isLiteralText()){
+ componentAttribute.putAttribute(str, ve.getExpressionString());
+ } else{
+ componentAttribute.putAttribute(str, ve.getValue(FacesContext.getCurrentInstance().getELContext()).toString());
+ }
+ }else componentAttribute.putAttribute(str, "null");
+// Object obj = field.get(component);
+// componentAttribute.putAttribute(str, obj == null ? "null" : obj.toString());
+ } else componentAttribute.putAttribute(str, "---");
+ } catch (IllegalArgumentException e) {
+ e.printStackTrace();
+ }
+ }
+ }
+ }
+
+ }
+
+ public static String toString(Object obj) {
+ Class cl = obj.getClass();
+ String r = cl.getName() + "[";
+ Class sc = cl.getSuperclass();
+ if (!sc.equals(Object.class))
+ r += sc + ",";
+ Field[] fields = cl.getDeclaredFields();
+ try {
+ AccessibleObject.setAccessible(fields, true);
+ } catch (SecurityException e) {
+ }
+ for (int i = 0; i < fields.length; i++) {
+ Field f = fields[i];
+ r += f.getName() + "=";
+ try {
+ Object val = f.get(obj);
+ r += val.toString();
+ } catch (IllegalAccessException e) {
+ r += "???";
+ }
+ if (i < fields.length - 1)
+ r += ",";
+ else
+ r += "]";
+ }
+ return r;
+ }
+
+ public Object invoke(String aMethod, Class[] params, Object[] args) {
+ Method m;
+ System.out.println("ComponentInfo.invoke()");
+ if (component == null) return null;
+ try {
+ m = component.getClass().getDeclaredMethod(aMethod, params);
+ Object obj = m.invoke(component, args);
+ return obj;
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ } catch (IllegalArgumentException e) {
+ e.printStackTrace();
+ } catch (IllegalAccessException e) {
+ e.printStackTrace();
+ } catch (InvocationTargetException e) {
+ e.printStackTrace();
+ }
+ finally {
+ return "";
+ }
+ }
+
+ private void printInfo() {
+ System.out.println("beanName: " + beanName + "[attribute: " + attribute + "; property: " + property + "; description: " + description + "];");
+ }
+
+ public String [] getComponentInfo() {
+ String [] str = {attribute, property};
+ return str;
+ }
+
+ public ComponentAttribute getComponentAttribute() {
+ return componentAttribute;
+ }
+
+ public Object getComponent() {
+ return component;
+ }
+
+ public void setComponent(Object component) {
+ this.component = component;
+ }
+
+ public String getBeanName() {
+ return beanName;
+ }
+
+ public void setBeanName(String beanName) {
+ this.beanName = beanName;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getAttribute() {
+ return attribute;
+ }
+
+ public void setAttribute(String attribute) {
+ this.attribute = attribute;
+ }
+
+ public String getProperty() {
+ return property;
+ }
+
+ public void setProperty(String property) {
+ this.property = property;
+ }
+
+ public boolean isPrint() {
+ return print;
+ }
+
+ public void setPrint(boolean print) {
+ this.print = print;
+ }
+
+ public void setComponentAttribute(ComponentAttribute componentAttribute) {
+ this.componentAttribute = componentAttribute;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/Info.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/Info.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/componentInfo/Info.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,130 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.util.componentInfo;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.Map.Entry;
+
+import javax.ejb.Stateless;
+import javax.faces.component.html.HtmlInputText;
+import javax.faces.component.html.HtmlOutputText;
+import javax.faces.component.html.HtmlPanelGrid;
+import javax.faces.context.FacesContext;
+import javax.persistence.Entity;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+/**
+ * @author user
+ *
+ */
+@Name("myInfo")
+public class Info {
+ private ComponentInfo info = ComponentInfo.getInstance();
+ private ComponentAttribute componentAttribute = info
+ .getComponentAttribute();;
+ private HtmlPanelGrid panelEvent = null;
+
+ public HtmlPanelGrid getPanelEvent() {
+ return panelEvent;
+ }
+
+ public void setPanelEvent(HtmlPanelGrid panelEvent) {
+ this.panelEvent = panelEvent;
+ }
+
+ public Info() {
+ }
+
+ public String getName() {
+ return info.getName();
+ }
+
+ public List<Pair> getAttribute() {
+ List<Pair> list = new ArrayList<Pair>();
+ Set<Entry<String, String>> set = componentAttribute.getAttributeEntry();
+ Iterator<Map.Entry<String, String>> iterator = set.iterator();
+ while (iterator.hasNext()) {
+ Map.Entry<String, String> entry = iterator.next();
+ String str = Character.toUpperCase(entry.getKey().charAt(0))
+ + entry.getKey().substring(1);
+ // Object obj = null;
+ // if(entry.getValue().equals("boolean"))
+ // obj = info.invoke("is" + str, new Class[]{}, new Object[]{});
+ // else obj = info.invoke("get" + str, new Class[]{}, new
+ // Object[]{});
+ list.add(new Pair(entry.getKey(), entry.getValue()));
+ }
+ return list;
+ }
+
+ public List<Pair> getEvent() {
+ FacesContext context = FacesContext.getCurrentInstance();
+ List<Pair> list = new ArrayList<Pair>();
+ Set<Entry<String, String>> set = componentAttribute.getEventEntry();
+ Iterator<Map.Entry<String, String>> iterator = set.iterator();
+ panelEvent.getChildren().clear();
+ while (iterator.hasNext()) {
+ Map.Entry<String, String> entry = iterator.next();
+ String key = entry.getKey();
+
+ HtmlOutputText out = new HtmlOutputText();
+ out.setValue(key);
+ panelEvent.getChildren().add(out);
+
+ HtmlInputText input = new HtmlInputText();
+ input.setValue("don't work");
+ input.setStyle("color:red");
+ input.setId(key + "InputID");
+ panelEvent.getChildren().add(input);
+
+ list.add(new Pair(key, "showEvent('" + input.getClientId(context)
+ + "', '" + key + "work!')"));
+ }
+ return list;
+ }
+
+ public List<Pair> getStyle() {
+ List<Pair> list = new ArrayList<Pair>();
+ Set<Entry<String, String>> set = componentAttribute.getStyleEntry();
+ Iterator<Map.Entry<String, String>> iterator = set.iterator();
+ while (iterator.hasNext()) {
+ Map.Entry<String, String> entry = iterator.next();
+ list.add(new Pair(entry.getKey(), entry.getValue()));
+ }
+ return list;
+ }
+
+ public class Pair {
+ private String key;
+ private String value;
+
+ public Pair(String key, String value) {
+ this.key = key;
+ this.value = value;
+ }
+
+ public String getKey() {
+ return key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/InplaceInputConverter.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,33 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.util.converter;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.convert.Converter;
+
+/**
+ * @author AYanul
+ *
+ */
+public class InplaceInputConverter implements Converter{
+
+ /* (non-Javadoc)
+ * @see javax.faces.convert.Converter#getAsObject(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.String)
+ */
+ public Object getAsObject(FacesContext context, UIComponent component,
+ String value) {
+ return value.toUpperCase();
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.convert.Converter#getAsString(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)
+ */
+ public String getAsString(FacesContext context, UIComponent component,
+ Object value) {
+ // TODO Auto-generated method stub
+ return (String) value;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/ListShuttleConverter.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,30 @@
+package org.domain.HelloWorld.session.util.converter;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.convert.Converter;
+
+import org.domain.HelloWorld.session.util.data.Data;
+
+public class ListShuttleConverter implements Converter {
+
+ public Object getAsObject(FacesContext arg0, UIComponent arg1, String arg2) {
+ String [] str = arg2.split(":");
+ return new Data(Integer.parseInt(str[0]), str[1], str[2], str[3],str[4]);
+ }
+//list.add(new Data(i, "Button " + i, "Link " + i, "select" +(i % 5), statusIcon[i % 5]));
+ public String getAsString(FacesContext arg0, UIComponent arg1, Object arg2) {
+ Data data = (Data)arg2;
+ return data.getInt0() + ":" + data.getStr0() + ":" + data.getStr1() + ":" + data.getStr2() + ":" + data.getStr3();
+ }
+
+}
+// public Object getAsObject(FacesContext context, UIComponent component,
+// String value) {
+// int index = value.indexOf(':');
+// return new OptionItem(value.substring(0, index), Integer.valueOf(value.substring(index + 1)));
+// }
+// public String getAsString(FacesContext context, UIComponent component,
+// Object value) {
+// OptionItem optionItem = (OptionItem) value;
+// return optionItem.getName() + ":" + optionItem.getPrice();
+// }
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/OrderingListConverter.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/OrderingListConverter.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/converter/OrderingListConverter.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,31 @@
+package org.domain.HelloWorld.session.util.converter;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.convert.Converter;
+
+import org.domain.HelloWorld.session.util.data.Data;
+
+public class OrderingListConverter implements Converter {
+
+ public Object getAsObject(FacesContext arg0, UIComponent arg1, String arg2) {
+ String [] str = arg2.split(":");
+ System.out.println("Str:"+ str);
+ return new Data(Integer.parseInt(str[0]), str[1], str[2], str[3],str[4]);
+ }
+//list.add(new Data(i, "Button " + i, "Link " + i, "select" +(i % 5), statusIcon[i % 5]));
+ public String getAsString(FacesContext arg0, UIComponent arg1, Object arg2) {
+ Data data = (Data)arg2;
+ return data.getInt0() + ":" + data.getStr0() + ":" + data.getStr1() + ":" + data.getStr2() + ":" + data.getStr3();
+ }
+
+}
+// public Object getAsObject(FacesContext context, UIComponent component,
+// String value) {
+// int index = value.indexOf(':');
+// return new OptionItem(value.substring(0, index), Integer.valueOf(value.substring(index + 1)));
+// }
+// public String getAsString(FacesContext context, UIComponent component,
+// Object value) {
+// OptionItem optionItem = (OptionItem) value;
+// return optionItem.getName() + ":" + optionItem.getPrice();
+// }
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/data/Data.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/data/Data.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/data/Data.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,303 @@
+package org.domain.HelloWorld.session.util.data;
+
+import java.util.Date;
+import java.util.Random;
+
+import javax.ejb.Stateless;
+
+@Stateless
+public class Data {
+ public static final String[] statusIcon = {"/pics/error.gif", "/pics/fatal.gif", "/pics/info.gif", "/pics/passed.gif", "/pics/warn.gif"};
+ public static final String[] status = {"error", "fatal", "info", "passed", "warn"};
+
+ public static final String[] cityAfrica = {"Africa", "Algeria", "Angola", "Bassas da India", "Benin", "Botswana", "Burkina Faso", "Burundi", "Cameroon", "Central African Republic", "Chad", "Comoros", "Democratic Republic of the Congo", "Djibouti", "Egypt", "Equatorial Guinea", "Eritrea", "Ethiopia", "Europa Island", "Gabon", "Gambia", "Ghana", "Glorioso Islands", "Guinea", "Guinea-Bissau", "Ivory Coast", "Juan de Nova Island", "Kenya", "Lesotho", "Liberia", "Libya", "Madagascar", "Malawi", "Mali", "Mauritania", "Mauritius Island", "Mayotte", "Morocco", "Mozambique", "Namibia", "Nigeria", "Republic of the Congo", "Reunion", "Rwanda", "Niger", "Saint Helena", "Sao Tome and Principe", "Senegal", "Seychelles", "Sierra Leone", "Somalia", "South Africa", "Sudan", "Swaziland", "Tanzania", "Togo", "Tromelin Island", "Tunisia", "Uganda", "Western Sahara", "Zambia", "Zimbabwe"};
+ public static final String[] cityAsia = {"Asia", "Afghanistan", "Armenia", "Azerbaijan", "Bangladesh", "Bhutan", "China", "Georgia", "India", "Japan", "Kazakhstan", "Korea, North", "Korea, South", "Kyrgyzstan", "Maldives", "Mongolia", "Nepal", "Pakistan", "Russia", "Sri Lanka", "Tajikistan", "Turkmenistan", "Uzbekistan"};
+ public static final String[] cityCAmerica = {"Central America", "Belize", "Costa Rica", "El Salvador", "Guatemala", "Honduras", "Nicaragua", "Panama"};
+ public static final String[] cityEurope = {"Europe", "Albania", "Andorra", "Austria", "Belarus", "Belgium", "Bosnia and Herzegovina", "Bulgaria", "Canary Islands", "Croatia", "Czech Republic", "Denmark", "Estonia", "Faroe Islands", "Finland", "France", "Germany", "Gibraltar", "Greece", "Guernsey", "Hungary", "Iceland", "Ireland", "Isle of Man", "Italy", "Jersey", "Latvia", "Liechtenstein", "Lithuania", "Luxembourg", "Macedonia", "Malta", "Moldova", "Monaco", "Montenegro", "Netherlands", "Norway", "Poland", "Portugal", "Romania", "San Marino", "Serbia and Montenegro", "Slovakia", "Slovenia", "Spain", "Sweden", "Switzerland", "Ukraine", "United Kingdom", "Vatican The Holy See"};
+ public static final String[] cityMEast = {"Middle East", "Akrotiri", "Bahrain", "Cyprus", "Dhekelia", "Gaza Strip", "Iran", "Iraq", "Israel", "Jordan", "Kuwait", "Lebanon", "Oman", "Qatar", "Saudi Arabia", "Syria", "Turkey", "United Arab Emirates", "West Bank", "Yemen"};
+ public static final String[] cityNAmerica = {"North America", "Bermuda", "Canada", "Greenland", "Mexico", "Saint Pierre and Miquelon", "United States of America"};
+ public static final String[] cityOceania = {"Oceania", "American Samoa", "Australia", "Baker Island", "Cook Islands", "Coral Sea Islands", "Fiji", "French Polynesia", "Guam", "Howland Island", "Jarvis Island", "Johnston Atoll", "Kingman Reef", "Kiribati", "Marshall Islands", "Micronesia", "Midway Islands", "Nauru", "New Caledonia", "New Zealand", "Niue", "Norfolk Island", "Northern Mariana Islands", "Palau", "Palmyra Atoll", "Papua New Guinea", "Pitcairn Islands", "Samoa", "Solomon Islands", "Tokelau", "Tonga", "Tuvalu", "Vanuatu", "Wake Island", "Wallis and Futuna"};
+ public static final String[] citySAmerica = {"South America","Argentina", "Bolivia", "Brazil", "Chile", "Colombia", "Easter Island", "Ecuador", "Falkland Islands", "French Guiana", "Guyana", "Paraguay", "Peru", "Suriname", "Uruguay", "Venezuela"};
+ public static final String[] citySEAsia = {"SouthEast Asia", "Ashmore and Cartier Islands", "Brunei", "Burma", "Cambodia", "Christmas Island", "Cocos (Keeling) Islands", "East Timor", "Hong Kong", "Indonesia", "Laos", "Malaysia", "Paracel Islands", "Philippines", "Singapore", "Spratly Islands", "Taiwan", "Thailand", "Vietnam"};
+ public static final String[] cityCaribbean = {"The Caribbean", "Anguilla", "Antigua and Barbuda", "Aruba", "Barbados", "British Virgin Islands", "Cayman Islands", "Cuba", "Dominica", "Dominican Republic", "Grenada", "Guadeloupe", "Haiti", "Jamaica", "Martinique", "Montserrat", "Navassa Island", "Netherlands Antilles", "Puerto Rico", "Saint Barthelemy", "Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent and the Grenadines", "The Bahamas", "Trinidad and Tobago", "Turks and Caicos Islands", "Virgin Islands"};
+
+ private String str0;
+ private String str1;
+ private String str2;
+ private String str3;
+ private int int0;
+ private int int1;
+ private int int2;
+ private int int3;
+ private boolean bool0;
+ private boolean bool1;
+ private boolean bool2;
+ private boolean bool3;
+ private float float0;
+ private double double0;
+ private Date date0;
+
+ public Date getDate0() {
+ return date0;
+ }
+
+ public void setDate0(Date date0) {
+ this.date0 = date0;
+ }
+
+ public double getDouble0() {
+ return double0;
+ }
+
+ public void setDouble0(double double0) {
+ this.double0 = double0;
+ }
+
+ public float getFloat0() {
+ return float0;
+ }
+
+ public void setFloat0(float float0) {
+ this.float0 = float0;
+ }
+
+ public Data() {
+ this.str0 = "";
+ this.str1 = "";
+ this.str2 = "";
+ this.str3 = "";
+ this.int0 = 0;
+ this.int1 = 0;
+ this.int2 = 0;
+ this.int3 = 0;
+ this.bool0 = false;
+ this.bool1 = false;
+ this.bool2 = false;
+ this.bool3 = false;
+ this.float0 = 0.0f;
+ this.double0 = 0.0;
+ this.date0 = new Date();
+ }
+
+ public Data(int int0, int int1, String str0, int int2, String str1, int int3, String str2, String str3, boolean bool0) {
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
+ this.int0 = int0;
+ this.int1 = int1;
+ this.int2 = int2;
+ this.int3 = int3;
+ this.bool0 = bool0;
+ }
+ public Data(int int0, int int1, String str0, float float0, String str1, int int3, String str2, String str3, boolean bool0) {
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
+ this.int0 = int0;
+ this.int1 = int1;
+ this.float0 = float0;
+ this.int3 = int3;
+ this.bool0 = bool0;
+ }
+ public Data(int int0, int int1, String str0, double double0, String str1, int int3, String str2, String str3, boolean bool0) {
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
+ this.int0 = int0;
+ this.int1 = int1;
+ this.double0 = double0;
+ this.int3 = int3;
+ this.bool0 = bool0;
+ }
+ public Data(String str0, String str1, String str2, String str3, int int0,
+ int int1, int int2, int int3, boolean bool0, boolean bool1,
+ boolean bool2, boolean bool3) {
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
+ this.int0 = int0;
+ this.int1 = int1;
+ this.int2 = int2;
+ this.int3 = int3;
+ this.bool0 = bool0;
+ this.bool1 = bool1;
+ this.bool2 = bool2;
+ this.bool3 = bool3;
+ }
+
+ public Data(String str0, String str1, String str2, String str3){
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
+ }
+
+ public Data(int int0, String str0, String str1, String str2, String str3){
+ this.int0 = int0;
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
+ }
+ //for scrollableDataTable component
+ public Data(int int0, String str0, String str1, String str2, String str3, Date date0){
+ this.int0 = int0;
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
+ this.date0 = date0;
+ }
+ public Data(int int0, String str0, String str1, String str2, boolean bool0){
+ this.int0 = int0;
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.bool0 = bool0;
+ }
+
+ public Data(String str0){
+ this.str0 = str0;
+ }
+
+ public Data(int int0) {
+ this.int0 = int0;
+ }
+
+ public Data(String str0, String str1){
+ this.str0 = str0;
+ this.str1 = str1;
+ }
+
+ public Data(String str0, int int0){
+ this.str0 = str0;
+ this.int0 = int0;
+ }
+
+ public Data(String str0, int int0, boolean bool0){
+ this.str0 = str0;
+ this.int0 = int0;
+ this.bool0 = bool0;
+ }
+
+ public String getStr0() {
+ return str0;
+ }
+ public void setStr0(String str0) {
+ this.str0 = str0;
+ }
+ public String getStr1() {
+ return str1;
+ }
+ public void setStr1(String str1) {
+ this.str1 = str1;
+ }
+ public String getStr2() {
+ return str2;
+ }
+ public void setStr2(String str2) {
+ this.str2 = str2;
+ }
+ public String getStr3() {
+ return str3;
+ }
+ public void setStr3(String str3) {
+ this.str3 = str3;
+ }
+ public int getInt0() {
+ return int0;
+ }
+ public void setInt0(int int0) {
+ this.int0 = int0;
+ }
+ public int getInt1() {
+ return int1;
+ }
+ public void setInt1(int int1) {
+ this.int1 = int1;
+ }
+ public int getInt2() {
+ return int2;
+ }
+ public void setInt2(int int2) {
+ this.int2 = int2;
+ }
+ public int getInt3() {
+ return int3;
+ }
+ public void setInt3(int int3) {
+ this.int3 = int3;
+ }
+ public boolean isBool0() {
+ return bool0;
+ }
+ public void setBool0(boolean bool0) {
+ this.bool0 = bool0;
+ }
+ public boolean isBool1() {
+ return bool1;
+ }
+ public void setBool1(boolean bool1) {
+ this.bool1 = bool1;
+ }
+ public boolean isBool2() {
+ return bool2;
+ }
+ public void setBool2(boolean bool2) {
+ this.bool2 = bool2;
+ }
+ public boolean isBool3() {
+ return bool3;
+ }
+ public void setBool3(boolean bool3) {
+ this.bool3 = bool3;
+ }
+
+ public static String Random(int size){
+ char [] c = new char[size];
+ for(int i = 0; i < size; i++){
+ c[i] = (char)(new Random().nextInt(25) + 97);
+ }
+ return new String(c);
+ }
+
+ public static String RandomUp(int size){
+ char [] c = new char[size];
+ for(int i = 0; i < size; i++){
+ c[i] = (char)(new Random().nextInt(25) + 65);
+ }
+ return new String(c);
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int result = 1;
+ result = prime * result + int0;
+ return result;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+ if (getClass() != obj.getClass())
+ return false;
+ final Data other = (Data) obj;
+ if (int0 != other.int0)
+ return false;
+ return true;
+ }
+
+ @Override
+ public String toString() {
+
+ return str0 + ":" + str1 + ":" + str2 + ":" + str3 + ":" + int0 + ":" + int1 + ":" + int2 + ":" + int3 + ":" + bool0 + ":" + bool1 + ":" + bool2 + ":" + bool3;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/event/Event.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/event/Event.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/event/Event.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,1382 @@
+package org.domain.HelloWorld.session.util.event;
+
+import javax.faces.model.SelectItem;
+import java.util.ArrayList;
+
+/**
+ * User: ayanul Date: Feb 11, 2008 Time: 10:15:14 AM
+ */
+public class Event {
+ private String onmouseup;
+ private String ontabenter;
+ private String ontableave;
+ private String onLoadMap;
+ private String onselectionchange;
+ private String ondownclick;
+ private String onupclick;
+ private String oninit;
+ private String ongroupactivate;
+ private String onitemselect;
+ private String onsubmit;
+ private String onRowClick;
+ private String onRowDblClick;
+ private String onRowMouseDown;
+ private String onRowMouseMove;
+ private String onRowMouseOut;
+ private String onRowMouseOver;
+ private String onRowMouseUp;
+ private String onselect;
+ private String onchange;
+ private String onfocus;
+ private String onblur;
+ private String onclick;
+ private String oncollapse;
+ private String oncomplete;
+ private String onclear;
+ private String ondblclick;
+ private String ondragend;
+ private String ondragenter;
+ private String ondragexit;
+ private String ondragstart;
+ private String ondrop;
+ private String ondropend;
+ private String onexpand;
+ private String onkeydown;
+ private String onkeypress;
+ private String onkeyup;
+ private String onmousedown;
+ private String onmousemove;
+ private String onmouseout;
+ private String onmouseover;
+ private String onselected;
+ private String onhide;
+ private String onshow;
+ private String onlistcall;
+ private String onitemselected;
+ private String oninputblur;
+ private String oninputchange;
+ private String oninputclick;
+ private String oninputfocus;
+ private String oninputkeydown;
+ private String oninputkeypress;
+ private String oninputkeyup;
+ private String oninputselect;
+ private String ondateselected;
+ private String ondateselect;
+ private String ontimeselect;
+ private String ontimeselected;
+ private String onchanged;
+ private String ondatemouseover;
+ private String ondatemouseout;
+ private String oncurrentdateselect;
+ private String onbeforedomupdate;
+ private String onslide;
+ private String ondropover;
+ private String ondropout;
+ private String onerror;
+ private String ontopclick;
+ private String onbottomclick;
+ private String onorderchanged;
+ private String onmove;
+ private String onheaderclick;
+ private String onmaskclick;
+ private String onresize;
+ private String onmaskmouseover;
+ private String onmaskmouseout;
+ private String onmaskmousemove;
+ private String onmaskmouseup;
+ private String onmaskmousedown;
+ private String onmaskdblclick;
+ private String onmaskcontextmenu;
+ private String onitemchange;
+ private String onitemhover;
+ private String ongroupexpand;
+ private String oncontextmenu;
+ private String ongroupcollapse;
+ private String onSlideSubmit;
+ private String oneditactivated;
+ private String oneditactivation;
+ private String oninputdblclick;
+ private String oninputmousedown;
+ private String oninputmousemove;
+ private String oninputmouseout;
+ private String oninputmouseover;
+ private String oninputmouseup;
+ private String onsizerejected;
+ private String ontyperejected;
+ private String onupload;
+ private String onuploadcanceled;
+ private String onuploadcomplete;
+ private String onviewactivated;
+ private String onviewactivation;
+ private String onbeforehide;
+ private String onbeforeshow;
+ private String opened;
+ private String onobjectchange;
+ private String onadd;
+ /* Events for toolBar */
+ private String onitemclick;
+ private String onitemdblclick;
+ private String onitemkeydown;
+ private String onitemkeypress;
+ private String onitemkeyup;
+ private String onitemmousedown;
+ private String onitemmousemove;
+ private String onitemmouseout;
+ private String onitemmouseover;
+ private String onitemmouseup;
+
+ // showEvent('onkeypressInputID', 'onkeypress work!')
+ public Event() {
+ onitemclick = "showEvent('formID:infoSubview:onitemclickInputID', 'onitemclick work!')";
+ onitemdblclick = "showEvent('formID:infoSubview:onitemdblclickInputID', 'onitemdblclick work!')";
+ onitemkeydown = "showEvent('formID:infoSubview:onitemkeydownInputID', 'onitemkeydown work!')";
+ onitemkeypress = "showEvent('formID:infoSubview:onitemkeypressInputID', 'onitemkeypress work!')";
+ onitemkeyup = "showEvent('formID:infoSubview:onitemkeyupInputID', 'onitemkeyup work!')";
+ onitemmousedown = "showEvent('formID:infoSubview:onitemmousedownInputID', 'onitemmousedown work!')";
+ onitemmousemove = "showEvent('formID:infoSubview:onitemmousemoveInputID', 'onitemmousemove work!')";
+ onitemmouseout = "showEvent('formID:infoSubview:onitemmouseoutInputID', 'onitemmouseout work!')";
+ onitemmouseover = "showEvent('formID:infoSubview:onitemmouseoverInputID', 'onitemmouseover work!')";
+ onitemmouseup = "showEvent('formID:infoSubview:onitemmouseupInputID', 'onitemmouseup work!')";
+ /* --- */
+ onobjectchange = "showEvent('formID:infoSubview:onobjectchangeInputID', 'onobjectchange work!')";
+ onLoadMap = "showEvent('formID:infoSubview:onLoadMapInputID', 'onLoadMap work!')";
+ opened = "showEvent('formID:infoSubview:openedInputID', 'opened work!')";
+ onRowClick = "showEvent('formID:infoSubview:onRowClickInputID', 'onRowClick work!')";
+ onRowDblClick = "showEvent('formID:infoSubview:onRowDblClickInputID', 'onRowDblClick work!')";
+ onRowMouseDown = "showEvent('formID:infoSubview:onRowMouseDownInputID', 'onRowMouseDown work!')";
+ onRowMouseMove = "showEvent('formID:infoSubview:onRowMouseMoveInputID', 'onRowMouseMove work!')";
+ onRowMouseOut = "showEvent('formID:infoSubview:onRowMouseOutInputID', 'onRowMouseOut work!')";
+ onRowMouseOver = "showEvent('formID:infoSubview:onRowMouseOverInputID', 'onRowMouseOver work!')";
+ onRowMouseUp = "showEvent('formID:infoSubview:onRowMouseUpInputID', 'onRowMouseUp work!')";
+ onbeforedomupdate = "showEvent('formID:infoSubview:onbeforedomupdateInputID', 'onbeforedomupdate work!')";
+ onblur = "showEvent('formID:infoSubview:onblurInputID', 'onblur work!')";
+ onbottomclick = "showEvent('formID:infoSubview:onbottomclickInputID', 'onbottomclick work!')";
+ onchange = "showEvent('formID:infoSubview:onchangeInputID', 'onchange work!')";
+ onchanged = "showEvent('formID:infoSubview:onchangedInputID', 'onchanged work!')";
+ onclick = "showEvent('formID:infoSubview:onclickInputID', 'onclick work!')";
+ oncollapse = "showEvent('formID:infoSubview:oncollapseInputID', 'oncollapse work!')";
+ oncomplete = "showEvent('formID:infoSubview:oncompleteInputID', 'oncomplete work!')";
+ oncontextmenu = "showEvent('formID:infoSubview:oncontextmenuInputID', 'oncontextmenu work!')";
+ onclear = "showEvent('formID:infoSubview:onclearInputID', 'onclear work!')";
+ oncurrentdateselect = "showEvent('formID:infoSubview:oncurrentdateselectInputID', 'oncurrentdateselect work!')";
+ ondatemouseout = "showEvent('formID:infoSubview:ondatemouseoutInputID', 'ondatemouseout work!')";
+ ondatemouseover = "showEvent('formID:infoSubview:ondatemouseoverInputID', 'ondatemouseover work!')";
+ ondateselect = "showEvent('formID:infoSubview:ondateselectInputID', 'ondateselect work!')";
+ ondateselected = "showEvent('formID:infoSubview:ondateselectedInputID', 'ondateselected work!')";
+ ondblclick = "showEvent('formID:infoSubview:ondblclickInputID', 'ondblclick work!')";
+ ondownclick = "showEvent('formID:infoSubview:ondownclickInputID', 'ondownclick work!')";
+ ondragend = "showEvent('formID:infoSubview:ondragendInputID', 'ondragend work!')";
+ ondragenter = "showEvent('formID:infoSubview:ondragenterInputID', 'ondragenter work!')";
+ ondragexit = "showEvent('formID:infoSubview:ondragexitInputID', 'ondragexit work!')";
+ ondragstart = "showEvent('formID:infoSubview:ondragstartInputID', 'ondragstart work!')";
+ ondrop = "showEvent('formID:infoSubview:ondropInputID', 'ondrop work!')";
+ ondropend = "showEvent('formID:infoSubview:ondropendInputID', 'ondropend work!')";
+ ondropout = "showEvent('formID:infoSubview:ondropoutInputID', 'ondropout work!')";
+ ondropover = "showEvent('FormID:infoSubview:ondropoverInputID', 'ondropover work!')";
+ onerror = "showEvent('formID:infoSubview:onerrorInputID', 'onerror work!')";
+ onexpand = "showEvent('formID:infoSubview:onexpandInputID', 'onexpand work!')";
+ onfocus = "showEvent('formID:infoSubview:onfocusInputID', 'onfocus work!')";
+ ongroupactivate = "showEvent('formID:infoSubview:ongroupactivateInputID', 'ongroupactivate work!')";
+ ongroupexpand = "showEvent('formID:infoSubview:ongroupexpandInputID', 'ongroupexpand work!')";
+ onheaderclick = "showEvent('formID:infoSubview:onheaderclickInputID', 'onheaderclick work!')";
+ onhide = "showEvent('formID:infoSubview:onhideInputID', 'onhide work!')";
+ oninit = "showEvent('formID:infoSubview:oninitInputID', 'oninit work!')";
+ oninputblur = "showEvent('formID:infoSubview:oninputblurInputID', 'oninputblur work!')";
+ oninputchange = "showEvent('formID:infoSubview:oninputchangeInputID', 'oninputchange work!')";
+ oninputclick = "showEvent('formID:infoSubview:oninputclickInputID', 'oninputclick work!')";
+ oninputfocus = "showEvent('formID:infoSubview:oninputfocusInputID', 'oninputfocus work!')";
+ oninputkeydown = "showEvent('formID:infoSubview:oninputkeydownInputID', 'oninputkeydown work!')";
+ oninputkeypress = "showEvent('formID:infoSubview:oninputkeypressInputID', 'oninputkeypress work!')";
+ oninputkeyup = "showEvent('formID:infoSubview:oninputkeyupInputID', 'oninputkeyup work!')";
+ oninputselect = "showEvent('formID:infoSubview:oninputselectInputID', 'oninputselect work!')";
+ onitemchange = "showEvent('formID:infoSubview:onitemchangeInputID', 'onitemchange work!')";
+ onitemhover = "showEvent('formID:infoSubview:onitemhoverInputID', 'onitemhover work!')";
+ onitemselect = "showEvent('formID:infoSubview:onitemselectInputID', 'onitemselect work!')";
+ onitemselected = "showEvent('formID:infoSubview:onitemselectedInputID', 'onitemselected work!')";
+ onkeydown = "showEvent('formID:infoSubview:onkeydownInputID', 'onkeydown work!')";
+ onkeypress = "showEvent('formID:infoSubview:onkeypressInputID', 'onkeypress work!')";
+ onkeyup = "showEvent('formID:infoSubview:onkeyupInputID', 'onkeyup work!')";
+ onlistcall = "showEvent('formID:infoSubview:onlistcallInputID', 'onlistcall work!')";
+ onmaskclick = "showEvent('formID:infoSubview:onmaskclickInputID', 'onmaskclick work!')";
+ onmaskcontextmenu = "showEvent('formID:infoSubview:onmaskcontextmenuInputID', 'onmaskcontextmenu work!')";
+ onmaskdblclick = "showEvent('formID:infoSubview:onmaskdblclickInputID', 'onmaskdblclick work!')";
+ onmaskmousedown = "showEvent('formID:infoSubview:onmaskmousedownInputID', 'onmaskmousedown work!')";
+ onmaskmousemove = "showEvent('formID:infoSubview:onmaskmousemoveInputID', 'onmaskmousemove work!')";
+ onmaskmouseout = "showEvent('formID:infoSubview:onmaskmouseoutInputID', 'onmaskmouseout work!')";
+ onmaskmouseover = "showEvent('formID:infoSubview:onmaskmouseoverInputID', 'onmaskmouseover work!')";
+ onmaskmouseup = "showEvent('formID:infoSubview:onmaskmouseupInputID', 'onmaskmouseup work!')";
+ onmousedown = "showEvent('formID:infoSubview:onmousedownInputID', 'onmousedown work!')";
+ onmousemove = "showEvent('formID:infoSubview:onmousemoveInputID', 'onmousemove work!')";
+ onmouseout = "showEvent('formID:infoSubview:onmouseoutInputID', 'onmouseout work!')";
+ onmouseover = "showEvent('formID:infoSubview:onmouseoverInputID', 'onmouseover work!')";
+ onmouseup = "showEvent('formID:infoSubview:onmouseupInputID', 'onmouseup work!')";
+ onmove = "showEvent('formID:infoSubview:onmoveInputID', 'onmove work!')";
+ onorderchanged = "showEvent('formID:infoSubview:onorderchangedInputID', 'onorderchanged work!')";
+ onresize = "showEvent('formID:infoSubview:onresizeInputID', 'onresize work!')";
+ onselect = "showEvent('formID:infoSubview:onselectInputID', 'onselect work!')";
+ onselected = "showEvent('formID:infoSubview:onselectedInputID', 'onselected work!')";
+ onselectionchange = "showEvent('formID:infoSubview:onselectionchangeInputID', 'onselectionchange work!')";
+ onshow = "showEvent('formID:infoSubview:onshowInputID', 'onshow work!')";
+ onslide = "showEvent('formID:infoSubview:onslideInputID', 'onslide work!')";
+ onsubmit = "showEvent('formID:infoSubview:onsubmitInputID', 'onsubmit work!')";
+ ontabenter = "showEvent('formID:infoSubview:ontabenterInputID', 'ontabenter work!')";
+ ontableave = "showEvent('formID:infoSubview:ontableaveInputID', 'ontableave work!')";
+ ontimeselect = "showEvent('formID:infoSubview:ontimeselectInputID', 'ontimeselect work!')";
+ ontimeselected = "showEvent('formID:infoSubview:ontimeselectedInputID', 'ontimeselected work!')";
+ ontopclick = "showEvent('formID:infoSubview:ontopclickInputID', 'ontopclick work!')";
+ onupclick = "showEvent('formID:infoSubview:onupclickInputID', 'onupclick work!')";
+ ongroupcollapse = "showEvent('formID:infoSubview:ongroupcollapseInputID', 'ongroupcollapse work!')";
+ onSlideSubmit = "showEvent('formID:infoSubview:onSlideSubmitInputID', 'onSlideSubmit work!')";
+ oneditactivated = "showEvent('formID:infoSubview:oneditactivatedInputID', 'oneditactivated work!')";
+ oneditactivation = "showEvent('formID:infoSubview:oneditactivationInputID', 'oneditactivation work!')";
+ oninputdblclick = "showEvent('formID:infoSubview:oninputdblclickInputID', 'oninputdblclick work!')";
+ oninputmousedown = "showEvent('formID:infoSubview:oninputmousedownInputID', 'oninputmousedown work!')";
+ oninputmousemove = "showEvent('formID:infoSubview:oninputmousemoveInputID', 'oninputmousemove work!')";
+ oninputmouseout = "showEvent('formID:infoSubview:oninputmouseoutInputID', 'oninputmouseout work!')";
+ oninputmouseover = "showEvent('formID:infoSubview:oninputmouseoverInputID', 'oninputmouseover work!')";
+ oninputmouseup = "showEvent('formID:infoSubview:oninputmouseupInputID', 'oninputmouseup work!')";
+ onsizerejected = "showEvent('formID:infoSubview:onsizerejectedInputID', 'onsizerejected work!')";
+ ontyperejected = "showEvent('formID:infoSubview:ontyperejectedInputID', 'ontyperejected work!')";
+ onupload = "showEvent('formID:infoSubview:onuploadInputID', 'onupload work!')";
+ onuploadcanceled = "showEvent('formID:infoSubview:onuploadcanceledInputID', 'onuploadcanceled work!')";
+ onuploadcomplete = "showEvent('formID:infoSubview:onuploadcompleteInputID', 'onuploadcomplete work!')";
+ onviewactivated = "showEvent('formID:infoSubview:onviewactivatedInputID', 'onviewactivated work!')";
+ onviewactivation = "showEvent('formID:infoSubview:onviewactivationInputID', 'onviewactivation work!')";
+ onbeforehide = "showEvent('formID:infoSubview:onbeforehideInputID', 'onbeforehide work!')";
+ onbeforeshow = "showEvent('formID:infoSubview:onbeforeshowInputID', 'onbeforeshow work!')";
+ onadd = "showEvent('formID:infoSubview:onaddInputID', 'onadd work!')";
+ }
+
+ public String getOncontextmenu() {
+ return oncontextmenu;
+ }
+
+ public void setOncontextmenu(String oncontextmenu) {
+ this.oncontextmenu = oncontextmenu;
+ }
+
+ public String getOngroupexpand() {
+ return ongroupexpand;
+ }
+
+ public void setOngroupexpand(String ongroupexpand) {
+ this.ongroupexpand = ongroupexpand;
+ }
+
+ public String getOnitemhover() {
+ return onitemhover;
+ }
+
+ public void setOnitemhover(String onitemhover) {
+ this.onitemhover = onitemhover;
+ }
+
+ public String getOnitemchange() {
+ return onitemchange;
+ }
+
+ public void setOnitemchange(String onitemchange) {
+ this.onitemchange = onitemchange;
+ }
+
+ public String getOnheaderclick() {
+ return onheaderclick;
+ }
+
+ public void setOnheaderclick(String onheaderclick) {
+ this.onheaderclick = onheaderclick;
+ }
+
+ public String getOnmove() {
+ return onmove;
+ }
+
+ public void setOnmove(String onmove) {
+ this.onmove = onmove;
+ }
+
+ public String getOntopclick() {
+ return ontopclick;
+ }
+
+ public void setOntopclick(String ontopclick) {
+ this.ontopclick = ontopclick;
+ }
+
+ public String getOnerror() {
+ return onerror;
+ }
+
+ public void setOnerror(String onerror) {
+ this.onerror = onerror;
+ }
+
+ public String getOndropover() {
+ return ondropover;
+ }
+
+ public void setOndropover(String ondropover) {
+ this.ondropover = ondropover;
+ }
+
+ public String getOnslide() {
+ return onslide;
+ }
+
+ public void setOnslide(String onslide) {
+ this.onslide = onslide;
+ }
+
+ public String getOnbeforedomupdate() {
+ return onbeforedomupdate;
+ }
+
+ public void setOnbeforedomupdate(String onbeforedomupdate) {
+ this.onbeforedomupdate = onbeforedomupdate;
+ }
+
+ public ArrayList<SelectItem> getEvent(String event) {
+ ArrayList<SelectItem> arr = new ArrayList<SelectItem>();
+ arr.add(new SelectItem("showEvent('" + event + "', '" + event + " work!'"));
+ arr.add(new SelectItem("alert('" + event + "')"));
+ arr.add(new SelectItem(""));
+ return arr;
+
+ }
+
+ public ArrayList<SelectItem> getOntabenterSI() {
+ return getEvent("ontabenter");
+ }
+
+ public ArrayList<SelectItem> getOntableaveSI() {
+ return getEvent("ontableave");
+ }
+
+ public ArrayList<SelectItem> getOnLoadMapSI() {
+ return getEvent("onLoadMap");
+ }
+
+ public ArrayList<SelectItem> getOnselectionchangeSI() {
+ return getEvent("onselectionchange");
+ }
+
+ public ArrayList<SelectItem> getOndownclickSI() {
+ return getEvent("ondownclick");
+ }
+
+ public ArrayList<SelectItem> getOnupclickSI() {
+ return getEvent("onupclick");
+ }
+
+ public ArrayList<SelectItem> getOninitSI() {
+ return getEvent("oninit");
+ }
+
+ public ArrayList<SelectItem> getOngroupactivateSI() {
+ return getEvent("ongroupactivate");
+ }
+
+ public ArrayList<SelectItem> getOnitemselectSI() {
+ return getEvent("onitemselect");
+ }
+
+ public ArrayList<SelectItem> getOnsubmitSI() {
+ return getEvent("onsubmit");
+ }
+
+ public ArrayList<SelectItem> getOnRowClickSI() {
+ return getEvent("onRowClick");
+ }
+
+ public ArrayList<SelectItem> getOnRowDblClickSI() {
+ return getEvent("onRowDblClick");
+ }
+
+ public ArrayList<SelectItem> getOnRowMouseDownSI() {
+ return getEvent("onRowMouseDown");
+ }
+
+ public ArrayList<SelectItem> getOnRowMouseMoveSI() {
+ return getEvent("onRowMouseMove");
+ }
+
+ public ArrayList<SelectItem> getOnRowMouseOutSI() {
+ return getEvent("onRowMouseOut");
+ }
+
+ public ArrayList<SelectItem> getOnRowMouseOverSI() {
+ return getEvent("onRowMouseOut");
+ }
+
+ public ArrayList<SelectItem> getOnRowMouseUpSI() {
+ return getEvent("onRowMouseUp");
+ }
+
+ public ArrayList<SelectItem> getOnselectSI() {
+ return getEvent("onselect");
+ }
+
+ public ArrayList<SelectItem> getOnchangeSI() {
+ return getEvent("onchange");
+ }
+
+ public ArrayList<SelectItem> getOnfocusSI() {
+ return getEvent("onfocus");
+ }
+
+ public ArrayList<SelectItem> getOnblurSI() {
+ return getEvent("onblur");
+ }
+
+ public ArrayList<SelectItem> getOnclickSI() {
+ return getEvent("onclick");
+ }
+
+ public ArrayList<SelectItem> getOncollapseSI() {
+ return getEvent("oncollapse");
+ }
+
+ public ArrayList<SelectItem> getOncompleteSI() {
+ return getEvent("oncomplete");
+ }
+
+ public ArrayList<SelectItem> getOndblclickSI() {
+ return getEvent("ondblclick");
+ }
+
+ public ArrayList<SelectItem> getOndragendSI() {
+ return getEvent("ondragend");
+ }
+
+ public ArrayList<SelectItem> getOndragenterSI() {
+ return getEvent("ondragenter");
+ }
+
+ public ArrayList<SelectItem> getOndragexitSI() {
+ return getEvent("ondragexit");
+ }
+
+ public ArrayList<SelectItem> getOndragstartSI() {
+ return getEvent("ondragstart");
+ }
+
+ public ArrayList<SelectItem> getOndropSI() {
+ return getEvent("ondrop");
+ }
+
+ public ArrayList<SelectItem> getOndropendSI() {
+ return getEvent("ondropend");
+ }
+
+ public ArrayList<SelectItem> getOnexpandSI() {
+ return getEvent("onexpand");
+ }
+
+ public ArrayList<SelectItem> getOnkeydownSI() {
+ return getEvent("onkeydown");
+ }
+
+ public ArrayList<SelectItem> getOnkeypressSI() {
+ return getEvent("onkeypress");
+ }
+
+ public ArrayList<SelectItem> getOnkeyupSI() {
+ return getEvent("onkeyup");
+ }
+
+ public ArrayList<SelectItem> getOnmousedownSI() {
+ return getEvent("onmousedown");
+ }
+
+ public ArrayList<SelectItem> getOnmousemoveSI() {
+ return getEvent("onmousemove");
+ }
+
+ public ArrayList<SelectItem> getOnmouseoutSI() {
+ return getEvent("onmouseout");
+ }
+
+ public ArrayList<SelectItem> getOnmouseoverSI() {
+ return getEvent("onmouseover");
+ }
+
+ public ArrayList<SelectItem> getOnselectedSI() {
+ return getEvent("onselected");
+ }
+
+ public ArrayList<SelectItem> getOnhideSI() {
+ return getEvent("onhide");
+ }
+
+ public ArrayList<SelectItem> getOnshowSI() {
+ return getEvent("onshow");
+ }
+
+ public ArrayList<SelectItem> getOnmouseupSI() {
+ return getEvent("onmouseup");
+ }
+
+ public ArrayList<SelectItem> getOnlistcallSI() {
+ return getEvent("onlistcall");
+ }
+
+ public ArrayList<SelectItem> getOnitemselectedSI() {
+ return getEvent("onitemselected");
+ }
+
+ public ArrayList<SelectItem> getOninputblurSI() {
+ return getEvent("oninputblur");
+ }
+
+ public String getOnmouseup() {
+ return onmouseup;
+ }
+
+ public void setOnmouseup(String onmouseup) {
+ this.onmouseup = onmouseup;
+ }
+
+ public String getOntabenter() {
+ return ontabenter;
+ }
+
+ public void setOntabenter(String ontabenter) {
+ this.ontabenter = ontabenter;
+ }
+
+ public String getOntableave() {
+ return ontableave;
+ }
+
+ public void setOntableave(String ontableave) {
+ this.ontableave = ontableave;
+ }
+
+ public String getOnLoadMap() {
+ return onLoadMap;
+ }
+
+ public void setOnLoadMap(String onLoadMap) {
+ this.onLoadMap = onLoadMap;
+ }
+
+ public String getOnselectionchange() {
+ return onselectionchange;
+ }
+
+ public void setOnselectionchange(String onselectionchange) {
+ this.onselectionchange = onselectionchange;
+ }
+
+ public String getOndownclick() {
+ return ondownclick;
+ }
+
+ public void setOndownclick(String ondownclick) {
+ this.ondownclick = ondownclick;
+ }
+
+ public String getOnupclick() {
+ return onupclick;
+ }
+
+ public void setOnupclick(String onupclick) {
+ this.onupclick = onupclick;
+ }
+
+ public String getOninit() {
+ return oninit;
+ }
+
+ public void setOninit(String oninit) {
+ this.oninit = oninit;
+ }
+
+ public String getOngroupactivate() {
+ return ongroupactivate;
+ }
+
+ public void setOngroupactivate(String ongroupactivate) {
+ this.ongroupactivate = ongroupactivate;
+ }
+
+ public String getOnitemselect() {
+ return onitemselect;
+ }
+
+ public void setOnitemselect(String onitemselect) {
+ this.onitemselect = onitemselect;
+ }
+
+ public String getOnsubmit() {
+ return onsubmit;
+ }
+
+ public void setOnsubmit(String onsubmit) {
+ this.onsubmit = onsubmit;
+ }
+
+ public String getOnRowClick() {
+ return onRowClick;
+ }
+
+ public void setOnRowClick(String onRowClick) {
+ this.onRowClick = onRowClick;
+ }
+
+ public String getOnRowDblClick() {
+ return onRowDblClick;
+ }
+
+ public void setOnRowDblClick(String onRowDblClick) {
+ this.onRowDblClick = onRowDblClick;
+ }
+
+ public String getOnRowMouseDown() {
+ return onRowMouseDown;
+ }
+
+ public void setOnRowMouseDown(String onRowMouseDown) {
+ this.onRowMouseDown = onRowMouseDown;
+ }
+
+ public String getOnRowMouseMove() {
+ return onRowMouseMove;
+ }
+
+ public void setOnRowMouseMove(String onRowMouseMove) {
+ this.onRowMouseMove = onRowMouseMove;
+ }
+
+ public String getOnRowMouseOut() {
+ return onRowMouseOut;
+ }
+
+ public void setOnRowMouseOut(String onRowMouseOut) {
+ this.onRowMouseOut = onRowMouseOut;
+ }
+
+ public String getOnRowMouseOver() {
+ return onRowMouseOver;
+ }
+
+ public void setOnRowMouseOver(String onRowMouseOver) {
+ this.onRowMouseOver = onRowMouseOver;
+ }
+
+ public String getOnRowMouseUp() {
+ return onRowMouseUp;
+ }
+
+ public void setOnRowMouseUp(String onRowMouseUp) {
+ this.onRowMouseUp = onRowMouseUp;
+ }
+
+ public String getOnselect() {
+ return onselect;
+ }
+
+ public void setOnselect(String onselect) {
+ this.onselect = onselect;
+ }
+
+ public String getOnchange() {
+ return onchange;
+ }
+
+ public void setOnchange(String onchange) {
+ this.onchange = onchange;
+ }
+
+ public String getOnfocus() {
+ return onfocus;
+ }
+
+ public void setOnfocus(String onfocus) {
+ this.onfocus = onfocus;
+ }
+
+ public String getOnblur() {
+ return onblur;
+ }
+
+ public void setOnblur(String onblur) {
+ this.onblur = onblur;
+ }
+
+ public String getOnclick() {
+ return onclick;
+ }
+
+ public void setOnclick(String onclick) {
+ this.onclick = onclick;
+ }
+
+ public String getOncollapse() {
+ return oncollapse;
+ }
+
+ public void setOncollapse(String oncollapse) {
+ this.oncollapse = oncollapse;
+ }
+
+ public String getOncomplete() {
+ return oncomplete;
+ }
+
+ public void setOncomplete(String oncomplete) {
+ this.oncomplete = oncomplete;
+ }
+
+ public String getOndblclick() {
+ return ondblclick;
+ }
+
+ public void setOndblclick(String ondblclick) {
+ this.ondblclick = ondblclick;
+ }
+
+ public String getOndragend() {
+ return ondragend;
+ }
+
+ public void setOndragend(String ondragend) {
+ this.ondragend = ondragend;
+ }
+
+ public String getOndragenter() {
+ return ondragenter;
+ }
+
+ public void setOndragenter(String ondragenter) {
+ this.ondragenter = ondragenter;
+ }
+
+ public String getOndragexit() {
+ return ondragexit;
+ }
+
+ public void setOndragexit(String ondragexit) {
+ this.ondragexit = ondragexit;
+ }
+
+ public String getOndragstart() {
+ return ondragstart;
+ }
+
+ public void setOndragstart(String ondragstart) {
+ this.ondragstart = ondragstart;
+ }
+
+ public String getOndrop() {
+ return ondrop;
+ }
+
+ public void setOndrop(String ondrop) {
+ this.ondrop = ondrop;
+ }
+
+ public String getOndropend() {
+ return ondropend;
+ }
+
+ public void setOndropend(String ondropend) {
+ this.ondropend = ondropend;
+ }
+
+ public String getOnexpand() {
+ return onexpand;
+ }
+
+ public void setOnexpand(String onexpand) {
+ this.onexpand = onexpand;
+ }
+
+ public String getOnkeydown() {
+ return onkeydown;
+ }
+
+ public void setOnkeydown(String onkeydown) {
+ this.onkeydown = onkeydown;
+ }
+
+ public String getOnkeypress() {
+ return onkeypress;
+ }
+
+ public void setOnkeypress(String onkeypress) {
+ this.onkeypress = onkeypress;
+ }
+
+ public String getOnkeyup() {
+ return onkeyup;
+ }
+
+ public void setOnkeyup(String onkeyup) {
+ this.onkeyup = onkeyup;
+ }
+
+ public String getOnmousedown() {
+ return onmousedown;
+ }
+
+ public void setOnmousedown(String onmousedown) {
+ this.onmousedown = onmousedown;
+ }
+
+ public String getOnmousemove() {
+ return onmousemove;
+ }
+
+ public void setOnmousemove(String onmousemove) {
+ this.onmousemove = onmousemove;
+ }
+
+ public String getOnmouseout() {
+ return onmouseout;
+ }
+
+ public void setOnmouseout(String onmouseout) {
+ this.onmouseout = onmouseout;
+ }
+
+ public String getOnmouseover() {
+ return onmouseover;
+ }
+
+ public void setOnmouseover(String onmouseover) {
+ this.onmouseover = onmouseover;
+ }
+
+ public String getOnselected() {
+ return onselected;
+ }
+
+ public void setOnselected(String onselected) {
+ this.onselected = onselected;
+ }
+
+ public String getOnhide() {
+ return onhide;
+ }
+
+ public void setOnhide(String onhide) {
+ this.onhide = onhide;
+ }
+
+ public String getOnshow() {
+ return onshow;
+ }
+
+ public void setOnshow(String onshow) {
+ this.onshow = onshow;
+ }
+
+ public String getOnlistcall() {
+ return onlistcall;
+ }
+
+ public void setOnlistcall(String onlistcall) {
+ this.onlistcall = onlistcall;
+ }
+
+ public String getOnitemselected() {
+ return onitemselected;
+ }
+
+ public void setOnitemselected(String onitemselected) {
+ this.onitemselected = onitemselected;
+ }
+
+ public String getOninputblur() {
+ return oninputblur;
+ }
+
+ public void setOninputblur(String oninputblur) {
+ this.oninputblur = oninputblur;
+ }
+
+ public String getOninputclick() {
+ return oninputclick;
+ }
+
+ public void setOninputclick(String oninputclick) {
+ this.oninputclick = oninputclick;
+ }
+
+ public String getOninputfocus() {
+ return oninputfocus;
+ }
+
+ public void setOninputfocus(String oninputfocus) {
+ this.oninputfocus = oninputfocus;
+ }
+
+ public String getOninputkeydown() {
+ return oninputkeydown;
+ }
+
+ public void setOninputkeydown(String oninputkeydown) {
+ this.oninputkeydown = oninputkeydown;
+ }
+
+ public String getOninputkeypress() {
+ return oninputkeypress;
+ }
+
+ public void setOninputkeypress(String oninputkeypress) {
+ this.oninputkeypress = oninputkeypress;
+ }
+
+ public String getOninputkeyup() {
+ return oninputkeyup;
+ }
+
+ public void setOninputkeyup(String oninputkeyup) {
+ this.oninputkeyup = oninputkeyup;
+ }
+
+ public String getOninputselect() {
+ return oninputselect;
+ }
+
+ public void setOninputselect(String oninputselect) {
+ this.oninputselect = oninputselect;
+ }
+
+ public String getOndateselected() {
+ return ondateselected;
+ }
+
+ public void setOndateselected(String ondateselected) {
+ this.ondateselected = ondateselected;
+ }
+
+ public String getOndateselect() {
+ return ondateselect;
+ }
+
+ public void setOndateselect(String ondateselect) {
+ this.ondateselect = ondateselect;
+ }
+
+ public String getOntimeselect() {
+ return ontimeselect;
+ }
+
+ public void setOntimeselect(String ontimeselect) {
+ this.ontimeselect = ontimeselect;
+ }
+
+ public String getOntimeselected() {
+ return ontimeselected;
+ }
+
+ public void setOntimeselected(String ontimeselected) {
+ this.ontimeselected = ontimeselected;
+ }
+
+ public String getOnchanged() {
+ return onchanged;
+ }
+
+ public void setOnchanged(String onchanged) {
+ this.onchanged = onchanged;
+ }
+
+ public String getOndatemouseover() {
+ return ondatemouseover;
+ }
+
+ public void setOndatemouseover(String ondatemouseover) {
+ this.ondatemouseover = ondatemouseover;
+ }
+
+ public String getOndatemouseout() {
+ return ondatemouseout;
+ }
+
+ public void setOndatemouseout(String ondatemouseout) {
+ this.ondatemouseout = ondatemouseout;
+ }
+
+ public String getOncurrentdateselect() {
+ return oncurrentdateselect;
+ }
+
+ public void setOncurrentdateselect(String oncurrentdateselect) {
+ this.oncurrentdateselect = oncurrentdateselect;
+ }
+
+ public String getOninputchange() {
+ return oninputchange;
+ }
+
+ public void setOninputchange(String oninputchange) {
+ this.oninputchange = oninputchange;
+ }
+
+ public String getOndropout() {
+ return ondropout;
+ }
+
+ public void setOndropout(String ondropout) {
+ this.ondropout = ondropout;
+ }
+
+ public String getOnbottomclick() {
+ return onbottomclick;
+ }
+
+ public void setOnbottomclick(String onbottomclick) {
+ this.onbottomclick = onbottomclick;
+ }
+
+ public String getOnorderchanged() {
+ return onorderchanged;
+ }
+
+ public void setOnorderchanged(String onorderchanged) {
+ this.onorderchanged = onorderchanged;
+ }
+
+ public String getOnmaskclick() {
+ return onmaskclick;
+ }
+
+ public void setOnmaskclick(String onmaskclick) {
+ this.onmaskclick = onmaskclick;
+ }
+
+ public String getOnresize() {
+ return onresize;
+ }
+
+ public void setOnresize(String onresize) {
+ this.onresize = onresize;
+ }
+
+ public String getOnmaskmouseover() {
+ return onmaskmouseover;
+ }
+
+ public void setOnmaskmouseover(String onmaskmouseover) {
+ this.onmaskmouseover = onmaskmouseover;
+ }
+
+ public String getOnmaskmouseout() {
+ return onmaskmouseout;
+ }
+
+ public void setOnmaskmouseout(String onmaskmouseout) {
+ this.onmaskmouseout = onmaskmouseout;
+ }
+
+ public String getOnmaskmousemove() {
+ return onmaskmousemove;
+ }
+
+ public void setOnmaskmousemove(String onmaskmousemove) {
+ this.onmaskmousemove = onmaskmousemove;
+ }
+
+ public String getOnmaskmouseup() {
+ return onmaskmouseup;
+ }
+
+ public void setOnmaskmouseup(String onmaskmouseup) {
+ this.onmaskmouseup = onmaskmouseup;
+ }
+
+ public String getOnmaskmousedown() {
+ return onmaskmousedown;
+ }
+
+ public void setOnmaskmousedown(String onmaskmousedown) {
+ this.onmaskmousedown = onmaskmousedown;
+ }
+
+ public String getOnmaskdblclick() {
+ return onmaskdblclick;
+ }
+
+ public void setOnmaskdblclick(String onmaskdblclick) {
+ this.onmaskdblclick = onmaskdblclick;
+ }
+
+ public String getOnmaskcontextmenu() {
+ return onmaskcontextmenu;
+ }
+
+ public void setOnmaskcontextmenu(String onmaskcontextmenu) {
+ this.onmaskcontextmenu = onmaskcontextmenu;
+ }
+
+
+ public String getOngroupcollapse() {
+ return ongroupcollapse;
+ }
+
+ public void setOngroupcollapse(String ongroupcollapse) {
+ this.ongroupcollapse = ongroupcollapse;
+ }
+
+ public String getOpened() {
+ return opened;
+ }
+
+ public void setOpened(String opened) {
+ this.opened = opened;
+ }
+
+ public String getOneditactivated() {
+ return oneditactivated;
+ }
+
+ public void setOneditactivated(String oneditactivated) {
+ this.oneditactivated = oneditactivated;
+ }
+
+
+ public String getOnviewactivation() {
+ return onviewactivation;
+ }
+
+ public void setOnviewactivation(String onviewactivation) {
+ this.onviewactivation = onviewactivation;
+ }
+
+ public String getOnviewactivated() {
+ return onviewactivated;
+ }
+
+ public void setOnviewactivated(String onviewactivated) {
+ this.onviewactivated = onviewactivated;
+ }
+
+ public String getOninputmouseup() {
+ return oninputmouseup;
+ }
+
+ public void setOninputmouseup(String oninputmouseup) {
+ this.oninputmouseup = oninputmouseup;
+ }
+
+ public String getOninputmouseover() {
+ return oninputmouseover;
+ }
+
+ public void setOninputmouseover(String oninputmouseover) {
+ this.oninputmouseover = oninputmouseover;
+ }
+
+ public String getOninputmouseout() {
+ return oninputmouseout;
+ }
+
+ public void setOninputmouseout(String oninputmouseout) {
+ this.oninputmouseout = oninputmouseout;
+ }
+
+ public String getOninputmousemove() {
+ return oninputmousemove;
+ }
+
+ public void setOninputmousemove(String oninputmousemove) {
+ this.oninputmousemove = oninputmousemove;
+ }
+
+ public String getOninputmousedown() {
+ return oninputmousedown;
+ }
+
+ public void setOninputmousedown(String oninputmousedown) {
+ this.oninputmousedown = oninputmousedown;
+ }
+
+ public String getOninputdblclick() {
+ return oninputdblclick;
+ }
+
+ public void setOninputdblclick(String oninputdblclick) {
+ this.oninputdblclick = oninputdblclick;
+ }
+
+ public String getOneditactivation() {
+ return oneditactivation;
+ }
+
+ public void setOneditactivation(String oneditactivation) {
+ this.oneditactivation = oneditactivation;
+ }
+
+ public String getOnclear() {
+ return onclear;
+ }
+
+ public void setOnclear(String onclear) {
+ this.onclear = onclear;
+ }
+
+ public String getOnSlideSubmit() {
+ return onSlideSubmit;
+ }
+
+ public void setOnSlideSubmit(String onSlideSubmit) {
+ this.onSlideSubmit = onSlideSubmit;
+ }
+
+ public String getOnsizerejected() {
+ return onsizerejected;
+ }
+
+ public void setOnsizerejected(String onsizerejected) {
+ this.onsizerejected = onsizerejected;
+ }
+
+ public String getOntyperejected() {
+ return ontyperejected;
+ }
+
+ public void setOntyperejected(String ontyperejected) {
+ this.ontyperejected = ontyperejected;
+ }
+
+ public String getOnupload() {
+ return onupload;
+ }
+
+ public void setOnupload(String onupload) {
+ this.onupload = onupload;
+ }
+
+ public String getOnuploadcanceled() {
+ return onuploadcanceled;
+ }
+
+ public void setOnuploadcanceled(String onuploadcanceled) {
+ this.onuploadcanceled = onuploadcanceled;
+ }
+
+ public String getOnuploadcomplete() {
+ return onuploadcomplete;
+ }
+
+ public void setOnuploadcomplete(String onuploadcomplete) {
+ this.onuploadcomplete = onuploadcomplete;
+ }
+
+ public String getOnbeforehide() {
+ return onbeforehide;
+ }
+
+ public void setOnbeforehide(String onbeforehide) {
+ this.onbeforehide = onbeforehide;
+ }
+
+ public String getOnbeforeshow() {
+ return onbeforeshow;
+ }
+
+ public void setOnbeforeshow(String onbeforeshow) {
+ this.onbeforeshow = onbeforeshow;
+ }
+
+ public String getOnobjectchange() {
+ return onobjectchange;
+ }
+
+ public void setOnobjectchange(String onobjectchange) {
+ this.onobjectchange = onobjectchange;
+ }
+
+ public String getOnadd() {
+ return onadd;
+ }
+
+ public void setOnadd(String onadd) {
+ this.onadd = onadd;
+ }
+
+ public String getOnitemclick() {
+ return onitemclick;
+ }
+
+ public void setOnitemclick(String onitemclick) {
+ this.onitemclick = onitemclick;
+ }
+
+ public String getOnitemdblclick() {
+ return onitemdblclick;
+ }
+
+ public void setOnitemdblclick(String onitemdblclick) {
+ this.onitemdblclick = onitemdblclick;
+ }
+
+ public String getOnitemkeydown() {
+ return onitemkeydown;
+ }
+
+ public void setOnitemkeydown(String onitemkeydown) {
+ this.onitemkeydown = onitemkeydown;
+ }
+
+ public String getOnitemkeypress() {
+ return onitemkeypress;
+ }
+
+ public void setOnitemkeypress(String onitemkeypress) {
+ this.onitemkeypress = onitemkeypress;
+ }
+
+ public String getOnitemkeyup() {
+ return onitemkeyup;
+ }
+
+ public void setOnitemkeyup(String onitemkeyup) {
+ this.onitemkeyup = onitemkeyup;
+ }
+
+ public String getOnitemmousedown() {
+ return onitemmousedown;
+ }
+
+ public void setOnitemmousedown(String onitemmousedown) {
+ this.onitemmousedown = onitemmousedown;
+ }
+
+ public String getOnitemmousemove() {
+ return onitemmousemove;
+ }
+
+ public void setOnitemmousemove(String onitemmousemove) {
+ this.onitemmousemove = onitemmousemove;
+ }
+
+ public String getOnitemmouseout() {
+ return onitemmouseout;
+ }
+
+ public void setOnitemmouseout(String onitemmouseout) {
+ this.onitemmouseout = onitemmouseout;
+ }
+
+ public String getOnitemmouseover() {
+ return onitemmouseover;
+ }
+
+ public void setOnitemmouseover(String onitemmouseover) {
+ this.onitemmouseover = onitemmouseover;
+ }
+
+ public String getOnitemmouseup() {
+ return onitemmouseup;
+ }
+
+ public void setOnitemmouseup(String onitemmouseup) {
+ this.onitemmouseup = onitemmouseup;
+ }
+
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/icon/Icon.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/icon/Icon.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/icon/Icon.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,194 @@
+package org.domain.HelloWorld.session.util.icon;
+
+public class Icon {
+
+ public final String iconAjaxProcess = "/pics/ajax_process.gif";
+ public final String iconAjaxStoped = "/pics/ajax_stoped.gif";
+ public final String iconCollapse = "/pics/collapse.gif";
+ public final String iconExpand = "/pics/expand.gif";
+ public final String iconFileManagerReject = "/pics/file-manager-reject.png";
+ public final String iconFileManager = "/pics/file-manager.png";
+ public final String iconHeader = "/pics/header.png";
+ public final String iconItem = "/pics/item.png";
+ public final String none = "none";
+
+ private String icon;
+ private String item;
+ private String disabled;
+ private String disabledItem;
+ private String topItem;
+ private String topDisabledItem;
+ private String expandedGroup;
+ private String collapsedGroup;
+ private String disabledGroup;
+ private String expandedTopGroup;
+ private String collapsedTopGroup;
+ private String topDisableGroup;
+ private String expanded;
+ private String collapsed;
+
+ public Icon() {
+ icon = "none";
+ item = "none";
+ disabled = "none";
+ disabledItem = "none";
+ topItem = "none";
+ topDisabledItem = "none";
+ expandedGroup = "none";
+ collapsedGroup = "none";
+ disabledGroup = "none";
+ expandedTopGroup = "none";
+ collapsedTopGroup = "none";
+ topDisableGroup = "none";
+ expanded = "none";
+ collapsed = "none";
+ }
+
+ public final String getIconAjaxProcess() {
+ return iconAjaxProcess;
+ }
+
+ public final String getIconAjaxStoped() {
+ return iconAjaxStoped;
+ }
+
+ public final String getIconCollapse() {
+ return iconCollapse;
+ }
+
+ public final String getIconExpand() {
+ return iconExpand;
+ }
+
+ public final String getIconFileManager() {
+ return iconFileManager;
+ }
+
+ public final String getIconFileManagerReject() {
+ return iconFileManagerReject;
+ }
+
+ public final String getIconHeader() {
+ return iconHeader;
+ }
+
+ public final String getIconItem() {
+ return iconItem;
+ }
+
+ public String getCollapsed() {
+ return collapsed;
+ }
+
+ public void setCollapsed(String collapsed) {
+ this.collapsed = collapsed;
+ }
+
+ public String getCollapsedGroup() {
+ return collapsedGroup;
+ }
+
+ public void setCollapsedGroup(String collapsedGroup) {
+ this.collapsedGroup = collapsedGroup;
+ }
+
+ public String getCollapsedTopGroup() {
+ return collapsedTopGroup;
+ }
+
+ public void setCollapsedTopGroup(String collapsedTopGroup) {
+ this.collapsedTopGroup = collapsedTopGroup;
+ }
+
+ public String getDisabled() {
+ return disabled;
+ }
+
+ public void setDisabled(String disabled) {
+ this.disabled = disabled;
+ }
+
+ public String getDisabledGroup() {
+ return disabledGroup;
+ }
+
+ public void setDisabledGroup(String disabledGroup) {
+ this.disabledGroup = disabledGroup;
+ }
+
+ public String getDisabledItem() {
+ return disabledItem;
+ }
+
+ public void setDisabledItem(String disabledItem) {
+ this.disabledItem = disabledItem;
+ }
+
+ public String getExpanded() {
+ return expanded;
+ }
+
+ public void setExpanded(String expanded) {
+ this.expanded = expanded;
+ }
+
+ public String getExpandedGroup() {
+ return expandedGroup;
+ }
+
+ public void setExpandedGroup(String expandedGroup) {
+ this.expandedGroup = expandedGroup;
+ }
+
+ public String getExpandedTopGroup() {
+ return expandedTopGroup;
+ }
+
+ public void setExpandedTopGroup(String expandedTopGroup) {
+ this.expandedTopGroup = expandedTopGroup;
+ }
+
+ public String getIcon() {
+ return icon;
+ }
+
+ public void setIcon(String icon) {
+ this.icon = icon;
+ }
+
+ public String getItem() {
+ return item;
+ }
+
+ public void setItem(String item) {
+ this.item = item;
+ }
+
+ public String getTopDisabledItem() {
+ return topDisabledItem;
+ }
+
+ public void setTopDisabledItem(String topDisabledItem) {
+ this.topDisabledItem = topDisabledItem;
+ }
+
+ public String getTopDisableGroup() {
+ return topDisableGroup;
+ }
+
+ public void setTopDisableGroup(String topDisableGroup) {
+ this.topDisableGroup = topDisableGroup;
+ }
+
+ public String getTopItem() {
+ return topItem;
+ }
+
+ public void setTopItem(String topItem) {
+ this.topItem = topItem;
+ }
+
+ public final String getNone() {
+ return none;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTracker.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,47 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.util.phaseTracker;
+
+import java.util.Iterator;
+
+import javax.faces.context.ExternalContext;
+import javax.faces.context.FacesContext;
+import javax.faces.event.PhaseEvent;
+import javax.faces.event.PhaseId;
+import javax.faces.event.PhaseListener;
+
+/**
+ * @author AYanul
+ *
+ */
+public class PhaseTracker implements PhaseListener {
+
+ /* (non-Javadoc)
+ * @see javax.faces.event.PhaseListener#afterPhase(javax.faces.event.PhaseEvent)
+ */
+ public void afterPhase(PhaseEvent arg0) {
+ System.out.println("PhaseTracker.afterPhase()" + arg0.getPhaseId());
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.event.PhaseListener#beforePhase(javax.faces.event.PhaseEvent)
+ */
+ public void beforePhase(PhaseEvent arg0) {
+ System.out.println("PhaseTracker.beforePhase()" + arg0.getPhaseId());
+// ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
+// Iterator names = externalContext.getRequestParameterNames();
+// while (names.hasNext()) {
+// System.out.println(names.next());
+// }
+
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.event.PhaseListener#getPhaseId()
+ */
+ public PhaseId getPhaseId() {
+ return PhaseId.ANY_PHASE;
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/phaseTracker/PhaseTrackerComponent.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,61 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.util.phaseTracker;
+
+import java.io.IOException;
+import java.io.StringWriter;
+import java.util.Map;
+
+import javax.faces.component.UIPanel;
+import javax.faces.context.ExternalContext;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+
+/**
+ * @author user
+ *
+ */
+public class PhaseTrackerComponent extends UIPanel{
+
+// private String var;
+//
+// public String getVar() {
+// if (var == null) {
+// return "pttc";
+// }
+// return var;
+// }
+//
+// public void setVar(String var) {
+// this.var = var;
+// }
+
+ @Override
+ public void encodeAll(FacesContext context) throws IOException {
+ ResponseWriter responseWriter = context.getResponseWriter();
+ StringWriter stringWriter = new StringWriter();
+ ResponseWriter clonedWriter = responseWriter.cloneWithWriter(stringWriter);
+ context.setResponseWriter(clonedWriter);
+
+ super.encodeAll(context);
+ clonedWriter.flush();
+ context.setResponseWriter(responseWriter);
+
+ String string = stringWriter.toString();
+ responseWriter.write(string);
+ //System.out.println(string);
+
+ ExternalContext externalContext = context.getExternalContext();
+ Map<String, Object> requestMap = externalContext.getRequestMap();
+ requestMap.put("pttc", string);
+// requestMap.put(getAttributes().get("var"), string);
+ }
+
+ @Override
+ public String getRendererType() {
+ return null;
+ }
+
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/ptComponent/PTComponent.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/ptComponent/PTComponent.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/ptComponent/PTComponent.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,18 @@
+package org.domain.HelloWorld.session.util.ptComponent;
+
+import javax.faces.component.UIPanel;
+
+import org.domain.HelloWorld.session.util.phaseTracker.PhaseTrackerComponent;;
+
+public class PTComponent {
+ private UIPanel component = new PhaseTrackerComponent();
+
+
+ public UIPanel getComponent() {
+ return component;
+ }
+
+ public void setComponent(UIPanel component) {
+ this.component = component;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/skins/Skins.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/skins/Skins.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/skins/Skins.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,82 @@
+package org.domain.HelloWorld.session.util.skins;
+
+import java.util.Map;
+
+import javax.faces.component.UIComponent;
+import javax.faces.component.UISelectItem;
+import javax.faces.component.UISelectOne;
+import javax.faces.component.html.HtmlSelectOneRadio;
+import javax.faces.context.FacesContext;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+/**
+ * @author Nick Belaevski - nbelaevski(a)exadel.com created 09.02.2007
+ *
+ */
+@Name("skinBean")
+(a)Scope(ScopeType.SESSION)
+public class Skins {
+
+ private String[] skinsArray = new String[] { "blueSky", "classic",
+ "deepMarine", "DEFAULT", "emeraldTown", "japanCherry", "ruby",
+ "wine", "plain" };
+
+ private String defaultSkin = "deepMarine";
+
+ private String skin = defaultSkin;
+ private UIComponent skinComponent = null;
+
+ private UISelectOne createComponent() {
+ UISelectOne selectOne = new HtmlSelectOneRadio();
+ selectOne.setValue(skin);
+
+ for (int i = 0; i < skinsArray.length; i++) {
+ String skinName = skinsArray[i];
+
+ UISelectItem item = new UISelectItem();
+ item.setItemLabel(skinName);
+ item.setItemValue(skinName);
+ item.setId("skinSelectionFor_" + skinName);
+
+ selectOne.getChildren().add(item);
+ }
+
+ return selectOne;
+ }
+
+ public String getSkin() {
+ return skin;
+ }
+
+ public UIComponent getSkinComponent() {
+ FacesContext facesContext = FacesContext.getCurrentInstance();
+ Map requestMap = facesContext.getExternalContext().getRequestMap();
+ Object object = requestMap.get("SkinBean");
+ if (object != null) {
+ return (UISelectOne) object;
+ }
+
+ skinComponent = createComponent();
+ requestMap.put("SkinBean", skinComponent);
+ return skinComponent;
+ }
+
+ public void setComponent(UIComponent component) {
+ FacesContext facesContext = FacesContext.getCurrentInstance();
+ Map requestMap = facesContext.getExternalContext().getRequestMap();
+ requestMap.put("SkinBean", component);
+ }
+
+ public String change() {
+ UISelectOne selectOne = (UISelectOne) getSkinComponent();
+ skin = (String) selectOne.getValue();
+ return null;
+ }
+
+ public void setSkinComponent(UIComponent skinComponent) {
+ this.skinComponent = skinComponent;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/style/Style.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/style/Style.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/util/style/Style.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,748 @@
+package org.domain.HelloWorld.session.util.style;
+
+import org.domain.HelloWorld.session.rich.RichBean;
+
+public class Style {
+ private RichBean curentComponent;
+ private String style;
+ private String styleClass;
+ private String rangeStyleClass;
+ private String fieldStyleClass;
+ private String trackStyleClass;
+ private String columnClasses;
+ private String footerClass;
+ private String headerClass;
+ private String rowClasses;
+ private String inactiveStyle;
+ private String inactiveStyleClass;
+ private String selectedStyle;
+ private String selectedStyleClass;
+ private String tableStyle;
+ private String tableStyleClass;
+ private String captionClass;
+ private String dayStyleClass;
+ private String inputStyle;
+ private String barStyle;
+ private String handleSelectedClass;
+ private String handleStyleClass;
+ private String tipStyle;
+ private String buttonClass;
+ private String buttonDisabledClass;
+ private String buttonDisabledStyle;
+ private String buttonInactiveClass;
+ private String buttonInactiveStyle;
+ private String buttonStyle;
+ private String inputClass;
+ private String inputDisabledClass;
+ private String inputDisabledStyle;
+ private String inputInactiveClass;
+ private String inputInactiveStyle;
+ private String itemClass;
+ private String listClass;
+ private String listStyle;
+ private String disabledItemClass;
+ private String disabledItemStyle;
+ private String itemStyle;
+ private String selectItemStyle;
+ private String selectItemClass;
+ private String iconClass;
+ private String iconStyle;
+ private String selectClass;
+ private String selectStyle;
+ private String highlightedClass;
+ private String tabClass;
+ private String entryClass;
+ private String popupClass;
+ private String popupStyle;
+ private String selectedClass;
+ private String remainClass;
+ private String initialClass;
+ private String finishClass;
+ private String completeClass;
+ private String controlClass;
+ private String captionStyle;
+ private String activeClass;
+ private String trailerStyleClass;
+ private String barClass;
+ private String handleStyle;
+ private String contentStyle;
+ private String styleA;
+ private String styleClassA;
+ private String selectStyleA;
+ private String iconClassA;
+ private String iconStyleA;
+ private String selectClassA;
+ private String rowClassesA;
+ private String columnClassesA;
+ private String footerClassA;
+ private String headerClassA;
+ private String controlsClass;
+
+ public Style() {
+ style = "style";
+ styleClass = "styleClass";
+ rangeStyleClass = "rangeStyleClass";
+ fieldStyleClass = "fieldStyleClass";
+ trackStyleClass = "trackStyleClass";
+ columnClasses = "columnClasses";
+ footerClass = "footerClass";
+ headerClass = "headerClass";
+ rowClasses = "rowClasses";
+ inactiveStyle = "inactiveStyle";
+ inactiveStyleClass = "inactiveStyleClass";
+ selectedStyle = "selectedStyle";
+ selectedStyleClass = "selectedStyleClass";
+ tableStyle = "tableStyle";
+ tableStyleClass = "tableStyleClass";
+ captionClass = "captionClass";
+ dayStyleClass = "dayStyleClass";
+ inputStyle = "inputStyle";
+ barStyle = "barStyle";
+ handleSelectedClass = "handleSelectedClass";
+ tipStyle = "tipStyle";
+ buttonClass = "buttonClass";
+ buttonDisabledClass = "buttonDisabledClass";
+ buttonDisabledStyle = "buttonDisabledStyle";
+ buttonInactiveClass = "buttonInactiveClass";
+ buttonInactiveStyle = "buttonInactiveStyle";
+ buttonStyle = "buttonStyle";
+ inputClass = "inputClass";
+ inputDisabledClass = "inputDisabledClass";
+ inputDisabledStyle = "inputDisabledStyle";
+ inputInactiveClass = "inputInactiveClass";
+ inputInactiveStyle = "inputInactiveStyle";
+ itemClass = "itemClass";
+ listClass = "listClass";
+ listStyle = "listStyle";
+ disabledItemClass = "disabledItemClass";
+ disabledItemStyle = "disabledItemStyle";
+ itemStyle = "itemStyle";
+ selectItemStyle = "selectItemStyle";
+ selectItemClass = "selectItemClass";
+ iconClass = "iconClass";
+ iconStyle = "iconStyle";
+ selectClass = "selectClass";
+ selectStyle = "selectStyle";
+ highlightedClass = "highlightedClass";
+ handleStyleClass = "handleStyleClass";
+ tabClass = "tabClass";
+ entryClass = "entryClass";
+ popupClass = "popupClass";
+ popupStyle = "popupStyle";
+ selectedClass = "selectedClass";
+ remainClass = "remainClass";
+ initialClass = "initialClass";
+ finishClass = "finishClass";
+ completeClass = "completeClass";
+ controlClass = "controlClass";
+ captionStyle = "captionStyle";
+ activeClass = "activeClass";
+ trailerStyleClass = "trailerStyleClass";
+ barClass = "barClass";
+ handleStyle = "handleStyle";
+ contentStyle = "contentStyle";
+ styleA = "styleA";
+ styleClassA = "styleClassA";
+ selectStyleA = "selectStyleA";
+ iconClassA = "iconClassA";
+ iconStyleA = "iconStyleA";
+ selectClassA = "selectClassA";
+ rowClassesA = "rowClassesA";
+ columnClassesA = "columnClassesA";
+ footerClassA = "footerClassA";
+ headerClassA = "headerClassA";
+ controlsClass = "controlsClass";
+ }
+
+ public String getStyle() {
+ return style;
+ }
+
+ public void setStyle(String style) {
+ this.style = style;
+ }
+
+ public String getStyleClass() {
+ return styleClass;
+ }
+
+ public void setStyleClass(String styleClass) {
+ this.styleClass = styleClass;
+ }
+
+ public String getRangeStyleClass() {
+ return rangeStyleClass;
+ }
+
+ public void setRangeStyleClass(String rangeStyleClass) {
+ this.rangeStyleClass = rangeStyleClass;
+ }
+
+ public String getFieldStyleClass() {
+ return fieldStyleClass;
+ }
+
+ public void setFieldStyleClass(String fieldStyleClass) {
+ this.fieldStyleClass = fieldStyleClass;
+ }
+
+ public String getTrackStyleClass() {
+ return trackStyleClass;
+ }
+
+ public void setTrackStyleClass(String trackStyleClass) {
+ this.trackStyleClass = trackStyleClass;
+ }
+
+ public String getColumnClasses() {
+ return columnClasses;
+ }
+
+ public void setColumnClasses(String columnClasses) {
+ this.columnClasses = columnClasses;
+ }
+
+ public String getFooterClass() {
+ return footerClass;
+ }
+
+ public void setFooterClass(String footerClass) {
+ this.footerClass = footerClass;
+ }
+
+ public String getHeaderClass() {
+ return headerClass;
+ }
+
+ public void setHeaderClass(String headerClass) {
+ this.headerClass = headerClass;
+ }
+
+ public String getRowClasses() {
+ return rowClasses;
+ }
+
+ public void setRowClasses(String rowClasses) {
+ this.rowClasses = rowClasses;
+ }
+
+ public String getInactiveStyle() {
+ return inactiveStyle;
+ }
+
+ public void setInactiveStyle(String inactiveStyle) {
+ this.inactiveStyle = inactiveStyle;
+ }
+
+ public String getInactiveStyleClass() {
+ return inactiveStyleClass;
+ }
+
+ public void setInactiveStyleClass(String inactiveStyleClass) {
+ this.inactiveStyleClass = inactiveStyleClass;
+ }
+
+ public String getSelectedStyle() {
+ return selectedStyle;
+ }
+
+ public void setSelectedStyle(String selectedStyle) {
+ this.selectedStyle = selectedStyle;
+ }
+
+ public String getSelectedStyleClass() {
+ return selectedStyleClass;
+ }
+
+ public void setSelectedStyleClass(String selectedStyleClass) {
+ this.selectedStyleClass = selectedStyleClass;
+ }
+
+ public String getTableStyle() {
+ return tableStyle;
+ }
+
+ public void setTableStyle(String tableStyle) {
+ this.tableStyle = tableStyle;
+ }
+
+ public String getTableStyleClass() {
+ return tableStyleClass;
+ }
+
+ public void setTableStyleClass(String tableStyleClass) {
+ this.tableStyleClass = tableStyleClass;
+ }
+
+ public String getCaptionClass() {
+ return captionClass;
+ }
+
+ public void setCaptionClass(String captionClass) {
+ this.captionClass = captionClass;
+ }
+
+ public String getDayStyleClass() {
+ return dayStyleClass;
+ }
+
+ public void setDayStyleClass(String dayStyleClass) {
+ this.dayStyleClass = dayStyleClass;
+ }
+
+ public String getInputStyle() {
+ return inputStyle;
+ }
+
+ public void setInputStyle(String inputStyle) {
+ this.inputStyle = inputStyle;
+ }
+
+ public String getBarStyle() {
+ return barStyle;
+ }
+
+ public void setBarStyle(String barStyle) {
+ this.barStyle = barStyle;
+ }
+
+ public String getHandleSelectedClass() {
+ return handleSelectedClass;
+ }
+
+ public void setHandleSelectedClass(String handleSelectedClass) {
+ this.handleSelectedClass = handleSelectedClass;
+ }
+
+ public String getTipStyle() {
+ return tipStyle;
+ }
+
+ public void setTipStyle(String tipStyle) {
+ this.tipStyle = tipStyle;
+ }
+
+ public String getButtonClass() {
+ return buttonClass;
+ }
+
+ public void setButtonClass(String buttonClass) {
+ this.buttonClass = buttonClass;
+ }
+
+ public String getButtonDisabledClass() {
+ return buttonDisabledClass;
+ }
+
+ public void setButtonDisabledClass(String buttonDisabledClass) {
+ this.buttonDisabledClass = buttonDisabledClass;
+ }
+
+ public String getButtonDisabledStyle() {
+ return buttonDisabledStyle;
+ }
+
+ public void setButtonDisabledStyle(String buttonDisabledStyle) {
+ this.buttonDisabledStyle = buttonDisabledStyle;
+ }
+
+ public String getButtonInactiveClass() {
+ return buttonInactiveClass;
+ }
+
+ public void setButtonInactiveClass(String buttonInactiveClass) {
+ this.buttonInactiveClass = buttonInactiveClass;
+ }
+
+ public String getButtonInactiveStyle() {
+ return buttonInactiveStyle;
+ }
+
+ public void setButtonInactiveStyle(String buttonInactiveStyle) {
+ this.buttonInactiveStyle = buttonInactiveStyle;
+ }
+
+ public String getButtonStyle() {
+ return buttonStyle;
+ }
+
+ public void setButtonStyle(String buttonStyle) {
+ this.buttonStyle = buttonStyle;
+ }
+
+ public String getInputClass() {
+ return inputClass;
+ }
+
+ public void setInputClass(String inputClass) {
+ this.inputClass = inputClass;
+ }
+
+ public String getInputDisabledClass() {
+ return inputDisabledClass;
+ }
+
+ public void setInputDisabledClass(String inputDisabledClass) {
+ this.inputDisabledClass = inputDisabledClass;
+ }
+
+ public String getInputDisabledStyle() {
+ return inputDisabledStyle;
+ }
+
+ public void setInputDisabledStyle(String inputDisabledStyle) {
+ this.inputDisabledStyle = inputDisabledStyle;
+ }
+
+ public String getInputInactiveClass() {
+ return inputInactiveClass;
+ }
+
+ public void setInputInactiveClass(String inputInactiveClass) {
+ this.inputInactiveClass = inputInactiveClass;
+ }
+
+ public String getInputInactiveStyle() {
+ return inputInactiveStyle;
+ }
+
+ public void setInputInactiveStyle(String inputInactiveStyle) {
+ this.inputInactiveStyle = inputInactiveStyle;
+ }
+
+ public String getItemClass() {
+ return itemClass;
+ }
+
+ public void setItemClass(String itemClass) {
+ this.itemClass = itemClass;
+ }
+
+ public String getListClass() {
+ return listClass;
+ }
+
+ public void setListClass(String listClass) {
+ this.listClass = listClass;
+ }
+
+ public String getListStyle() {
+ return listStyle;
+ }
+
+ public void setListStyle(String listStyle) {
+ this.listStyle = listStyle;
+ }
+
+ public String getDisabledItemClass() {
+ return disabledItemClass;
+ }
+
+ public void setDisabledItemClass(String disabledItemClass) {
+ this.disabledItemClass = disabledItemClass;
+ }
+
+ public String getDisabledItemStyle() {
+ return disabledItemStyle;
+ }
+
+ public void setDisabledItemStyle(String disabledItemStyle) {
+ this.disabledItemStyle = disabledItemStyle;
+ }
+
+ public String getItemStyle() {
+ return itemStyle;
+ }
+
+ public void setItemStyle(String itemStyle) {
+ this.itemStyle = itemStyle;
+ }
+
+ public String getSelectItemStyle() {
+ return selectItemStyle;
+ }
+
+ public void setSelectItemStyle(String selectItemStyle) {
+ this.selectItemStyle = selectItemStyle;
+ }
+
+ public String getSelectItemClass() {
+ return selectItemClass;
+ }
+
+ public void setSelectItemClass(String selectItemClass) {
+ this.selectItemClass = selectItemClass;
+ }
+
+ public String getIconClass() {
+ return iconClass;
+ }
+
+ public void setIconClass(String iconClass) {
+ this.iconClass = iconClass;
+ }
+
+ public String getIconStyle() {
+ return iconStyle;
+ }
+
+ public void setIconStyle(String iconStyle) {
+ this.iconStyle = iconStyle;
+ }
+
+ public String getSelectClass() {
+ return selectClass;
+ }
+
+ public void setSelectClass(String selectClass) {
+ this.selectClass = selectClass;
+ }
+
+ public String getSelectStyle() {
+ return selectStyle;
+ }
+
+ public void setSelectStyle(String selectStyle) {
+ this.selectStyle = selectStyle;
+ }
+
+ public String getHighlightedClass() {
+ return highlightedClass;
+ }
+
+ public void setHighlightedClass(String highlightedClass) {
+ this.highlightedClass = highlightedClass;
+ }
+
+ public String getTabClass() {
+ return tabClass;
+ }
+
+ public void setTabClass(String tabClass) {
+ this.tabClass = tabClass;
+ }
+
+ public String getEntryClass() {
+ return entryClass;
+ }
+
+ public void setEntryClass(String entryClass) {
+ this.entryClass = entryClass;
+ }
+
+ public String getPopupClass() {
+ return popupClass;
+ }
+
+ public void setPopupClass(String popupClass) {
+ this.popupClass = popupClass;
+ }
+
+ public String getPopupStyle() {
+ return popupStyle;
+ }
+
+ public void setPopupStyle(String popupStyle) {
+ this.popupStyle = popupStyle;
+ }
+
+ public String getSelectedClass() {
+ return selectedClass;
+ }
+
+ public void setSelectedClass(String selectedClass) {
+ this.selectedClass = selectedClass;
+ }
+
+ public String getRemainClass() {
+ return remainClass;
+ }
+
+ public void setRemainClass(String remainClass) {
+ this.remainClass = remainClass;
+ }
+
+ public String getInitialClass() {
+ return initialClass;
+ }
+
+ public void setInitialClass(String initialClass) {
+ this.initialClass = initialClass;
+ }
+
+ public String getFinishClass() {
+ return finishClass;
+ }
+
+ public void setFinishClass(String finishClass) {
+ this.finishClass = finishClass;
+ }
+
+ public String getCompleteClass() {
+ return completeClass;
+ }
+
+ public void setCompleteClass(String completeClass) {
+ this.completeClass = completeClass;
+ }
+
+ public String getControlClass() {
+ return controlClass;
+ }
+
+ public void setControlClass(String controlClass) {
+ this.controlClass = controlClass;
+ }
+
+ public String getStyleA() {
+ return styleA;
+ }
+
+ public void setStyleA(String styleA) {
+ this.styleA = styleA;
+ }
+
+ public String getStyleClassA() {
+ return styleClassA;
+ }
+
+ public void setStyleClassA(String styleClassA) {
+ this.styleClassA = styleClassA;
+ }
+
+ public String getSelectStyleA() {
+ return selectStyleA;
+ }
+
+ public void setSelectStyleA(String selectStyleA) {
+ this.selectStyleA = selectStyleA;
+ }
+
+ public String getIconClassA() {
+ return iconClassA;
+ }
+
+ public void setIconClassA(String iconClassA) {
+ this.iconClassA = iconClassA;
+ }
+
+ public String getIconStyleA() {
+ return iconStyleA;
+ }
+
+ public void setIconStyleA(String iconStyleA) {
+ this.iconStyleA = iconStyleA;
+ }
+
+ public String getSelectClassA() {
+ return selectClassA;
+ }
+
+ public void setSelectClassA(String selectClassA) {
+ this.selectClassA = selectClassA;
+ }
+
+ public String getCaptionStyle() {
+ return captionStyle;
+ }
+
+ public void setCaptionStyle(String captionStyle) {
+ this.captionStyle = captionStyle;
+ }
+
+ public String getRowClassesA() {
+ return rowClassesA;
+ }
+
+ public void setRowClassesA(String rowClassesA) {
+ this.rowClassesA = rowClassesA;
+ }
+
+ public String getColumnClassesA() {
+ return columnClassesA;
+ }
+
+ public void setColumnClassesA(String columnClassesA) {
+ this.columnClassesA = columnClassesA;
+ }
+
+ public String getFooterClassA() {
+ return footerClassA;
+ }
+
+ public void setFooterClassA(String footerClassA) {
+ this.footerClassA = footerClassA;
+ }
+
+ public String getHeaderClassA() {
+ return headerClassA;
+ }
+
+ public void setHeaderClassA(String headerClassA) {
+ this.headerClassA = headerClassA;
+ }
+
+ public String getActiveClass() {
+ return activeClass;
+ }
+
+ public void setActiveClass(String activeClass) {
+ this.activeClass = activeClass;
+ }
+
+ public RichBean getCurentComponent() {
+ return curentComponent;
+ }
+
+ public void setCurentComponent(RichBean curentComponent) {
+ this.curentComponent = curentComponent;
+ }
+
+ public String getHandleStyleClass() {
+ return handleStyleClass;
+ }
+
+ public void setHandleStyleClass(String handleStyleClass) {
+ this.handleStyleClass = handleStyleClass;
+ }
+
+ public String getTrailerStyleClass() {
+ return trailerStyleClass;
+ }
+
+ public void setTrailerStyleClass(String trailerStyleClass) {
+ this.trailerStyleClass = trailerStyleClass;
+ }
+
+ public String getBarClass() {
+ return barClass;
+ }
+
+ public void setBarClass(String barClass) {
+ this.barClass = barClass;
+ }
+
+ public String getHandleStyle() {
+ return handleStyle;
+ }
+
+ public void setHandleStyle(String handleStyle) {
+ this.handleStyle = handleStyle;
+ }
+
+ public String getContentStyle() {
+ return contentStyle;
+ }
+
+ public void setContentStyle(String contentStyle) {
+ this.contentStyle = contentStyle;
+ }
+
+ public String getControlsClass() {
+ return controlsClass;
+ }
+
+ public void setControlsClass(String controlsClass) {
+ this.controlsClass = controlsClass;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/Bean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/Bean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/Bean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,30 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.domain.HelloWorld.session.validator;
+
+/**
+ * @author $Autor$
+ *
+ */
+public class Bean {
+
+}
\ No newline at end of file
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/DataBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/DataBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/DataBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,135 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.validator;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Random;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.domain.HelloWorld.session.util.data.Data;
+import org.hibernate.validator.Max;
+import org.hibernate.validator.Size;
+import org.hibernate.validator.Valid;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.UIGraphValidator;
+/**
+ * @author mvitenkov
+ *
+ */
+@Name("dataValidator")
+(a)Scope(ScopeType.SESSION)
+public class DataBean {
+
+ private final List<Validable> beans;
+ private UIGraphValidator graphValidatorComponent = null;
+ private String bindLabel;
+ private boolean rendered;
+ @Size(min=2,max=5,message="Size validation failed!!!!")
+ private ArrayList<Data> data;
+ private int length;
+
+ public int getLength() {
+ return length;
+ }
+
+ public void setLength(int length) {
+ this.length = length;
+ }
+
+ public ArrayList<Data> getData() {
+ return data;
+ }
+
+ public void setData(ArrayList<Data> data) {
+ this.data = data;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = graphValidatorComponent.getClientId(context).toString();
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(graphValidatorComponent);
+ return null;
+ }
+ public String addNewItem() {
+ if (length < 0)
+ length = 0;
+ if (data.size() > length)
+ for (int i = length; i < data.size();)
+ data.remove(i);
+ else{
+ Random r = new Random();
+ for (int i = data.size() + 1; i <= length; i++)
+ data.add(new Data(i, r.nextInt(1000), Data.Random(6), r.nextInt(10000) + 98389, Data.Random(r.nextInt(10) + 1), r.nextInt(500000), Data.statusIcon[i % 5], Data.Random(3), false));
+ }
+ return null;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public UIGraphValidator getGraphValidatorComponent() {
+ return graphValidatorComponent;
+ }
+
+ public void setGraphValidatorComponent(UIGraphValidator graphValidatorComponent) {
+ this.graphValidatorComponent = graphValidatorComponent;
+ }
+
+ /**
+ * @return the beans
+ */
+ @Valid
+ public List<Validable> getBeans() {
+ return beans;
+ }
+
+ public DataBean() {
+ beans = new ArrayList<Validable>(6);
+ beans.add(new NotNullBean());
+ beans.add(new NotEmptyBean());
+ beans.add(new LengthBean());
+ beans.add(new MinBean());
+ beans.add(new MaxBean());
+ beans.add(new MinMaxBean());
+ this.bindLabel = "Click Binding";
+ this.rendered = true;
+ this.data = new ArrayList<Data>();
+ Random r = new Random();
+ for(int i = 0; i < 10; i++)
+ data.add(new Data(i, r.nextInt(1000), Data.Random(6), r.nextInt(10000) + 98389, Data.Random(r.nextInt(10) + 1), r.nextInt(500000), Data.statusIcon[i % 5], Data.Random(3), false)); //new Data(i, Data.Random(5), Data.statusIcon[i % 5], Data.Random(6), false));
+ }
+
+ @Max(value=20,message="Total value should be less then 20")
+ public int getTotal(){
+ int total = 0;
+ for (Validable bean : beans) {
+ total += bean.getIntValue();
+ }
+ return total;
+ }
+
+
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/GraphValidatorBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/GraphValidatorBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/GraphValidatorBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,37 @@
+package org.domain.HelloWorld.session.validator;
+
+import java.util.ArrayList;
+import java.util.List;
+import org.hibernate.validator.Max;
+import org.hibernate.validator.Min;
+import org.hibernate.validator.Valid;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.UIGraphValidator;
+
+@Name("graphValidator")
+(a)Scope(ScopeType.SESSION)
+public class GraphValidatorBean {
+
+ private final List<TestValidable> beans;
+
+ @Valid
+ public List<TestValidable> getBeans() {
+ return beans;
+ }
+
+ public GraphValidatorBean() {
+ beans = new ArrayList(1);
+ beans.add(new ValidatorBean());
+ }
+ @Max(value=50,message="total length > 50")
+ @Min(value=10,message="total length < 10")
+ public int getTotal(){
+ int total = 0;
+ for (TestValidable bean : beans) {
+ total += bean.getText().toString().length() + bean.getDateValue().toString().length();
+ }
+ return total;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/LengthBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/LengthBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/LengthBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,63 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.validator;
+
+import org.hibernate.validator.Length;
+import org.hibernate.validator.NotEmpty;
+import org.hibernate.validator.NotNull;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+/**
+ * @author asmirnov
+ *
+ */
+@Name("lengthBean")
+(a)Scope(ScopeType.SESSION)
+public class LengthBean implements Validable {
+
+ @Length(max=10,min=4,message="incorrect field length")
+ private String text;
+
+ private int intValue;
+
+ /**
+ * @return the text
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * @param text the text to set
+ */
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ /**
+ * @return the intValue
+ */
+ public int getIntValue() {
+ return intValue;
+ }
+
+ /**
+ * @param intValue the intValue to set
+ */
+ public void setIntValue(int intValue) {
+ this.intValue = intValue;
+ }
+
+ public String getTextDescription() {
+ return "Validate String Length, for a range 4-10 chars";
+ }
+
+ public String getIntDescription() {
+ // TODO Auto-generated method stub
+ return "Integer Value, no restrictions";
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MaxBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MaxBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MaxBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,60 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.validator;
+
+import org.hibernate.validator.Length;
+import org.hibernate.validator.Max;
+import org.hibernate.validator.Min;
+import org.hibernate.validator.NotEmpty;
+import org.hibernate.validator.NotNull;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class MaxBean implements Validable {
+
+ private String text;
+
+ @Max(10)
+ private int intValue;
+
+ /**
+ * @return the text
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * @param text the text to set
+ */
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ /**
+ * @return the intValue
+ */
+ public int getIntValue() {
+ return intValue;
+ }
+
+ /**
+ * @param intValue the intValue to set
+ */
+ public void setIntValue(int intValue) {
+ this.intValue = intValue;
+ }
+
+ public String getTextDescription() {
+ return "Text value, no restrictions";
+ }
+
+ public String getIntDescription() {
+ // TODO Auto-generated method stub
+ return "Integer Value, less then 10";
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MinBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MinBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MinBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,59 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.validator;
+
+import org.hibernate.validator.Length;
+import org.hibernate.validator.Min;
+import org.hibernate.validator.NotEmpty;
+import org.hibernate.validator.NotNull;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class MinBean implements Validable {
+
+ private String text;
+
+ @Min(2)
+ private int intValue;
+
+ /**
+ * @return the text
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * @param text the text to set
+ */
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ /**
+ * @return the intValue
+ */
+ public int getIntValue() {
+ return intValue;
+ }
+
+ /**
+ * @param intValue the intValue to set
+ */
+ public void setIntValue(int intValue) {
+ this.intValue = intValue;
+ }
+
+ public String getTextDescription() {
+ return "Text value, no restrictions";
+ }
+
+ public String getIntDescription() {
+ // TODO Auto-generated method stub
+ return "Integer Value, more then 1";
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MinMaxBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MinMaxBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/MinMaxBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,61 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.validator;
+
+import org.hibernate.validator.Length;
+import org.hibernate.validator.Max;
+import org.hibernate.validator.Min;
+import org.hibernate.validator.NotEmpty;
+import org.hibernate.validator.NotNull;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class MinMaxBean implements Validable {
+
+ private String text;
+
+ @Min(2)
+ @Max(10)
+ private int intValue;
+
+ /**
+ * @return the text
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * @param text the text to set
+ */
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ /**
+ * @return the intValue
+ */
+ public int getIntValue() {
+ return intValue;
+ }
+
+ /**
+ * @param intValue the intValue to set
+ */
+ public void setIntValue(int intValue) {
+ this.intValue = intValue;
+ }
+
+ public String getTextDescription() {
+ return "Text Value, no restrictions";
+ }
+
+ public String getIntDescription() {
+ // TODO Auto-generated method stub
+ return "Integer Value, valid values from 2 to 10";
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/NotEmptyBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/NotEmptyBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/NotEmptyBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,57 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.validator;
+
+import org.hibernate.validator.NotEmpty;
+import org.hibernate.validator.NotNull;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class NotEmptyBean implements Validable {
+
+ @NotEmpty
+ private String text;
+
+ private int intValue;
+
+ /**
+ * @return the text
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * @param text the text to set
+ */
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ /**
+ * @return the intValue
+ */
+ public int getIntValue() {
+ return intValue;
+ }
+
+ /**
+ * @param intValue the intValue to set
+ */
+ public void setIntValue(int intValue) {
+ this.intValue = intValue;
+ }
+
+ public String getTextDescription() {
+ return "Text value, Not Empty Validation";
+ }
+
+ public String getIntDescription() {
+ // TODO Auto-generated method stub
+ return "Integer Value, no restrictions";
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/NotNullBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/NotNullBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/NotNullBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,56 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.validator;
+
+import org.hibernate.validator.NotNull;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class NotNullBean implements Validable {
+
+ @NotNull
+ private String text;
+
+ private int intValue;
+
+ /**
+ * @return the text
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * @param text the text to set
+ */
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ /**
+ * @return the intValue
+ */
+ public int getIntValue() {
+ return intValue;
+ }
+
+ /**
+ * @param intValue the intValue to set
+ */
+ public void setIntValue(int intValue) {
+ this.intValue = intValue;
+ }
+
+ public String getTextDescription() {
+ return "Text Value, Not Null Validation";
+ }
+
+ public String getIntDescription() {
+ // TODO Auto-generated method stub
+ return "Integer Value, no restrictions";
+ }
+
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/TestValidable.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/TestValidable.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/TestValidable.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,13 @@
+package org.domain.HelloWorld.session.validator;
+
+
+public interface TestValidable {
+
+ public String getText();
+
+ public int getIntValue();
+
+ public boolean isBooleanValue();
+
+ public String getDateValue();
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/Validable.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/Validable.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/Validable.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,19 @@
+/**
+ *
+ */
+package org.domain.HelloWorld.session.validator;
+
+/**
+ * @author asmirnov
+ *
+ */
+public interface Validable {
+
+ public String getText();
+
+ public String getTextDescription();
+
+ public int getIntValue();
+
+ public String getIntDescription();
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/ValidatorBean.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/ValidatorBean.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/validator/ValidatorBean.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,316 @@
+package org.domain.HelloWorld.session.validator;
+
+import java.util.ArrayList;
+import java.util.Date;
+import javax.faces.event.ActionEvent;
+import javax.faces.model.SelectItem;
+import org.hibernate.validator.AssertFalse;
+import org.hibernate.validator.AssertTrue;
+//import org.hibernate.validator.CreditCardNumber;
+//import org.hibernate.validator.Digits;
+//import org.hibernate.validator.EAN;
+import org.hibernate.validator.Email;
+import org.hibernate.validator.Future;
+import org.hibernate.validator.Pattern;
+import org.hibernate.validator.Range;
+import org.hibernate.validator.Size;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.UIBeanValidator;
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+
+@Name("validator")
+(a)Scope(ScopeType.SESSION)
+public class ValidatorBean implements TestValidable{
+ @Email(message="Mail validation failed!")
+ private String text;
+ @AssertFalse(message="AssertFalse validation failed!")
+ private boolean booleanValue;
+ @AssertTrue(message="Asserttrue validation failed!")
+ private boolean assertTrue;
+ @Future(message="Future validation failed!")
+ private String dateValue;
+ @Pattern(regex="^\b1234\b*$") //Searh "1234" as a whole word
+ private int intValue;
+ //@EAN(message="EAN validation failed")
+ private String ean;
+ //@CreditCardNumber(message="CreditCardNumber validation failed!")
+ private String creditValue;
+ @Size(min=1,max=5,message="Size validation failed!")
+ private ArrayList<SelectItem> sizeValues;
+ private String sizeValue;
+ private UIBeanValidator ajaxValidatorComponent = null;
+ private boolean ajaxSingle;
+ private String bindLabel;
+ private boolean disableDefault;
+ private String eventsQueue;
+ private boolean ignoreDupResponses;
+ private boolean immediate;
+ private boolean limitToList;
+ private UIComponent parentProperties = null;
+ private boolean rendered;
+ private boolean renderRegionOnly;
+ private int requestDelay;
+ private boolean selfRendered;
+ private boolean submitted;
+ private int timeout;
+ //@Digits(integerDigits=1,fractionalDigits=3,message="Digits validation failed!")
+ private double digit;
+ @Range(min=0,max=15,message="Range validation failed!")
+ private String rangeValue;
+
+ public double getDigit() {
+ return digit;
+ }
+
+ public void setDigit(double digit) {
+ this.digit = digit;
+ }
+
+ public String getRangeValue() {
+ return rangeValue;
+ }
+
+ public void setRangeValue(String rangeValue) {
+ this.rangeValue = rangeValue;
+ }
+
+ public int getTimeout() {
+ return timeout;
+ }
+
+ public void setTimeout(int timeout) {
+ this.timeout = timeout;
+ }
+
+ public boolean isSubmitted() {
+ return submitted;
+ }
+
+ public void setSubmitted(boolean submitted) {
+ this.submitted = submitted;
+ }
+
+ public boolean isSelfRendered() {
+ return selfRendered;
+ }
+
+ public void setSelfRendered(boolean selfRendered) {
+ this.selfRendered = selfRendered;
+ }
+
+ public int getRequestDelay() {
+ return requestDelay;
+ }
+
+ public void setRequestDelay(int requestDelay) {
+ this.requestDelay = requestDelay;
+ }
+
+ public boolean isRenderRegionOnly() {
+ return renderRegionOnly;
+ }
+
+ public void setRenderRegionOnly(boolean renderRegionOnly) {
+ this.renderRegionOnly = renderRegionOnly;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+
+
+ public UIComponent getParentProperties() {
+ return parentProperties;
+ }
+
+ public void setParentProperties(UIComponent parentProperties) {
+ this.parentProperties = parentProperties;
+ }
+
+ public boolean isLimitToList() {
+ return limitToList;
+ }
+
+ public void setLimitToList(boolean limitToList) {
+ this.limitToList = limitToList;
+ }
+
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+
+ public boolean isIgnoreDupResponses() {
+ return ignoreDupResponses;
+ }
+
+ public void setIgnoreDupResponses(boolean ignoreDupResponses) {
+ this.ignoreDupResponses = ignoreDupResponses;
+ }
+
+ public String getEventsQueue() {
+ return eventsQueue;
+ }
+
+ public void setEventsQueue(String eventsQueue) {
+ this.eventsQueue = eventsQueue;
+ }
+
+ public boolean isDisableDefault() {
+ return disableDefault;
+ }
+
+ public void setDisableDefault(boolean disableDefault) {
+ this.disableDefault = disableDefault;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public boolean isAjaxSingle() {
+ return ajaxSingle;
+ }
+
+ public void setAjaxSingle(boolean ajaxSingle) {
+ this.ajaxSingle = ajaxSingle;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(ajaxValidatorComponent);
+ return null;
+ }
+
+ public UIBeanValidator getAjaxValidatorComponent() {
+ return ajaxValidatorComponent;
+ }
+
+ public void setAjaxValidatorComponent(UIBeanValidator ajaxValidatorComponent) {
+ this.ajaxValidatorComponent = ajaxValidatorComponent;
+ }
+
+ public String getSizeValue() {
+ return sizeValue;
+ }
+
+ public void setSizeValue(String sizeValue) {
+ this.sizeValue = sizeValue;
+ }
+
+ public ArrayList<SelectItem> getSizeValues() {
+ return sizeValues;
+ }
+
+ public void setSizeValues(ArrayList<SelectItem> sizeValues) {
+ this.sizeValues = sizeValues;
+ }
+
+ public String getCreditValue() {
+ return creditValue;
+ }
+
+ public void setCreditValue(String creditValue) {
+ this.creditValue = creditValue;
+ }
+
+ public String getEan() {
+ return ean;
+ }
+
+ public void setEan(String ean) {
+ this.ean = ean;
+ }
+
+ public ValidatorBean(){
+ this.ajaxSingle = true;
+ this.text = "mvitenkov(a)exadel.com";
+ this.intValue = 1234;
+ this.dateValue = (new Date()).toString();
+ this.booleanValue = false;
+ this.ean = "97 81550 41198 0";
+ this.creditValue = "visa maestro";
+ this.assertTrue = true;
+ this.sizeValues = new ArrayList<SelectItem>();
+ for(int i=0;i<6;i++){
+ sizeValues.add(new SelectItem("value_"+i,"label_"+i));
+ }
+ this.sizeValue = sizeValues.get(0).getValue().toString();
+ this.bindLabel = "click Binding";
+ this.disableDefault = false;
+ this.eventsQueue = "onchange";
+ this.ignoreDupResponses = true;
+ this.immediate = false;
+ this.limitToList = false;
+ this.rendered = true;
+ this.renderRegionOnly = true;
+ this.requestDelay = 500;
+ this.selfRendered = true;
+ this.submitted = false;
+ this.timeout = 3000;
+ }
+
+ public int getIntValue() {
+
+ return intValue;
+ }
+
+ public String getText() {
+
+ return text;
+ }
+
+ public String getDateValue() {
+
+ return dateValue;
+ }
+ public boolean isBooleanValue() {
+
+ return booleanValue;
+ }
+
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ public void setBooleanValue(boolean booleanValue) {
+ this.booleanValue = booleanValue;
+ }
+
+ public void setDateValue(String dateValue) {
+ this.dateValue = dateValue;
+ }
+
+ public void setIntValue(int intValue) {
+ this.intValue = intValue;
+ }
+
+ public boolean isAssertTrue() {
+ return assertTrue;
+ }
+
+ public void setAssertTrue(boolean assertTrue) {
+ this.assertTrue = assertTrue;
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = ajaxValidatorComponent.getClientId(context);
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.java
===================================================================
--- trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.java (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/org/domain/HelloWorld/session/virtualEarth/VirtualEarth.java 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,113 @@
+package org.domain.HelloWorld.session.virtualEarth;
+
+import org.domain.HelloWorld.session.util.componentInfo.ComponentInfo;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.component.html.HtmlVirtualEarth;
+
+@Name("virtualEarth")
+(a)Scope(ScopeType.SESSION)
+public class VirtualEarth {
+ private String zoom;
+ private String version;
+ private String lat;
+ private String lng;
+ private boolean rendered;
+ private String dashboardSize;
+ private String mapStyle;
+ private HtmlVirtualEarth htmlVirtualEarth = null;
+
+ public HtmlVirtualEarth getHtmlVirtualEarth() {
+ return htmlVirtualEarth;
+ }
+
+ public void setHtmlVirtualEarth(HtmlVirtualEarth htmlVirtualEarth) {
+ this.htmlVirtualEarth = htmlVirtualEarth;
+ }
+
+ public String add(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(htmlVirtualEarth);
+ return null;
+ }
+
+ public VirtualEarth() {
+ version = "6";
+ zoom = "17";
+ version = "6";
+ lat = "37.37";
+ lng = "44.44";
+ dashboardSize = "Normal";
+ mapStyle = "Hybrid";
+ rendered = true;
+ }
+
+ public String getLat() {
+ return lat;
+ }
+
+ public void setLat(String lat) {
+ double d = Double.parseDouble(lat);
+ if(-97 < d && d < 97)
+ this.lat = lat;
+ else this.lat = "0";
+ }
+
+ public String getLng() {
+ return lng;
+ }
+
+ public void setLng(String lng) {
+ double d = Double.parseDouble(lng);
+ if(-180 < d && d < 180)
+ this.lng = lng;
+ else this.lng = "0";
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public String getDashboardSize() {
+ return dashboardSize;
+ }
+
+ public void setDashboardSize(String dashboardSize) {
+ this.dashboardSize = dashboardSize;
+ }
+
+ public String getMapStyle() {
+ return mapStyle;
+ }
+
+ public void setMapStyle(String mapStyle) {
+ this.mapStyle = mapStyle;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public String getZoom() {
+ return zoom;
+ }
+
+ public void setZoom(String zoom) {
+ this.zoom = zoom;
+ }
+
+ public String act() {
+ zoom = "17";
+ System.out.println("zoom=" + zoom);
+ return null;
+ }
+}
Added: trunk/test-applications/HelloWorld/src/model/seam.properties
===================================================================
Added: trunk/test-applications/HelloWorld/src/model/security.drl
===================================================================
--- trunk/test-applications/HelloWorld/src/model/security.drl (rev 0)
+++ trunk/test-applications/HelloWorld/src/model/security.drl 2008-10-06 19:13:39 UTC (rev 10677)
@@ -0,0 +1,6 @@
+package Permissions;
+
+import java.security.Principal;
+
+import org.jboss.seam.security.PermissionCheck;
+import org.jboss.seam.security.Role;
\ No newline at end of file
16 years, 1 month
JBoss Rich Faces SVN: r10676 - trunk/test-applications.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-10-06 15:03:13 -0400 (Mon, 06 Oct 2008)
New Revision: 10676
Added:
trunk/test-applications/HelloWorld/
Log:
HelloWorld seam application with all richfaces components like jsp & facelets.
16 years, 1 month
JBoss Rich Faces SVN: r10675 - trunk/framework/api/src/main/java/org/ajax4jsf/model.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-10-06 14:19:43 -0400 (Mon, 06 Oct 2008)
New Revision: 10675
Modified:
trunk/framework/api/src/main/java/org/ajax4jsf/model/QueuesManager.java
Log:
add clean method
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/model/QueuesManager.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/model/QueuesManager.java 2008-10-06 18:13:47 UTC (rev 10674)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/model/QueuesManager.java 2008-10-06 18:19:43 UTC (rev 10675)
@@ -1,5 +1,6 @@
package org.ajax4jsf.model;
+import java.util.Iterator;
import java.util.Map;
import javax.faces.context.FacesContext;
@@ -22,7 +23,7 @@
if (!attributes.containsKey(key)) {
attributes.put(key, queue);
} else {
- throw new IllegalArgumentException("Queue whis name '" + name + "' has already been used");
+ throw new IllegalArgumentException("Queue with name '" + name + "' has already been used");
}
}
@@ -53,4 +54,19 @@
static public Queue remove(String name) {
return remove(name, null);
}
+
+ static public void clean(FacesContext context) {
+ if (context == null) {
+ context = FacesContext.getCurrentInstance();
+ }
+ for (Iterator<Map.Entry<String, Object>> iterator = context.getViewRoot()
+ .getAttributes().entrySet().iterator(); iterator.hasNext();) {
+ Map.Entry<String, Object> entry = (Map.Entry<String, Object>) iterator.next();
+ if (entry.getKey().startsWith(MAP_KEY_PREFIX)) {
+ if (((Queue) entry.getValue()).isTransient()) {
+ iterator.remove();
+ }
+ }
+ }
+ }
}
16 years, 1 month