You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mf...@apache.org on 2013/07/01 17:33:23 UTC
svn commit: r1498524 - in
/myfaces/portlet-bridge/core/branches/refactored_3.0.x: ./ Model/
ViewController/ ViewController/public_html/
ViewController/public_html/WEB-INF/ ViewController/src/
ViewController/src/hr/ ViewController/src/view/
Author: mfreedman
Date: Mon Jul 1 15:33:23 2013
New Revision: 1498524
URL: http://svn.apache.org/r1498524
Log: (empty)
Added:
myfaces/portlet-bridge/core/branches/refactored_3.0.x/Application1.jws
myfaces/portlet-bridge/core/branches/refactored_3.0.x/Model/
myfaces/portlet-bridge/core/branches/refactored_3.0.x/Model/Model.jpr
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/ViewController.jpr
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/WEB-INF/
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/WEB-INF/faces-config.xml
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/WEB-INF/web.xml
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/Department.java
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/DepartmentsDataControl.java
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/Employee.java
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/EmployeesDataControl.java
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/view/
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/view/DepartmentsBean.java
myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/view/EmployeesBean.java
Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/Application1.jws
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/Application1.jws?rev=1498524&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/Application1.jws (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/Application1.jws Mon Jul 1 15:33:23 2013
@@ -0,0 +1,19 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<jws:workspace xmlns:jws="http://xmlns.oracle.com/ide/project">
+ <value n="appTemplateId" v="#Java EE Web Application"/>
+ <hash n="component-versions">
+ <value n="oracle.adf.share.dt.migration.jps.JaznCredStoreMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.adfdt.controller.adfc.source.migration.SavePointDataSourceForWLSMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdtinternal.model.ide.security.wizard.AdfSecurityMigrator" v="11.1.1.1.0.13"/>
+ <value n="oracle.ide.model.Project" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.deploy.ear.OarMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.deploy.mar.MarMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.xml.oc4j.jps.JpsConfigMigratorHelper" v="11.1.1.1.0.1"/>
+ <value n="oracle.jdevimpl.xml.wl.WeblogicMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.mds.internal.dt.ide.migrator.MDSConfigMigratorHelper" v="11.1.1.0.5313"/>
+ </hash>
+ <list n="listOfChildren">
+ <hash><url n="URL" path="Model/Model.jpr"/></hash>
+ <hash><url n="URL" path="ViewController/ViewController.jpr"/></hash>
+ </list>
+</jws:workspace>
Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/Model/Model.jpr
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/Model/Model.jpr?rev=1498524&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/Model/Model.jpr (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/Model/Model.jpr Mon Jul 1 15:33:23 2013
@@ -0,0 +1,114 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<jpr:project xmlns:jpr="http://xmlns.oracle.com/ide/project">
+ <hash n="component-versions">
+ <value n="oracle.adfdt.controller.adfc.source.migration.AdfControllerSchemaMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdt.controller.common.migrator.ProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdt.controller.jsf2.diagram.migrate.JsfNodeMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.adfdt.controller.struts.addin.db.ADFStrutsProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdt.controller.struts.addin.StrutsProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdtinternal.dvt.datapresdt.migration.DVTDataMapMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdtinternal.model.ide.migration.ProjectMigrator" v="11.1.1.1.0.11.1.1"/>
+ <value n="oracle.adfdtinternal.model.ide.security.wizard.FormPageMigrator" v="11.1.1.0.0"/>
+ <value n="oracle.adfdtinternal.model.ide.security.wizard.JpsFilterMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdtinternal.model.ide.xmled.migration.ADFNodeMigrator" v="11.1.1.1.0.5"/>
+ <value n="oracle.adfdtinternal.model.ide.xmled.migration.PageDefinitionParameterValueMigrator" v="11.1.1.1.0.5"/>
+ <value n="oracle.adfdtinternal.model.ide.xmled.migration.WebXmlMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdtinternal.view.common.migration.wizards.MigrationHelper" v="11.1.1.1.0.3"/>
+ <value n="oracle.adfdtinternal.view.rich.binding.migration.JarResourceMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdtinternal.view.rich.migration.ComponentIdNodeMigratorHelper" v="11.1.1.1.0.01"/>
+ <value n="oracle.adfdtinternal.view.rich.migration.LibraryVersionMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.bm.commonIde.ProjectUpgrader" v="11.1.1.1.0"/>
+ <value n="oracle.bm.migration.project.MigratorRegistryProjectUpgradeAdapter" v="11.1.1.1.0"/>
+ <value n="oracle.ide.model.Project" v="11.1.1.1.0"/>
+ <value n="oracle.ide.model.ResourcePathsMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jbo.dt.jclient.migrator.JCProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jbo.dt.jdevx.deployment.JbdProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jbo.dt.jdevx.ui.appnav.APProjectMigrator" v="11.1.1.0.1.5"/>
+ <value n="oracle.jbo.dt.migrate.ResourceBundlePathMigrator" v="11.1.1.1.0.5"/>
+ <value n="oracle.jbo.dt.migration.ServiceInterfaceMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdeveloper.ejb.EjbMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdeveloper.library.ProjectLibraryMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdeveloper.model.OutputDirectoryMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.deploy.DeploymentProfilesMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.deploy.jps.JpsDataMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.jsp.JspMigrator" v="11.1.1"/>
+ <value n="oracle.jdevimpl.offlinedb.migration.OfflineDBProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.offlinedb.migration.OfflineTransferMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.resourcebundle.XliffAddin$XliffMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.webapp.jsp.libraries.JspLibraryMigrator" v="11.1.1.1.4"/>
+ <value n="oracle.jdevimpl.webapp.WebAppContentSetNodeMigratorHelper" v="11.1.1"/>
+ <value n="oracle.jdevimpl.webapp.WebAppNodeMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.webservices.WebServicesMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.xml.wl.WeblogicMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.modeler.bmmigrate.management.Migration" v="11.1.1.1.0"/>
+ <value n="oracle.toplink.workbench.addin.migration.PersistenceProjectMigrator" v="11.1.1.1.1"/>
+ <value n="oracle.toplink.workbench.addin.migration.TopLinkProjectMigrator" v="11.1.1.1.0"/>
+ </hash>
+ <list n="contentSets">
+ <string v="oracle.jdeveloper.model.PathsConfiguration/javaContentSet"/>
+ <string v="oracle.ide.model.ResourcePaths/resourcesContentSet"/>
+ <string v="oracle.jdeveloper.offlinedb.model.OfflineDBProjectSettings/offlineDBContentSet"/>
+ <string v="oracle.jdeveloper.model.J2eeSettings/webContentSet"/>
+ <string v="oracle.mds.internal.dt.ide.MDSLibraryCustCSProvider/mdsContentSet"/>
+ <string v="oracle.bm.commonIde.data.project.ModelerProjectSettings/modelersContentSet"/>
+ <string v="oracle.adfdtinternal.model.ide.settings.ADFMSettings/adfmContentSet"/>
+ <string v="oracle.toplink.workbench.addin/toplinkContentSet"/>
+ </list>
+ <value n="defaultPackage" v="model"/>
+ <hash n="ejbModuleContainer">
+ <value n="ejbMetaDataPrefs" v="PREFASANNON"/>
+ <value n="ejbVersion" v="3.0"/>
+ </hash>
+ <hash n="oracle.ide.model.TechnologyScopeConfiguration">
+ <list n="technologyScope">
+ <string v="EJB"/>
+ <string v="Java"/>
+ </list>
+ </hash>
+ <hash n="oracle.jdeveloper.compiler.OjcConfiguration">
+ <value n="internalEncoding" v="Cp1252"/>
+ <list n="Javac.commandline.optionlist">
+ <string v="-g"/>
+ <string v="-Xlint:all"/>
+ <string v="-Xlint:-cast"/>
+ <string v="-Xlint:-empty"/>
+ <string v="-Xlint:-fallthrough"/>
+ <string v="-Xlint:-path"/>
+ <string v="-Xlint:-serial"/>
+ <string v="-Xlint:-unchecked"/>
+ </list>
+ <value n="webIANAEncoding" v="windows-1252"/>
+ </hash>
+ <hash n="oracle.jdeveloper.model.J2eeSettings">
+ <value n="j2eeWebAppName" v="Application1-Model-webapp"/>
+ <value n="j2eeWebContextRoot" v="Application1-Model-context-root"/>
+ </hash>
+ <hash n="oracle.jdeveloper.runner.RunConfigurations">
+ <hash n="runConfigurationDefinitions">
+ <hash n="Default">
+ <value n="custom" v="false"/>
+ <value n="name" v="Default"/>
+ </hash>
+ </hash>
+ <list n="runConfigurationList">
+ <string v="Default"/>
+ </list>
+ </hash>
+ <hash n="oracle.jdevimpl.config.JProjectLibraries">
+ <list n="exportedReferences">
+ <hash>
+ <value n="id" v="EJB 3.0"/>
+ <value n="isJDK" v="false"/>
+ </hash>
+ </list>
+ <list n="libraryReferences">
+ <hash>
+ <value n="id" v="EJB 3.0"/>
+ <value n="isJDK" v="false"/>
+ </hash>
+ </list>
+ </hash>
+ <hash n="oracle.jdevimpl.config.JProjectPaths">
+ <url n="outputDirectory" path="classes/"/>
+ </hash>
+</jpr:project>
Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/ViewController.jpr
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/ViewController.jpr?rev=1498524&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/ViewController.jpr (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/ViewController.jpr Mon Jul 1 15:33:23 2013
@@ -0,0 +1,162 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<jpr:project xmlns:jpr="http://xmlns.oracle.com/ide/project">
+ <hash n="component-versions">
+ <value n="oracle.adfdt.controller.adfc.source.migration.AdfControllerSchemaMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdt.controller.common.migrator.ProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdt.controller.jsf2.diagram.migrate.JsfNodeMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.adfdt.controller.struts.addin.db.ADFStrutsProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdt.controller.struts.addin.StrutsProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdtinternal.dvt.datapresdt.migration.DVTDataMapMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdtinternal.model.ide.migration.ProjectMigrator" v="11.1.1.1.0.11.1.1"/>
+ <value n="oracle.adfdtinternal.model.ide.security.wizard.FormPageMigrator" v="11.1.1.0.0"/>
+ <value n="oracle.adfdtinternal.model.ide.security.wizard.JpsFilterMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdtinternal.model.ide.xmled.migration.ADFNodeMigrator" v="11.1.1.1.0.5"/>
+ <value n="oracle.adfdtinternal.model.ide.xmled.migration.PageDefinitionParameterValueMigrator" v="11.1.1.1.0.5"/>
+ <value n="oracle.adfdtinternal.model.ide.xmled.migration.WebXmlMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdtinternal.view.common.migration.wizards.MigrationHelper" v="11.1.1.1.0.3"/>
+ <value n="oracle.adfdtinternal.view.rich.binding.migration.JarResourceMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.adfdtinternal.view.rich.migration.ComponentIdNodeMigratorHelper" v="11.1.1.1.0.01"/>
+ <value n="oracle.adfdtinternal.view.rich.migration.LibraryVersionMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.bm.commonIde.ProjectUpgrader" v="11.1.1.1.0"/>
+ <value n="oracle.bm.migration.project.MigratorRegistryProjectUpgradeAdapter" v="11.1.1.1.0"/>
+ <value n="oracle.ide.model.Project" v="11.1.1.1.0"/>
+ <value n="oracle.ide.model.ResourcePathsMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jbo.dt.jclient.migrator.JCProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jbo.dt.jdevx.deployment.JbdProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jbo.dt.jdevx.ui.appnav.APProjectMigrator" v="11.1.1.0.1.5"/>
+ <value n="oracle.jbo.dt.migrate.ResourceBundlePathMigrator" v="11.1.1.1.0.5"/>
+ <value n="oracle.jbo.dt.migration.ServiceInterfaceMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdeveloper.ejb.EjbMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdeveloper.library.ProjectLibraryMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdeveloper.model.OutputDirectoryMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.deploy.DeploymentProfilesMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.deploy.jps.JpsDataMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.jsp.JspMigrator" v="11.1.1"/>
+ <value n="oracle.jdevimpl.offlinedb.migration.OfflineDBProjectMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.offlinedb.migration.OfflineTransferMigrator" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.resourcebundle.XliffAddin$XliffMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.webapp.jsp.libraries.JspLibraryMigrator" v="11.1.1.1.4"/>
+ <value n="oracle.jdevimpl.webapp.WebAppContentSetNodeMigratorHelper" v="11.1.1"/>
+ <value n="oracle.jdevimpl.webapp.WebAppNodeMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.webservices.WebServicesMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.jdevimpl.xml.wl.WeblogicMigratorHelper" v="11.1.1.1.0"/>
+ <value n="oracle.modeler.bmmigrate.management.Migration" v="11.1.1.1.0"/>
+ <value n="oracle.toplink.workbench.addin.migration.PersistenceProjectMigrator" v="11.1.1.1.1"/>
+ <value n="oracle.toplink.workbench.addin.migration.TopLinkProjectMigrator" v="11.1.1.1.0"/>
+ </hash>
+ <list n="contentSets">
+ <string v="oracle.jdeveloper.model.PathsConfiguration/javaContentSet"/>
+ <string v="oracle.ide.model.ResourcePaths/resourcesContentSet"/>
+ <string v="oracle.jdeveloper.offlinedb.model.OfflineDBProjectSettings/offlineDBContentSet"/>
+ <string v="oracle.jdeveloper.model.J2eeSettings/webContentSet"/>
+ <string v="oracle.mds.internal.dt.ide.MDSLibraryCustCSProvider/mdsContentSet"/>
+ <string v="oracle.bm.commonIde.data.project.ModelerProjectSettings/modelersContentSet"/>
+ <string v="oracle.adfdtinternal.model.ide.settings.ADFMSettings/adfmContentSet"/>
+ <string v="oracle.toplink.workbench.addin/toplinkContentSet"/>
+ </list>
+ <value n="defaultPackage" v="view"/>
+ <hash n="oracle.ide.model.TechnologyScopeConfiguration">
+ <list n="technologyScope">
+ <string v="HTML"/>
+ <string v="JSP"/>
+ <string v="JSF"/>
+ <string v="Java"/>
+ </list>
+ </hash>
+ <hash n="oracle.jdeveloper.compiler.OjcConfiguration">
+ <value n="internalEncoding" v="Cp1252"/>
+ <list n="Javac.commandline.optionlist">
+ <string v="-g"/>
+ <string v="-Xlint:all"/>
+ <string v="-Xlint:-cast"/>
+ <string v="-Xlint:-empty"/>
+ <string v="-Xlint:-fallthrough"/>
+ <string v="-Xlint:-path"/>
+ <string v="-Xlint:-serial"/>
+ <string v="-Xlint:-unchecked"/>
+ </list>
+ <value n="webIANAEncoding" v="windows-1252"/>
+ </hash>
+ <hash n="oracle.jdeveloper.model.J2eeSettings">
+ <value n="j2eeWebAppName" v="Application1-ViewController-webapp"/>
+ <value n="j2eeWebContextRoot" v="Application1-ViewController-context-root"/>
+ </hash>
+ <hash n="oracle.jdeveloper.runner.RunConfigurations">
+ <hash n="runConfigurationDefinitions">
+ <hash n="Default">
+ <value n="custom" v="false"/>
+ <value n="name" v="Default"/>
+ </hash>
+ </hash>
+ <list n="runConfigurationList">
+ <string v="Default"/>
+ </list>
+ </hash>
+ <hash n="oracle.jdevimpl.config.JProjectLibraries">
+ <list n="exportedReferences">
+ <hash>
+ <value n="id" v="JSP Runtime"/>
+ <value n="isJDK" v="false"/>
+ </hash>
+ <hash>
+ <value n="id" v="JSF 1.2"/>
+ <value n="isJDK" v="false"/>
+ </hash>
+ <hash>
+ <value n="id" v="JSTL 1.2"/>
+ <value n="isJDK" v="false"/>
+ </hash>
+ <hash>
+ <value n="id" v="Oracle JDBC"/>
+ <value n="isJDK" v="false"/>
+ </hash>
+ </list>
+ <list n="libraryReferences">
+ <hash>
+ <value n="id" v="JSP Runtime"/>
+ <value n="isJDK" v="false"/>
+ </hash>
+ <hash>
+ <value n="id" v="JSF 1.2"/>
+ <value n="isJDK" v="false"/>
+ </hash>
+ <hash>
+ <value n="id" v="JSTL 1.2"/>
+ <value n="isJDK" v="false"/>
+ </hash>
+ <hash>
+ <value n="id" v="Oracle JDBC"/>
+ <value n="isJDK" v="false"/>
+ </hash>
+ </list>
+ </hash>
+ <hash n="oracle.jdevimpl.config.JProjectPaths">
+ <url n="outputDirectory" path="classes/"/>
+ </hash>
+ <hash n="oracle.jdevimpl.webapp.jsp.libraries.model.ProjectTagLibraries">
+ <list n="tag-libraries">
+ <hash>
+ <hash n="baseLibrary">
+ <value n="name" v="JSF Core"/>
+ <value n="version" v="1.2"/>
+ </hash>
+ <value n="jspVersion" v="2.1"/>
+ <value n="name" v="JSF Core"/>
+ <value n="tldURL" v="@oracle.home@../oracle_common/modules/oracle.jsf_1.2.9/glassfish.jsf_1.0.0.0_1-2-15.jar!/META-INF/jsf_core.tld"/>
+ <value n="URI" v="http://java.sun.com/jsf/core"/>
+ <value n="version" v="1.2"/>
+ </hash>
+ <hash>
+ <hash n="baseLibrary">
+ <value n="name" v="JSF HTML"/>
+ <value n="version" v="1.2"/>
+ </hash>
+ <value n="jspVersion" v="2.1"/>
+ <value n="name" v="JSF HTML"/>
+ <value n="tldURL" v="@oracle.home@../oracle_common/modules/oracle.jsf_1.2.9/glassfish.jsf_1.0.0.0_1-2-15.jar!/META-INF/html_basic.tld"/>
+ <value n="URI" v="http://java.sun.com/jsf/html"/>
+ <value n="version" v="1.2"/>
+ </hash>
+ </list>
+ </hash>
+</jpr:project>
Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/WEB-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/WEB-INF/faces-config.xml?rev=1498524&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/WEB-INF/faces-config.xml (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/WEB-INF/faces-config.xml Mon Jul 1 15:33:23 2013
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="windows-1252"?>
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
+
+</faces-config>
\ No newline at end of file
Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/WEB-INF/web.xml?rev=1498524&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/WEB-INF/web.xml (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/public_html/WEB-INF/web.xml Mon Jul 1 15:33:23 2013
@@ -0,0 +1,14 @@
+<?xml version = '1.0' encoding = 'windows-1252'?>
+<web-app 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" xmlns="http://java.sun.com/xml/ns/javaee">
+ <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>/faces/*</url-pattern>
+ </servlet-mapping>
+</web-app>
Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/Department.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/Department.java?rev=1498524&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/Department.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/Department.java Mon Jul 1 15:33:23 2013
@@ -0,0 +1,67 @@
+package hr;
+
+import java.io.Serializable;
+
+public class Department implements Serializable
+{
+ static final long serialVersionUID = 1L;
+
+ private int departmentId = 0;
+ private String departmentName;
+ private int managerId;
+ private int locationId;
+
+ public Department(int departmentId, String departmentName, int managerId,
+ int locationId)
+ {
+ setDepartmentId(departmentId);
+ setDepartmentName(departmentName);
+ setManagerId(managerId);
+ setLocationId(locationId);
+ }
+
+ public Department()
+ {
+ super();
+ }
+
+ public void setDepartmentId(int deptno)
+ {
+ this.departmentId = deptno;
+ }
+
+ public int getDepartmentId()
+ {
+ return departmentId;
+ }
+
+ public void setDepartmentName(String departmentName)
+ {
+ this.departmentName = departmentName;
+ }
+
+ public String getDepartmentName()
+ {
+ return departmentName;
+ }
+
+ public void setManagerId(int managerId)
+ {
+ this.managerId = managerId;
+ }
+
+ public int getManagerId()
+ {
+ return managerId;
+ }
+
+ public void setLocationId(int location)
+ {
+ this.locationId = location;
+ }
+
+ public int getLocation()
+ {
+ return locationId;
+ }
+}
Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/DepartmentsDataControl.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/DepartmentsDataControl.java?rev=1498524&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/DepartmentsDataControl.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/DepartmentsDataControl.java Mon Jul 1 15:33:23 2013
@@ -0,0 +1,152 @@
+package hr;
+
+import java.util.ArrayList;
+
+import javax.el.ELContext;
+import javax.el.ExpressionFactory;
+import javax.el.ValueExpression;
+
+import javax.faces.application.Application;
+import javax.faces.context.FacesContext;
+
+import oracle.adf.model.binding.DCBindingContainer;
+import oracle.adf.view.rich.component.rich.data.RichTable;
+import oracle.adf.view.rich.context.AdfFacesContext;
+
+import oracle.binding.OperationBinding;
+
+import oracle.jbo.uicli.binding.JUCtrlHierBinding;
+
+import org.apache.myfaces.trinidad.model.CollectionModel;
+
+import view.DepartmentsBean;
+
+public class DepartmentsDataControl
+{
+ private static final String LOCATION_ID_KEY = "hr.LOCATIONID";
+ private static final int LOCATION_ID_NULL_VALUE = -1;
+
+ public DepartmentsDataControl()
+ {
+ super();
+ }
+
+ public Department[] getDepartments(Integer defaultLocationId)
+ {
+ // Previously persisted location id, if any.
+ int locationId = findLocationId(defaultLocationId);
+
+ Department[] filteredDepartments = null;
+ if (locationId == LOCATION_ID_NULL_VALUE)
+ {
+ // Not filtered.
+ filteredDepartments = departments;
+ }
+ else
+ {
+ // Filter the list of departments based on the location id.
+ ArrayList deptsInLocation = new ArrayList();
+ for (int i = 0; i < departments.length; i++)
+ {
+ if (departments[i].getLocation() == locationId)
+ {
+ deptsInLocation.add(departments[i]);
+ }
+ }
+
+ filteredDepartments = new Department[deptsInLocation.size()];
+ deptsInLocation.toArray(filteredDepartments);
+ }
+ return filteredDepartments;
+ }
+
+ public void updateTableForLocationId(int locationId)
+ {
+ FacesContext fctx = FacesContext.getCurrentInstance();
+ Application app = fctx.getApplication();
+ ELContext elctx = fctx.getELContext();
+ ExpressionFactory expressionFactory = app.getExpressionFactory();
+
+ //access the managed bean defined in the bounded task flow for the
+ //departments table
+ ValueExpression departmentsBeanAccess =
+ expressionFactory.createValueExpression(elctx,
+ "#{backingBeanScope.departmentsBean}",
+ Object.class);
+
+ //cast it to the bean instance
+ DepartmentsBean departmentsBean =
+ (DepartmentsBean) departmentsBeanAccess.getValue(elctx);
+
+ //get access to the table component
+ RichTable table = departmentsBean.getDepartmentsTable();
+ //get access to the binding layer used by the table
+
+ CollectionModel model = (CollectionModel) table.getValue();
+ //access the tree binding used by the table
+ JUCtrlHierBinding departmentsTableBinding = (JUCtrlHierBinding) model.getWrappedData();
+ //access the binding container
+ DCBindingContainer dcbindings = departmentsTableBinding.getBindingContainer();
+
+ // Persist this selected location.
+ this.setLocationId(locationId);
+
+ // Re-execute the iterator.
+ OperationBinding operationBinding =
+ dcbindings.getOperationBinding("Execute");
+ operationBinding.execute();
+
+ //refresh the table without re-loading the bounded task flow
+ AdfFacesContext.getCurrentInstance().addPartialTarget(table);
+ }
+
+ // Persist and retrieve a selected locationId to filter the departments by.
+ public int findLocationId(Integer defaultValue)
+ {
+ AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
+ Integer locationId =
+ (defaultValue == null? (Integer) afContext.getPageFlowScope().get(LOCATION_ID_KEY):
+ defaultValue);
+
+ return (locationId == null? LOCATION_ID_NULL_VALUE:
+ Integer.valueOf(locationId));
+ }
+
+ public void setLocationId(int locationId)
+ {
+ AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
+ afContext.getPageFlowScope().put(LOCATION_ID_KEY,
+ Integer.valueOf(locationId));
+ }
+
+ private static Department[] departments = new Department[]
+ {
+ new Department(10, "Administration", 200, 1000),
+ new Department(20, "Marketing", 201, 1800),
+ new Department(30, "Purchasing", 114, 1200),
+ new Department(40, "Human Resources", 203, 1100),
+ new Department(50, "Shipping", 121, 1600),
+ new Department(60, "IT", 103, 1400),
+ new Department(70, "Public Relations", 204, 2700),
+ new Department(80, "Sales", 145, 2500),
+ new Department(90, "Executive", 100, 1300),
+ new Department(100, "Finance", 108, 2900),
+ new Department(110, "Accounting", 205, 1600),
+ new Department(120, "Treasury", 0, 1600),
+ new Department(130, "Corporate Tax", 0, 1600),
+ new Department(140, "Control And Credit", 0, 1700),
+ new Department(150, "Shareholder Services", 0, 2700),
+ new Department(160, "Benefits", 0, 1800),
+ new Department(170, "Manufacturing", 0, 1900),
+ new Department(180, "Construction", 0, 2000),
+ new Department(190, "Contracting", 0, 2000),
+ new Department(200, "Operations", 0, 2100),
+ new Department(210, "IT Support", 0, 2200),
+ new Department(220, "NOC", 0, 2300),
+ new Department(230, "IT Helpdesk", 0, 2400),
+ new Department(240, "Government Sales", 0, 2500),
+ new Department(250, "Retail Sales", 0, 2600),
+ new Department(260, "Recruiting", 0, 1700),
+ new Department(270, "Payroll", 0, 1700)
+ };
+}
Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/Employee.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/Employee.java?rev=1498524&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/Employee.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/Employee.java Mon Jul 1 15:33:23 2013
@@ -0,0 +1,92 @@
+package hr;
+
+import java.sql.Date;
+
+public class Employee {
+
+ private int employeeId;
+ private String firstName;
+ private String lastName;
+ private String jobId;
+ private String telephone;
+ private Date hireDate;
+ private int managerId;
+ private int deptno;
+
+ public Employee(int employeeId, String firstName, String lastName, String jobId, String telephone,
+ Date hireDate, int managerId, int deptno) {
+ setEmployeeId(employeeId);
+ setFirstName(firstName);
+ setLastName(lastName);
+ setJobId(jobId);
+ setTelephone(telephone);
+ setHireDate(hireDate);
+ setManagerId(managerId);
+ setDeptno(deptno);
+ }
+
+ public void setEmployeeId(int employeeId) {
+ this.employeeId = employeeId;
+ }
+
+ public int getEmployeeId() {
+ return employeeId;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setJobId(String jobId) {
+ this.jobId = jobId;
+ }
+
+ public String getJobId() {
+ return jobId;
+ }
+
+ public void setTelephone(String telephone) {
+ this.telephone = telephone;
+ }
+
+ public String getTelephone() {
+ return telephone;
+ }
+
+ public void setHireDate(Date hireDate) {
+ this.hireDate = hireDate;
+ }
+
+ public Date getHireDate() {
+ return hireDate;
+ }
+
+ public void setDeptno(int deptno) {
+ this.deptno = deptno;
+ }
+
+ public int getDeptno() {
+ return deptno;
+ }
+
+ public void setManagerId(int managerId) {
+ this.managerId = managerId;
+ }
+
+ public int getManagerId() {
+ return managerId;
+ }
+}
+
Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/EmployeesDataControl.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/EmployeesDataControl.java?rev=1498524&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/EmployeesDataControl.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/hr/EmployeesDataControl.java Mon Jul 1 15:33:23 2013
@@ -0,0 +1,219 @@
+package hr;
+
+import java.util.ArrayList;
+
+import java.sql.Date;
+
+import java.util.Map;
+
+import javax.el.ELContext;
+
+import javax.el.ExpressionFactory;
+
+import javax.el.MethodExpression;
+
+import javax.el.ValueExpression;
+
+import javax.faces.application.Application;
+import javax.faces.context.FacesContext;
+
+import oracle.adf.model.binding.DCBindingContainer;
+import oracle.adf.model.binding.DCBindingContainerCurrencyChangeEvent;
+import oracle.adf.view.rich.component.rich.data.RichTable;
+import oracle.adf.view.rich.context.AdfFacesContext;
+
+import oracle.binding.OperationBinding;
+
+import oracle.jbo.uicli.binding.JUCtrlHierBinding;
+import oracle.jbo.uicli.binding.JUCtrlHierNodeBinding;
+
+import org.apache.myfaces.trinidad.model.CollectionModel;
+
+import view.EmployeesBean;
+
+public class EmployeesDataControl
+{
+
+ private static final String DEPARTMENT_NUMBER_KEY = "DEPTNO";
+ private static final int DEPARTMENT_NUMBER_NULL_VALUE = -1;
+
+ public EmployeesDataControl()
+ {
+ super();
+ }
+
+ public void updateTableForDepartmentId(Department department)
+ {
+ int departmentId = DEPARTMENT_NUMBER_NULL_VALUE;
+ if (department != null)
+ {
+ departmentId = department.getDepartmentId();
+ }
+
+ FacesContext fctx = FacesContext.getCurrentInstance();
+ Application app = fctx.getApplication();
+ ELContext elctx = fctx.getELContext();
+ ExpressionFactory expressionFactory = app.getExpressionFactory();
+
+ //access the managed bean defined in the bounded task flow for the
+ //employees table
+ ValueExpression employeeBeanAccess =
+ expressionFactory.createValueExpression(elctx,
+ "#{backingBeanScope.employeesBean}",
+ Object.class);
+
+ //cast it to the bean instance
+ EmployeesBean employeesBean =
+ (EmployeesBean) employeeBeanAccess.getValue(elctx);
+
+ //get access to the table component
+ RichTable table = employeesBean.getEmployeesTable();
+ //get access to the binding layer used by the table
+
+ CollectionModel model = (CollectionModel) table.getValue();
+ //access the tree binding used by the table
+ JUCtrlHierBinding employeesTableBinding = (JUCtrlHierBinding) model.getWrappedData();
+ //access the binding container
+ DCBindingContainer dcbindings = employeesTableBinding.getBindingContainer();
+
+ this.setDepartmentNumber(departmentId);
+
+ // Re-execute the iterator.
+ OperationBinding operationBinding =
+ dcbindings.getOperationBinding("Execute");
+ operationBinding.execute();
+
+ //refresh the table without re-loading the bounded task flow
+ AdfFacesContext.getCurrentInstance().addPartialTarget(table);
+ }
+
+ public int findDepartmentNumber(Integer defaultValue)
+ {
+ AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
+ Integer deptno =
+ (defaultValue == null? (Integer) afContext.getPageFlowScope().get(DEPARTMENT_NUMBER_KEY):
+ defaultValue);
+ return (deptno == null? DEPARTMENT_NUMBER_NULL_VALUE:
+ Integer.valueOf(deptno));
+ }
+
+ public void setDepartmentNumber(int deptno)
+ {
+ AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
+ afContext.getPageFlowScope().put(DEPARTMENT_NUMBER_KEY,
+ Integer.valueOf(deptno));
+ }
+
+ public Employee[] getEmployees(Integer deptno)
+ {
+ int filterDeptno = findDepartmentNumber(deptno);
+
+ Employee[] filteredEmployees = null;
+ if (filterDeptno == DEPARTMENT_NUMBER_NULL_VALUE)
+ {
+ filteredEmployees = employees;
+ }
+ else
+ {
+ ArrayList empsInDept = new ArrayList();
+ for (int i = 0; i < employees.length; i++)
+ {
+ if (employees[i].getDeptno() == filterDeptno)
+ {
+ empsInDept.add(employees[i]);
+ }
+ }
+
+ filteredEmployees = new Employee[empsInDept.size()];
+ empsInDept.toArray(filteredEmployees);
+ }
+ return filteredEmployees;
+ }
+
+ private static Employee[] employees = new Employee[] {
+ new Employee(100, "Steven", "King", "AD_PRES", "515.123.4567", Date.valueOf("2003-06-17"), 0, 90),
+ new Employee(101, "Neena", "Kochhar", "AD_VP", "515.123.4568", Date.valueOf("2005-09-21"), 100, 90),
+ new Employee(102, "Lex", "De Haan", "AD_VP", "515.123.4569", Date.valueOf("2001-01-13"), 100, 90),
+ new Employee(103, "Alexander", "Hunold", "IT_PROG", "590.423.4567", Date.valueOf("2006-01-03"), 102, 60),
+ new Employee(104, "Bruce", "Ernst", "IT_PROG", "590.423.4568", Date.valueOf("2007-05-21"), 103, 60),
+ new Employee(105, "David", "Austin", "IT_PROG", "590.423.4569", Date.valueOf("2005-06-25"), 103, 60),
+ new Employee(106, "Valli", "Pataballa", "IT_PROG", "590.423.4560", Date.valueOf("2006-02-05"), 103, 60),
+ new Employee(107, "Diana", "Lorentz", "IT_PROG", "590.423.5567", Date.valueOf("2007-02-07"), 103, 60),
+ new Employee(108, "Nancy", "Greenberg", "FI_MGR", "515.124.4569", Date.valueOf("2002-08-17"), 101, 100),
+ new Employee(109, "Daniel", "Faviet", "FI_ACCOUNT", "515.124.4169", Date.valueOf("2002-08-16"), 108, 100),
+ new Employee(110, "John", "Chen", "FI_ACCOUNT", "515.124.4269", Date.valueOf("2005-09-28"), 108, 100),
+ new Employee(111, "Ismael", "Sciarra", "FI_ACCOUNT", "515.124.4369", Date.valueOf("2005-09-30"), 108, 100),
+ new Employee(112, "Jose Manuel", "Urman", "FI_ACCOUNT", "515.124.4469", Date.valueOf("2006-03-07"), 108, 100),
+ new Employee(113, "Luis", "Popp", "FI_ACCOUNT", "515.124.4567", Date.valueOf("2007-12-07"), 108, 100),
+ new Employee(114, "Den", "Raphaely", "PU_MAN", "515.127.4561", Date.valueOf("2002-12-07"), 100, 30),
+ new Employee(115, "Alexander", "Khoo", "PU_CLERK", "515.127.4562", Date.valueOf("2003-05-18"), 114, 30),
+ new Employee(116, "Shelli", "Baida", "PU_CLERK", "515.127.4563", Date.valueOf("2005-12-24"), 114, 30),
+ new Employee(117, "Sigal", "Tobias", "PU_CLERK", "515.127.4564", Date.valueOf("2005-07-24"), 114, 30),
+ new Employee(118, "Guy", "Himuro", "PU_CLERK", "515.127.4565", Date.valueOf("2006-11-15"), 114, 30),
+ new Employee(119, "Karen", "Colmenares", "PU_CLERK", "515.127.4566", Date.valueOf("2007-08-10"), 114, 30),
+ new Employee(120, "Matthew", "Weiss", "ST_MAN", "650.123.1234", Date.valueOf("2004-07-18"), 100, 50),
+ new Employee(121, "Adam", "Fripp", "ST_MAN", "650.123.2234", Date.valueOf("2005-04-10"), 100, 50),
+ new Employee(122, "Payam", "Kaufling", "ST_MAN", "650.123.3234", Date.valueOf("2003-05-01"), 100, 50),
+ new Employee(123, "Shanta", "Vollman", "ST_MAN", "650.123.4234", Date.valueOf("2005-10-10"), 100, 50),
+ new Employee(124, "Kevin", "Mourgos", "ST_MAN", "650.123.5234", Date.valueOf("2007-11-16"), 100, 50),
+ new Employee(125, "Julia", "Nayer", "ST_CLERK", "650.124.1214", Date.valueOf("2005-07-16"), 120, 50),
+ new Employee(126, "Irene", "Mikkilineni", "ST_CLERK", "650.124.1224", Date.valueOf("2006-09-28"), 120, 50),
+ new Employee(127, "James", "Landry", "ST_CLERK", "650.124.1334", Date.valueOf("2007-01-14"), 120, 50),
+ new Employee(128, "Steven", "Markle", "ST_CLERK", "650.124.1434", Date.valueOf("2008-03-08"), 120, 50),
+ new Employee(129, "Laura", "Bissot", "ST_CLERK", "650.124.5234", Date.valueOf("2005-08-20"), 121, 50),
+ new Employee(130, "Mozhe", "Atkinson", "ST_CLERK", "650.124.6234", Date.valueOf("2005-10-30"), 121, 50),
+ new Employee(131, "James", "Marlow", "ST_CLERK", "650.124.7234", Date.valueOf("2005-02-16"), 121, 50),
+ new Employee(132, "TJ", "Olson", "ST_CLERK", "650.124.8234", Date.valueOf("2007-04-10"), 121, 50),
+ new Employee(133, "Jason", "Malline", "ST_CLERK", "650.127.1934", Date.valueOf("2004-06-14"), 122, 50),
+ new Employee(134, "Michael", "Rogers", "ST_CLERK", "650.127.1834", Date.valueOf("2006-08-26"), 122, 50),
+ new Employee(135, "Ki", "Gee", "ST_CLERK", "650.127.1734", Date.valueOf("2007-12-12"), 122, 50),
+ new Employee(136, "Hazel", "Philtanker", "ST_CLERK", "650.127.1634", Date.valueOf("2008-02-06"), 122, 50),
+ new Employee(137, "Bradley", "Wiggins", "ST_CLERK", "650.121.1234", Date.valueOf("2003-07-14"), 123, 50),
+ new Employee(138, "Chris", "Froome", "ST_CLERK", "650.121.2034", Date.valueOf("2005-10-26"), 123, 50),
+ new Employee(139, "Michael", "Rogers", "ST_CLERK", "650.121.2019", Date.valueOf("2006-02-12"), 123, 50),
+ new Employee(140, "Richie", "Porte", "ST_CLERK", "650.121.1834", Date.valueOf("2006-04-06"), 123, 50),
+ new Employee(141, "Mark", "Cavendish", "ST_CLERK", "650.121.8009", Date.valueOf("2003-10-17"), 124, 50),
+ new Employee(142, "Bernie", "Eisel", "ST_CLERK", "650.121.2994", Date.valueOf("2005-01-29"), 124, 50),
+ new Employee(143, "Edvald", "Boassen Hagen", "ST_CLERK", "650.121.2874", Date.valueOf("2006-03-15"), 124, 50),
+ new Employee(144, "Christian", "Knees", "ST_CLERK", "650.121.2004", Date.valueOf("2006-07-09"), 124, 50),
+ new Employee(145, "Kanstantsin", "Siutsou", "SA_MAN", "011.44.1344.429268", Date.valueOf("2004-10-01"), 100, 80),
+ new Employee(146, "Karen", "Partners", "SA_MAN", "011.44.1344.467268", Date.valueOf("2005-01-05"), 100, 80),
+ new Employee(147, "Alberto", "Errazuriz", "SA_MAN", "011.44.1344.429278", Date.valueOf("2005-03-10"), 100, 80),
+ new Employee(148, "Gerald", "Cambrault", "SA_MAN", "011.44.1344.619268", Date.valueOf("2007-10-15"), 100, 80),
+ new Employee(149, "Eleni", "Zlotkey", "SA_MAN", "011.44.1344.429018", Date.valueOf("2008-01-29"), 100, 80),
+ new Employee(175, "Alyssa", "Hutton", "SA_REP", "011.44.1644.429266", Date.valueOf("2005-03-19"), 149, 80),
+ new Employee(176, "Jonathon", "Taylor", "SA_REP", "011.44.1644.429265", Date.valueOf("2006-03-24"), 149, 80),
+ new Employee(177, "Jack", "Livingston", "SA_REP", "011.44.1644.429264", Date.valueOf("2006-04-23"), 149, 80),
+ new Employee(178, "Kimberely", "Grant", "SA_REP", "011.44.1644.429263", Date.valueOf("2007-05-24"), 149, 80),
+ new Employee(179, "Charles", "Johnson", "SA_REP", "011.44.1644.429262", Date.valueOf("2008-01-04"), 149, 80),
+ new Employee(180, "Winston", "Taylor", "SH_CLERK", "650.507.9876", Date.valueOf("2006-01-24"), 120, 50),
+ new Employee(181, "Jean", "Fleaur", "SH_CLERK", "650.507.9877", Date.valueOf("2006-02-23"), 120, 50),
+ new Employee(182, "Martha", "Sullivan", "SH_CLERK", "650.507.9878", Date.valueOf("2007-06-21"), 120, 50),
+ new Employee(183, "Girard", "Geoni", "SH_CLERK", "650.507.9879", Date.valueOf("2008-02-03"), 120, 50),
+ new Employee(184, "Nandita", "Sarchand", "SH_CLERK", "650.509.1876", Date.valueOf("2004-01-27"), 121, 50),
+ new Employee(185, "Alexis", "Bull", "SH_CLERK", "650.509.2876", Date.valueOf("2005-02-20"), 121, 50),
+ new Employee(186, "Julia", "Dellinger", "SH_CLERK", "650.509.3876", Date.valueOf("2006-06-24"), 121, 50),
+ new Employee(187, "Anthony", "Cabrio", "SH_CLERK", "650.509.4876", Date.valueOf("2007-02-07"), 121, 50),
+ new Employee(188, "Kelly", "Chung", "SH_CLERK", "650.505.1876", Date.valueOf("2005-06-14"), 122, 50),
+ new Employee(189, "Jennifer", "Dilly", "SH_CLERK", "650.505.2876", Date.valueOf("2005-08-13"), 122, 50),
+ new Employee(190, "Timothy", "Gates", "SH_CLERK", "650.505.3876", Date.valueOf("2006-07-11"), 122, 50),
+ new Employee(191, "Randall", "Perkins", "SH_CLERK", "650.505.4876", Date.valueOf("2007-12-19"), 122, 50),
+ new Employee(192, "Sarah", "Bell", "SH_CLERK", "650.501.1876", Date.valueOf("2004-02-04"), 123, 50),
+ new Employee(193, "Britney", "Everett", "SH_CLERK", "650.501.2876", Date.valueOf("2005-03-03"), 123, 50),
+ new Employee(194, "Samuel", "McCain", "SH_CLERK", "650.501.3876", Date.valueOf("2006-07-01"), 123, 50),
+ new Employee(195, "Vance", "Jones", "SH_CLERK", "650.501.4876", Date.valueOf("2007-03-17"), 123, 50),
+ new Employee(196, "Alana", "Walsh", "SH_CLERK", "650.507.9811", Date.valueOf("2006-04-24"), 124, 50),
+ new Employee(197, "Kevin", "Feeney", "SH_CLERK", "650.507.9822", Date.valueOf("2006-05-23"), 124, 50),
+ new Employee(198, "Donald", "OConnell", "SH_CLERK", "650.507.9833", Date.valueOf("2007-06-21"), 124, 50),
+ new Employee(199, "Douglas", "Grant", "SH_CLERK", "650.507.9844", Date.valueOf("2008-01-13"), 124, 50),
+ new Employee(200, "Jennifer", "Whalen", "AD_ASST", "515.123.4444", Date.valueOf("2003-09-17"), 101, 10),
+ new Employee(201, "Michael", "Hartstein", "MK_MAN", "515.123.5555", Date.valueOf("2004-02-17"), 100, 20),
+ new Employee(202, "Pat", "Fay", "MK_REP", "603.123.6666", Date.valueOf("2005-08-17"), 201, 20),
+ new Employee(203, "Susan", "Mavris", "HR_REP", "515.123.7777", Date.valueOf("2002-06-07"), 101, 40),
+ new Employee(204, "Hermann", "Baer", "PR_REP", "515.123.8888", Date.valueOf("2002-06-07"), 101, 70),
+ new Employee(205, "Shelley", "Higgins", "AC_MGR", "515.123.8080", Date.valueOf("2002-06-07"), 101, 110),
+ new Employee(206, "William", "Gietz", "AC_ACCOUNT", "515.123.8181", Date.valueOf("2002-06-07"), 205, 110)
+ };
+
+}
+
Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/view/DepartmentsBean.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/view/DepartmentsBean.java?rev=1498524&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/view/DepartmentsBean.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/view/DepartmentsBean.java Mon Jul 1 15:33:23 2013
@@ -0,0 +1,89 @@
+package view;
+
+import javax.el.ELContext;
+import javax.el.ExpressionFactory;
+import javax.el.MethodExpression;
+
+import javax.faces.application.Application;
+import javax.faces.context.FacesContext;
+
+import oracle.adf.model.BindingContext;
+
+import oracle.adf.view.rich.component.rich.data.RichTable;
+
+import oracle.binding.BindingContainer;
+
+import oracle.jbo.uicli.binding.JUEventBinding;
+
+import org.apache.myfaces.trinidad.event.SelectionEvent;
+import org.apache.myfaces.trinidad.event.SelectionListener;
+
+public class DepartmentsBean
+{
+ private RichTable _departmentsTable;
+
+ public DepartmentsBean()
+ {
+ }
+
+ public void onDepartmentSelect(SelectionEvent selectionEvent)
+ {
+ //preserve default Selection Event behavior
+ String mexpr = "#{bindings.departments.collectionModel.makeCurrent}";
+ processMethodExpression(mexpr, selectionEvent, SelectionEvent.class);
+
+ //invoke the ContextualEvent. Access the binding layer through
+ //the BindingContext
+ BindingContext bctx = BindingContext.getCurrent();
+ BindingContainer bindings = bctx.getCurrentBindingsEntry();
+ //access the eventBinding that is mapped as the event producer
+ JUEventBinding tableSelectionEvent =
+ (JUEventBinding) bindings.get("DepartmentSelectedEvent");
+ //get the selection listener defoned on the event binding
+ SelectionListener eventBindingListener =
+ (SelectionListener) tableSelectionEvent.getListener();
+ //invoke the event producer
+ eventBindingListener.processSelection(selectionEvent);
+ }
+
+ /**
+ * simplified method for invoking an EL for a single argument and argument
+ * class
+ */
+ public Object processMethodExpression(String methodExpression,
+ Object event, Class eventClass)
+ {
+ return processMethodExpression(methodExpression, new Object[]
+ { event }, new Class[]
+ { eventClass });
+ }
+
+ /**
+ * method that executes a method expression
+ */
+ private Object processMethodExpression(String methodExpression,
+ Object[] parameters,
+ Class[] expectedParamTypes)
+ {
+ FacesContext fctx = FacesContext.getCurrentInstance();
+ ELContext elctx = fctx.getELContext();
+ Application app = fctx.getApplication();
+ ExpressionFactory exprFactory = app.getExpressionFactory();
+ MethodExpression methodExpr =
+ exprFactory.createMethodExpression(elctx, methodExpression,
+ Object.class, expectedParamTypes);
+ return methodExpr.invoke(elctx, parameters);
+ }
+
+ public void setDepartmentsTable(RichTable departmentsTable)
+ {
+ this._departmentsTable = departmentsTable;
+ }
+
+ public RichTable getDepartmentsTable()
+ {
+ return _departmentsTable;
+ }
+}
+
+
Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/view/EmployeesBean.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/view/EmployeesBean.java?rev=1498524&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/view/EmployeesBean.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/ViewController/src/view/EmployeesBean.java Mon Jul 1 15:33:23 2013
@@ -0,0 +1,21 @@
+package view;
+
+import oracle.adf.view.rich.component.rich.data.RichTable;
+
+public class EmployeesBean {
+
+ private RichTable _employeesTable;
+
+ public EmployeesBean() {
+ super();
+ }
+
+ public void setEmployeesTable(RichTable employeestable) {
+ this._employeesTable = employeestable;
+ }
+
+ public RichTable getEmployeesTable() {
+ return _employeesTable;
+ }
+
+}