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 2012/12/06 17:59:46 UTC
[10/52] [partial] ISIS-188: more reorganizing of artifacts into
physical directories.
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/objstore-default/src/main/java/org/apache/isis/examples/onlinedemo/objstore/dflt/items/CategoriesDefault.java
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/objstore-default/src/main/java/org/apache/isis/examples/onlinedemo/objstore/dflt/items/CategoriesDefault.java b/examples/onlinedemo/objstore-default/src/main/java/org/apache/isis/examples/onlinedemo/objstore/dflt/items/CategoriesDefault.java
deleted file mode 100644
index efa36ef..0000000
--- a/examples/onlinedemo/objstore-default/src/main/java/org/apache/isis/examples/onlinedemo/objstore/dflt/items/CategoriesDefault.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * 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.examples.onlinedemo.objstore.dflt.items;
-
-import java.util.List;
-
-import org.apache.isis.applib.AbstractFactoryAndRepository;
-import org.apache.isis.examples.onlinedemo.dom.items.Categories;
-import org.apache.isis.examples.onlinedemo.dom.items.Category;
-
-public class CategoriesDefault extends AbstractFactoryAndRepository implements Categories {
-
- // {{ Id, iconName
- @Override
- public String getId() {
- return "categories";
- }
-
- public String iconName() {
- return "Category";
- }
-
- // }}
-
- @Override
- public List<Category> all() {
- return allInstances(Category.class);
- }
-
- @Override
- public Category newCategory(final String description) {
- Category category = find(description);
- if (category != null) {
- return category;
- }
- category = newTransientInstance(Category.class);
- category.setDescription(description);
- persist(category);
- return category;
- }
-
- @Override
- public Category find(final String description) {
- return firstMatch(Category.class, Category.matching(description));
- }
-
-}
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/objstore-default/src/main/java/org/apache/isis/examples/onlinedemo/objstore/dflt/items/ToDoItemsDefault.java
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/objstore-default/src/main/java/org/apache/isis/examples/onlinedemo/objstore/dflt/items/ToDoItemsDefault.java b/examples/onlinedemo/objstore-default/src/main/java/org/apache/isis/examples/onlinedemo/objstore/dflt/items/ToDoItemsDefault.java
deleted file mode 100644
index d840ae9..0000000
--- a/examples/onlinedemo/objstore-default/src/main/java/org/apache/isis/examples/onlinedemo/objstore/dflt/items/ToDoItemsDefault.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * 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.examples.onlinedemo.objstore.dflt.items;
-
-import java.util.Collections;
-import java.util.List;
-
-import org.apache.isis.applib.AbstractFactoryAndRepository;
-import org.apache.isis.applib.filter.Filters;
-import org.apache.isis.applib.value.Date;
-import org.apache.isis.examples.onlinedemo.dom.items.Category;
-import org.apache.isis.examples.onlinedemo.dom.items.ToDoItem;
-import org.apache.isis.examples.onlinedemo.dom.items.ToDoItems;
-
-public class ToDoItemsDefault extends AbstractFactoryAndRepository implements ToDoItems {
-
- // {{ Id, iconName
- @Override
- public String getId() {
- return "toDoItems";
- }
-
- public String iconName() {
- return "ToDoItem";
- }
-
- // }}
-
- // {{ ToDosForToday (action)
- @Override
- public List<ToDoItem> toDosForToday() {
- return allMatches(ToDoItem.class, Filters.and(ToDoItem.thoseOwnedBy(currentUser()), ToDoItem.thoseDue()));
- }
-
- // }}
-
- // {{ NewToDo (action)
- @Override
- public ToDoItem newToDo(final String description, final Category category, final Date dueBy) {
- final ToDoItem toDoItem = newTransientInstance(ToDoItem.class);
- toDoItem.setDescription(description);
- toDoItem.setCategory(category);
- toDoItem.setDueBy(dueBy);
- toDoItem.setUserName(currentUser());
- persist(toDoItem);
- return toDoItem;
- }
-
- // }}
-
- // {{ AllToDos (action)
- @Override
- public List<ToDoItem> allToDos() {
- final String currentUser = currentUser();
- final List<ToDoItem> items = allMatches(ToDoItem.class, ToDoItem.thoseOwnedBy(currentUser));
- Collections.sort(items);
- return items;
- }
-
- // }}
-
- // {{ SimilarTo (action)
-
- @Override
- public List<ToDoItem> similarTo(final ToDoItem toDoItem) {
- return allMatches(ToDoItem.class, ToDoItem.thoseSimilarTo(toDoItem));
- }
-
- // }}
-
- // {{ RemoveCompleted (action)
-
- @Override
- public void removeCompleted() {
- final List<ToDoItem> complete = allMatches(ToDoItem.class, ToDoItem.thoseComplete());
- for (final ToDoItem toDoItem : complete) {
- getContainer().remove(toDoItem);
- }
- final int size = complete.size();
- getContainer().informUser("" + size + " item" + (size != 1 ? "s" : "") + " removed");
- }
-
- // }}
-
- // {{ helpers
- private String currentUser() {
- return getContainer().getUser().getName();
- }
- // }}
-
-}
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/pom.xml
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/pom.xml b/examples/onlinedemo/pom.xml
deleted file mode 100644
index fe69742..0000000
--- a/examples/onlinedemo/pom.xml
+++ /dev/null
@@ -1,353 +0,0 @@
-<?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>
-
- <groupId>org.apache.isis.examples</groupId>
- <artifactId>onlinedemo</artifactId>
- <version>0.3.1-SNAPSHOT</version>
-
- <name>Online Demo</name>
-
- <packaging>pom</packaging>
-
- <properties>
- <isis.version>0.3.1-SNAPSHOT</isis.version>
- </properties>
-
- <repositories>
- <repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshots</name>
- <url>https://repository.apache.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- </snapshots>
- </repository>
- </repositories>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.1</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- <executions>
- <execution>
- <id>source</id>
- <phase>compile</phase>
- </execution>
- <execution>
- <id>test</id>
- <phase>test-compile</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <excludes>
- <exclude>**/Test*.java</exclude>
- </excludes>
- <useFile>true</useFile>
- <printSummary>false</printSummary>
- <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <excludes>
- <exclude>**/Test*.java</exclude>
- </excludes>
- <showSuccess>false</showSuccess>
- </configuration>
- <executions>
- <execution>
- <phase>test</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.25</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>1.4</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.6</version>
- <executions>
- <execution>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- http://simplericity.com/2009/11/10/1257880778509.html -->
- <plugin>
- <groupId>org.simplericity.jettyconsole</groupId>
- <artifactId>jetty-console-maven-plugin</artifactId>
- <version>1.43</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <dependencyManagement>
- <dependencies>
-
- <!-- this project's own modules -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>onlinedemo-dom</artifactId>
- <version>0.3.1-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>onlinedemo-fixture</artifactId>
- <version>0.3.1-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>onlinedemo-objstore-dflt</artifactId>
- <version>0.3.1-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>onlinedemo-webapp</artifactId>
- <version>0.3.1-SNAPSHOT</version>
- </dependency>
-
-
- <!-- isis: applib -->
- <dependency>
- <groupId>org.apache.isis</groupId>
- <artifactId>applib</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis</groupId>
- <artifactId>applib</artifactId>
- <classifier>javadoc</classifier>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: core -->
- <dependency>
- <groupId>org.apache.isis.core</groupId>
- <artifactId>isis-metamodel</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: progmodel: wrapper -->
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>wrapper</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>wrapper-applib</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>wrapper-metamodel</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: progmodel: groovy -->
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>groovy</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>groovy-applib</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>groovy-metamodel</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: security: dflt -->
- <dependency>
- <groupId>org.apache.isis.security</groupId>
- <artifactId>dflt</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: security: ldap -->
- <dependency>
- <groupId>org.apache.isis.security</groupId>
- <artifactId>ldap</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: security: file -->
- <dependency>
- <groupId>org.apache.isis.security</groupId>
- <artifactId>file</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes: dflt -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt</groupId>
- <artifactId>runtime</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt</groupId>
- <artifactId>monitoring</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt</groupId>
- <artifactId>isis-webserver</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.bytecode</groupId>
- <artifactId>dflt</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.bytecode</groupId>
- <artifactId>javassist</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes-dflt: objectstores: dflt -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>dflt</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes-dflt: objectstores: xml -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>xml</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes-dflt: objectstore: sql -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>sql-impl</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes-dflt: profilestores: dflt -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.profilestores</groupId>
- <artifactId>dflt</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes-dflt: profilestores: xml -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.profilestores</groupId>
- <artifactId>xml</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes: embedded -->
- <dependency>
- <groupId>org.apache.isis.runtimes</groupId>
- <artifactId>embedded</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
-
- <!-- isis: viewer: html -->
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>html</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: viewer: restfulobjects -->
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>restfulobjects</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>restfulobjects-applib</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>restfulobjects-viewer</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- </dependencies>
- </dependencyManagement>
-
- <modules>
- <module>dom</module>
- <module>fixture</module>
- <module>objstore-default</module>
- <module>webapp</module>
- </modules>
-
-</project>
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/ide/eclipse/launch/onlinedemo-webapp.launch
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/ide/eclipse/launch/onlinedemo-webapp.launch b/examples/onlinedemo/webapp/ide/eclipse/launch/onlinedemo-webapp.launch
deleted file mode 100644
index 7f8be91..0000000
--- a/examples/onlinedemo/webapp/ide/eclipse/launch/onlinedemo-webapp.launch
+++ /dev/null
@@ -1,19 +0,0 @@
-<?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="/onlinedemo-webapp"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="4"/>
-</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="onlinedemo-webapp"/>
-<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/0861ed93/examples/onlinedemo/webapp/pom.xml
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/pom.xml b/examples/onlinedemo/webapp/pom.xml
deleted file mode 100644
index 1a18520..0000000
--- a/examples/onlinedemo/webapp/pom.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-<?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.examples</groupId>
- <artifactId>onlinedemo</artifactId>
- <version>0.3.1-SNAPSHOT</version>
- </parent>
-
- <artifactId>onlinedemo-webapp</artifactId>
- <name>Online Demo Webapp with HTML+RestfulObjects Viewers</name>
-
- <packaging>war</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- </plugin>
-
- <!-- mvn package -->
- <plugin>
- <groupId>org.simplericity.jettyconsole</groupId>
- <artifactId>jetty-console-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>createconsole</goal>
- </goals>
- <configuration>
- <backgroundImage>${basedir}/src/main/jettyconsole/isis-onlinedemo-banner.png</backgroundImage>
- </configuration>
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
-
- <!-- other modules in this project -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>onlinedemo-dom</artifactId>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>onlinedemo-fixture</artifactId>
- </dependency>
-
-
- <!-- isis viewer -->
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>html</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>restfulobjects-viewer</artifactId>
- </dependency>
-
- <!-- isis runtime -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.bytecode</groupId>
- <artifactId>dflt</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>dflt</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>xml</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.profilestores</groupId>
- <artifactId>dflt</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.profilestores</groupId>
- <artifactId>xml</artifactId>
- </dependency>
-
-
- <!-- isis security implementations -->
- <dependency>
- <groupId>org.apache.isis.security</groupId>
- <artifactId>file</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.security</groupId>
- <artifactId>dflt</artifactId>
- </dependency>
-
- <!-- to run using WebServer (optional) -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt</groupId>
- <artifactId>isis-webserver</artifactId>
- <scope>runtime</scope>
- <optional>true</optional>
- </dependency>
-
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-servlet_2.5_spec</artifactId>
- <version>1.2</version>
- </dependency>
-
- </dependencies>
-
-</project>
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/java/org/apache/isis/examples/onlinedemo/auth/AuthenticationManagerSupportingInMemoryRegistrationInstaller.java
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/java/org/apache/isis/examples/onlinedemo/auth/AuthenticationManagerSupportingInMemoryRegistrationInstaller.java b/examples/onlinedemo/webapp/src/main/java/org/apache/isis/examples/onlinedemo/auth/AuthenticationManagerSupportingInMemoryRegistrationInstaller.java
deleted file mode 100644
index f5fc85f..0000000
--- a/examples/onlinedemo/webapp/src/main/java/org/apache/isis/examples/onlinedemo/auth/AuthenticationManagerSupportingInMemoryRegistrationInstaller.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * 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.examples.onlinedemo.auth;
-
-import java.util.List;
-
-import com.google.common.collect.Lists;
-
-import org.apache.isis.core.commons.config.IsisConfiguration;
-import org.apache.isis.core.runtime.authentication.standard.Authenticator;
-import org.apache.isis.runtimes.dflt.runtime.authentication.AuthenticationManagerStandardInstallerAbstractForDfltRuntime;
-
-public class AuthenticationManagerSupportingInMemoryRegistrationInstaller extends AuthenticationManagerStandardInstallerAbstractForDfltRuntime {
-
- public AuthenticationManagerSupportingInMemoryRegistrationInstaller() {
- super("demo");
- }
-
- @Override
- protected List<Authenticator> createAuthenticators(final IsisConfiguration configuration) {
- return Lists.<Authenticator> newArrayList(
- // new FileAuthenticator(configuration),
- new AuthenticatorInMemory(configuration));
- }
-
-}
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/java/org/apache/isis/examples/onlinedemo/auth/AuthenticatorInMemory.java
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/java/org/apache/isis/examples/onlinedemo/auth/AuthenticatorInMemory.java b/examples/onlinedemo/webapp/src/main/java/org/apache/isis/examples/onlinedemo/auth/AuthenticatorInMemory.java
deleted file mode 100644
index 19a14ce..0000000
--- a/examples/onlinedemo/webapp/src/main/java/org/apache/isis/examples/onlinedemo/auth/AuthenticatorInMemory.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * 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.examples.onlinedemo.auth;
-
-import java.util.Map;
-
-import com.google.common.base.Objects;
-import com.google.common.collect.Maps;
-
-import org.apache.isis.core.commons.config.IsisConfiguration;
-import org.apache.isis.core.runtime.authentication.AuthenticationRequest;
-import org.apache.isis.core.runtime.authentication.AuthenticationRequestPassword;
-import org.apache.isis.core.runtime.authentication.RegistrationDetails;
-import org.apache.isis.core.runtime.authentication.standard.AuthenticatorAbstract;
-import org.apache.isis.core.runtime.authentication.standard.Registrar;
-import org.apache.isis.core.runtime.authentication.standard.RegistrationDetailsPassword;
-
-public class AuthenticatorInMemory extends AuthenticatorAbstract implements Registrar {
-
- private static AuthenticatorInMemory instance;
-
- /**
- * Rather nasty, but is required to make available to the Users repository.
- */
- public static AuthenticatorInMemory getInstance() {
- return instance;
- }
-
- private final Map<String, String> passwordsByUser = Maps.newHashMap();
-
- public AuthenticatorInMemory(final IsisConfiguration configuration) {
- super(configuration);
- instance = this;
- }
-
- @Override
- public final boolean canAuthenticate(final Class<? extends AuthenticationRequest> authenticationRequestClass) {
- return AuthenticationRequestPassword.class.isAssignableFrom(authenticationRequestClass);
- }
-
- @Override
- public boolean isValid(final AuthenticationRequest authRequest) {
- final AuthenticationRequestPassword request = (AuthenticationRequestPassword) authRequest;
- final String userId = request.getName();
- return Objects.equal(request.getPassword(), passwordsByUser.get(userId));
- }
-
- @Override
- public boolean canRegister(final Class<? extends RegistrationDetails> registrationDetailsClass) {
- return RegistrationDetailsPassword.class.isAssignableFrom(registrationDetailsClass);
- }
-
- @Override
- public boolean register(final RegistrationDetails registrationDetails) {
- final RegistrationDetailsPassword registration = (RegistrationDetailsPassword) registrationDetails;
- final String userId = registration.getUser();
- if (passwordsByUser.containsKey(userId)) {
- return false;
- }
- passwordsByUser.put(userId, registration.getPassword());
- return true;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/jettyconsole/isis-banner.pdn
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/jettyconsole/isis-banner.pdn b/examples/onlinedemo/webapp/src/main/jettyconsole/isis-banner.pdn
deleted file mode 100644
index e343a39..0000000
Binary files a/examples/onlinedemo/webapp/src/main/jettyconsole/isis-banner.pdn and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/jettyconsole/isis-banner.png
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/jettyconsole/isis-banner.png b/examples/onlinedemo/webapp/src/main/jettyconsole/isis-banner.png
deleted file mode 100644
index 05cb365..0000000
Binary files a/examples/onlinedemo/webapp/src/main/jettyconsole/isis-banner.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/jettyconsole/isis-onlinedemo-banner.pdn
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/jettyconsole/isis-onlinedemo-banner.pdn b/examples/onlinedemo/webapp/src/main/jettyconsole/isis-onlinedemo-banner.pdn
deleted file mode 100644
index 7438417..0000000
Binary files a/examples/onlinedemo/webapp/src/main/jettyconsole/isis-onlinedemo-banner.pdn and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/jettyconsole/isis-onlinedemo-banner.png
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/jettyconsole/isis-onlinedemo-banner.png b/examples/onlinedemo/webapp/src/main/jettyconsole/isis-onlinedemo-banner.png
deleted file mode 100644
index 1a2f96a..0000000
Binary files a/examples/onlinedemo/webapp/src/main/jettyconsole/isis-onlinedemo-banner.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/resources/images/Default.png
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/resources/images/Default.png b/examples/onlinedemo/webapp/src/main/resources/images/Default.png
deleted file mode 100644
index 8409e46..0000000
Binary files a/examples/onlinedemo/webapp/src/main/resources/images/Default.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/isis.properties
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/isis.properties b/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/isis.properties
deleted file mode 100644
index d1b1be9..0000000
--- a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/isis.properties
+++ /dev/null
@@ -1,75 +0,0 @@
-# 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.
-
-
-# these are the services/repositories that are instantiated by the
-# framework. These are automatically injected into any domain object
-# that declares a dependency. Those that are not hidden are also
-# shown in the user interface.
-isis.services.prefix = org.apache.isis.examples.onlinedemo
-isis.services = objstore.dflt.items.ToDoItemsDefault,\
- objstore.dflt.items.CategoriesDefault,\
- fixture.items.DemoFixturesDefault
-
-
-# the online demo does not use the framework to setup fixtures;
-# instead users can install their own fixtures
-isis.fixtures.prefix= org.apache.isis.examples.onlinedemo
-//isis.fixtures= fixture.LogonAsSvenFixture,fixture.items.ToDoItemsFixture
-
-
-# related to the lazy loading feature (below); helps the framework identify the "real"
-# class that is in use. both cglib and javassist implementations are provided, or it can be switched off.
-isis.reflector.class-substitutor=org.apache.isis.runtimes.dflt.bytecode.dflt.classsubstitutor.CglibClassSubstitutor
-#isis.reflector.class-substitutor=org.apache.isis.runtimes.dflt.bytecode.javassist.classsubstitutor.JavassistClassSubstitutor
-#isis.reflector.class-substitutor=org.apache.isis.runtimes.dflt.bytecode.identity.classsubstitutor.ClassSubstitutorIdentity
-
-# used to support lazy loading, both cglib and javassist implementations are provided,
-# or it can be switched off (because some object store implementations do this implicitly)
-isis.persistor.object-factory=org.apache.isis.runtimes.dflt.bytecode.dflt.objectfactory.CglibObjectFactory
-#isis.persistor.object-factory=org.apache.isis.runtimes.dflt.bytecode.javassist.objectfactory.JavassistObjectFactory
-#isis.persistor.object-factory=org.apache.isis.runtimes.dflt.bytecode.identity.objectfactory.ObjectFactoryBasic
-
-
-# the implementation of the container to inject into every domain object.
-# this is not usually changed.
-isis.persistor.domain-object-container=org.apache.isis.core.metamodel.services.container.DomainObjectContainerDefault
-
-
-# the authentication mechanism is configurable. the onlinedemo uses its own implementation,
-# which uses an in-memory list of registered users.
-isis.authentication=org.apache.isis.examples.onlinedemo.auth.AuthenticationManagerSupportingInMemoryRegistrationInstaller
-
-
-# the framework supports authorization; the usual implementation maps roles to permissions.
-# this is switched off for the onlinedemo, however
-#isis.reflector.facets.include=org.apache.isis.runtimes.dflt.runtime.authorization.standard.AuthorizationFacetFactoryImpl
-
-
-# the default authorization mechanism can be put into "learn" mode, so that it allows all
-# requests through, and writes out the permission entries that were checked.
-#isis.authorization.learn=true
-
-
-# configure the profile store. this facility is not supported by the viewers used in
-# the onlinedemo, so is included here for completeness only
-isis.user-profile-store=in-memory
-
-
-# configure the object store. using the inmemory objectstore means that all data will
-# be lost when the app is restarted. it is commonly used for prototyping and testing
-isis.persistor=in-memory
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/logging.properties
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/logging.properties b/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/logging.properties
deleted file mode 100644
index a411f6d..0000000
--- a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/logging.properties
+++ /dev/null
@@ -1,32 +0,0 @@
-# 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.
-
-
-# the framework uses log4j is used to provide system logging.
-log4j.rootCategory=INFO, Console
-
-# 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.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/0861ed93/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/security_file.allow
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/security_file.allow b/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/security_file.allow
deleted file mode 100644
index 04c840a..0000000
--- a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/security_file.allow
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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.
-
-
-#
-# configuration file for the file-based authorization
-# not used by the onlinedemo
-#
-
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/security_file.passwords
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/security_file.passwords b/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/security_file.passwords
deleted file mode 100644
index 97b228e..0000000
--- a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/security_file.passwords
+++ /dev/null
@@ -1,28 +0,0 @@
-# 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.
-
-
-#
-# configuration file for the file-based authentication
-# not used by the onlinedemo
-#
-
-# list of users, and their password, and optionally roles
-sven:pass:role1|role2|role3
-dick:pass
-bob:pass
-joe:pass
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/viewer_html.properties
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/viewer_html.properties b/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/viewer_html.properties
deleted file mode 100644
index 3e5a947..0000000
--- a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/viewer_html.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-# 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.
-
-#
-# configuration file for the HTML viewer
-#
-
-# customization for the header and footer
-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>
-
-# not used by the onlinedemo; deploy the WAR as usual
-isis.viewer.html.port=8080
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/web.xml b/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index d7ed2fd..0000000
--- a/examples/onlinedemo/webapp/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,289 +0,0 @@
-<?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 Online Demo</display-name>
-
-
- <!--
- -
- -
- - config common to all viewer(s)
- -
- -
- -->
-
- <!-- bootstrap the Isis metamodel and runtime -->
- <listener>
- <listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
- </listener>
-
- <!-- which (optional) configuration file(s) to load -->
- <context-param>
- <param-name>isis.viewers</param-name>
- <param-value>html,json</param-value>
- </context-param>
-
- <!-- cache static resources for 1 day -->
- <filter>
- <filter-name>ResourceCachingFilter</filter-name>
- <filter-class>org.apache.isis.core.webapp.content.ResourceCachingFilter</filter-class>
- <init-param>
- <param-name>CacheTime</param-name>
- <param-value>86400</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.js</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.css</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.png</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.jpg</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.gif</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.html</url-pattern>
- </filter-mapping>
-
- <servlet>
- <servlet-name>Resource</servlet-name>
- <servlet-class>org.apache.isis.core.webapp.content.ResourceServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.css</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.png</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.jpg</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.gif</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.js</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.html</url-pattern>
- </servlet-mapping>
-
-
-
-
-
- <!--
- -
- -
- - config for demo only
- -
- -
- -->
-
- <!-- redirect to /doc/index.html if accessing "/" using web browser -->
- <filter>
- <filter-name>RedirectToDocsFilter</filter-name>
- <filter-class>org.apache.isis.core.webapp.routing.RedirectToDocsFilter</filter-class>
- <init-param>
- <param-name>redirectTo</param-name>
- <param-value>/doc/index.html</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>RedirectToDocsFilter</filter-name>
- <url-pattern>*</url-pattern>
- </filter-mapping>
-
- <welcome-file-list>
- <!-- override Tomcat's default -->
- <welcome-file>/</welcome-file>
- </welcome-file-list>
-
-
-
-
- <!--
- -
- -
- - config specific to the html-viewer
- -
- -
- -->
- <!-- determine the format of the paths of the links etc that it generates -->
- <context-param>
- <param-name>viewer-html.suffix</param-name>
- <param-value>htmlviewer</param-value>
- </context-param>
-
- <!-- redirect requests to 'htmlviewer' to the HTML viewer's start page -->
- <filter>
- <filter-name>RedirectFilterForHtml</filter-name>
- <filter-class>org.apache.isis.core.webapp.routing.RedirectFilter</filter-class>
- <init-param>
- <param-name>redirectTo</param-name>
- <param-value>/start.htmlviewer</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>RedirectFilterForHtml</filter-name>
- <url-pattern>/htmlviewer</url-pattern>
- </filter-mapping>
-
- <!-- authenticate user, and set up an Isis Session -->
- <filter>
- <filter-name>IsisSessionFilterForHtml</filter-name>
- <filter-class>org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter</filter-class>
- <init-param>
- <!-- lookup from cache, or if a logon filter was provided -->
- <param-name>authenticationSessionStrategy</param-name>
- <param-value>org.apache.isis.runtimes.dflt.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
- </init-param>
- <init-param>
- <!-- what to do if no session was found; we indicate access only to a restricted list of paths -->
- <param-name>whenNoSession</param-name>
- <param-value>restricted</param-value>
- </init-param>
- <init-param>
- <!-- the list of paths that are accessible if no session was found -->
- <param-name>restricted</param-name>
- <param-value>/logon.htmlviewer,/register.htmlviewer</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>IsisSessionFilterForHtml</filter-name>
- <servlet-name>HtmlLogon</servlet-name>
- <servlet-name>HtmlRegister</servlet-name>
- <servlet-name>HtmlController</servlet-name>
- </filter-mapping>
-
- <servlet>
- <servlet-name>HtmlLogon</servlet-name>
- <servlet-class>org.apache.isis.viewer.html.servlet.LogonServlet</servlet-class>
- <init-param>
- <param-name>authenticationSessionStrategy</param-name>
- <param-value>org.apache.isis.runtimes.dflt.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
- </init-param>
- <init-param>
- <param-name>startPage</param-name>
- <param-value>start.htmlviewer</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>HtmlLogon</servlet-name>
- <url-pattern>/logon.htmlviewer</url-pattern>
- </servlet-mapping>
-
- <servlet>
- <servlet-name>HtmlRegister</servlet-name>
- <servlet-class>org.apache.isis.viewer.html.servlet.RegisterServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>HtmlRegister</servlet-name>
- <url-pattern>/register.htmlviewer</url-pattern>
- </servlet-mapping>
-
- <servlet>
- <servlet-name>HtmlController</servlet-name>
- <servlet-class>org.apache.isis.viewer.html.servlet.ControllerServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>HtmlController</servlet-name>
- <url-pattern>*.htmlviewer</url-pattern>
- </servlet-mapping>
-
-
-
-
- <!--
- -
- -
- - config specific to the json-viewer
- -
- -
- -->
-
- <!-- bootstrap the RestEasy framework -->
- <listener>
- <listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
- </listener>
-
- <!-- used by RestEasy to determine the JAX-RS resources and other related configuration -->
- <context-param>
- <param-name>javax.ws.rs.Application</param-name>
- <param-value>org.apache.isis.viewer.json.viewer.JsonApplication</param-value>
- </context-param>
-
- <!-- authenticate user, set up an Isis session -->
- <filter>
- <filter-name>IsisSessionFilterForJson</filter-name>
- <filter-class>org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter</filter-class>
- <!-- authentication required for REST -->
- <init-param>
- <param-name>authenticationSessionStrategy</param-name>
- <param-value>org.apache.isis.viewer.json.viewer.authentication.AuthenticationSessionStrategyBasicAuth</param-value>
- </init-param>
- <init-param>
- <!-- what to do if no session was found; we indicate to issue a 401 basic authentication challenge -->
- <param-name>whenNoSession</param-name>
- <param-value>basicAuthChallenge</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <!-- this is mapped to the entire app; however the IsisSessionFilter will "notice" if the session filter has already been
- executed for the request pipeline, and if so will do nothing -->
- <filter-name>IsisSessionFilterForJson</filter-name>
- <servlet-name>JsonDispatcher</servlet-name>
- </filter-mapping>
-
- <servlet>
- <servlet-name>JsonDispatcher</servlet-name>
- <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>JsonDispatcher</servlet-name>
- <url-pattern>/</url-pattern>
- </servlet-mapping>
-
-
-</web-app>
-
-
-
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/webapp/default.css
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/webapp/default.css b/examples/onlinedemo/webapp/src/main/webapp/default.css
deleted file mode 100644
index 9956ce9..0000000
--- a/examples/onlinedemo/webapp/src/main/webapp/default.css
+++ /dev/null
@@ -1,939 +0,0 @@
-/*
- * 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.
- */
-/* Start Global styles */
-
-body {
- background: #101254;
- text-align: center;
-}
-#wrapper {
- width: 980px;
- min-height: 800px;
- border:3px solid #7F81C0;
- margin:8px auto;
- text-align: left;
- background: white;
-}
-
-.header-icon > img {
- max-width: 40px;
- height: 40px;
-}
-
-BODY {
- font-family: Arial, Sans-Serif;
- margin: 0 0 10px 0;
- color: black;
-
-/*
- background: url(default-images/poweredby-logo.png);
- background-repeat: no-repeat;
- background-position: 95% 95%;
-*/
-}
-
-IMG {
- border: 0;
-}
-
-A {
- text-decoration: none;
-}
-
-A:hover {
- text-decoration: underline;
-}
-
-/* End Global styles */ /* Start Heading */
-
-div#site-header:after {
- bottom: 0px;
- display: block;
- text-align: right;
- float:right;
- bottom: 0;
- font-size: 70%;
- color: gray;
-}
-
-div#site-header {
- background: url(images/banner-bg.png);
- background-repeat: repeat-x white-space : nowrap;
- list-style: none;
- margin: 0px;
- height: 100px;
-}
-
-div#site-logo {
- background: url(images/banner.png);
- background-repeat: no-repeat;
- background-position: left;
- position: absolute;
- width: 980px;
- height: 100px;
- margin: 0 auto;
-}
-
-div#page-header {
- display: none;
-}
-
-/* END Heading */
-DIV#body {
- display: block;
- padding-bottom: 10px;
-}
-
-div#navigation {
- margin: 0;
- padding: 0px;
-}
-
-/* Start options*/
-DIV.options {
- background-color: #eeeeee;
- margin: 0;
- padding: 4px 0px 4px 5px;
- min-height: 20px;
- align: right;
- float:right;
-}
-
-
-DIV.options H4 {
- display: none;
-}
-
-DIV.options DIV.item {
- display: inline;
- border-right: 1px solid #000000;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: #00000;
- font-size: 70%;
- margin: 0 6px 0 6px;
- padding 0 0 0 0;
- min-width: 200px;
-}
-
-DIV.options DIV.item IMG {
- display: none;
-}
-
-DIV.options DIV.item a:link {
- color: #000000;
- text-decoration: none;
- margin: 0 5px 0 0px;
- padding: 0 2px 0 0px;
-}
-
-DIV.options DIV.item a:hover {
- background-color: #dddddd;
- margin: 0 5px 0 0px;
- padding: 0 2px 0 0px;
-}
-
-DIV.options DIV.item a:visited {
- color: #000000;
- text-decoration: none;
- margin: 0 5px 0 0px;
- padding: 0 2px 0 0px;
-}
-
-/* End options */
-
-/* Start services */
-DIV.services {
- background-color: #7F81C0;
- margin: 0;
- padding: 4px 20px 4px 5px;
- min-height: 20px;
-
-}
-
-DIV.services H4 {
- display: none;
-}
-
-DIV.services DIV.item {
- display: inline;
- border-right: 1px solid #ffffff;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: #ffffff;
- font-size: 70%;
- margin: 3px;
-}
-
-DIV.services DIV.item IMG {
- display: none;
-}
-
-DIV.services DIV.item a:link {
- color: #ffffff;
- text-decoration: none;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-DIV.services DIV.item a:hover {
- background-color: #2683E2;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-DIV.services DIV.item a:visited {
- color: #ffffff;
- text-decoration: none;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-DIV.services DIV.item-selected {
- background-color: #2683E2;
- display: inline;
- border-right: 1px solid #ffffff;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: #ffffff;
- font-size: 70%;
-}
-
-DIV.services DIV.item-selected a:link {
- color: #ffffff;
- text-decoration: none;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-DIV.services DIV.item-selected a:hover {
- background-color: #556677;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-DIV.services DIV.item-selected a:visited {
- color: #ffffff;
- text-decoration: none;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-/* End services */ /* Start History */
-DIV.history {
- background-color: #D6D6D6;
- margin: 0;
- padding: 1px 30px 0 5px;
- min-height: 26px;
-}
-
-DIV.history H4 {
- display: none;
-}
-
-DIV.history DIV.item {
- display: inline;
- border-right: 1px solid #ffffff;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: #29357D;
- font-size: 70%;
-}
-
-DIV.history DIV.item IMG {
- position: relative;
- top: 4px;
- height: 16px;
- padding: 0 5px 0 0px;
-}
-
-DIV.history DIV.item a:link {
- color: #29357D;
- text-decoration: none;
- margin: 5px;
- padding: 1px 3px 1px 3px;
-}
-
-DIV.history DIV.item a:hover {
- background-color: #B7B6B6;
- padding: 1px 3px 1px 3px;
-}
-
-DIV.history DIV.item a:visited {
- color: #29357D;
- text-decoration: none;
- padding: 1px 3px 1px 3px;
-}
-
-DIV.history DIV.item-selected {
- background-color: #2683E2;
- display: inline;
- border-right: 1px solid #ffffff;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: #29357D;
- font-size: 70%;
- height: 30px;
-}
-
-DIV.history DIV.item-selected a:hover {
- background-color: #556677;
- padding: 1px 3px 1px 3px;
-}
-
-DIV.history DIV.item-selected a:link {
- color: #29357D;
- text-decoration: none;
- margin: 10px;
- padding: 1px 3px 1px 3px;
-}
-
-DIV.history DIV.item-selected a:visited {
- color: #29357D;
- text-decoration: none;
- padding: 1px 3px 1px 3px;
-}
-
-/* INVISIBLE character for empty item. FIREFOX ONLY*/
-DIV.history:after {
- content: "X";
- display: inline;
- text-align: right;
- font-size: 70%;
- color: #D6D6D6;
-}
-
-/* End History */ /* Start Context */
-div#context {
- background-color: #F0F0F0;
- margin: 0;
- padding: 1px 30px 0 7px;
- min-height: 26px;
-}
-
-div#context span.disabled {
- display: inline;
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #666666;
- font-size: 70%;
- padding: 0px 5px 0px 7px;
- white-space: nowrap;
-}
-
-div#context span.disabled IMG {
- display: none
-}
-
-div#context span.disabled a:link {
- color: #29357D;
- text-decoration: none;
- margin: 5px;
- padding: 1px 3px 1px 3px;
-}
-
-div#context span.disabled a:hover {
- background-color: #B7B6B6;
- padding: 1px 3px 1px 3px;
-}
-
-div#context span.disabled a:visited {
- color: #29357D;
- text-decoration: none;
- padding: 1px 3px 1px 3px;
-}
-
-div#context a.linked {
- display: inline;
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #29357D;
- font-size: 70%;
- padding: 0px 5px 0px 7px;
-}
-
-div#context a.linked IMG {
- display: none
-}
-
-div#context a.linked a:link {
- color: #29357D;
- text-decoration: none;
- margin: 5px;
- padding: 1px 3px 1px 3px;
-}
-
-div#context a.linked a:hover {
- background-color: #29357D;
- padding: 1px 3px 1px 3px;
- text-decoration: underline;
-}
-
-div#context a.linked a:visited {
- color: #29357D;
- text-decoration: none;
- padding: 1px 3px 1px 3px;
-}
-
-/* INVISIBLE character for empty breadcrumbs. FIREFOX ONLY*/
-span.disabled:after {
- content: "X";
- display: inline;
- text-align: right;
- font-size: 70%;
- color: #F0F0F0;
-}
-
-/* End Context */ /*
-div#help-bar {
- position: relative;
- right: 50px;
- top: 10px;
- text-align: right;
- font-family : arial, 'sans serif';
- font-weight : normal;
- color: #0000FF;
- font-size : 90%;
- line-height : 110%;
- text-decoration: underline;
- height: 22px;
-}
-*/
-DIV#body DIV#view {
- position: relative;
- top: 0px;
- left: 0px;
- margin: 0px;
-}
-
-/* Start of Message Header */
-DIV.message-header {
- position: relative;
- top: 40px;
- padding: 5px 25px 5px 25px;
- margin: 0 50px 0 255px;
- vertical-align: middle;
- COLOR: #003366;
- FONT-WEIGHT: bold;
- FONT-SIZE: 80%;
- LEFT: auto;
- FONT-STYLE: normal;
- FONT-FAMILY: Verdana, Geneva, Arial, Helvetica, sans-serif;
- width: 40%;
-}
-
-DIV.message-header DIV.warning {
- COLOR: #ff0033;
- padding: 5px 25px 5px 25px;
- background: url(default-images/sign-warning.png);
- background-repeat: no-repeat;
- background-color: #D6D6D6;
- background-position: 5px 5px;
-}
-
-DIV.message-header DIV.message {
- COLOR: #003366;
- padding: 5px 25px 5px 25px;
- background: url(default-images/sign-info.png);
- background-repeat: no-repeat;
- background-color: #D6D6D6;
- background-position: 5px 5px;
-}
-
-DIV.message-header DIV.message {
- FONT-WEIGHT: normal;
-}
-
-/* End of Message Header */ /* Start of Object Header */
-DIV.header {
- position: relative;
- top: 40px;
- display: block;
- background-color: #F0F0F0;
- min-height: 48px;
- margin: 0 50px 0 280px;
-
-}
-
-SPAN.header-icon IMG {
- float: left;
-}
-
-SPAN.header-text {
- float: left;
- position: relative;
- top: 10px;
- margin-left: 7px;
- FONT-WEIGHT: bold;
- FONT-SIZE: 16px;
- LEFT: auto;
- COLOR: #003366;
- FONT-STYLE: normal;
- FONT-FAMILY: Verdana, Geneva, Arial, Helvetica, sans-serif;
-}
-
-/* End of Object Header */ /* Start of Object Contents */
-DIV#content {
- position: relative;
- display: block;
- top: 40px;
- margin: 0 50px 10px 280px;
-}
-
-/* Start of Object Fields */
-DIV.field {
- margin: 0;
- padding: 5px 0px 5px 0px;
- border-top: 1px solid #666666;
- min-height: 20px;
-}
-
-DIV.field SPAN.value IMG,DIV.field DIV.value IMG {
- position: relative;
- top: 3px;
- margin: 0px 5px 0 0;
- height: 16px;
-}
-
-DIV.field SPAN.value A,DIV.field DIV.value A {
- position: relative;
- top: -2px;
- margin: 0px 5px 0 0;
- height: 16px;
-}
-
-DIV.field DIV.icon IMG {
- position: relative;
- top: 0px;
- margin: 0px 5px 0 0;
- height: 16px;
-}
-
-.label,.value {
- font-size: 80%;
- color: #333399;
-}
-
-DIV.field DIV.icon {
- display: inline;
- color: #333399;
- position: absolute;
- left: 200px;
-}
-
-DIV.field span.label,DIV.field DIV.label {
- width: 170px;
- display: block;
- /*content: ":";*/
- margin: 0 0 -18px 7px;
-}
-
-DIV.field span.separator {
- display: inline;
- position: relative;
- margin: 0 0 -15px 180px;
- vertical-align: top;
-}
-
-DIV.field span.value, DIV.field DIV.value, DIV.field INPUT.value, DIV.field SELECT.value
- {
- top: -2px;
- position: relative;
- margin: 0px 10px -5px 0px;
- display: inline;
-}
-
-DIV.field span.value PRE {
- color: #333399;
- margin: 0;
- font-family: inherit;
-}
-
-
-DIV.field textarea.value {
- font-family: inherit;
-}
-
-
-DIV.field span.optional {
- margin: -35px 0 0 0;
- font-size: 70%;
- color: grey;
-}
-
-DIV.field span.required {
- display: inline;
- position: relative;
- margin: 0;
- vertical-align: top;
- color: red;
-}
-
-DIV.field span.error {
- display: inline;
- position: relative;
- color: red;
- font-size: 70%;
-}
-
-/* INVISIBLE character for empty value FIREFOX ONLY*/
-DIV.field span.value:after {
- content: "X";
- display: inline;
- text-align: right;
- font-size: 70%;
- color: white;
-}
-
-/* INVISIBLE character for empty value FIREFOX ONLY*/
-DIV.field span.label:after {
- content: "X";
- display: inline;
- text-align: right;
- font-size: 70%;
- color: white;
-}
-
-/* End of Object Fields */ /* Start of Object Table */
-DIV#content TABLE {
- position: relative;
- float: left;
- width: 100%;
- border: 0;
- margin: 0 0 10px 0;
- border-collapse: collapse;
-}
-
-DIV#content TH {
- padding: 6px;
- border: 1px solid #ffffff;
- background-color: #D6D6D6;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: black;
- font-size: 70%;
-}
-
-DIV#content TD {
- background-color: #ffffff;
- border-right: 0;
- border-left: 0;
- border-bottom: 1px solid black;
- padding: 6px;
- font-family: arial, 'sans serif';
- font-weight: normal;
- font-size: 80%;
- color: #333399;
- margin: 0;
- text-align: left;
-}
-
-DIV#content TD.rowstart {
- background-color: #F0F0F0;
-}
-
-DIV#content TD A:visited {
- color: #0000FF;
-}
-
-DIV#content H4 {
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #000000;
- font-size: 70%;
- border-top: 1px solid black;
- margin: -2px 0 0 0px;
- padding: 5px;
-}
-
-TD DIV.icon {
- font-size: 100%;
- margin-top: 5px;
-}
-
-TD DIV.icon IMG {
- float: left;
- margin: -1px 5px 5px 0px;
- height: 16px;
-}
-
-TD DIV.action-button {
- background-color: #ffffff;
- font-size: 130%;
- text-decoration: none;
-}
-
-/* End of Object Table */
-INPUT.action-button,DIV.action-button {
- background-color: #F0F0F0;
- padding: 10px;
- display: block;
- margin: 0;
- min-height: 20px;
-}
-
-INPUT.action-button,DIV.action-button A {
- background: url(default-images/bg-button.gif);
- background-repeat: repeat-x;
- padding: 2px;
- margin: 5px;
- border: 1px solid #333399;
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #000000;
- font-size: 70%;
- font-weight: normal;
- text-align: center;
-}
-
-DIV.action-button a:link {
- color: #000000;
-}
-
-DIV.action-button a:visited {
- color: #000000;
-}
-
-DIV.action-button a:hover {
- color: #000000;
- text-decoration: none;
-}
-
-INPUT.action-button,DIV.action-button INPUT {
- float: left;
-}
-
-/* End of Object Contents */ /* Start of Object Actions Menu */
-DIV#body DIV#view DIV#menu {
- position: relative;
- top: 40px;
- left: 0;
- background-color: #ffffff;
- border-top: 1px solid #00336F;
- margin: 0px;
- width: 210px;
- display: block;
- float: left;
-}
-
-DIV#body DIV#menu H3 {
- display: none;
-}
-
-DIV#menu SPAN.name {
- display: block;
- font-size: 80%;
- background-color: #ffffff;
- color: #333399;
- line-height: 100%;
- margin: 0 0 0 10px;
-}
-
-DIV.menu-item a:link {
- color: #333399;
-}
-
-DIV.menu-item a:visited {
- color: #333399;
-}
-
-DIV.submenu-item {
- font-size: 80%;
- background-color: #ffffff;
- color: #1A59A7;
- margin: 0px;
- padding: 5px 0px 5px 10px;
- border-bottom: 1px solid #00336F;
- line-height: 100%;
-}
-
-DIV.submenu-item DIV.menu-item {
- background: url(default-images/submenu-bullet.gif);
- background-repeat: no-repeat;
- background-position: left;
- background-color: #ffffff;
- margin: 0px;
- line-height: 100%;
- border: 0;
- padding: 4px 5px 0px 10px;
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #1A59A7;
- font-size: 85%;
-}
-
-DIV.menu-item {
- background-color: #ffffff;
- margin: 0px;
- line-height: 110%;
- border-bottom: 1px solid #00336F;
- padding: 5px 5px 5px 10px;
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #1A59A7;
- font-size: 80%;
-}
-
-DIV.menu-item DIV.disabled {
- color: #a0a0a0;
-}
-
-DIV.menu-item a:link {
- color: #1A59A7;
-}
-
-DIV.menu-item a:visited {
- color: #1A59A7;
-}
-
-DIV.menu-item a:hover {
- color: #006666;
- text-decoration: underline;
-}
-
-DIV.submenu-item DIV.menu-item a:link {
- color: #1A59A7;
-}
-
-DIV.submenu-item DIV.menu-item a:visited {
- color: #1A59A7;
-}
-
-DIV.submenu-item DIV.menu-item a:hover {
- color: #006666;
- text-decoration: underline;
-}
-
-/* End of Object Menu */
-DIV.page-footer {
- position: absolute;
- right: 10px;
- bottom: 10px;
- font-size: 50%;
- color: #333399;
-}
-
-H1 {
- font-size: 140%;
- margin-top: -8px;
-}
-
-H2 {
- font-size: 90%;
- color: #333399;
- letter-spacing: 1pt;
- text-indent:-1pt;
- margin: 0;
-}
-
-H3 {
- font-size: 80%;
- color: #ffffff;
- letter-spacing: 1pt;
- text-indent:-1pt;
- margin: 15px 10px 5px 10px;
-}
-
-H4 {
- font-size: 80%;
- color: #333399;
- letter-spacing: 1pt;
- text-indent:-1pt;
- margin: 10px 10px 0px 10px;
-}
-
-DIV.text {
- font-size: 100%;
- color: #336699;
- letter-spacing: 1pt;
- text-indent:-1pt;
- margin: 10px 10px 0px 10px;
-}
-
-DIV.error {
- font-size: 120%;
- color: #cc0000;
- letter-spacing: 1pt;
- text-indent:-1pt;
- margin: 10px 10px 0px 10px;
-}
-
-PRE.error-trace {
- font-size: 80%;
- color: #cc0000;
- margin: 10px 10px 0px 10px;
-}
-
-DIV#debug { /* float: left;*/
- background-color: #F0F0F0;
- margin: 30px;
- padding: 1px 10px 0 7px;
- min-height: 22px;
- border: 1px;
-}
-
-DIV#debug H4 {
- display: inline;
- font-size: 80%;
- color: #999;
- margin: 0 5px 0 10px;
-}
-
-DIV#debug DIV.detail {
- display: inline;
- font-size: 80%;
- color: #999;
- margin: 0 5px 0 10px;
-}
-
-DIV#page-footer {
- display: none;
-}
-
-SPAN.message {
- position: relative;
- top: 30px;
- font-size: 100%;
- color: #336699;
- margin: 40px 0 0 0;
- padding: 10px;
-}
-/* Think this is now redundant
-DIV.items {
- position: relative;
-}
-*/
-
-
-SPAN.about {
- display: block;
- padding: 4px;
-}
-
-
-SPAN.user {
- display: block;
- padding: 4px;
-}
-
-.nav-link {
- display: block;
- padding: 10px;
- font-size: 75%;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/webapp/doc/IsisUseCases.png
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/webapp/doc/IsisUseCases.png b/examples/onlinedemo/webapp/src/main/webapp/doc/IsisUseCases.png
deleted file mode 100644
index 736b8e1..0000000
Binary files a/examples/onlinedemo/webapp/src/main/webapp/doc/IsisUseCases.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/allclasses-frame.html
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/allclasses-frame.html b/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/allclasses-frame.html
deleted file mode 100644
index 4a9652d..0000000
--- a/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/allclasses-frame.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_24) on Fri Dec 02 09:00:41 GMT 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-All Classes (Online Demo DOM 0.2.0-incubating-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-12-02">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-
-
-</HEAD>
-
-<BODY BGCOLOR="white">
-<FONT size="+1" CLASS="FrameHeadingFont">
-<B>All Classes</B></FONT>
-<BR>
-
-<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
-<TR>
-<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/apache/isis/examples/onlinedemo/dom/items/Categories.html" title="interface in org.apache.isis.examples.onlinedemo.dom.items" target="classFrame"><I>Categories</I></A>
-<BR>
-<A HREF="org/apache/isis/examples/onlinedemo/dom/items/Category.html" title="class in org.apache.isis.examples.onlinedemo.dom.items" target="classFrame">Category</A>
-<BR>
-<A HREF="org/apache/isis/examples/onlinedemo/dom/demo/DemoFixtures.html" title="interface in org.apache.isis.examples.onlinedemo.dom.demo" target="classFrame"><I>DemoFixtures</I></A>
-<BR>
-<A HREF="org/apache/isis/examples/onlinedemo/dom/items/ToDoItem.html" title="class in org.apache.isis.examples.onlinedemo.dom.items" target="classFrame">ToDoItem</A>
-<BR>
-<A HREF="org/apache/isis/examples/onlinedemo/dom/items/ToDoItems.html" title="interface in org.apache.isis.examples.onlinedemo.dom.items" target="classFrame"><I>ToDoItems</I></A>
-<BR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-</BODY>
-</HTML>
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/allclasses-noframe.html
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/allclasses-noframe.html b/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/allclasses-noframe.html
deleted file mode 100644
index fc556be..0000000
--- a/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/allclasses-noframe.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_24) on Fri Dec 02 09:00:41 GMT 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-All Classes (Online Demo DOM 0.2.0-incubating-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-12-02">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-
-
-</HEAD>
-
-<BODY BGCOLOR="white">
-<FONT size="+1" CLASS="FrameHeadingFont">
-<B>All Classes</B></FONT>
-<BR>
-
-<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
-<TR>
-<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/apache/isis/examples/onlinedemo/dom/items/Categories.html" title="interface in org.apache.isis.examples.onlinedemo.dom.items"><I>Categories</I></A>
-<BR>
-<A HREF="org/apache/isis/examples/onlinedemo/dom/items/Category.html" title="class in org.apache.isis.examples.onlinedemo.dom.items">Category</A>
-<BR>
-<A HREF="org/apache/isis/examples/onlinedemo/dom/demo/DemoFixtures.html" title="interface in org.apache.isis.examples.onlinedemo.dom.demo"><I>DemoFixtures</I></A>
-<BR>
-<A HREF="org/apache/isis/examples/onlinedemo/dom/items/ToDoItem.html" title="class in org.apache.isis.examples.onlinedemo.dom.items">ToDoItem</A>
-<BR>
-<A HREF="org/apache/isis/examples/onlinedemo/dom/items/ToDoItems.html" title="interface in org.apache.isis.examples.onlinedemo.dom.items"><I>ToDoItems</I></A>
-<BR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-</BODY>
-</HTML>
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/constant-values.html
----------------------------------------------------------------------
diff --git a/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/constant-values.html b/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/constant-values.html
deleted file mode 100644
index 1686230..0000000
--- a/examples/onlinedemo/webapp/src/main/webapp/doc/apidocs/constant-values.html
+++ /dev/null
@@ -1,147 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_24) on Fri Dec 02 09:00:41 GMT 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Constant Field Values (Online Demo DOM 0.2.0-incubating-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-12-02">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Constant Field Values (Online Demo DOM 0.2.0-incubating-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>
- <A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H1>
-Constant Field Values</H1>
-</CENTER>
-<HR SIZE="4" NOSHADE>
-<B>Contents</B><UL>
-</UL>
-
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>
- <A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011. All Rights Reserved.
-</BODY>
-</HTML>