commit dc23335a7a87c090a54aca8fd4af8978c3f2d39c Author: VogelT Date: Fri Sep 6 07:00:13 2024 +0200 webportal start diff --git a/.ccproject b/.ccproject new file mode 100644 index 0000000..68de72a --- /dev/null +++ b/.ccproject @@ -0,0 +1,16 @@ + + + + diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..fc78a1d --- /dev/null +++ b/.classpath @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b83d222 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/.metadata/src/main/webapp/WEB-INF/faces-config.pageflow b/.metadata/src/main/webapp/WEB-INF/faces-config.pageflow new file mode 100644 index 0000000..953a269 --- /dev/null +++ b/.metadata/src/main/webapp/WEB-INF/faces-config.pageflow @@ -0,0 +1,2 @@ + + diff --git a/.project b/.project new file mode 100644 index 0000000..e2c0115 --- /dev/null +++ b/.project @@ -0,0 +1,37 @@ + + + webportal + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.wst.jsdt.core.jsNature + + diff --git a/.settings/.jsdtscope b/.settings/.jsdtscope new file mode 100644 index 0000000..e4a0c2d --- /dev/null +++ b/.settings/.jsdtscope @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..e27eab0 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,11 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=21 +org.eclipse.jdt.core.compiler.compliance=21 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=21 diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..eb90136 --- /dev/null +++ b/.settings/org.eclipse.wst.common.component @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml b/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml new file mode 100644 index 0000000..c32233e --- /dev/null +++ b/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..02570a5 --- /dev/null +++ b/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.container b/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 0000000..3bd5d0a --- /dev/null +++ b/.settings/org.eclipse.wst.jsdt.ui.superType.container @@ -0,0 +1 @@ +org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.name b/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 0000000..05bd71b --- /dev/null +++ b/.settings/org.eclipse.wst.jsdt.ui.superType.name @@ -0,0 +1 @@ +Window \ No newline at end of file diff --git a/.settings/org.eclipse.wst.validation.prefs b/.settings/org.eclipse.wst.validation.prefs new file mode 100644 index 0000000..04cad8c --- /dev/null +++ b/.settings/org.eclipse.wst.validation.prefs @@ -0,0 +1,2 @@ +disabled=06target +eclipse.preferences.version=1 diff --git a/launch/webportal_deploy.launch b/launch/webportal_deploy.launch new file mode 100644 index 0000000..c7fd43c --- /dev/null +++ b/launch/webportal_deploy.launch @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..64ca99a --- /dev/null +++ b/pom.xml @@ -0,0 +1,147 @@ + + 4.0.0 + de.tvo + webportal + war + 0.0.1 + webportal Maven Webapp + http://maven.apache.org + + + + org.eclnt + https://www.captaincasa.com/mavenrepository + + + + mvnrepository.com + https://mvnrepository.com/repos/central + + + org.outerj + https://maven.atlassian.com/3rdparty/ + + + + + + + 20240820_2 + + + + + org.eclnt + eclntjsfserverRISC_jakarta + ${cc.version} + + + + + org.eclnt + eclntccee_jakarta + ${cc.version} + + + org.eclnt + eclntpbc_jakarta + ${cc.version} + + + + de.tvo + web_shared + 1 + + + + javax.xml.bind + jsr173_api + + + + jsr173_api + javax.xml.bind + + + + + + jakarta.platform + + jakarta.jakartaee-api + 9.1.0 + provided + + + + + webportal + + + org.apache.maven.plugins + maven-war-plugin + 3.3.1 + + + org.apache.maven.plugins + maven-compiler-plugin + 3.12.1 + + 21 + 21 + + + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.1 + + true + + + + + + + diff --git a/src/main/java/managedbeans/Dispatcher.java b/src/main/java/managedbeans/Dispatcher.java new file mode 100644 index 0000000..ef1b200 --- /dev/null +++ b/src/main/java/managedbeans/Dispatcher.java @@ -0,0 +1,56 @@ +package managedbeans; + +import org.eclnt.workplace.IWorkpageContainer; +import org.eclnt.workplace.WorkpageDispatcher; + +/* + * The dispatcher is referenced in faces-config.xml. When changing the package + * of the dispatcher, then also update the faces-config.xml link! + */ +public class Dispatcher extends WorkpageDispatcher +{ + // ------------------------------------------------------------------------ + // constructors + // ------------------------------------------------------------------------ + + /** + * Constructor that is used for the root dispatcher, e.g. "#{d}". + */ + public Dispatcher() + { + // add any implementation... + } + + /** + * Dispatcher that is used for the sub dispatcher objects, e.g. "#{d.d_1}". + */ + public Dispatcher(IWorkpageContainer workpageContainer) + { + super(workpageContainer); + // add any implementation... + } + + // ------------------------------------------------------------------------ + // public usage + // ------------------------------------------------------------------------ + + /** + * This method needs to be implemented if you want to extend the information + * within the page bean browser tool. Otherwise leave unchanged. + */ + public static DispatcherInfo getStaticDispatcherInfo() { return new DispatcherInfo(Dispatcher.class); } + + /** + * Convenience access to access the root dispatcher in the current dialog session. + */ + public static Dispatcher getDialogSessionInstance() + { + // correctly casting the generic dispatcher into this class + return (Dispatcher)WorkpageDispatcher.getDialogSessionInstance(); + } + + @Override + protected String getRootExpression() { + return "#{t}"; + } +} diff --git a/src/main/webapp/WEB-INF/faces-config.xml b/src/main/webapp/WEB-INF/faces-config.xml new file mode 100644 index 0000000..1af2463 --- /dev/null +++ b/src/main/webapp/WEB-INF/faces-config.xml @@ -0,0 +1,14 @@ + + + + + + d + managedbeans.Dispatcher + session + + + diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..d81636b --- /dev/null +++ b/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,61 @@ + + + + + + + CaptainCasa based application + + index.html + index.htm + index.jsp + default.html + default.htm + default.jsp + + + + + + + org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL + true + + + + + org.eclnt.jsfserver.util.CCServletContextListener + + + + + + + + 60 + COOKIE + + true + true + + + + diff --git a/src/main/webapp/eclntjsfserver/config/hotdeploy.xml b/src/main/webapp/eclntjsfserver/config/hotdeploy.xml new file mode 100644 index 0000000..b2c3612 --- /dev/null +++ b/src/main/webapp/eclntjsfserver/config/hotdeploy.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/main/webapp/eclntjsfserver/config/sessiondefaults.xml b/src/main/webapp/eclntjsfserver/config/sessiondefaults.xml new file mode 100644 index 0000000..eef0a76 --- /dev/null +++ b/src/main/webapp/eclntjsfserver/config/sessiondefaults.xml @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/main/webapp/eclntjsfserver/config/system.xml b/src/main/webapp/eclntjsfserver/config/system.xml new file mode 100644 index 0000000..46e5c3c --- /dev/null +++ b/src/main/webapp/eclntjsfserver/config/system.xml @@ -0,0 +1,3 @@ + + +