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/10/12 19:17:28 UTC
svn commit: r1397650 [11/12] - in
/incubator/isis/trunk/framework/quickstart-archetype/archetype: ./ src/
src/main/ src/main/resources/ src/main/resources/META-INF/
src/main/resources/META-INF/maven/ src/main/resources/archetype-resources/
src/main/res...
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/debug.shtml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/debug.shtml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/debug.shtml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/debug.shtml Fri Oct 12 17:17:19 2012
@@ -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="scimpi/style/template.shtml"/>
+
+<swf:services/>
+
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/error.shtml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/error.shtml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/error.shtml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/error.shtml Fri Oct 12 17:17:19 2012
@@ -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:page-title>Error!</swf:page-title>
+
+<swf:template file="scimpi/style/template.shtml" />
+
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/action.shtml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/action.shtml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/action.shtml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/action.shtml Fri Oct 12 17:17:19 2012
@@ -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>Action <swf:action-name method="${_method}"/></swf:page-title>
+<swf:template file="../scimpi/style/template.shtml" />
+
+<swf:action-form method="${_method}" view="_generic.shtml" ${_cancel-to:optional}/>
+
+
+
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/collection.shtml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/collection.shtml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/collection.shtml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/collection.shtml Fri Oct 12 17:17:19 2012
@@ -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="../scimpi/style/template.shtml" />
+
+<h2>${title}</h2>
+<swf:table xxtitle="My Little Table" xxxno-columns="7" xxheader="no" footer="yes" link="_generic.shtml" />
+
+
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/edit.shtml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/edit.shtml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/edit.shtml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/edit.shtml Fri Oct 12 17:17:19 2012
@@ -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-string /></swf:page-title>
+<swf:template file="../scimpi/style/template.shtml" />
+
+<h2>Edit <swf:title /></h2>
+<swf:edit />
+
+
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/object.shtml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/object.shtml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/object.shtml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/generic/object.shtml Fri Oct 12 17:17:19 2012
@@ -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-string /></swf:page-title>
+<swf:template file="../scimpi/style/template.shtml" />
+
+<h2><swf:title /></h2>
+<swf:long-form link="_generic.shtml" title="" />
+
+<swf:methods />
+
+
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/index.shtml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/index.shtml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/index.shtml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/index.shtml Fri Oct 12 17:17:19 2012
@@ -0,0 +1,22 @@
+<?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>ToDo App</swf:page-title>
+
+<swf:template file="scimpi/style/template.shtml" />
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/login.shtml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/login.shtml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/login.shtml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/login.shtml Fri Oct 12 17:17:19 2012
@@ -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:template file="scimpi/style/site-template.shtml" />
+
+<style>
+div#content {
+ margin-left: 2em;
+}
+</style>
+<h2>Please Log On</h2>
+<swf:logon view="index.shtml"/>
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/custom/new-todo.shtml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/custom/new-todo.shtml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/custom/new-todo.shtml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/custom/new-todo.shtml Fri Oct 12 17:17:19 2012
@@ -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>New To Do</swf:page-title>
+
+<swf:template file="../style/template.shtml" />
+
+<swf:action-form object="service:toDoItems" method="newToDo" button-title="Save" />
+
+
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/images/scimpi-logo.png
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/images/scimpi-logo.png?rev=1397650&view=auto
==============================================================================
Files incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/images/scimpi-logo.png (added) and incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/images/scimpi-logo.png Fri Oct 12 17:17:19 2012 differ
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/reset.css
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/reset.css?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/reset.css (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/reset.css Fri Oct 12 17:17:19 2012
@@ -0,0 +1,68 @@
+/*
+ * 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.
+ */
+
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ font-weight: inherit;
+ font-style: inherit;
+ font-size: 100%;
+ font-family: inherit;
+ vertical-align: baseline;
+}
+input, textarea {
+ margin: 0;
+ padding: 0;
+ outline: 0;
+}
+:focus {
+ outline: 0;
+}
+body {
+ line-height: 1;
+ color: black;
+ background: white;
+}
+ol, ul {
+ list-style: none;
+}
+table {
+ border-collapse: separate;
+ border-spacing: 0;
+}
+caption, th, td {
+ text-align: left;
+ font-weight: normal;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content: "";
+}
+blockquote, q {
+ quotes: "" "";
+}
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/screen.css
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/screen.css?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/screen.css (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/screen.css Fri Oct 12 17:17:19 2012
@@ -0,0 +1,338 @@
+/*
+ * 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: #0;
+ font-size: 16px;
+}
+em {
+ font-style: italic;
+}
+strong {
+ font-weight: bold;
+}
+h1, h2, h3, div#title, form .title {
+ margin-bottom: 0.8em;
+ font-weight: bold;'
+ letter-spacing: 2px;
+ text-shadow: 0.1em 0.1em 0.1em #bbb;
+}
+h1 {
+ font-size: 200%;
+}
+h2, form .title {
+ margin-top: 1.5em;
+ font-size: 160%;
+}
+ol, ul {
+ margin: 1em 0 2em 0
+}
+li {
+ margin: 0.3em 0;
+}
+/*
+* Overall Layout
+*/
+div#banner {
+ background-color: #dde;
+ width: 100%;
+ height: 76px;
+ border-bottom: 10px solid gray;
+}
+div#content {
+ position: absolute;
+}
+div#side {
+ height: 100%;
+ width: 300px;
+ margin-right: 30px;
+ padding-left: 20px;
+ min-height: 400px;
+ border-bottom: 70px transparent solid; /* should be the same as the #footer height */
+}
+div#main {
+ position: absolute;
+ min-width: 500px;
+ left: 321px; /* should math the width of #side */
+ top: 0;
+ border-bottom: 70px transparent solid; /* should be the same as the #footer height */
+}
+div#footer {
+ position: fixed;
+ width: 100%;
+ height: 70px;
+ bottom: 0;
+ padding-left: 20px;
+ background-color: #eee;
+ border-top: 1px solid gray;
+}
+/*
+* Banner
+*/
+div#logo {
+ position: absolute;
+ right: 30px;
+}
+div#title {
+ padding-top: 20px;
+ padding-left: 20px;
+ font-size: 200%;
+ font-weight: bold;
+ font-style: italic;
+}
+div#title a {
+ color: black;
+ text-decoration: none;
+}
+div.user {
+ position: absolute;
+ top: 4px;
+ right: 18em;
+ font-size: 70%;
+}
+form.login .field {
+ display: inline;
+}
+form.login .field * {
+ display: inline;
+ position: relative;
+ margin: 0;
+}
+form.login .field input {
+ margin-left: 0.6em;
+}
+
+
+
+/*
+* Footer
+*/
+div#debug {
+ padding: 10px 0;
+}
+div#debug > * {
+ font-size: 70%;
+ margin: 5px 0;
+}
+
+/*
+* Side bar
+*/
+div#side ol {
+ padding-left: 0px;
+}
+div#side li {
+ list-style: none;
+ line-height: 1.5em
+}
+xxdiv#side li a {
+ text-decoration: none;
+ color: inherit;
+}
+xxdiv#side li a:HOVER {
+ text-decoration: underline;
+}
+xxdiv#side li a:VISITED {
+ color: inherit;
+}
+
+
+
+a {
+ text-decoration: none;
+ color: inherit;
+}
+a:HOVER {
+ text-decoration: underline;
+}
+a:VISITED {
+ color: inherit;
+}
+
+
+
+/*
+* Forms
+*/
+.form {
+ margin-bottom: 2em;
+}
+.field {
+ position: relative;
+ min-height: 1.5em;
+ margin-bottom: 1em;
+}
+.field > * {
+ display: inline-block;
+ font-size: 100%;
+}
+.field > * {
+ margin-left: 10em;
+}
+.field > .label {
+ margin-left: 0;
+ position: absolute;
+ padding-top: 0.4em;
+ font-style: italic;
+ font-size: 90%;
+}
+.field > .value {
+ white-space: pre-wrap;
+}
+.field > .required {
+ margin-left: 0;
+ vertical-align: top;
+}
+textarea {
+ font-family: Arial, Sans-Serif;
+}
+
+
+.actions {
+ margin-bottom: 2.5em;
+}
+.action {
+ margin-bottom: 1em;
+ min-height: 20px;
+}
+
+xxxform.action a.button,
+xxxform.action,
+form.full input.button {
+ xxxmargin-top: 1em;
+ margin-left: 12.5em;
+}
+form.full input.button + input.button {
+ xxxmargin-top: 1em;
+ margin-left: 0.5em;
+}
+.action .form .label,
+.action.field label {
+ xxxvertical-align: 2px;
+ xxxpadding-top: 12px;
+ font-style: italic;
+}
+a.action > .button {
+ font-size: 90%;
+ border:1px red solid;
+}
+.edit > .button,
+.action > .button,
+.action > .disabled,
+.controls > .button,
+.controls > form > .button {
+ shadow: 1px 1px black;
+ border: 1px solid gray;
+ border-radius: 4px;
+ font-size: 80%;
+ text-decoration: none;
+ cursor: default;
+ padding: 5px 12px;
+ xxxsmin-height: 1em;
+}
+.edit > .button,
+.action > .button,
+.controls > .button,
+.controls > form > .button {
+ background-color: #666;
+ text-shadow: 1px 1px black;
+ color: #ddd
+}
+td input.button,
+td a.button {
+ vertical-align: 2px;
+}
+td form.element-delete {
+ margin-left: 4px;
+}
+.controls > form {
+ display: inline;
+}
+.action > .disabled {
+ background-color: #aaa;
+ xxtext-shadow: 1px 1px white;
+ color: #666;
+}
+xxxform#newToDo .title {
+ font-size: 140%;
+ font-weight: bold;
+ margin-top: 1.5em;
+ margin-bottom: 0.5em;
+}
+xxxform#newToDo label {
+ display: none;
+}
+xxxxform#newToDo input {
+ margin-left: 0;
+}
+p.alternative {
+ margin-top: 80px;
+ font-size: 80%;
+ font-style: italic;
+}
+table {
+ width: 100%;
+}
+thead, tfoot {
+ background-color: #aaa;
+ color: #fff;
+ font-size: 70%;
+}
+tr.even-row {
+ background-color: #eee;
+}
+tr.odd-row {
+ border-bottom: 1px solid #bbb;
+}
+tr.odd-row td {
+ border-bottom: 1px solid #bbb;
+}
+tr:HOVER {
+ background-color: #efe;
+}
+tr:HOVER a {
+ text-decoration: underline;
+}
+td, th {
+ padding: 7px 10px;
+ min-width: 150px;
+ max-width: 300px;
+}
+td.controls {
+ font-size: 80%;
+}
+th {
+ xxxfont-weight: bold;
+}
+span.error,
+.errors {
+ color: red;
+ font-size: 80%;
+}
+span.error {
+ maring-left: 6px;
+}
+
+
+
+input {
+ xxxborder: 1px red solid;
+}
\ No newline at end of file
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/site-template.shtml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/site-template.shtml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/site-template.shtml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/site-template.shtml Fri Oct 12 17:17:19 2012
@@ -0,0 +1,54 @@
+<?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}/scimpi/style/reset.css" type="text/css" media="all" />
+ <link rel="stylesheet" title="Style 1" href="${_context}/scimpi/style/screen.css" type="text/css" media="all" />
+</head>
+
+<body id="demo">
+
+<div id="banner">
+ <div id="logo"><img src="${_context}/scimpi/images/scimpi-logo.png"/></div>
+ <div id="title"><a href="/">To-Do App</a></div>
+ <swf:user login-view="/login.shtml" logout-view="/login.shtml" />
+</div>
+
+<div id="content">
+ <swf:content />
+</div>
+
+<div id="footer">
+ <div style="float:right; margin-right: 40px;">
+ <a href="${_context}/index.html">home</a> | <a href="${_context}/logon.htmlviewer">html</a> | <a href="${_context}/services">rest</a> | <a href="${_context}/mobile/index.html">mobile</a>
+ </div>
+ <div id="debug">
+ <h1>Debug <a href="/debug.app">open</a></h1>
+ <p><strong>Template used:</strong> ${_directory}${_this}</p>
+ <p><strong>Request:</strong> ${_base}</p>
+ </div>
+ <div style="clear:both;"/>
+ <swf:diagnostics/>
+</div>
+
+</body>
+</html>
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/template.shtml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/template.shtml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/template.shtml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-scimpi/src/main/webapp/scimpi/style/template.shtml Fri Oct 12 17:17:19 2012
@@ -0,0 +1,35 @@
+<?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/site-template.shtml" />
+
+<div id="side">
+ <h2>My To Dos</h2>
+ <swf:run-action object="service:toDoItems" method="notYetDone" result-name="todos" />
+ <swf:list object="${todos}" link="${_context}/_generic.shtml" />
+
+ <swf:button href="../scimpi/custom/new-todo.shtml">New To Do...</swf:button>
+
+</div>
+
+<div id="main">
+ <swf:feedback />
+ <swf:content />
+</div>
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/ide/eclipse/launch/quickstart-viewer-wicket.launch
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/ide/eclipse/launch/quickstart-viewer-wicket.launch?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/ide/eclipse/launch/quickstart-viewer-wicket.launch (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/ide/eclipse/launch/quickstart-viewer-wicket.launch Fri Oct 12 17:17:19 2012
@@ -0,0 +1,23 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+<?xml version="1.0" encoding="UTF-8"?>
+<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 value="org.eclipse.jdt.launching.localJavaApplication" key="[debug]"/>
+ <mapEntry value="org.eclipse.jdt.launching.localJavaApplication" key="[run]"/>
+ </mapAttribute>
+ <stringAttribute value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector" key="org.eclipse.debug.core.source_locator_id"/>
+ <stringAttribute 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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.core.commons&quot;/&gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.core.metamodel&quot;/&gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.core.progmodel&quot;/&gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.core.runtime&quot;/&gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.core.testsupport&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <c
ontainer memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.core.webapp&quot;/&gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.runtimes.dflt.objectstores.dflt&quot;/&gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.runtimes.dflt.objectstores.jdo-applib&quot;/&am
p;gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.runtimes.dflt.objectstores.jdo-datanucleus&quot;/&gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.runtimes.dflt.objectstores.jdo-metamodel&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalon
e=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.runtimes.dflt.runtime&quot;/&gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.viewer.wicket-applib&quot;/&gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.viewer.wicket-metamodel&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memen
to="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.viewer.wicket-model&quot;/&gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.viewer.wicket-tck&quot;/&gt;&#13;&#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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.viewer.wicket-ui&quot;/&gt;&#13;&#10;" typeId=&quo
t;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;&#13;&#10;&lt;javaProject name=&quot;org.apache.isis.viewer.wicket-viewer&quot;/&gt;&#13;&#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;&#13;&#10;&lt;default/&gt;&#13;&#10;" typeId="org.eclipse.debug.core.containerType.default"/> </sourceContainers> </sourceLookupDirector> " key="org.eclipse.debug.core.source_locator_memento"/>
+ <booleanAttribute value="true" key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS"/>
+ <stringAttribute value="org.eclipse.m2e.launchconfig.classpathProvider" key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER"/>
+ <stringAttribute value="org.apache.isis.WebServer" key="org.eclipse.jdt.launching.MAIN_TYPE"/>
+ <stringAttribute value="${rootArtifactId}-viewer-wicket" key="org.eclipse.jdt.launching.PROJECT_ATTR"/>
+ <stringAttribute value="org.eclipse.m2e.launchconfig.sourcepathProvider" key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER"/>
+</launchConfiguration>
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/lib/.gitignore
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/lib/.gitignore?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/lib/.gitignore (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/lib/.gitignore Fri Oct 12 17:17:19 2012
@@ -0,0 +1,5 @@
+#
+# explicitly ignoring Microsoft JDBC4 jar
+# (cannot redistribute, licensing)
+#
+sqljdbc4.jar
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/pom.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/pom.xml?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/pom.xml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/pom.xml Fri Oct 12 17:17:19 2012
@@ -0,0 +1,203 @@
+<?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>${groupId}</groupId>
+ <artifactId>${rootArtifactId}</artifactId>
+ <version>${version}</version>
+ </parent>
+
+ <artifactId>${artifactId}</artifactId>
+ <name>QuickStart Wicket Viewer</name>
+
+ <description>This module runs Isis' Wicket webapp viewer, configured to run using the
+ datanucleus object store. See other viewer modules for more persistence options.</description>
+
+ <packaging>war</packaging>
+
+ <properties>
+ <siteBaseDir>..</siteBaseDir>
+ </properties>
+
+ <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-banner.png</backgroundImage>
+ </configuration>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- prereqs: mvn package -->
+ <!-- mvn antrun:run -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <configuration>
+ <tasks>
+ <exec executable="java" failonerror="true">
+ <arg value="-jar" />
+ <arg value="${project.build.directory}/${project.build.finalName}-jetty-console.war" />
+ </exec>
+ </tasks>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <dependencies>
+
+ <!-- other modules in this project -->
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${rootArtifactId}-dom</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${rootArtifactId}-fixture</artifactId>
+ </dependency>
+
+
+ <!-- objectstore/domain service/repository implementations -->
+
+ <!--
+ - uncomment in order to use default object store
+ - (also edit isis.properties)
+ -
+ <dependency>
+ <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
+ <artifactId>dflt</artifactId>
+ </dependency>
+ -->
+
+
+ <!--
+ - uncomment in order to use jdo object store
+ - (also edit isis.properties)
+ -
+ -->
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${rootArtifactId}-objstore-jdo</artifactId>
+ </dependency>
+
+
+
+
+ <!-- isis viewer -->
+ <dependency>
+ <groupId>org.apache.isis.viewer</groupId>
+ <artifactId>wicket-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.profilestores</groupId>
+ <artifactId>dflt</artifactId>
+ </dependency>
+
+ <!-- isis progmodel -->
+ <dependency>
+ <groupId>org.apache.isis.progmodels</groupId>
+ <artifactId>dflt</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>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>
+
+
+
+
+ <!--
+ JDBC drivers
+ (if using jdo or sql object store)
+ -->
+
+ <dependency>
+ <groupId>org.hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>2.2.8</version>
+ </dependency>
+
+ <!--
+ <dependency>
+ <groupId>com.microsoft.sqlserver</groupId>
+ <artifactId>jdbc</artifactId>
+ <version>4.0</version>
+ <scope>system</scope>
+ <optional>true</optional>
+ <systemPath>${basedir}/lib/sqljdbc4.jar</systemPath>
+ </dependency>
+ -->
+
+ <dependency>
+ <groupId>org.lazyluke</groupId>
+ <artifactId>log4jdbc-remix</artifactId>
+ <version>0.2.7</version>
+ </dependency>
+
+ </dependencies>
+
+</project>
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/java/app/ComponentFactoryRegistrarForQuickStart.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/java/app/ComponentFactoryRegistrarForQuickStart.java?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/java/app/ComponentFactoryRegistrarForQuickStart.java (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/java/app/ComponentFactoryRegistrarForQuickStart.java Fri Oct 12 17:17:19 2012
@@ -0,0 +1,18 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+package app;
+
+import com.google.inject.Singleton;
+
+import org.apache.isis.viewer.wicket.viewer.registries.components.ComponentFactoryRegistrarDefault;
+
+@Singleton
+public class ComponentFactoryRegistrarForQuickStart extends ComponentFactoryRegistrarDefault {
+
+ @Override
+ public void addComponentFactories(ComponentFactoryList componentFactories) {
+ super.addComponentFactories(componentFactories);
+ // currently no replacements
+ }
+}
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/java/app/QuickStartApplication.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/java/app/QuickStartApplication.java?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/java/app/QuickStartApplication.java (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/java/app/QuickStartApplication.java Fri Oct 12 17:17:19 2012
@@ -0,0 +1,74 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+package app;
+
+import java.io.IOException;
+import java.nio.charset.Charset;
+import java.util.List;
+import java.util.ResourceBundle;
+
+import com.google.common.base.Joiner;
+import com.google.common.io.Resources;
+import com.google.inject.AbstractModule;
+import com.google.inject.Module;
+import com.google.inject.name.Names;
+import com.google.inject.util.Modules;
+
+import org.apache.isis.viewer.wicket.ui.app.registry.ComponentFactoryRegistrar;
+import org.apache.isis.viewer.wicket.viewer.IsisWicketApplication;
+
+
+/**
+ * As specified in <tt>web.xml</tt>.
+ *
+ * <p>
+ * See:
+ * <pre>
+ * <filter>
+ * <filter-name>wicket</filter-name>
+ * <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
+ * <init-param>
+ * <param-name>applicationClassName</param-name>
+ * <param-value>app.QuickStartApplication</param-value>
+ * </init-param>
+ * </filter>
+ * </pre>
+ *
+ */
+public class QuickStartApplication extends IsisWicketApplication {
+
+ private static final long serialVersionUID = 1L;
+
+ @Override
+ protected Module newIsisWicketModule() {
+ final Module isisDefaults = super.newIsisWicketModule();
+
+ final Module ${parentArtifactId}Overrides = new AbstractModule() {
+ @Override
+ protected void configure() {
+ bind(ComponentFactoryRegistrar.class).to(ComponentFactoryRegistrarForQuickStart.class);
+
+ bind(String.class).annotatedWith(Names.named("applicationName")).toInstance("Quick Start App");
+ bind(String.class).annotatedWith(Names.named("applicationCss")).toInstance("css/application.css");
+ bind(String.class).annotatedWith(Names.named("applicationJs")).toInstance("scripts/application.js");
+ bind(String.class).annotatedWith(Names.named("welcomeMessage")).toInstance(readLines("welcome.html"));
+ bind(String.class).annotatedWith(Names.named("aboutMessage")).toInstance("QuickStart v0.1.0");
+ }
+
+ };
+
+ return Modules.override(isisDefaults).with(${parentArtifactId}Overrides);
+ }
+
+ private static String readLines(final String resourceName) {
+ try {
+ List<String> readLines = Resources.readLines(Resources.getResource(QuickStartApplication.class, resourceName), Charset.defaultCharset());
+ final String aboutText = Joiner.on("${symbol_escape}n").join(readLines);
+ return aboutText;
+ } catch (IOException e) {
+ return "This is Quick Start";
+ }
+ }
+
+}
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/jettyconsole/isis-banner.pdn
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/jettyconsole/isis-banner.pdn?rev=1397650&view=auto
==============================================================================
Files incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/jettyconsole/isis-banner.pdn (added) and incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/jettyconsole/isis-banner.pdn Fri Oct 12 17:17:19 2012 differ
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/jettyconsole/isis-banner.png
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/jettyconsole/isis-banner.png?rev=1397650&view=auto
==============================================================================
Files incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/jettyconsole/isis-banner.png (added) and incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/jettyconsole/isis-banner.png Fri Oct 12 17:17:19 2012 differ
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/resources/app/welcome.html
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/resources/app/welcome.html?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/resources/app/welcome.html (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/resources/app/welcome.html Fri Oct 12 17:17:19 2012
@@ -0,0 +1,28 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+<p class="intro">
+This sample webapp was generated by the Isis QuickStart archetype, configured to use Isis' wicket viewer.
+</p>
+
+<br/>
+<p>
+By default the domain objects are persisted using JDO/DataNucleus objectstore, configured to persist to an in-memory HSQL/DB database.
+</p>
+
+<br/>
+<p>
+To change the JDBC connection string, edit <tt>WEB-INF/persistor_datanucleus.properties</tt>. Also update the <tt>pom.xml</tt> for the appropriate JDBC driver.
+</p>
+
+<br/>
+<p>
+To change the objectstore implementation, edit the <tt>WEB-INF/isis.properties</tt> file.
+</p>
+
+<br/>
+<p>
+The wicket viewer initially is configured using Wicket's 'development' mode, and Isis' authentication and authorization modules are disabled.
+For deployment, typically Wicket viewer should be switched to 'deployment' mode, by editing <tt>WEB-INF/web.xml</tt>.
+Isis' authentication and authorization should also be enabled (again, by editing the <tt>WEB-INF/isis.properties</tt> config file).
+</p>
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/resources/images/Default.png
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/resources/images/Default.png?rev=1397650&view=auto
==============================================================================
Files incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/resources/images/Default.png (added) and incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/resources/images/Default.png Fri Oct 12 17:17:19 2012 differ
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authentication_file.passwords
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authentication_file.passwords?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authentication_file.passwords (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authentication_file.passwords Fri Oct 12 17:17:19 2012
@@ -0,0 +1,28 @@
+# 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:org.apache.isis.viewer.wicket.roles.USER
+dick:pass:org.apache.isis.viewer.wicket.roles.USER
+bob:pass:org.apache.isis.viewer.wicket.roles.USER
+joe:pass:org.apache.isis.viewer.wicket.roles.USER
\ No newline at end of file
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authentication_file.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authentication_file.properties?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authentication_file.properties (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authentication_file.properties Fri Oct 12 17:17:19 2012
@@ -0,0 +1,28 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+${symbol_pound} Licensed to the Apache Software Foundation (ASF) under one
+${symbol_pound} or more contributor license agreements. See the NOTICE file
+${symbol_pound} distributed with this work for additional information
+${symbol_pound} regarding copyright ownership. The ASF licenses this file
+${symbol_pound} to you under the Apache License, Version 2.0 (the
+${symbol_pound} "License"); you may not use this file except in compliance
+${symbol_pound} with the License. You may obtain a copy of the License at
+${symbol_pound}
+${symbol_pound} http://www.apache.org/licenses/LICENSE-2.0
+${symbol_pound}
+${symbol_pound} Unless required by applicable law or agreed to in writing,
+${symbol_pound} software distributed under the License is distributed on an
+${symbol_pound} "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+${symbol_pound} KIND, either express or implied. See the License for the
+${symbol_pound} specific language governing permissions and limitations
+${symbol_pound} under the License.
+
+${symbol_pound}
+${symbol_pound} configuration file for the File-based authentication mechanism
+${symbol_pound}
+
+
+${symbol_pound}
+${symbol_pound} (intentionally empty)
+${symbol_pound}
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authorization_file.allow
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authorization_file.allow?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authorization_file.allow (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authorization_file.allow Fri Oct 12 17:17:19 2012
@@ -0,0 +1,28 @@
+# 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
+#
+
+
+#
+# (intentionally empty)
+#
+
+
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authorization_file.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authorization_file.properties?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authorization_file.properties (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/authorization_file.properties Fri Oct 12 17:17:19 2012
@@ -0,0 +1,50 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+${symbol_pound} Licensed to the Apache Software Foundation (ASF) under one
+${symbol_pound} or more contributor license agreements. See the NOTICE file
+${symbol_pound} distributed with this work for additional information
+${symbol_pound} regarding copyright ownership. The ASF licenses this file
+${symbol_pound} to you under the Apache License, Version 2.0 (the
+${symbol_pound} "License"); you may not use this file except in compliance
+${symbol_pound} with the License. You may obtain a copy of the License at
+${symbol_pound}
+${symbol_pound} http://www.apache.org/licenses/LICENSE-2.0
+${symbol_pound}
+${symbol_pound} Unless required by applicable law or agreed to in writing,
+${symbol_pound} software distributed under the License is distributed on an
+${symbol_pound} "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+${symbol_pound} KIND, either express or implied. See the License for the
+${symbol_pound} specific language governing permissions and limitations
+${symbol_pound} under the License.
+
+${symbol_pound}
+${symbol_pound} configuration file for the File-based authorization mechanism
+${symbol_pound}
+
+
+${symbol_pound}
+${symbol_pound} the whitelist file
+${symbol_pound} (value shown below is the default)
+${symbol_pound}
+
+${symbol_pound}isis.authorization.file.whitelist=authorization_file.allow
+
+
+
+${symbol_pound}
+${symbol_pound} the blacklist file
+${symbol_pound} (there is no default value; provide a filename)
+${symbol_pound}
+
+${symbol_pound}isis.authorization.file.blacklist=
+
+
+
+${symbol_pound}
+${symbol_pound} switch on "learning mode". In this mode the authorization mechanism
+${symbol_pound} will grant all requests, and log those requests into the allow file.
+${symbol_pound}
+
+${symbol_pound}isis.authorization.learn=true
+
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/isis.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/isis.properties?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/isis.properties (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/isis.properties Fri Oct 12 17:17:19 2012
@@ -0,0 +1,183 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+${symbol_pound} Licensed to the Apache Software Foundation (ASF) under one
+${symbol_pound} or more contributor license agreements. See the NOTICE file
+${symbol_pound} distributed with this work for additional information
+${symbol_pound} regarding copyright ownership. The ASF licenses this file
+${symbol_pound} to you under the Apache License, Version 2.0 (the
+${symbol_pound} "License"); you may not use this file except in compliance
+${symbol_pound} with the License. You may obtain a copy of the License at
+${symbol_pound}
+${symbol_pound} http://www.apache.org/licenses/LICENSE-2.0
+${symbol_pound}
+${symbol_pound} Unless required by applicable law or agreed to in writing,
+${symbol_pound} software distributed under the License is distributed on an
+${symbol_pound} "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+${symbol_pound} KIND, either express or implied. See the License for the
+${symbol_pound} specific language governing permissions and limitations
+${symbol_pound} under the License.
+
+
+${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound
}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}
+${symbol_pound}
+${symbol_pound} specify system components.
+${symbol_pound}
+${symbol_pound} The values correspond to the named components in the installer-registry.properties file
+${symbol_pound} in the org.apache.isis.runtimes.dflt:runtime JAR (in the org.apache.isis.runtimes.dflt.runtime package)
+${symbol_pound}
+${symbol_pound} Although all configuration could reside in isis.properties, the recommendation is
+${symbol_pound} to split out into component specific files:
+${symbol_pound}
+${symbol_pound} xxx_yyy.properties files
+${symbol_pound}
+${symbol_pound} where
+${symbol_pound} * xxx is the component type, and
+${symbol_pound} * yyy is the component name.
+${symbol_pound}
+${symbol_pound} For example, persistor_sql.properties holds configuration information specific to the
+${symbol_pound}
+${symbol_pound}
+${symbol_pound} If the components are changed, also remember to edit pom.xml (further comments can be
+${symbol_pound} found in the persistor_xxx.properties files)
+${symbol_pound}
+${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound
}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}
+
+${symbol_pound}
+${symbol_pound} configure the persistor (object store) to use
+${symbol_pound}
+${symbol_pound} * in-memory requires no additional configuration, but stores object in-memory.
+${symbol_pound} Only suitable for prototyping
+${symbol_pound} * datanucleus uses JDO DataNucleus to persist objects to relational database.
+${symbol_pound} for objectstore-specific properties, see persistor_datanucleus.properties
+${symbol_pound} * fileserver uses a simple FileServer to persist objects as JSON documents. It requires the fileserver component to be running
+${symbol_pound} for objectstore-specific properties, see persistor_fileserver.properties
+${symbol_pound} * mongodb uses MongoDB to be persist objects as JSON documents. It requires MongoDB to be installed and running
+${symbol_pound} for objectstore-specific properties, see persistor_fileserver.properties
+${symbol_pound} * sql uses an RDBMS to persist objects as table rows.
+${symbol_pound} for objectstore-specific properties, see persistor_sql.properties
+${symbol_pound} * xml uses the XML ObjectStore to be persist objects to a set of XML files. Only suitable for prototyping.
+${symbol_pound} for objectstore-specific properties, see persistor_xml.properties
+${symbol_pound}
+${symbol_pound} NOTE:
+${symbol_pound} * if using non-naive implementations of services, edit isis.services (below) and
+${symbol_pound} * if necessary, update the pom.xml to reference appropriate objstore-xxx module
+${symbol_pound} * for sql and datanucleus objectstores, update the pom.xml to reference appropriate JDBC driver
+${symbol_pound}
+
+${symbol_pound}isis.persistor=in-memory
+isis.persistor=datanucleus
+${symbol_pound}isis.persistor=fileserver
+${symbol_pound}isis.persistor=mongodb
+${symbol_pound}isis.persistor=sql
+${symbol_pound}isis.persistor=xml
+
+
+
+
+${symbol_pound}
+${symbol_pound} configure authentication mechanism to use (to logon to the system)
+${symbol_pound} note:
+${symbol_pound} - authentication is disabled if running in exploration mode
+${symbol_pound} - the Scimpi viewer allows access to anonymous users
+${symbol_pound}
+
+${symbol_pound} default is file in SERVER mode, none in SERVER_EXPLORATION. Derived from wicket mode
+isis.authentication=file
+
+
+${symbol_pound}
+${symbol_pound} configure authorization mechanism to use
+${symbol_pound}
+${symbol_pound} The authorization mechanism define each users' permissions to view/edit object properties
+${symbol_pound} or collections, and to view/invoke object actions
+${symbol_pound}
+${symbol_pound} configuring this component automatically refines the metamodel (installing a facet factory
+${symbol_pound} which vetoes access as required)
+${symbol_pound}
+
+${symbol_pound} default is file in SERVER mode, none in SERVER_EXPLORATION. Derived from wicket mode
+${symbol_pound}isis.authorization=file
+
+
+
+${symbol_pound}
+${symbol_pound} configure the user profile store to use.
+${symbol_pound}
+${symbol_pound} the user profile store is supported by some viewers as a way to store
+${symbol_pound} user-specific settings (eg colours, themes etc)
+${symbol_pound}
+isis.user-profile-store=in-memory
+
+
+
+
+${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound
}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}
+${symbol_pound}
+${symbol_pound} MetaModel
+${symbol_pound}
+${symbol_pound} The metamodel typically does not require additional configuration, although
+${symbol_pound} the system components (defined above) may refine the metamodel for their needs.
+${symbol_pound}
+${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound
}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}
+
+
+${symbol_pound}
+${symbol_pound} additional programming model facets
+${symbol_pound}
+
+${symbol_pound}isis.reflector.facets.include=
+${symbol_pound}isis.reflector.facets.exclude=
+
+
+${symbol_pound}
+${symbol_pound} metamodel validator
+${symbol_pound}
+
+${symbol_pound}isis.reflector.validator=
+
+
+
+${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound
}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}
+${symbol_pound}
+${symbol_pound} Application Services and fixtures
+${symbol_pound}
+${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound
}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}
+
+${symbol_pound}
+${symbol_pound} Specify the domain services.
+${symbol_pound}
+${symbol_pound} These are the most important configuration properties in the system, as they define
+${symbol_pound} the set of the classes for Isis to instantiate as domain service singletons.
+${symbol_pound} From these domain service instances the rest of the metamodel is discovered, while the
+${symbol_pound} end-user gains access to other domain objects by invoking the actions of the domain services.
+${symbol_pound}
+${symbol_pound} The implementations depend on the configured (see isis.persistor above)
+${symbol_pound}
+
+${symbol_pound} if using the in-memory, XML, SQL, fileserver or mongo object stores:
+${symbol_pound}isis.services.prefix = dom
+${symbol_pound}isis.services = todo.ToDoItems
+
+
+${symbol_pound} if using the DataNucleus object store
+${symbol_pound} (with support for JDO's audit service, and installing fixtures using a domain service)
+${symbol_pound}isis.services.prefix =
+isis.services = objstore.jdo.todo.ToDoItemsJdo,${symbol_escape}
+ fixture.todo.ToDoItemsFixturesService,${symbol_escape}
+ dom.audit.AuditServiceDemo
+
+
+
+
+
+${symbol_pound}
+${symbol_pound} Specify the (optional) test fixtures
+${symbol_pound}
+${symbol_pound} Fixtures are used to seed the object store with an initial set of data. For the
+${symbol_pound} in-memory object store, the fixtures are installed on every run. For other
+${symbol_pound} object stores, they are used only when the object store is first initialized.
+${symbol_pound}
+${symbol_pound}isis.fixtures.prefix=
+${symbol_pound}isis.fixtures=
+
Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/logging.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/logging.properties?rev=1397650&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/logging.properties (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-wicket/src/main/webapp/WEB-INF/logging.properties Fri Oct 12 17:17:19 2012
@@ -0,0 +1,93 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+${symbol_pound} Licensed to the Apache Software Foundation (ASF) under one
+${symbol_pound} or more contributor license agreements. See the NOTICE file
+${symbol_pound} distributed with this work for additional information
+${symbol_pound} regarding copyright ownership. The ASF licenses this file
+${symbol_pound} to you under the Apache License, Version 2.0 (the
+${symbol_pound} "License"); you may not use this file except in compliance
+${symbol_pound} with the License. You may obtain a copy of the License at
+${symbol_pound}
+${symbol_pound} http://www.apache.org/licenses/LICENSE-2.0
+${symbol_pound}
+${symbol_pound} Unless required by applicable law or agreed to in writing,
+${symbol_pound} software distributed under the License is distributed on an
+${symbol_pound} "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+${symbol_pound} KIND, either express or implied. See the License for the
+${symbol_pound} specific language governing permissions and limitations
+${symbol_pound} under the License.
+
+
+${symbol_pound}
+${symbol_pound} Isis uses log4j is used to provide system logging
+${symbol_pound}
+log4j.rootCategory=INFO, Console
+
+${symbol_pound} 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
+
+
+
+
+
+
+! turn on the internal log4j debugging flag so we can see what it is doing
+${symbol_pound}log4j.debug=true
+
+
+log4j.logger.jdbc.sqlonly=DEBUG, sql, Console
+log4j.additivity.jdbc.sqlonly=false
+
+log4j.logger.jdbc.resultsettable=DEBUG, jdbc, Console
+log4j.additivity.jdbc.resultsettable=false
+
+
+
+log4j.logger.jdbc.audit=WARN,jdbc, Console
+log4j.additivity.jdbc.audit=false
+
+log4j.logger.jdbc.resultset=WARN,jdbc
+log4j.additivity.jdbc.resultset=false
+
+log4j.logger.jdbc.sqltiming=WARN,sqltiming
+log4j.additivity.jdbc.sqltiming=false
+
+log4j.logger.jdbc.connection=FATAL,connection
+log4j.additivity.jdbc.connection=false
+
+
+
+log4j.appender.sql=org.apache.log4j.FileAppender
+log4j.appender.sql.File=./logs/sql.log
+log4j.appender.sql.Append=false
+log4j.appender.sql.layout=org.apache.log4j.PatternLayout
+log4j.appender.sql.layout.ConversionPattern=-----> %d{yyyy-MM-dd HH:mm:ss.SSS} %m%n%n
+
+log4j.appender.sqltiming=org.apache.log4j.FileAppender
+log4j.appender.sqltiming.File=./logs/sqltiming.log
+log4j.appender.sqltiming.Append=false
+log4j.appender.sqltiming.layout=org.apache.log4j.PatternLayout
+log4j.appender.sqltiming.layout.ConversionPattern=-----> %d{yyyy-MM-dd HH:mm:ss.SSS} %m%n%n
+
+log4j.appender.jdbc=org.apache.log4j.FileAppender
+log4j.appender.jdbc.File=./logs/jdbc.log
+log4j.appender.jdbc.Append=false
+log4j.appender.jdbc.layout=org.apache.log4j.PatternLayout
+log4j.appender.jdbc.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %m%n
+
+log4j.appender.connection=org.apache.log4j.FileAppender
+log4j.appender.connection.File=./logs/connection.log
+log4j.appender.connection.Append=false
+log4j.appender.connection.layout=org.apache.log4j.PatternLayout
+log4j.appender.connection.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %m%n
+