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/04 23:31:01 UTC
[40/47] ISIS-188: normalizing file endings throughout
http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/viewer/html/src/main/resources/default.css
----------------------------------------------------------------------
diff --git a/framework/viewer/html/src/main/resources/default.css b/framework/viewer/html/src/main/resources/default.css
index 9027371..9956ce9 100644
--- a/framework/viewer/html/src/main/resources/default.css
+++ b/framework/viewer/html/src/main/resources/default.css
@@ -16,922 +16,922 @@
* 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;
-}
-
+/* 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;
http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/domainObjectRepresentation.json
----------------------------------------------------------------------
diff --git a/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/domainObjectRepresentation.json b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/domainObjectRepresentation.json
index 6ac7c19..f9ffb60 100644
--- a/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/domainObjectRepresentation.json
+++ b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/domainObjectRepresentation.json
@@ -1,238 +1,238 @@
-{
- "oid": "OID:25",
- "title": "Untitled Simple Entity",
- "members": [
- {
- "id": "ABigDecimal",
- "memberType": "property",
- "details": {
- "rel": "details",
- "href": "http://localhost:8080/objects/OID:25/properties/ABigDecimal",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
- },
- "extensions": {},
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/ABigDecimal",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
- }
- ]
- },
- {
- "id": "ABigInteger",
- "memberType": "property",
- "details": {
- "rel": "details",
- "href": "http://localhost:8080/objects/OID:25/properties/ABigInteger",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
- },
- "extensions": {},
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/ABigInteger",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
- }
- ]
- },
- {
- "id": "ADouble",
- "memberType": "property",
- "details": {
- "rel": "details",
- "href": "http://localhost:8080/objects/OID:25/properties/ADouble",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
- },
- "value": 0,
- "extensions": {},
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/ADouble",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
- }
- ]
- },
- {
- "id": "ALong",
- "memberType": "property",
- "details": {
- "rel": "details",
- "href": "http://localhost:8080/objects/OID:25/properties/ALong",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
- },
- "value": 0,
- "extensions": {},
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/ALong",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
- }
- ]
- },
- {
- "id": "anInt",
- "memberType": "property",
- "details": {
- "rel": "details",
- "href": "http://localhost:8080/objects/OID:25/properties/anInt",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
- },
- "value": 0,
- "extensions": {},
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/anInt",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
- }
- ]
- },
- {
- "id": "anotherDouble",
- "memberType": "property",
- "details": {
- "rel": "details",
- "href": "http://localhost:8080/objects/OID:25/properties/anotherDouble",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
- },
- "extensions": {},
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/anotherDouble",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
- }
- ]
- },
- {
- "id": "anotherInt",
- "memberType": "property",
- "details": {
- "rel": "details",
- "href": "http://localhost:8080/objects/OID:25/properties/anotherInt",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
- },
- "extensions": {},
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/anotherInt",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
- }
- ]
- },
- {
- "id": "anotherLong",
- "memberType": "property",
- "details": {
- "rel": "details",
- "href": "http://localhost:8080/objects/OID:25/properties/anotherLong",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
- },
- "extensions": {},
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/anotherLong",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
- }
- ]
- },
- {
- "id": "flag",
- "memberType": "property",
- "details": {
- "rel": "details",
- "href": "http://localhost:8080/objects/OID:25/properties/flag",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
- },
- "value": true,
- "extensions": {},
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/flag",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
- }
- ]
- },
- {
- "id": "name",
- "memberType": "property",
- "details": {
- "rel": "details",
- "href": "http://localhost:8080/objects/OID:25/properties/name",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
- },
- "value": "New name",
- "extensions": {},
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/name",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
- }
- ]
- },
- {
- "id": "toggle",
- "memberType": "action",
- "details": {
- "rel": "details",
- "href": "http://localhost:8080/objects/OID:25/actions/toggle",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/objectaction\""
- },
- "extensions": {
- "actionType": "user",
- "actionSemantics": "sideEffects"
- },
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/actions/toggle",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/typeaction\""
- },
- {
- "rel": "contributedBy",
- "href": "http://localhost:8080/objects/OID:5",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/domainobject\""
- }
- ]
- }
- ],
- "links": [
- {
- "rel": "describedby",
- "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity",
- "method": "GET",
- "type": "application/json;profile=\"urn:org.restfulobjects/domaintype\""
- }
- ],
- "extensions": {}
+{
+ "oid": "OID:25",
+ "title": "Untitled Simple Entity",
+ "members": [
+ {
+ "id": "ABigDecimal",
+ "memberType": "property",
+ "details": {
+ "rel": "details",
+ "href": "http://localhost:8080/objects/OID:25/properties/ABigDecimal",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
+ },
+ "extensions": {},
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/ABigDecimal",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
+ }
+ ]
+ },
+ {
+ "id": "ABigInteger",
+ "memberType": "property",
+ "details": {
+ "rel": "details",
+ "href": "http://localhost:8080/objects/OID:25/properties/ABigInteger",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
+ },
+ "extensions": {},
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/ABigInteger",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
+ }
+ ]
+ },
+ {
+ "id": "ADouble",
+ "memberType": "property",
+ "details": {
+ "rel": "details",
+ "href": "http://localhost:8080/objects/OID:25/properties/ADouble",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
+ },
+ "value": 0,
+ "extensions": {},
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/ADouble",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
+ }
+ ]
+ },
+ {
+ "id": "ALong",
+ "memberType": "property",
+ "details": {
+ "rel": "details",
+ "href": "http://localhost:8080/objects/OID:25/properties/ALong",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
+ },
+ "value": 0,
+ "extensions": {},
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/ALong",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
+ }
+ ]
+ },
+ {
+ "id": "anInt",
+ "memberType": "property",
+ "details": {
+ "rel": "details",
+ "href": "http://localhost:8080/objects/OID:25/properties/anInt",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
+ },
+ "value": 0,
+ "extensions": {},
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/anInt",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
+ }
+ ]
+ },
+ {
+ "id": "anotherDouble",
+ "memberType": "property",
+ "details": {
+ "rel": "details",
+ "href": "http://localhost:8080/objects/OID:25/properties/anotherDouble",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
+ },
+ "extensions": {},
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/anotherDouble",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
+ }
+ ]
+ },
+ {
+ "id": "anotherInt",
+ "memberType": "property",
+ "details": {
+ "rel": "details",
+ "href": "http://localhost:8080/objects/OID:25/properties/anotherInt",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
+ },
+ "extensions": {},
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/anotherInt",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
+ }
+ ]
+ },
+ {
+ "id": "anotherLong",
+ "memberType": "property",
+ "details": {
+ "rel": "details",
+ "href": "http://localhost:8080/objects/OID:25/properties/anotherLong",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
+ },
+ "extensions": {},
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/anotherLong",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
+ }
+ ]
+ },
+ {
+ "id": "flag",
+ "memberType": "property",
+ "details": {
+ "rel": "details",
+ "href": "http://localhost:8080/objects/OID:25/properties/flag",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
+ },
+ "value": true,
+ "extensions": {},
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/flag",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
+ }
+ ]
+ },
+ {
+ "id": "name",
+ "memberType": "property",
+ "details": {
+ "rel": "details",
+ "href": "http://localhost:8080/objects/OID:25/properties/name",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/objectproperty\""
+ },
+ "value": "New name",
+ "extensions": {},
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/properties/name",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/typeproperty\""
+ }
+ ]
+ },
+ {
+ "id": "toggle",
+ "memberType": "action",
+ "details": {
+ "rel": "details",
+ "href": "http://localhost:8080/objects/OID:25/actions/toggle",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/objectaction\""
+ },
+ "extensions": {
+ "actionType": "user",
+ "actionSemantics": "sideEffects"
+ },
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity/actions/toggle",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/typeaction\""
+ },
+ {
+ "rel": "contributedBy",
+ "href": "http://localhost:8080/objects/OID:5",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/domainobject\""
+ }
+ ]
+ }
+ ],
+ "links": [
+ {
+ "rel": "describedby",
+ "href": "http://localhost:8080/domainTypes/org.apache.isis.tck.dom.simples.SimpleEntity",
+ "method": "GET",
+ "type": "application/json;profile=\"urn:org.restfulobjects/domaintype\""
+ }
+ ],
+ "extensions": {}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/list.json
----------------------------------------------------------------------
diff --git a/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/list.json b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/list.json
index 7751535..0e04ddb 100644
--- a/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/list.json
+++ b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/list.json
@@ -1,4 +1,4 @@
-[
- { "a": "a1" },
- { "b": "b1" }
+[
+ { "a": "a1" },
+ { "b": "b1" }
]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/listOfStrings.json
----------------------------------------------------------------------
diff --git a/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/listOfStrings.json b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/listOfStrings.json
index 8cf469e..9810e67 100644
--- a/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/listOfStrings.json
+++ b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/listOfStrings.json
@@ -1,3 +1,3 @@
-[
- "a", "b", "c"
+[
+ "a", "b", "c"
]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/map.json
----------------------------------------------------------------------
diff --git a/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/map.json b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/map.json
index 62378a1..2c9a7d1 100644
--- a/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/map.json
+++ b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/map.json
@@ -1,62 +1,62 @@
-{ "aString": "aStringValue",
- "anInt": 123,
- "aNull": null,
- "aLong": 1234567890123,
- "aDouble": 12345678901234534.3242,
- "aBigDecimal": 12345678901234534.3242,
- "aBigInteger": 12345678901234534132452342342789678234234,
- "aBoolean": true,
- "aLink": {
- "href": "http://foo/bar",
- "method": "GET",
- "rel": "someRel"
- },
- "aMixedArray" : [ "a", "b", 123, { "foo": "bar"} ],
- "aStringArray" : [ "a", "b", "c" ],
- "anEmptyArray" : [ ],
- "aSubMap": {
- "aString": "aSubMapStringValue",
- "anInt": 456,
- "aBoolean": true,
- "aLong": 1234567890456,
- "aDouble": 12345678901234534.4567,
- "aBigInteger": 12345678901234534132452342342789678234234,
- "aLink": {
- "href": "http://foo/bar",
- "method": "GET",
- "rel": "someSubRel"
- }
- },
- "aSubList": [
- "a", "b", "c"
- ],
- "anotherSubMap": {
- "aListOfLinks": [
- {
- "href": "http://foo/bar",
- "method": "GET",
- "rel": "aRel"
- },
- {
- "href": "http://foo/bar/otherRel",
- "method": "GET",
- "rel": "otherRel"
- },
- {
- "href": "http://foo/bar/multiRel1",
- "method": "GET",
- "rel": "multiRel",
- "data": "someData"
- },
- {
- "href": "http://foo/bar/multiRel2",
- "method": "GET",
- "rel": "multiRel",
- "data": "someOtherData"
- }
- ],
- "aMap": "aValue",
- "anEmptyList": [
- ]
- }
-}
+{ "aString": "aStringValue",
+ "anInt": 123,
+ "aNull": null,
+ "aLong": 1234567890123,
+ "aDouble": 12345678901234534.3242,
+ "aBigDecimal": 12345678901234534.3242,
+ "aBigInteger": 12345678901234534132452342342789678234234,
+ "aBoolean": true,
+ "aLink": {
+ "href": "http://foo/bar",
+ "method": "GET",
+ "rel": "someRel"
+ },
+ "aMixedArray" : [ "a", "b", 123, { "foo": "bar"} ],
+ "aStringArray" : [ "a", "b", "c" ],
+ "anEmptyArray" : [ ],
+ "aSubMap": {
+ "aString": "aSubMapStringValue",
+ "anInt": 456,
+ "aBoolean": true,
+ "aLong": 1234567890456,
+ "aDouble": 12345678901234534.4567,
+ "aBigInteger": 12345678901234534132452342342789678234234,
+ "aLink": {
+ "href": "http://foo/bar",
+ "method": "GET",
+ "rel": "someSubRel"
+ }
+ },
+ "aSubList": [
+ "a", "b", "c"
+ ],
+ "anotherSubMap": {
+ "aListOfLinks": [
+ {
+ "href": "http://foo/bar",
+ "method": "GET",
+ "rel": "aRel"
+ },
+ {
+ "href": "http://foo/bar/otherRel",
+ "method": "GET",
+ "rel": "otherRel"
+ },
+ {
+ "href": "http://foo/bar/multiRel1",
+ "method": "GET",
+ "rel": "multiRel",
+ "data": "someData"
+ },
+ {
+ "href": "http://foo/bar/multiRel2",
+ "method": "GET",
+ "rel": "multiRel",
+ "data": "someOtherData"
+ }
+ ],
+ "aMap": "aValue",
+ "anEmptyList": [
+ ]
+ }
+}
http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/servicesList.json
----------------------------------------------------------------------
diff --git a/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/servicesList.json b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/servicesList.json
index 5968778..61a4e1a 100644
--- a/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/servicesList.json
+++ b/framework/viewer/restfulobjects/restfulobjects-applib/src/test/resources/org/apache/isis/viewer/restfulobjects/applib/servicesList.json
@@ -1,69 +1,69 @@
-[ {
- "link" : {
- "rel" : "object",
- "href" : "http://localhost:39393/objects/OID:1",
- "method" : "GET"
- },
- "type" : {
- "rel" : "type",
- "href" : "http://localhost:39393/types/application/vnd.org.apache.isis.tck.objstore.dflt.scalars.ApplibValuesEntityRepositoryDefault+json",
- "method" : "GET"
- },
- "title" : "ApplibValues",
- "icon" : {
- "rel" : "icon",
- "href" : "http://localhost:39393/images/null.png",
- "method" : "GET"
- }
-}, {
- "link" : {
- "rel" : "object",
- "href" : "http://localhost:39393/objects/OID:2",
- "method" : "GET"
- },
- "type" : {
- "rel" : "type",
- "href" : "http://localhost:39393/types/application/vnd.org.apache.isis.tck.objstore.dflt.scalars.JdkValuesEntityRepositoryDefault+json",
- "method" : "GET"
- },
- "title" : "JdkValues",
- "icon" : {
- "rel" : "icon",
- "href" : "http://localhost:39393/images/null.png",
- "method" : "GET"
- }
-}, {
- "link" : {
- "rel" : "object",
- "href" : "http://localhost:39393/objects/OID:3",
- "method" : "GET"
- },
- "type" : {
- "rel" : "type",
- "href" : "http://localhost:39393/types/application/vnd.org.apache.isis.tck.objstore.dflt.scalars.PrimitiveValuesEntityRepositoryDefault+json",
- "method" : "GET"
- },
- "title" : "PrimitiveValues",
- "icon" : {
- "rel" : "icon",
- "href" : "http://localhost:39393/images/null.png",
- "method" : "GET"
- }
-}, {
- "link" : {
- "rel" : "object",
- "href" : "http://localhost:39393/objects/OID:4",
- "method" : "GET"
- },
- "type" : {
- "rel" : "type",
- "href" : "http://localhost:39393/types/application/vnd.org.apache.isis.tck.objstore.dflt.scalars.WrapperValuesEntityRepositoryDefault+json",
- "method" : "GET"
- },
- "title" : "WrapperValues",
- "icon" : {
- "rel" : "icon",
- "href" : "http://localhost:39393/images/null.png",
- "method" : "GET"
- }
+[ {
+ "link" : {
+ "rel" : "object",
+ "href" : "http://localhost:39393/objects/OID:1",
+ "method" : "GET"
+ },
+ "type" : {
+ "rel" : "type",
+ "href" : "http://localhost:39393/types/application/vnd.org.apache.isis.tck.objstore.dflt.scalars.ApplibValuesEntityRepositoryDefault+json",
+ "method" : "GET"
+ },
+ "title" : "ApplibValues",
+ "icon" : {
+ "rel" : "icon",
+ "href" : "http://localhost:39393/images/null.png",
+ "method" : "GET"
+ }
+}, {
+ "link" : {
+ "rel" : "object",
+ "href" : "http://localhost:39393/objects/OID:2",
+ "method" : "GET"
+ },
+ "type" : {
+ "rel" : "type",
+ "href" : "http://localhost:39393/types/application/vnd.org.apache.isis.tck.objstore.dflt.scalars.JdkValuesEntityRepositoryDefault+json",
+ "method" : "GET"
+ },
+ "title" : "JdkValues",
+ "icon" : {
+ "rel" : "icon",
+ "href" : "http://localhost:39393/images/null.png",
+ "method" : "GET"
+ }
+}, {
+ "link" : {
+ "rel" : "object",
+ "href" : "http://localhost:39393/objects/OID:3",
+ "method" : "GET"
+ },
+ "type" : {
+ "rel" : "type",
+ "href" : "http://localhost:39393/types/application/vnd.org.apache.isis.tck.objstore.dflt.scalars.PrimitiveValuesEntityRepositoryDefault+json",
+ "method" : "GET"
+ },
+ "title" : "PrimitiveValues",
+ "icon" : {
+ "rel" : "icon",
+ "href" : "http://localhost:39393/images/null.png",
+ "method" : "GET"
+ }
+}, {
+ "link" : {
+ "rel" : "object",
+ "href" : "http://localhost:39393/objects/OID:4",
+ "method" : "GET"
+ },
+ "type" : {
+ "rel" : "type",
+ "href" : "http://localhost:39393/types/application/vnd.org.apache.isis.tck.objstore.dflt.scalars.WrapperValuesEntityRepositoryDefault+json",
+ "method" : "GET"
+ },
+ "title" : "WrapperValues",
+ "icon" : {
+ "rel" : "icon",
+ "href" : "http://localhost:39393/images/null.png",
+ "method" : "GET"
+ }
} ]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/viewer/restfulobjects/restfulobjects-tck/ide/eclipse/launch/viewer-json-tck.launch
----------------------------------------------------------------------
diff --git a/framework/viewer/restfulobjects/restfulobjects-tck/ide/eclipse/launch/viewer-json-tck.launch b/framework/viewer/restfulobjects/restfulobjects-tck/ide/eclipse/launch/viewer-json-tck.launch
index 150f8ac..eacbe85 100644
--- a/framework/viewer/restfulobjects/restfulobjects-tck/ide/eclipse/launch/viewer-json-tck.launch
+++ b/framework/viewer/restfulobjects/restfulobjects-tck/ide/eclipse/launch/viewer-json-tck.launch
@@ -1,19 +1,19 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/org.apache.isis.runtimes.dflt.webserver/src/main/java/org/apache/isis/WebServer.java"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="1"/>
-</listAttribute>
-<mapAttribute key="org.eclipse.debug.core.preferred_launchers">
-<mapEntry key="[debug]" value="org.eclipse.jdt.launching.localJavaApplication"/>
-<mapEntry key="[run]" value="org.eclipse.jdt.launching.localJavaApplication"/>
-</mapAttribute>
-<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/>
-<booleanAttribute key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS" value="true"/>
-<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.apache.isis.WebServer"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.apache.isis.viewer.json-tck"/>
-<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
-</launchConfiguration>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.apache.isis.runtimes.dflt.webserver/src/main/java/org/apache/isis/WebServer.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.preferred_launchers">
+<mapEntry key="[debug]" value="org.eclipse.jdt.launching.localJavaApplication"/>
+<mapEntry key="[run]" value="org.eclipse.jdt.launching.localJavaApplication"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/>
+<booleanAttribute key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.apache.isis.WebServer"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.apache.isis.viewer.json-tck"/>
+<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/211aee9b/framework/viewer/restfulobjects/restfulobjects-tck/src/main/webapp/WEB-INF/security_file.passwords
----------------------------------------------------------------------
diff --git a/framework/viewer/restfulobjects/restfulobjects-tck/src/main/webapp/WEB-INF/security_file.passwords b/framework/viewer/restfulobjects/restfulobjects-tck/src/main/webapp/WEB-INF/security_file.passwords
index 7f43ce9..7f07af5 100644
--- a/framework/viewer/restfulobjects/restfulobjects-tck/src/main/webapp/WEB-INF/security_file.passwords
+++ b/framework/viewer/restfulobjects/restfulobjects-tck/src/main/webapp/WEB-INF/security_file.passwords
@@ -14,7 +14,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-sven:pass
-dick:pass
-bob:pass
-joe:pass
+sven:pass
+dick:pass
+bob:pass
+joe:pass
http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/ErrorCollator.java
----------------------------------------------------------------------
diff --git a/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/ErrorCollator.java b/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/ErrorCollator.java
index d947f16..1f4b8b1 100644
--- a/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/ErrorCollator.java
+++ b/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/ErrorCollator.java
@@ -1,146 +1,146 @@
-/*
- * 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.viewer.scimpi.dispatcher;
-
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.PrintWriter;
-import java.util.List;
-
-import org.apache.isis.core.commons.config.ConfigurationConstants;
-import org.apache.isis.core.commons.debug.DebugBuilder;
-import org.apache.isis.core.commons.debug.DebugHtmlString;
-import org.apache.isis.core.commons.debug.DebugString;
-import org.apache.isis.core.commons.debug.DebugTee;
-import org.apache.isis.runtimes.dflt.runtime.system.context.IsisContext;
-import org.apache.isis.viewer.scimpi.dispatcher.context.RequestContext;
-import org.apache.isis.viewer.scimpi.dispatcher.debug.DebugHtmlWriter;
-import org.apache.log4j.Logger;
-
-public class ErrorCollator {
- private static final Logger LOG = Logger.getLogger(ErrorCollator.class);
-
- private String errorRef;
- private String message;
- private final DebugString debugText = new DebugString();
- private final DebugHtmlString debugHtml = new DebugHtmlString();
- private final DebugBuilder debug = new DebugTee(debugText, debugHtml);
-
- public void missingFile(String message) {
- this.message = message;
- }
-
- public void message(final Throwable exception) {
- LOG.debug(exception.getMessage(), exception);
- message = exception.getMessage();
- debug.appendPreformatted(message);
- }
-
- public void exception(final Throwable exception) {
- String messageText = exception.getMessage();
- LOG.debug(messageText, exception);
- try {
- debug.startSection("Exception");
- debug.appendException(exception);
- debug.endSection();
- } catch (final RuntimeException e) {
- debug.appendln("NOTE - an exception occurred while dumping an exception!");
- debug.appendException(e);
- }
- message = messageText == null ? exception.getClass().getName() : messageText;
- }
-
- public DebugBuilder getDebug() {
- return debug;
- }
-
- public void compileError(final RequestContext requestContext) {
- errorRef = Long.toString(System.currentTimeMillis(), 36).toUpperCase();
- LOG.info("error " + errorRef);
-
- captureWarningsAndMessages();
- dumpDebugDetails(requestContext);
- writeErrorFile();
- }
-
- private void captureWarningsAndMessages() {
- // Capture warnings/messages
- if (IsisContext.getCurrentTransaction() != null) {
- final List<String> messages = IsisContext.getMessageBroker().getMessages();
- final List<String> warnings = IsisContext.getMessageBroker().getWarnings();
- if (messages.size() > 0 || messages.size() > 0) {
- debug.startSection("Warnings/Messages");
- for (final String message : messages) {
- debug.appendln("message", message);
- }
- for (final String message : warnings) {
- debug.appendln("warning", message);
- }
- }
- }
- }
-
- private void dumpDebugDetails(final RequestContext requestContext) {
- // Dump page debug details
- requestContext.append(debug);
-
- debug.startSection("Processing Trace");
- debug.appendPreformatted(requestContext.getDebugTrace());
- debug.endSection();
- debug.close();
- }
-
- private void writeErrorFile() {
- LOG.error(message + "\n" + debugText.toString());
-
-
- PrintWriter writer;
- try {
- final String directory =
- IsisContext.getConfiguration().getString(ConfigurationConstants.ROOT + "scimpi.error-snapshots", ".");
- File dir = new File(directory);
- if (!dir.exists()) {
- dir.mkdirs();
- }
- writer = new PrintWriter(new File(dir, "error_" + errorRef + ".html"));
- final DebugHtmlWriter writer2 = new DebugHtmlWriter(writer, true);
- writer2.concat(debugHtml);
- writer2.close();
- writer.close();
- } catch (final FileNotFoundException e) {
- LOG.error("Failed to archive error page", e);
- }
- }
-
- public String getReference() {
- return errorRef;
- }
-
- public String getDetails() {
- return debugHtml.toString();
- }
-
- public String getMessage() {
- return message;
- }
-
-
-}
-
+/*
+ * 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.viewer.scimpi.dispatcher;
+
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.PrintWriter;
+import java.util.List;
+
+import org.apache.isis.core.commons.config.ConfigurationConstants;
+import org.apache.isis.core.commons.debug.DebugBuilder;
+import org.apache.isis.core.commons.debug.DebugHtmlString;
+import org.apache.isis.core.commons.debug.DebugString;
+import org.apache.isis.core.commons.debug.DebugTee;
+import org.apache.isis.runtimes.dflt.runtime.system.context.IsisContext;
+import org.apache.isis.viewer.scimpi.dispatcher.context.RequestContext;
+import org.apache.isis.viewer.scimpi.dispatcher.debug.DebugHtmlWriter;
+import org.apache.log4j.Logger;
+
+public class ErrorCollator {
+ private static final Logger LOG = Logger.getLogger(ErrorCollator.class);
+
+ private String errorRef;
+ private String message;
+ private final DebugString debugText = new DebugString();
+ private final DebugHtmlString debugHtml = new DebugHtmlString();
+ private final DebugBuilder debug = new DebugTee(debugText, debugHtml);
+
+ public void missingFile(String message) {
+ this.message = message;
+ }
+
+ public void message(final Throwable exception) {
+ LOG.debug(exception.getMessage(), exception);
+ message = exception.getMessage();
+ debug.appendPreformatted(message);
+ }
+
+ public void exception(final Throwable exception) {
+ String messageText = exception.getMessage();
+ LOG.debug(messageText, exception);
+ try {
+ debug.startSection("Exception");
+ debug.appendException(exception);
+ debug.endSection();
+ } catch (final RuntimeException e) {
+ debug.appendln("NOTE - an exception occurred while dumping an exception!");
+ debug.appendException(e);
+ }
+ message = messageText == null ? exception.getClass().getName() : messageText;
+ }
+
+ public DebugBuilder getDebug() {
+ return debug;
+ }
+
+ public void compileError(final RequestContext requestContext) {
+ errorRef = Long.toString(System.currentTimeMillis(), 36).toUpperCase();
+ LOG.info("error " + errorRef);
+
+ captureWarningsAndMessages();
+ dumpDebugDetails(requestContext);
+ writeErrorFile();
+ }
+
+ private void captureWarningsAndMessages() {
+ // Capture warnings/messages
+ if (IsisContext.getCurrentTransaction() != null) {
+ final List<String> messages = IsisContext.getMessageBroker().getMessages();
+ final List<String> warnings = IsisContext.getMessageBroker().getWarnings();
+ if (messages.size() > 0 || messages.size() > 0) {
+ debug.startSection("Warnings/Messages");
+ for (final String message : messages) {
+ debug.appendln("message", message);
+ }
+ for (final String message : warnings) {
+ debug.appendln("warning", message);
+ }
+ }
+ }
+ }
+
+ private void dumpDebugDetails(final RequestContext requestContext) {
+ // Dump page debug details
+ requestContext.append(debug);
+
+ debug.startSection("Processing Trace");
+ debug.appendPreformatted(requestContext.getDebugTrace());
+ debug.endSection();
+ debug.close();
+ }
+
+ private void writeErrorFile() {
+ LOG.error(message + "\n" + debugText.toString());
+
+
+ PrintWriter writer;
+ try {
+ final String directory =
+ IsisContext.getConfiguration().getString(ConfigurationConstants.ROOT + "scimpi.error-snapshots", ".");
+ File dir = new File(directory);
+ if (!dir.exists()) {
+ dir.mkdirs();
+ }
+ writer = new PrintWriter(new File(dir, "error_" + errorRef + ".html"));
+ final DebugHtmlWriter writer2 = new DebugHtmlWriter(writer, true);
+ writer2.concat(debugHtml);
+ writer2.close();
+ writer.close();
+ } catch (final FileNotFoundException e) {
+ LOG.error("Failed to archive error page", e);
+ }
+ }
+
+ public String getReference() {
+ return errorRef;
+ }
+
+ public String getDetails() {
+ return debugHtml.toString();
+ }
+
+ public String getMessage() {
+ return message;
+ }
+
+
+}
+
http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/ErrorDetails.java
----------------------------------------------------------------------
diff --git a/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/ErrorDetails.java b/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/ErrorDetails.java
index 38c569a..3049b26 100644
--- a/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/ErrorDetails.java
+++ b/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/ErrorDetails.java
@@ -1,35 +1,35 @@
-/*
- * 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.viewer.scimpi.dispatcher.debug;
-
-import org.apache.isis.viewer.scimpi.dispatcher.AbstractElementProcessor;
-import org.apache.isis.viewer.scimpi.dispatcher.processor.Request;
-
-
-public class ErrorDetails extends AbstractElementProcessor {
-
- public String getName() {
- return "error-details";
- }
-
- public void process(final Request request) {
- request.appendHtml(request.getContext().getErrorDetails());
- }
-}
+/*
+ * 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.viewer.scimpi.dispatcher.debug;
+
+import org.apache.isis.viewer.scimpi.dispatcher.AbstractElementProcessor;
+import org.apache.isis.viewer.scimpi.dispatcher.processor.Request;
+
+
+public class ErrorDetails extends AbstractElementProcessor {
+
+ public String getName() {
+ return "error-details";
+ }
+
+ public void process(final Request request) {
+ request.appendHtml(request.getContext().getErrorDetails());
+ }
+}
http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/ErrorMessage.java
----------------------------------------------------------------------
diff --git a/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/ErrorMessage.java b/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/ErrorMessage.java
index 659c054..07538ce 100644
--- a/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/ErrorMessage.java
+++ b/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/ErrorMessage.java
@@ -1,35 +1,35 @@
-/*
- * 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.viewer.scimpi.dispatcher.debug;
-
-import org.apache.isis.viewer.scimpi.dispatcher.AbstractElementProcessor;
-import org.apache.isis.viewer.scimpi.dispatcher.processor.Request;
-
-
-public class ErrorMessage extends AbstractElementProcessor {
-
- public String getName() {
- return "error-message";
- }
-
- public void process(final Request request) {
- request.appendAsHtmlEncoded(request.getContext().getErrorMessage());
- }
-}
+/*
+ * 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.viewer.scimpi.dispatcher.debug;
+
+import org.apache.isis.viewer.scimpi.dispatcher.AbstractElementProcessor;
+import org.apache.isis.viewer.scimpi.dispatcher.processor.Request;
+
+
+public class ErrorMessage extends AbstractElementProcessor {
+
+ public String getName() {
+ return "error-message";
+ }
+
+ public void process(final Request request) {
+ request.appendAsHtmlEncoded(request.getContext().getErrorMessage());
+ }
+}