diff --git a/spring-webflow-samples/booking-portlet-faces/.springBeans b/spring-webflow-samples/booking-portlet-faces/.springBeans index 5d292705..ac88622c 100644 --- a/spring-webflow-samples/booking-portlet-faces/.springBeans +++ b/spring-webflow-samples/booking-portlet-faces/.springBeans @@ -1,13 +1,12 @@ 1 - + - src/main/webapp/WEB-INF/web-application-config.xml diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/WEB-INF/portlet.xml b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/WEB-INF/portlet.xml index 2e2ec537..2294d947 100644 --- a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/WEB-INF/portlet.xml +++ b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/WEB-INF/portlet.xml @@ -15,7 +15,7 @@ contextConfigLocation - /WEB-INF/web-application-config.xml + /WEB-INF/config/hotelbooking-portlet-config.xml diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/WEB-INF/web-application-config.xml b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/WEB-INF/web-application-config.xml deleted file mode 100644 index 3dce4db0..00000000 --- a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/WEB-INF/web-application-config.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/WEB-INF/web.xml b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/WEB-INF/web.xml index cf44dfb7..c89e24a4 100644 --- a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/WEB-INF/web.xml +++ b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/WEB-INF/web.xml @@ -7,7 +7,7 @@ contextConfigLocation - /WEB-INF/web-application-config.xml + /WEB-INF/config/application-config.xml diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/config/application-config.xml b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/config/application-config.xml new file mode 100644 index 00000000..295df2e2 --- /dev/null +++ b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/config/application-config.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/config/hotelbooking-portlet-config.xml b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/config/hotelbooking-portlet-config.xml new file mode 100644 index 00000000..11d01cc7 --- /dev/null +++ b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/config/hotelbooking-portlet-config.xml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/bg.gif b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/bg.gif deleted file mode 100644 index 013cfa6f..00000000 Binary files a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/bg.gif and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/btn.bg.gif b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/btn.bg.gif deleted file mode 100644 index 87256cf4..00000000 Binary files a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/btn.bg.gif and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/diplomat.jpg b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/diplomat.jpg deleted file mode 100644 index e1d0c9cd..00000000 Binary files a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/diplomat.jpg and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/header.jpg b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/header.jpg deleted file mode 100644 index 0be0d4d7..00000000 Binary files a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/header.jpg and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/input.bg.gif b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/input.bg.gif deleted file mode 100644 index 8ebf87e3..00000000 Binary files a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/input.bg.gif and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/powered-by-spring.png b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/powered-by-spring.png deleted file mode 100644 index e773b170..00000000 Binary files a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/powered-by-spring.png and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/th.bg.gif b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/th.bg.gif deleted file mode 100644 index 4663cf51..00000000 Binary files a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/th.bg.gif and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/tse.gif b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/tse.gif deleted file mode 100644 index b1fa98cf..00000000 Binary files a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/images/tse.gif and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/styles/booking.css b/spring-webflow-samples/booking-portlet-faces/src/main/webapp/styles/booking.css deleted file mode 100644 index 54c6c24d..00000000 --- a/spring-webflow-samples/booking-portlet-faces/src/main/webapp/styles/booking.css +++ /dev/null @@ -1,187 +0,0 @@ - a, a:visited, a:link, a:active { - color: #59924B; - background-color: transparent; - text-decoration: none; - font-weight: bold; - } - - a:hover { - color: white; - background-color: #65a242; - text-decoration: none; - font-weight: bold; - } - - body.spring { - background-color: #9cac7c; - } - - #header.spring { - margin: 0 0 1em 0; - padding: 0px 0px; - background-color : #414f23; - } - - #branding.spring { - float: none; - width: 100%; - margin: 10px 0 0 0; - padding: 0 0 0 0; - text-align: none; - } - - #welcome { - padding: 10px 10px; - } - - #welcome div.left { - float: left; - } - - #welcome div.right { - float: right; - } - - #content.spring form div, - #content.spring form p { - padding: 0px; - margin: 0 0 .5em 0; - } - - #content.spring { - width: 740px; - background: #fff url(../images/bg.gif) 0 0 repeat; - margin-bottom: 0px; - } - - #content .section { - width: 505px; - float: left; - margin-bottom: 5px; - } - - #content.spring input[type="submit"], input[type="button"], button { - font-weight: bold; - color: #fff; - height: 20px; - background: #fff url(../images/btn.bg.gif) 0 0 repeat-x; - border-style: none; - vertical-align: middle; - } - - #content.spring button - { - font-size: 1em; - font-family: arial,helvetica,verdana,sans-serif; - margin-top: 0pt; - margin-right: 0pt; - margin-bottom: 0pt; - margin-left: 0pt; - padding-top: 2px; - padding-right: 2px; - padding-bottom: 2px; - padding-left: 2px; - } - - #content.spring button - { - vertical-align: middle; - } - - .errors { - font-weight: bold; - text-align: left; - color: #600; - } - - .errors ul { - list-style: none; - } - - #content .field { - float:left; - } - - #content .field .label { - float: left; - padding-top: 5px; - padding-right: 5px; - font-weight: bold; - width: 150px; - text-align: right; - } - - #content .field .output { - float: left; - width: 250px; - padding-top: 5px; - text-align: left; - } - - #content .field .input { - float: left; - width: 250px; - text-align: left; - } - - #content .searchGroup { - width: 35%; - } - - #content .buttonGroup { - clear: both; - text-align: right; - } - - #content .buttonGroup input[type="submit"], .buttonGroup input[type="button"] { - margin-right: 5px; - } - - #content .previous { - float: right; - } - - #content .next { - float: right; - } - - #content .next a { - margin-left: 20px; - } - - #content .summary { - width: 100%; - border: 1px solid #414f23; - border-collapse: collapse; - } - - #content .summary thead th { - border-left: 1px solid #414f23; - background: #fff url(../images/th.bg.gif) 0 100% repeat-x; - border-bottom: 1px solid #414f23; - padding: 6px; - text-align: left; - font-size: small; - } - - #content .summary tbody td { - border-left: 1px solid #9cac7c; - padding: 4px; - border-bottom: 1px solid #9cac7c; - font-size: 8pt; - } - - #local.spring{ - width: 215px; - } - - #footer.spring { - padding: 25px 0; - background-color : white; - border-top: 1px solid #C3BBB6; - } - - #footer.spring img { - float: right; - padding-right: 20px; - } \ No newline at end of file diff --git a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/css/booking.css b/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/css/booking.css deleted file mode 100644 index 88df724d..00000000 --- a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/css/booking.css +++ /dev/null @@ -1,193 +0,0 @@ - a, a:visited, a:link, a:active { - color: #59924B; - background-color: transparent; - text-decoration: none; - font-weight: bold; - } - - a:hover { - color: white; - background-color: #65a242; - text-decoration: none; - font-weight: bold; - } - - body.spring { - background-color: #9cac7c; - } - - #header.spring { - margin: 0 0 1em 0; - padding: 0px 0px; - background-color : #414f23; - } - - #branding.spring { - float: none; - width: 100%; - margin: 10px 0 0 0; - padding: 0 0 0 0; - text-align: none; - } - - #welcome { - padding: 10px 10px; - } - - #welcome div.left { - float: left; - } - - #welcome div.right { - float: right; - } - - #content.spring form div, - #content.spring form p { - padding: 0px; - margin: 0 0 .5em 0; - } - - #content.spring { - width: 740px; - background: #fff url(../images/bg.gif) 0 0 repeat; - margin-bottom: 0px; - } - - #content .section { - width: 505px; - float: left; - margin-bottom: 5px; - } - - #content.spring input[type="submit"], input[type="button"], button { - font-weight: bold; - color: #fff; - height: 20px; - background: #fff url(../images/btn.bg.gif) 0 0 repeat-x; - border-style: none; - vertical-align: middle; - } - - #content.spring button - { - font-size: 1em; - font-family: arial,helvetica,verdana,sans-serif; - margin-top: 0pt; - margin-right: 0pt; - margin-bottom: 0pt; - margin-left: 0pt; - padding-top: 2px; - padding-right: 2px; - padding-bottom: 2px; - padding-left: 2px; - } - - #content.spring button - { - vertical-align: middle; - } - - .errors { - font-weight: bold; - text-align: left; - color: #600; - } - - .errors ul { - list-style: none; - } - - #content .field { - float:left; - } - - #content .field .label { - float: left; - padding-top: 5px; - padding-right: 5px; - font-weight: bold; - width: 150px; - text-align: right; - } - - #content .field .output { - float: left; - width: 250px; - padding-top: 5px; - text-align: left; - } - - #content .field .input { - float: left; - width: 250px; - text-align: left; - } - - #content .searchGroup { - width: 35%; - text-align: right; - } - - #content .buttonGroup { - clear: both; - text-align: right; - } - - #content .buttonGroup input[type="submit"], .buttonGroup input[type="button"] { - margin-right: 5px; - } - - #content .previous { - float: right; - } - - #content .next { - float: right; - } - - #content .next a { - margin-left: 20px; - } - - #content .summary { - width: 100%; - border: 1px solid #414f23; - border-collapse: collapse; - } - - #content .summary thead th { - border-left: 1px solid #414f23; - background: #fff url(../images/th.bg.gif) 0 100% repeat-x; - border-bottom: 1px solid #414f23; - padding: 6px; - text-align: left; - font-size: small; - } - - #content .summary tbody td { - border-left: 1px solid #9cac7c; - padding: 4px; - border-bottom: 1px solid #9cac7c; - font-size: 8pt; - } - - #local.spring{ - width: 215px; - } - - #footer.spring { - padding: 25px 0; - background-color : white; - border-top: 1px solid #C3BBB6; - } - - #footer.spring img { - float: right; - padding-right: 20px; - } - - div#header a { - color: inherit; - background-color: inherit; - } \ No newline at end of file diff --git a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/bg.gif b/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/bg.gif deleted file mode 100644 index ea9200df..00000000 Binary files a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/bg.gif and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/btn.bg.gif b/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/btn.bg.gif deleted file mode 100644 index b77cc954..00000000 Binary files a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/btn.bg.gif and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/diplomat.jpg b/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/diplomat.jpg deleted file mode 100644 index e1d0c9cd..00000000 Binary files a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/diplomat.jpg and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/header.jpg b/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/header.jpg deleted file mode 100644 index ce170222..00000000 Binary files a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/header.jpg and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/input.bg.gif b/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/input.bg.gif deleted file mode 100644 index 8ebf87e3..00000000 Binary files a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/input.bg.gif and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/powered-by-spring.png b/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/powered-by-spring.png deleted file mode 100644 index e773b170..00000000 Binary files a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/powered-by-spring.png and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/spring-logo.jpg b/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/spring-logo.jpg deleted file mode 100644 index 62be3983..00000000 Binary files a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/spring-logo.jpg and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/th.bg.gif b/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/th.bg.gif deleted file mode 100644 index 4663cf51..00000000 Binary files a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/th.bg.gif and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/tse.gif b/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/tse.gif deleted file mode 100644 index b1fa98cf..00000000 Binary files a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/tse.gif and /dev/null differ diff --git a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/webflow-logo.jpg b/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/webflow-logo.jpg deleted file mode 100644 index ed76bae0..00000000 Binary files a/spring-webflow-samples/booking-portlet-mvc/src/main/webapp/images/webflow-logo.jpg and /dev/null differ