cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1067233 [1/7] - in /cxf/trunk: distribution/src/main/release/samples/ distribution/src/main/release/samples/logbrowser/ distribution/src/main/release/samples/logbrowser/src/ distribution/src/main/release/samples/logbrowser/src/demo/ distri...
Date Fri, 04 Feb 2011 17:34:28 GMT
Author: sergeyb
Date: Fri Feb  4 17:34:24 2011
New Revision: 1067233

URL: http://svn.apache.org/viewvc?rev=1067233&view=rev
Log:
[CXF-2736] Moving the LogBrowser project to the trunk

Added:
    cxf/trunk/distribution/src/main/release/samples/logbrowser/
    cxf/trunk/distribution/src/main/release/samples/logbrowser/README.txt   (with props)
    cxf/trunk/distribution/src/main/release/samples/logbrowser/logging.properties   (with props)
    cxf/trunk/distribution/src/main/release/samples/logbrowser/pom.xml   (with props)
    cxf/trunk/distribution/src/main/release/samples/logbrowser/src/
    cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/
    cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/
    cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/
    cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/App.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/Server.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/
    cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/WEB-INF/
    cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/WEB-INF/web.xml   (with props)
    cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/customer-service.html   (with props)
    cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/jquery-1.4.2.min.js   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/LogBrowser.gwt.xml   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/AbstractAuthenticationFilter.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/AuthenticationRequired.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/BootstrapStorage.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/Settings.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/SettingsStorage.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/SimpleAuthenticationFilter.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/SimpleXMLSettingsStorage.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/Subscription.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/DefaultEventBus.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Dispatcher.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/EventBus.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Injector.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/LogBrowser.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Module.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedSubscriptionsEvent.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedSubscriptionsEventHandler.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToAccessControlerEvent.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToAccessControlerEventHandler.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToBrowserEvent.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToBrowserEventHandler.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToEditCriteriaEvent.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToEditCriteriaEventHandler.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToSettingsEvent.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToSettingsEventHandler.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/RemoteStorageAccessDeniedEvent.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/RemoteStorageAccessDeniedEventHandler.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SelectedSubscriptionEvent.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SelectedSubscriptionEventHandler.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SignOutEvent.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SignOutEventHandler.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/AbstractCallback.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/Entry.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/Feed.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FeedProxy.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FeedProxyImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/Links.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/Base64.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/Credentials.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/IdentifierGenerator.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/IdentifierGeneratorImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/LocalStorage.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/LocalStorageImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/RemoteStorageProxy.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/RemoteStorageProxyImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/Settings.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/SettingsFacade.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/settings/Subscription.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/AbstractDialog.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/BasePresenter.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/BindStrategy.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/DialogBindStrategyImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/ErrorDialog.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/Presenter.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/PresenterWidget.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/View.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/WidgetBindStrategyImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/accesscontroler/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/accesscontroler/AccessControlPresenter.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/accesscontroler/AccessControlView.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/accesscontroler/AccessControlView.ui.xml   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/accesscontroler/AccessControlViewImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/BrowsePresenter.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/BrowseView.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/BrowseView.ui.xml   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/BrowseViewImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/EditCriteriaPresenter.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/EditCriteriaView.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/EditCriteriaView.ui.xml   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/EditCriteriaViewImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/EntryTable.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarPresenter.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.ui.xml   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarViewImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SelectableTable.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SubscriptionTable.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerPresenter.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerView.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerView.ui.xml   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerViewImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderPresenter.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.ui.xml   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderViewImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserConstans.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserCss.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserResources.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/loader.gif   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/logbrowser.css   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsPresenter.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsView.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsView.ui.xml   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsViewImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SubscriptionDialog.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SubscriptionDialogImpl.java   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SubscriptionEntry.ui.xml   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SubscriptionForm.ui.xml   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/resources/
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/resources/LogBrowser.html   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/resources/json2.min.js   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/resources/jstorage.config.js   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/resources/jstorage.min.js   (with props)
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/resources/uuid.min.js   (with props)
Modified:
    cxf/trunk/distribution/src/main/release/samples/pom.xml
    cxf/trunk/rt/management-web/pom.xml

Added: cxf/trunk/distribution/src/main/release/samples/logbrowser/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/logbrowser/README.txt?rev=1067233&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/logbrowser/README.txt (added)
+++ cxf/trunk/distribution/src/main/release/samples/logbrowser/README.txt Fri Feb  4 17:34:24 2011
@@ -0,0 +1,29 @@
+Prerequisite
+------------
+
+If your environment already includes cxf-manifest.jar on the
+CLASSPATH, and the JDK and ant bin directories on the PATH
+it is not necessary to set the environment as described in
+the samples directory README.  If your environment is not
+properly configured, or if you are planning on using wsdl2java,
+javac, and java to build and run the demos, you must set the
+environment.
+
+Building and running the demo using Maven
+---------------------------------------
+
+From the base directory of this sample (i.e., where this README file is
+located), the pom.xml file is used to build and run the demo. 
+
+Using either UNIX or Windows:
+
+1)  Build and run by typing in terminal
+    mvn install
+2) Open browser and go to:
+    http://localhost:9002/log/browser/LogBrowser.html
+3) Add new endpoint with URL:
+    http://localhost:9002/log/logs
+4) To generate custom log entry open new browser's window and go to:
+    http://localhost:9002/customer-service.html
+
+To remove the .class files, run "mvn clean".

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/README.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/distribution/src/main/release/samples/logbrowser/logging.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/logbrowser/logging.properties?rev=1067233&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/logbrowser/logging.properties (added)
+++ cxf/trunk/distribution/src/main/release/samples/logbrowser/logging.properties Fri Feb  4 17:34:24 2011
@@ -0,0 +1,27 @@
+#    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.
+
+handlers = java.util.logging.ConsoleHandler
+
+.level = WARNING
+
+java.util.logging.ConsoleHandler.level = FINE
+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+
+demo.logbrowser.level = FINE
+org.apache.cxf.interceptor.LoggingInInterceptor.level = INFO
+org.apache.cxf.interceptor.LoggingOutInterceptor.level = INFO

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/logging.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/logging.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/logging.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/distribution/src/main/release/samples/logbrowser/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/logbrowser/pom.xml?rev=1067233&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/logbrowser/pom.xml (added)
+++ cxf/trunk/distribution/src/main/release/samples/logbrowser/pom.xml Fri Feb  4 17:34:24 2011
@@ -0,0 +1,103 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.cxf.samples</groupId>
+    <artifactId>logbrowser</artifactId>
+    <name>LogBrowser</name>
+    <version>2.4.0-SNAPSHOT</version>
+
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.4.0-SNAPSHOT</version>
+    </parent>
+
+    <properties>
+        <cxf.version>${project.version}</cxf.version>
+        <cxf.jetty.version>7.2.2.v20101205</cxf.jetty.version>
+        <cxf.abdera.version>1.1</cxf.abdera.version>
+    </properties>
+
+    <build>
+        <sourceDirectory>src</sourceDirectory>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>exec-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>java</goal>
+                        </goals>
+                        <configuration>
+                            <mainClass>demo.service.Server</mainClass>
+                            <systemProperties>
+                                <systemProperty>
+                                    <key>java.util.logging.config.file</key>
+                                    <value>${basedir}/logging.properties</value>
+                                </systemProperty>
+                            </systemProperties>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-management-web</artifactId>
+            <version>${cxf.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-transports-http-jetty</artifactId>
+            <version>${cxf.version}</version>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.apache.abdera</groupId>
+            <artifactId>abdera-core</artifactId>
+            <version>${cxf.abdera.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.abdera</groupId>
+            <artifactId>abdera-parser</artifactId>
+            <version>${cxf.abdera.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.eclipse.jetty</groupId>
+            <artifactId>jetty-webapp</artifactId>
+            <version>${cxf.jetty.version}</version>
+        </dependency>
+    </dependencies>
+</project>

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java?rev=1067233&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java Fri Feb  4 17:34:24 2011
@@ -0,0 +1,63 @@
+/**
+ * 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 demo.logbrowser;
+
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Set;
+import javax.ws.rs.core.Application;
+
+import org.apache.cxf.jaxrs.provider.AtomEntryProvider;
+import org.apache.cxf.jaxrs.provider.AtomFeedProvider;
+import org.apache.cxf.management.web.logging.atom.AtomPullServer;
+
+import org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage;
+import org.apache.cxf.management.web.browser.bootstrapping.SimpleAuthenticationFilter;
+import org.apache.cxf.management.web.browser.bootstrapping.SimpleXMLSettingsStorage;
+
+public class App extends Application {
+
+
+    @Override
+    public Set<Object> getSingletons() {
+        Set<Object> classes = new HashSet<Object>();
+
+        // The log browser
+        classes.add(new BootstrapStorage(new SimpleXMLSettingsStorage()));
+        classes.add(new SimpleAuthenticationFilter(new HashMap<String, String>() {
+            {
+                put("admin", "admin");
+            }
+        }));
+        classes.add(new BootstrapStorage.StaticFileProvider());
+        classes.add(new BootstrapStorage.SettingsProvider());
+
+        // The pull server
+        AtomPullServer aps = new AtomPullServer();
+        aps.setLoggers("demo.service:DEBUG,org.apache.cxf.interceptor:INFO");
+        aps.init();
+        classes.add(aps);
+
+        classes.add(new AtomFeedProvider());
+        classes.add(new AtomEntryProvider());
+
+        return classes;
+    }
+}

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/App.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/App.java?rev=1067233&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/App.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/App.java Fri Feb  4 17:34:24 2011
@@ -0,0 +1,36 @@
+/**
+ * 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 demo.service;
+
+import java.util.HashSet;
+import java.util.Set;
+import javax.ws.rs.core.Application;
+
+public class App extends Application {
+
+    @Override
+    public Set<Object> getSingletons() {
+        Set<Object> classes = new HashSet<Object>();
+
+        classes.add(new CustomerService()); 
+
+        return classes;
+    }
+}

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/App.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/App.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java?rev=1067233&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java Fri Feb  4 17:34:24 2011
@@ -0,0 +1,141 @@
+/**
+ * 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 demo.service;
+
+import java.util.HashMap;
+import java.util.Map;
+import java.util.logging.Logger;
+import static java.util.logging.Level.*;
+import javax.ws.rs.Consumes;
+import javax.ws.rs.DELETE;
+import javax.ws.rs.GET;
+import javax.ws.rs.POST;
+import javax.ws.rs.Path;
+import javax.ws.rs.PathParam;
+import javax.ws.rs.Produces;
+import javax.ws.rs.core.Response;
+import javax.xml.bind.annotation.XmlRootElement;
+
+import org.apache.commons.lang.Validate;
+import org.apache.cxf.common.logging.LogUtils;
+
+@Path("/customers/")
+public class CustomerService {
+    private static final Logger LOGGER = LogUtils.getL7dLogger(CustomerService.class);
+
+    Map<Long, Customer> customers = new HashMap<Long, Customer>();
+
+    @GET
+    @Path("/{id}/")
+    @Produces("application/json")
+    public Customer getCustomer(@PathParam("id") final String id) {
+        Validate.notNull(id);
+        Validate.notEmpty(id);
+        
+        LOGGER.log(FINE, "Invoking getCustomer, id={0}", id);
+
+        Customer customer = customers.get(Long.parseLong(id));
+
+        if (customer == null) {
+            LOGGER.log(SEVERE, "Specified customer does not exist, id={0}", id);    
+        }
+
+        return customer;
+    }
+
+    @POST
+    @Consumes("application/json")
+    public Response updateCustomer(final Customer customer) {
+        Validate.notNull(customer);
+
+        LOGGER.log(FINE, "Invoking updateCustomer, customer={0}", customer);
+
+        if (isCustomerExists(customer)) {
+            LOGGER.log(FINE, "Specified customer exists, update data, customer={0}", customer);
+        } else {
+            LOGGER.log(WARNING, "Specified customer does not exist, add data, customer={0}", customer);
+        }
+
+        customers.put(customer.getId(), customer);
+
+        LOGGER.log(INFO, "Customer was updated successful, customer={0}", customer);
+        return Response.ok().build();
+    }
+
+    @DELETE
+    @Path("/{id}/")
+    public Response deleteCustomer(@PathParam("id") String id) {
+        Validate.notNull(id);
+        Validate.notEmpty(id);
+        
+        LOGGER.log(FINE, "Invoking deleteCustomer, id={0}", id);
+
+        long identifier = Long.parseLong(id);
+
+        Response response;
+
+        if (isCustomerExists(identifier)) {
+            LOGGER.log(FINE, "Specified customer exists, remove data, id={0}", id);
+            customers.remove(identifier);
+            LOGGER.log(INFO, "Customer was removed successful, id={0}", id);
+            response = Response.ok().build();
+        } else {
+            LOGGER.log(SEVERE, "Specified customer does not exist, remove fail, id={0}", id);
+            response = Response.notModified().build();
+        }
+
+        return response;
+    }
+
+    private boolean isCustomerExists(final Customer customer) {
+        return customers.get(customer.getId()) != null;
+    }
+
+    private boolean isCustomerExists(final long id) {
+        return customers.get(id) != null;
+    }
+
+    @XmlRootElement(name = "Customer")
+    public static class Customer {
+        private long id;
+        private String name;
+
+        public long getId() {
+            return id;
+        }
+
+        public void setId(long id) {
+            this.id = id;
+        }
+
+        public String getName() {
+            return name;
+        }
+
+        public void setName(String name) {
+            this.name = name;
+        }
+
+        @Override
+        public String toString() {
+            return "Customer{id=" + id + ", name='" + name + "'}";
+        }
+    }
+}

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/Server.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/Server.java?rev=1067233&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/Server.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/Server.java Fri Feb  4 17:34:24 2011
@@ -0,0 +1,65 @@
+/**
+ * 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 demo.service;
+
+import org.eclipse.jetty.server.Connector;
+import org.eclipse.jetty.server.Handler;
+import org.eclipse.jetty.server.handler.DefaultHandler;
+import org.eclipse.jetty.server.handler.HandlerCollection;
+import org.eclipse.jetty.server.nio.SelectChannelConnector;
+import org.eclipse.jetty.webapp.WebAppContext;
+
+public class Server {
+
+    protected Server() throws Exception {
+        System.out.println("Starting Server");
+
+        /**
+         * Important: This code simply starts up a servlet container and adds
+         * the web application in src/webapp to it. Normally you would be using
+         * Jetty or Tomcat and have the webapp packaged as a WAR. This is simply
+         * as a convenience so you do not need to configure your servlet
+         * container to see CXF in action!
+         */
+        org.eclipse.jetty.server.Server server = new org.eclipse.jetty.server.Server();
+
+        SelectChannelConnector connector = new SelectChannelConnector();
+        connector.setPort(9002);
+        server.setConnectors(new Connector[] {connector});
+
+        WebAppContext webappcontext = new WebAppContext();
+        webappcontext.setContextPath("/");
+
+        webappcontext.setWar("webapp");
+
+        HandlerCollection handlers = new HandlerCollection();
+        handlers.setHandlers(new Handler[] {webappcontext, new DefaultHandler()});
+
+        server.setHandler(handlers);
+        server.start();
+        System.out.println("Server ready...");
+        server.join();
+    }
+
+    public static void main(String args[]) throws Exception {
+        new Server();
+    }
+
+}

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/Server.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/Server.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/WEB-INF/web.xml?rev=1067233&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/WEB-INF/web.xml (added)
+++ cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/WEB-INF/web.xml Fri Feb  4 17:34:24 2011
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app
+    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+    "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements. See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership. The ASF licenses this file
+	to you under the Apache License, Version 2.0 (the
+	"License"); you may not use this file except in compliance
+	with the License. You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing,
+	software distributed under the License is distributed on an
+	"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+	KIND, either express or implied. See the License for the
+	specific language governing permissions and limitations
+	under the License.
+-->
+<!-- START SNIPPET: webxml -->
+<web-app>
+
+    <servlet>
+        <servlet-name>CustomerService</servlet-name>
+        <display-name>CustomerService</display-name>
+        <servlet-class>
+            org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
+        </servlet-class>
+        <init-param>
+            <param-name>javax.ws.rs.Application</param-name>
+	    <param-value>
+                 demo.service.App
+            </param-value>
+        </init-param>
+        <init-param>
+            <param-name>jaxrs.inInterceptors</param-name>
+            <param-value>
+                org.apache.cxf.interceptor.LoggingInInterceptor
+            </param-value>
+        </init-param>
+
+        <init-param>
+            <param-name>jaxrs.outInterceptors</param-name>
+            <param-value>
+                org.apache.cxf.interceptor.LoggingOutInterceptor
+            </param-value>
+        </init-param>
+
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+	<servlet>
+		<servlet-name>BrowserServlet</servlet-name>
+		<display-name>BrowserServlet</display-name>
+		<servlet-class>
+			org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
+		</servlet-class>
+		<init-param>
+			<param-name>javax.ws.rs.Application</param-name>
+			<param-value>
+                            demo.logbrowser.App
+                        </param-value>
+		</init-param>
+
+		<load-on-startup>2</load-on-startup>
+	</servlet>
+
+
+	<servlet-mapping>
+		<servlet-name>BrowserServlet</servlet-name>
+		<url-pattern>/log/*</url-pattern>
+	</servlet-mapping>
+
+	<servlet-mapping>
+		<servlet-name>CustomerService</servlet-name>
+		<url-pattern>/service/*</url-pattern>
+	</servlet-mapping>
+</web-app>
+<!-- END SNIPPET: webxml -->

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/customer-service.html
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/customer-service.html?rev=1067233&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/customer-service.html (added)
+++ cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/customer-service.html Fri Feb  4 17:34:24 2011
@@ -0,0 +1,175 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+    <title>Customer Service</title>
+
+    <style type="text/css">
+        label {
+            width: 5em;
+            float: left;
+            text-align: right;
+            margin-right: 0.5em;
+            display: block;
+        }
+        .submit a {
+            margin-left: 5.5em;
+        }
+        .submit input {
+            margin-left: 8em;
+        }
+    </style>
+
+    <script type="text/javascript" src="./jquery-1.4.2.min.js"></script>
+    
+    <script type="text/javascript">
+        function buildCustomerAsString(id, name) {
+            return "{ \"Customer\" : { \"id\" : \"" + id + "\", \"name\" : \"" + name +"\" } }";
+        }
+
+        $(document).ready(function() {
+            $("#addOrUpdateCustomerButton").click(function() {
+                var isError = false;
+
+                var id = $("#addOrUpdateCustomerForm INPUT[name='customer.id']").val();
+                if (id == null || id == "") {
+                    alert("Field 'ID' can't be empty");
+                    isError = true;
+                }
+
+                var name = $("#addOrUpdateCustomerForm INPUT[name='customer.name']").val();
+                if (name == null || name == "") {
+                    alert("Field 'Name' can't be empty");
+                    isError = true;
+                }
+
+                if (isError) {
+                    return;
+                }
+
+                $.ajax({
+                    type: "POST",
+                    url : "/service/customers/",
+                    contentType : "application/json",
+                    data : buildCustomerAsString(id, name),
+                    complete : function(xhr) {
+                        if (xhr.status == 200) {
+                            alert("Customer added/updated successfully");
+                        } else {
+                            alert("Error occurred");
+                        }
+                    }
+                });
+            });
+
+            $("#getCustomerButton").click(function() {
+                var id = $("#getCustomerForm INPUT[name='customer.id']").val();
+                if (id == null || id == "") {
+                    alert("Field 'ID' can't be empty");
+                    return;
+                }
+
+                $.ajax({
+                    type: "GET",
+                    url : "/service/customers/" + id,
+                    dataType : "text",
+                    complete : function(xhr) {
+                        if (xhr.status == 200) {
+                            alert(xhr.responseText);
+                        } else if (xhr.status == 204) {
+                            alert("Customer, with specified ID, doesn't exist");
+                        } else {
+                            alert("Error occurred");
+                        }        
+                    }
+                });
+            });
+
+            $("#deleteCustomerButton").click(function() {
+                var id = $("#deleteCustomerForm INPUT[name='customer.id']").val();
+                if (id == null || id == "") {
+                    alert("Field 'ID' can't be empty");
+                    return;
+                }
+
+                $.ajax({
+                    type: "DELETE",
+                    url : "/service/customers/" + id,
+                    complete : function(xhr) {
+                        if (xhr.status == 200) {
+                            alert("Customer deleted successfully");
+                        } else if (xhr.status == 304) {
+                            alert("Customer, with specified ID, doesn't exist");
+                        } else {
+                            alert("Error occurred");
+                        }
+                    }
+                });
+            });
+
+            $("INPUT.digits").keyup(function () { 
+                this.value = this.value.replace(/[^0-9\.]/g,'');
+            });
+        });
+    </script>
+</head>
+<body>
+
+<div>
+    <h1>Customer Service</h1>
+
+    <h2>Add or update customer</h2>
+    <form id="addOrUpdateCustomerForm" action="#">
+        <p>
+            <label>ID:</label>
+            <input name="customer.id" class="digits" type="text" size="3"/>
+        </p>
+
+        <p>
+            <label>Name:</label>
+            <input name="customer.name" type="text" size="30"/>
+        </p>
+
+        <p class="submit"><a id="addOrUpdateCustomerButton" href="#">Add or Update</a></p>
+    </form>
+
+    <h2>Get customer</h2>
+    <form id="getCustomerForm" action="#">
+        <p>
+            <label>ID:</label>
+            <input name="customer.id" class="digits" type="text" size="3"/>
+        </p>
+
+        <p class="submit"><a id="getCustomerButton" href="#">Get</a></p>
+    </form>
+
+    <h2>Delete customer</h2>
+    <form id="deleteCustomerForm" action="#">
+        <p>
+            <label>ID:</label>
+            <input name="customer.id" class="digits" type="text" size="3"/>
+        </p>
+
+        <p class="submit"><a id="deleteCustomerButton" href="#">Delete</a></p>
+    </form>
+</div>
+</body>
+</html>

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/customer-service.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/customer-service.html
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/distribution/src/main/release/samples/logbrowser/webapp/customer-service.html
------------------------------------------------------------------------------
    svn:mime-type = text/html



Mime
View raw message