You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2013/10/08 08:46:57 UTC
[03/12] ISIS-555: new simple archetype;
mothballing non-maintained examples
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-dnd/ide/eclipse/launch/claims-viewer-dnd.launch
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-dnd/ide/eclipse/launch/claims-viewer-dnd.launch b/mothballed/example/application/claims/viewer-dnd/ide/eclipse/launch/claims-viewer-dnd.launch
new file mode 100644
index 0000000..185395e
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-dnd/ide/eclipse/launch/claims-viewer-dnd.launch
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.apache.isis.runtimes.dflt.runtime/src/main/java/org/apache/isis/Isis.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.preferred_launchers">
+<mapEntry key="[debug]" value="org.eclipse.jdt.launching.localJavaApplication"/>
+<mapEntry key="[run]" value="org.eclipse.jdt.launching.localJavaApplication"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/>
+<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <sourceLookupDirector> <sourceContainers duplicates="false"> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;applib&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;berkeley-persistor&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&qu
ot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;bytecode-cglib&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;bytecode-javassist&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;claims-commandline&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&q
uot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;claims-dom&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;claims-fixture&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;claims-service&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;
no&quot;?&gt;&#10;&lt;javaProject name=&quot;claims-webapp&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;classic-skin&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;commons&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&a
mp;lt;javaProject name=&quot;core&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;dnd-viewer&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;example-claims&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;exa
mples&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;headless&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;headless-applib&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;headless-embedded&quot;/&gt;
&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;headless-junit&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;headless-viewer&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;hibernate-persistor&quot;/&gt;&#10;"
typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;html-viewer&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;http-remoting&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;http-remoting-client&quot;/&gt;&#10;" typeId="org.ecl
ipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;http-remoting-server&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;metamodel&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;isis-parent&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourc
eContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;plugins&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;release&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;remoting&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <
container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;runtime&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;scimpi&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;scimpi-dispatcher&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?x
ml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;scimpi-servlet&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;sql&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;sql-integrationtests&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&am
p;quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;sql-persistor&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;trunk&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;webapp&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quo
t; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;webserver&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;xml-persistor&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;xstream-marshalling&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot
;no&quot;?&gt;&#10;&lt;default/&gt;&#10;" typeId="org.eclipse.debug.core.containerType.default"/> </sourceContainers> </sourceLookupDirector> "/>
+<booleanAttribute key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.apache.isis.Isis"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="--type exploration --viewer dnd"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="claims-viewer-dnd"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-dnd/pom.xml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-dnd/pom.xml b/mothballed/example/application/claims/viewer-dnd/pom.xml
new file mode 100644
index 0000000..033bcd4
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-dnd/pom.xml
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<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">
+ <modelVersion>4.0.0</modelVersion>
+
+ <!-- common use cases: -->
+ <!-- mvn package : creates self-contained JAR -->
+ <!-- mvn antrun:run -D exec=dnd : runs JAR using DnD viewer -->
+
+ <parent>
+ <groupId>org.apache.isis.example.application</groupId>
+ <artifactId>claims</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>claims-viewer-dnd</artifactId>
+ <name>Example Claims App DnD Viewer</name>
+
+ <properties>
+ <jetty.version>6.1.4</jetty.version>
+ </properties>
+
+ <build>
+ <plugins>
+ <!-- mvn package -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <transformers>
+ <transformer
+ implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <mainClass>org.apache.isis.Isis</mainClass>
+ </transformer>
+ </transformers>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <!-- other modules in this project -->
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>claims-fixture</artifactId>
+ </dependency>
+
+ <!-- isis core -->
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-metamodel</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-webserver</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-bytecode-cglib</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-objectstore</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.objectstore</groupId>
+ <artifactId>isis-objectstore-xml</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-profilestore</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.profilestore</groupId>
+ <artifactId>isis-profilestore-xml</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-wrapper</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-integtestsupport</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-security</artifactId>
+ </dependency>
+
+ <!-- isis viewers -->
+ <dependency>
+ <groupId>org.apache.isis.viewer</groupId>
+ <artifactId>isis-viewer-dnd-impl</artifactId>
+ </dependency>
+
+
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-dnd/src/main/resources/isis.properties
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-dnd/src/main/resources/isis.properties b/mothballed/example/application/claims/viewer-dnd/src/main/resources/isis.properties
new file mode 100644
index 0000000..337f3a2
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-dnd/src/main/resources/isis.properties
@@ -0,0 +1,24 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+isis.services.prefix = org.apache.isis.example.application.claims.dom
+isis.services = employee.EmployeeRepository, claim.ClaimRepository
+
+isis.fixtures.prefix= org.apache.isis.example.application.claims.fixture
+isis.fixtures= ClaimsFixture
+
+isis.exploration.users=sven, dick, bob
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-dnd/src/main/resources/viewer_html.properties
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-dnd/src/main/resources/viewer_html.properties b/mothballed/example/application/claims/viewer-dnd/src/main/resources/viewer_html.properties
new file mode 100644
index 0000000..29b4425
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-dnd/src/main/resources/viewer_html.properties
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+isis.viewer.html.header=<div id="site-header"><div id="site-logo"> </div></div>
+isis.viewer.html.footer=<div id="page-footer"><small>Powered by Apache Isis</small></div>
+isis.viewer.html.port=8080
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/AbstractTest.java
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/AbstractTest.java b/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/AbstractTest.java
new file mode 100644
index 0000000..a22752d
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/AbstractTest.java
@@ -0,0 +1,115 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.isis.example.claims.junit;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.runner.RunWith;
+
+import org.apache.isis.applib.DomainObjectContainer;
+import org.apache.isis.applib.services.wrapper.WrapperFactory;
+import org.apache.isis.applib.services.wrapper.WrapperObject;
+import org.apache.isis.core.integtestsupport.legacy.IsisTestRunner;
+import org.apache.isis.core.integtestsupport.legacy.Service;
+import org.apache.isis.core.integtestsupport.legacy.Services;
+import org.apache.isis.core.wrapper.WrapperFactoryDefault;
+import org.apache.isis.example.application.claims.dom.claim.ClaimRepository;
+import org.apache.isis.example.application.claims.dom.employee.Employee;
+import org.apache.isis.example.application.claims.dom.employee.EmployeeRepository;
+
+@RunWith(IsisTestRunner.class)
+@Services({ @Service(ClaimRepository.class), @Service(EmployeeRepository.class), @Service(WrapperFactoryDefault.class) })
+public abstract class AbstractTest {
+
+ private DomainObjectContainer domainObjectContainer;
+ private WrapperFactory wrapperFactory;
+
+ /**
+ * The {@link WrapperFactory#wrap(Object) wrapped} equivalent of the
+ * {@link #setClaimRepository(ClaimRepository) injected}
+ * {@link ClaimRepository}.
+ */
+ protected ClaimRepository claimRepository;
+ /**
+ * The {@link WrapperFactory#wrap(Object) wrapped} equivalent of the
+ * {@link #setEmployeeRepository(EmployeeRepository) injected}
+ * {@link EmployeeRepository}.
+ */
+ protected EmployeeRepository employeeRepository;
+
+ protected Employee tomEmployee;
+
+ @Before
+ public void wrapInjectedServices() throws Exception {
+ claimRepository = wrapped(claimRepository);
+ employeeRepository = wrapped(employeeRepository);
+ }
+
+ @Before
+ public void setUp() {
+ tomEmployee = wrapped(employeeRepository.findEmployees("Tom").get(0));
+ }
+
+ protected <T> T wrapped(final T obj) {
+ return wrapperFactory.wrap(obj);
+ }
+
+ @SuppressWarnings("unchecked")
+ protected <T> T unwrapped(final T obj) {
+ if (obj instanceof WrapperObject) {
+ final WrapperObject wrapperObject = (WrapperObject) obj;
+ return (T) wrapperObject.wrapped();
+ }
+ return obj;
+ }
+
+ @After
+ public void tearDown() {
+ }
+
+ // //////////////////////////////////////////////////////
+ // Injected.
+ // //////////////////////////////////////////////////////
+
+ protected WrapperFactory getWrapperFactory() {
+ return wrapperFactory;
+ }
+
+ public void setWrapperFactory(final WrapperFactory wrapperFactory) {
+ this.wrapperFactory = wrapperFactory;
+ }
+
+ protected DomainObjectContainer getDomainObjectContainer() {
+ return domainObjectContainer;
+ }
+
+ public void setDomainObjectContainer(final DomainObjectContainer domainObjectContainer) {
+ this.domainObjectContainer = domainObjectContainer;
+ }
+
+ public void setClaimRepository(final ClaimRepository claimRepository) {
+ this.claimRepository = claimRepository;
+ }
+
+ public void setEmployeeRepository(final EmployeeRepository employeeRepository) {
+ this.employeeRepository = employeeRepository;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/ClaimSubmitTest.java
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/ClaimSubmitTest.java b/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/ClaimSubmitTest.java
new file mode 100644
index 0000000..a9e0c63
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/ClaimSubmitTest.java
@@ -0,0 +1,61 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.isis.example.claims.junit;
+
+import static org.hamcrest.Matchers.is;
+import static org.junit.Assert.assertThat;
+import static org.junit.Assert.fail;
+
+import java.util.List;
+
+import org.hamcrest.Matchers;
+import org.junit.Test;
+
+import org.apache.isis.applib.services.wrapper.DisabledException;
+import org.apache.isis.core.integtestsupport.legacy.Fixture;
+import org.apache.isis.core.integtestsupport.legacy.Fixtures;
+import org.apache.isis.example.application.claims.dom.claim.Approver;
+import org.apache.isis.example.application.claims.dom.claim.Claim;
+import org.apache.isis.example.application.claims.fixture.ClaimsFixture;
+
+@Fixtures({ @Fixture(ClaimsFixture.class) })
+public class ClaimSubmitTest extends AbstractTest {
+
+ @Test
+ public void cannotSubmitTwice() throws Exception {
+ final Claim tomsSubmittedClaim = tomsSubmittedClaim();
+ try {
+ final Approver approver = tomEmployee.getDefaultApprover();
+ tomsSubmittedClaim.submit(approver);
+ fail("Should not be able to submit again");
+ } catch (final DisabledException e) {
+ assertThat(e.getMessage(), Matchers.containsString("Claim has already been submitted"));
+ }
+ }
+
+ private Claim tomsSubmittedClaim() {
+ final List<Claim> tomsClaims = claimRepository.claimsFor(tomEmployee);
+ final Claim tomsClaim1 = tomsClaims.get(0);
+ tomsClaim1.submit(tomEmployee.getDefaultApprover());
+ assertThat(tomsClaim1.getStatus(), is("Submitted"));
+ return wrapped(tomsClaim1);
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/NewClaimTest.java
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/NewClaimTest.java b/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/NewClaimTest.java
new file mode 100644
index 0000000..4e05c80
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-dnd/src/test/java/org/apache/isis/example/claims/junit/NewClaimTest.java
@@ -0,0 +1,44 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.isis.example.claims.junit;
+
+import static org.hamcrest.Matchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.junit.Test;
+
+import org.apache.isis.core.integtestsupport.legacy.Fixture;
+import org.apache.isis.core.integtestsupport.legacy.Fixtures;
+import org.apache.isis.example.application.claims.dom.claim.Claim;
+import org.apache.isis.example.application.claims.fixture.ClaimsFixture;
+
+@Fixtures({ @Fixture(ClaimsFixture.class) })
+public class NewClaimTest extends AbstractTest {
+
+ @Test
+ public void whenCreateNewClaimDefaultsOk() throws Exception {
+ final Claim newClaim = claimRepository.newClaim(tomEmployee);
+ assertThat(newClaim.getDescription(), is("enter a description here"));
+ assertThat(newClaim.getStatus(), is("New"));
+ assertThat(newClaim.getApprover(), is(tomEmployee.getDefaultApprover()));
+ assertThat(newClaim.getItems().size(), is(0));
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/ide/eclipse/launch/claims-viewer-scimpi.launch
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/ide/eclipse/launch/claims-viewer-scimpi.launch b/mothballed/example/application/claims/viewer-scimpi/ide/eclipse/launch/claims-viewer-scimpi.launch
new file mode 100644
index 0000000..206b682
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/ide/eclipse/launch/claims-viewer-scimpi.launch
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.apache.isis.runtimes.dflt.webserver/src/main/java/org/apache/isis/WebServer.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.preferred_launchers">
+<mapEntry key="[debug]" value="org.eclipse.jdt.launching.localJavaApplication"/>
+<mapEntry key="[run]" value="org.eclipse.jdt.launching.localJavaApplication"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/>
+<booleanAttribute key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.apache.isis.WebServer"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="claims-viewer-scimpi"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/pom.xml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/pom.xml b/mothballed/example/application/claims/viewer-scimpi/pom.xml
new file mode 100644
index 0000000..c120af6
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/pom.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<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">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.isis.example.application</groupId>
+ <artifactId>claims</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>claims-viewer-scimpi</artifactId>
+ <name>Example Claims App Scimpi Viewer</name>
+
+ <packaging>war</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+
+ <!-- other modules in this project -->
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>claims-dom</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>claims-fixture</artifactId>
+ <scope>runtime</scope>
+ <optional>true</optional>
+ </dependency>
+
+
+ <!-- Isis -->
+ <dependency>
+ <groupId>org.apache.isis.viewer</groupId>
+ <artifactId>isis-viewer-scimpi-servlet</artifactId>
+ </dependency>
+
+ <!-- isis runtime -->
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-bytecode-cglib</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-objectstore</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.objectstore</groupId>
+ <artifactId>isis-objectstore-xml</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-profilestore</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.profilestore</groupId>
+ <artifactId>isis-profilestore-xml</artifactId>
+ </dependency>
+
+ <!-- isis security implementations -->
+ <dependency>
+ <groupId>org.apache.isis.security</groupId>
+ <artifactId>isis-security-file</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-security</artifactId>
+ </dependency>
+
+ <!-- to run using WebServer -->
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-webserver</artifactId>
+ <scope>runtime</scope>
+ <optional>true</optional>
+ </dependency>
+
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/resources/images/Default.png
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/resources/images/Default.png b/mothballed/example/application/claims/viewer-scimpi/src/main/resources/images/Default.png
new file mode 100644
index 0000000..8409e46
Binary files /dev/null and b/mothballed/example/application/claims/viewer-scimpi/src/main/resources/images/Default.png differ
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/isis.properties
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/isis.properties b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/isis.properties
new file mode 100644
index 0000000..a05b9e2
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/isis.properties
@@ -0,0 +1,25 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+isis.services.prefix = org.apache.isis.example.application.claims.dom
+isis.services = employee.EmployeeRepository, claim.ClaimRepository
+
+isis.fixtures.prefix= org.apache.isis.example.application.claims.fixture
+isis.fixtures= ClaimsFixture
+
+isis.exploration.users=sven, dick, bob
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties
new file mode 100644
index 0000000..819e67c
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties
@@ -0,0 +1,38 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# apache's log4j is used to provide system logging.
+#log4j.rootCategory=DEBUG, Console, File
+log4j.rootCategory=INFO, Console, File
+
+# The console appender
+log4j.appender.Console=org.apache.log4j.ConsoleAppender
+log4j.appender.Console.target=System.out
+log4j.appender.Console.layout=org.apache.log4j.PatternLayout
+log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} [%-20c{1} %-10t %-5p] %m%n
+
+
+log4j.appender.File=org.apache.log4j.RollingFileAppender
+log4j.appender.File.file=isis.log
+log4j.appender.File.append=false
+#log4j.appender.File.maxFileSize=500KB
+#log4j.appender.File.maxBackupIndex=1
+log4j.appender.File.layout=org.apache.log4j.PatternLayout
+log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p] %m%n
+
+
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/security_file.allow
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/security_file.allow b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/security_file.allow
new file mode 100644
index 0000000..928983a
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/security_file.allow
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/security_file.passwords
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/security_file.passwords b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/security_file.passwords
new file mode 100644
index 0000000..7f07af5
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/security_file.passwords
@@ -0,0 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+sven:pass
+dick:pass
+bob:pass
+joe:pass
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/web.xml b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..45f56d6
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<web-app id="WebApp_ID" 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">
+
+ <display-name>Apache Isis S Viewer</display-name>
+
+ <welcome-file-list>
+ <welcome-file>index.shtml</welcome-file>
+ </welcome-file-list>
+
+ <listener>
+ <listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
+ </listener>
+
+ <servlet>
+ <servlet-name>dispatcher</servlet-name>
+ <servlet-class>org.apache.isis.viewer.scimpi.servlet.DispatcherServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>dispatcher</servlet-name>
+ <url-pattern>*.shtml</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>dispatcher</servlet-name>
+ <url-pattern>*.app</url-pattern>
+ </servlet-mapping>
+
+</web-app>
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/debug.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/debug.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/debug.shtml
new file mode 100644
index 0000000..93550cf
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/debug.shtml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:template file="style/template.shtml"/>
+
+<swf:services/>
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/action.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/action.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/action.shtml
new file mode 100644
index 0000000..b72bb04
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/action.shtml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title>Action <swf:action-name method="${method}"/></swf:page-title>
+<swf:template file="../style/template.shtml" />
+
+<h2>${title}</h2>
+<swf:action-form method="${method}" view="_generic.shtml"/>
+
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/collection.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/collection.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/collection.shtml
new file mode 100644
index 0000000..823046f
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/collection.shtml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title><swf:element-type /> Listing</swf:page-title>
+<swf:template file="../style/template.shtml" />
+
+<h2>${title}</h2>
+<swf:table link="_generic.shtml" />
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/edit.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/edit.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/edit.shtml
new file mode 100644
index 0000000..6d47bfc
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/edit.shtml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title>Edit <swf:title icon="no" /></swf:page-title>
+<swf:template file="../style/template.shtml" />
+
+<h2>Edit <swf:title /></h2>
+<swf:edit />
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/object.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/object.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/object.shtml
new file mode 100644
index 0000000..18fa5da
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/generic/object.shtml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title><swf:title icon="no" /></swf:page-title>
+<swf:template file="../style/template.shtml" />
+
+<h2><swf:title /></h2>
+<swf:long-form link="_generic.shtml" />
+
+<swf:methods />
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/Claim.png
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/Claim.png b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/Claim.png
new file mode 100644
index 0000000..478f115
Binary files /dev/null and b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/Claim.png differ
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/ClaimItem.png
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/ClaimItem.png b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/ClaimItem.png
new file mode 100644
index 0000000..d85fd82
Binary files /dev/null and b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/ClaimItem.png differ
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/Employee.png
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/Employee.png b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/Employee.png
new file mode 100644
index 0000000..6cf2bd4
Binary files /dev/null and b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/Employee.png differ
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/banner-bg.png
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/banner-bg.png b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/banner-bg.png
new file mode 100644
index 0000000..830e843
Binary files /dev/null and b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/banner-bg.png differ
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/banner.png
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/banner.png b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/banner.png
new file mode 100644
index 0000000..f81e331
Binary files /dev/null and b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/banner.png differ
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/logo.png
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/logo.png b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/logo.png
new file mode 100644
index 0000000..ea4cbc1
Binary files /dev/null and b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/images/logo.png differ
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/index.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/index.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/index.shtml
new file mode 100644
index 0000000..c80a639
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/index.shtml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title>Claims App</swf:page-title>
+
+<swf:template file="style/template.shtml" />
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/login.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/login.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/login.shtml
new file mode 100644
index 0000000..a427a54
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/login.shtml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:template file="style/template.shtml" />
+
+<h2>Please Log On</h2>
+<swf:logon/>
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/style/screen.css
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/style/screen.css b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/style/screen.css
new file mode 100644
index 0000000..f990946
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/style/screen.css
@@ -0,0 +1,394 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+BODY {
+ font-family: Arial, Sans-Serif;
+ margin: 0 0 10px 0;
+ color: black;
+ background-color: #f0f0f0;
+}
+
+/*
+* Banner
+*/
+div#banner {
+ background-image: url(../images/banner-bg.png);
+ background-repeat: repeat-x;
+ width: 100%;
+ height: 120px;
+}
+
+/*
+* Content below banner
+*/
+div#content {
+ display: block;
+}
+
+div#content div#side {
+ display: inline;
+ float: left;
+ width: 150px;
+ padding: 25px 10px;
+}
+
+div#side ul {
+ margin: 0;
+ padding: 0;
+}
+
+div#side li {
+ display: block;
+ font-size: 80%;
+ padding: 4px 0;
+}
+
+div#content div#main{
+ padding: 1em;
+ float:left;
+ width:70%;
+}
+
+/*
+* Feedback area
+*/
+.feedback {
+ border: 2px solid red;
+ background-color: #ffccff;
+ padding: 20px 10px;
+}
+
+.warning {
+ color: red;
+ font-style: italic;
+}
+
+.message {
+ color: blue;
+}
+
+.error {
+ color: red;
+ font-size: 80%;
+ padding-left: 6px;
+}
+
+/*
+* Debug
+*/
+
+div.debug {
+ display: block;
+ padding: 10px;
+ border: 1px solid gray;
+ background-color: #ddd;
+}
+
+/*
+* Headings
+*/
+h1, h2, h3, h4 {
+ color: blue;
+}
+
+
+/*
+* Hyper links
+*/
+a {
+ color: blue;
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+a:visted {
+ color: blue;
+ text-decoration: none;
+}
+
+/*
+* Icons
+*/
+img.title-icon {
+ height: 32px;
+ padding-right: 6px;
+}
+
+img.small-icon {
+ height: 16px;
+ padding-right: 6px;
+ vertical-align: text-bottom;
+}
+
+
+/*
+* Actions
+*/
+div.actions {
+
+}
+
+div.actions div.actions {
+ border: 0px;
+ padding: 0px;
+}
+
+div.actions h2 {
+ font-size: 90%;
+}
+
+div.actions h3 {
+ font-size: 80%;
+}
+
+div.actions div.action,
+a.action
+{
+ padding 2px;
+ margin: 4px 0;
+ height: 1.6em;
+}
+
+div.action INPUT,
+div.action a,
+a.action,
+div.action span.disabled
+{
+ font-size: 80%;
+ background-color: silver;
+ border: 1px solid #333399;
+ background: url(../images/bg-button.gif);
+ background-repeat: repeat-x;
+}
+
+div.action INPUT[type="hidden"]
+{
+ background: none;
+ border: none;
+}
+
+div.action a,
+a.action,
+div.action span.disabled {
+ padding: 1px 10px;
+}
+
+.action INPUT,
+a.action,
+.action a:link {
+ color: #000000;
+}
+
+.action INPUT,
+a.action,
+.action a:visited {
+ color: #000000;
+}
+
+.action INPUT,
+a.action,
+.action a:hover {
+ color: #000000;
+ text-decoration: none;
+}
+
+div.action span.disabled {
+ color: #555;
+}
+
+/*
+* Edit forms
+*/
+fieldset {
+ padding: 5px 10px;
+}
+
+fieldset div.field {
+ padding: 4px 0px;
+ min-height: 1.3em;
+}
+
+fieldset label {
+ float: left;
+ width:140px;
+ font-weight: bold;
+}
+
+fieldset input {
+ padding: 0px 0;
+}
+
+fieldset textarea {
+ font-family: Arial, Sans-Serif;
+}
+
+form input.button {
+ font-size: 80%;
+ background-color: silver;
+ border: 1px solid #333399;
+ background: url(../images/bg-button.gif);
+ background-repeat: repeat-x;
+ padding: 1px 0;
+}
+
+/*
+* Display forms
+*/
+div.form {
+ padding: 5px 0;
+}
+
+XXdiv.form * {
+ border: 1px solid red;
+}
+
+div.form div.field {
+ padding: 4px 6px;
+ min-height: 1.3em;
+}
+
+div.form div.odd-row {
+ background-color: #e7e7e7;
+}
+
+div.form div.even-row {
+ background-color: #eee;
+}
+
+div.form span.label {
+ float: left;
+ font-weight: bold;
+}
+
+div.form span.value {
+ display: block;
+ padding-left: 12em;
+ max-width: 45em;
+}
+
+
+
+/*
+* collections
+*/
+
+#store .entry {
+ border-bottom: 1px dotted #7745FF;
+ padding: 10px 0;
+}
+
+table {
+ border: 0px;
+ padding-bottom: 10px;
+}
+
+th {
+ background-color: #bbb;
+}
+
+tr.odd-row {
+ background-color: #eee;
+}
+
+tr.even-row {
+ background-color: #e7e7e7;
+}
+
+td {
+ vertical-align: top;
+ padding: 4px 10px;
+}
+
+tr:hover {
+ border: 1px solid black;
+ background-color: #eea;
+}
+
+
+
+
+
+/*
+* Application specific
+*/
+div.book {
+ padding-bottom: 10px;
+ border-bottom: 2px dashed;
+}
+
+div.cover {
+ float: left;
+ padding-right: 30px;
+ padding-bottom: 8px;
+}
+
+
+.title {
+ color: white;
+ font-size: 120%;
+ font-weight: bold;
+ margin-left: 5px;
+}
+
+.description {}
+
+.price {
+ display: inline;
+ font-weight: bold;
+ text-align: left;
+ margin-right: 20px;
+}
+
+form, input {
+ display: inline;
+}
+
+
+div#cart {
+ float: right;
+ width: 160px;
+ font-size: 70%;
+ border: 1px solid gray;
+ margin: 10px;
+ padding: 10px;
+}
+
+div#cart ul {
+ padding: 0;
+
+}
+
+div#cart li {
+ display: block;
+ padding-bottom: 4px;
+}
+
+
+
+form.selector fieldset {
+ margin-left: 45px;
+ font-size: 80%;
+}
+
+form.selector legend {
+ font-style: italic;
+}
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/style/template.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/style/template.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/style/template.shtml
new file mode 100644
index 0000000..3d03900
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/webapp/style/template.shtml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>${title}</title>
+<link rel="stylesheet" title="Style 1" href="${_context}/style/screen.css" type="text/css" media="all" />
+</head>
+
+<body id="demo">
+
+<div id="banner">
+ <div class="logo"><img src="images/logo.png"/></div>
+ <div class="title">Claims App</div>
+</div>
+
+<div id="content">
+ <div id="side">
+ <ul>
+ <li><swf:action-link
+ object="service:claimants"
+ method="allEmployees">All claimants</swf:action-link></li>
+ <li><swf:action-link
+ object="service:claims"
+ method="allClaims">All claims</swf:action-link></li>
+ <li><swf:action-link
+ object="service:claimants"
+ method="newEmployee">New employee</swf:action-link></li>
+ </ul>
+ </div>
+ <div id="main">
+ <swf:feedback />
+ <swf:content />
+
+ <swf:diagnostics/>
+ </div>
+</div>
+
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/edit-selector.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/edit-selector.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/edit-selector.shtml
new file mode 100644
index 0000000..724ac7a
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/edit-selector.shtml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title>Edit <swf:title icon="no" /></swf:page-title>
+<swf:template file="../style/template.shtml" />
+
+<h2>Edit <swf:title /></h2>
+<swf:edit>
+ <swf:selector field="claimant" object="service:claimants" method="findEmployees" title="Employees..."/>
+ <swf:selector field="approver" object="service:claimants" method="findEmployees" title="Employees..."/>
+</swf:edit>
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object-link.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object-link.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object-link.shtml
new file mode 100644
index 0000000..406f42c
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object-link.shtml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title><swf:title icon="no" /></swf:page-title>
+<swf:template file="../style/template.shtml" />
+
+<h2><swf:title /></h2>
+<swf:short-form>
+ <swf:link name="claimant"/>
+</swf:short-form>
+
+<swf:methods/>
+
+
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object-orig.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object-orig.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object-orig.shtml
new file mode 100644
index 0000000..deb6d66
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object-orig.shtml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title><swf:title icon="no" /></swf:page-title>
+<swf:template file="../style/template.shtml" />
+
+<h2><swf:title /></h2>
+
+<swf:long-form />
+
+<swf:methods />
+
+
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object.shtml
new file mode 100644
index 0000000..f1865ce
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object.shtml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title><swf:title icon="no" /></swf:page-title>
+<swf:template file="../style/template.shtml" />
+
+<h2><swf:title /></h2>
+<swf:short-form>
+ <swf:exclude name="approver"/>
+</swf:short-form>
+
+<swf:methods>
+ <swf:exclude name="submit"/>
+</swf:methods>
+
+
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object2.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object2.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object2.shtml
new file mode 100644
index 0000000..f07c718
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Claim/object2.shtml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title><swf:title icon="no" /></swf:page-title>
+<swf:template file="../style/template.shtml" />
+
+<h2><swf:title /></h2>
+<swf:short-form>
+</swf:short-form>
+
+<swf:methods>
+</swf:methods>
+
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Employee/object.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Employee/object.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Employee/object.shtml
new file mode 100644
index 0000000..04c0676
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/Employee/object.shtml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title>
+ <swf:title icon="no" />
+</swf:page-title>
+<swf:template file="../style/template.shtml" />
+
+<h2><swf:title /></h2>
+
+<swf:run-action object="service:claims" method="countClaimsFor"
+ result-name="numberOfClaims">
+ <swf:parameter number="1" value="${_result}" />
+</swf:run-action>
+<swf:run-action object="service:claims" method="mostRecentClaim"
+ result-name="mostRecentClaim">
+ <swf:parameter number="1" value="${_result}" />
+</swf:run-action>
+
+<div class="form">
+<table>
+ <tr>
+ <td align="right"><swf:label field="name" />:</td>
+ <td><swf:field field="name" /></td>
+ </tr>
+ <tr>
+ <td align="right"><swf:label field="approver" />:</td>
+ <td><swf:field field="name" /></td>
+ </tr>
+
+ <tr>
+ <td align="right">Number of claims:</td>
+ <td>${numberOfClaims} <swf:when set="${mostRecentClaim}">
+ <swf:object-link object="${mostRecentClaim}">
+ most recent...
+ </swf:object-link>
+ </swf:when></td>
+ </tr>
+</table>
+</div>
+
+<swf:methods>
+ <swf:exclude name="countClaimsFor" />
+ <swf:exclude name="mostRecentClaim" />
+</swf:methods>
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/EmployeeTakeOn/edit.shtml
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/EmployeeTakeOn/edit.shtml b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/EmployeeTakeOn/edit.shtml
new file mode 100644
index 0000000..103e079
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-scimpi/src/main/x-webapp-archived/EmployeeTakeOn/edit.shtml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<swf:page-title>Edit <swf:title icon="no" /></swf:page-title>
+<swf:template file="../style/template.shtml" />
+
+<h2>Enter Employee Details</h2>
+
+<swf:when field-set="notLast">
+ <swf:edit title="Next" method="next" view="_generic.shtml">
+ <swf:selector
+ field="approver"
+ object="service:claimants"
+ method="findEmployees" title="Employees..."/>
+ </swf:edit>
+</swf:when>
+
+<swf:when field-set="last">
+ <swf:edit title="Finish" method="finish"/>
+</swf:when>
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/3df42bf4/mothballed/example/application/claims/viewer-wicket/.gitignore
----------------------------------------------------------------------
diff --git a/mothballed/example/application/claims/viewer-wicket/.gitignore b/mothballed/example/application/claims/viewer-wicket/.gitignore
new file mode 100644
index 0000000..ea8c4bf
--- /dev/null
+++ b/mothballed/example/application/claims/viewer-wicket/.gitignore
@@ -0,0 +1 @@
+/target