You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2013/04/25 22:46:31 UTC

svn commit: r1475952 [2/3] - in /tomee/tomee/trunk/examples: ./ myfaces-codi-demo/ myfaces-codi-demo/src/ myfaces-codi-demo/src/main/ myfaces-codi-demo/src/main/java/ myfaces-codi-demo/src/main/java/org/ myfaces-codi-demo/src/main/java/org/superbiz/ my...

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/RegistrationPage.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/RegistrationPage.java?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/RegistrationPage.java (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/RegistrationPage.java Thu Apr 25 20:46:28 2013
@@ -0,0 +1,105 @@
+/*
+ * 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.superbiz.myfaces.view;
+
+import org.apache.myfaces.extensions.cdi.core.api.scope.conversation.Conversation;
+import org.apache.myfaces.extensions.cdi.core.api.scope.conversation.ViewAccessScoped;
+import org.apache.myfaces.extensions.cdi.jsf.api.Jsf;
+import org.apache.myfaces.extensions.cdi.message.api.MessageContext;
+import org.apache.myfaces.extensions.validator.beanval.annotation.BeanValidation;
+import org.apache.myfaces.extensions.validator.crossval.annotation.Equals;
+import org.superbiz.myfaces.domain.User;
+import org.superbiz.myfaces.domain.validation.Full;
+import org.superbiz.myfaces.repository.UserRepository;
+import org.superbiz.myfaces.view.config.Pages;
+
+import javax.inject.Inject;
+import javax.inject.Named;
+import java.io.Serializable;
+
+import static org.apache.myfaces.extensions.cdi.message.api.payload.MessageSeverity.ERROR;
+
+@Named
+@ViewAccessScoped
+public class RegistrationPage implements Serializable
+{
+    private static final long serialVersionUID = 3844502441069448490L;
+
+    @Inject
+    private UserRepository userRepository;
+
+    @Inject
+    private Conversation conversation;
+
+    @Inject
+    private @Jsf MessageContext messageContext;
+
+    private User user = new User();
+
+    @Inject
+    private UserHolder userHolder;
+
+    @Equals("user.password")
+    private String repeatedPassword;
+
+    @BeanValidation(useGroups = Full.class) //triggers UniqueUserNameValidator
+    public Class<? extends Pages> register()
+    {
+        this.userRepository.save(this.user);
+        this.messageContext.message()
+                .text("{msgUserRegistered}")
+                .namedArgument("userName", this.user.getUserName())
+                .add();
+
+        //in order to re-use the page-bean for the login-page
+        this.conversation.close();
+
+        return Pages.Login.class;
+    }
+
+    public Class<? extends Pages> login()
+    {
+        User user = this.userRepository.loadUser(this.user.getUserName());
+        if (user != null && user.getPassword().equals(this.user.getPassword()))
+        {
+            this.messageContext.message().text("{msgLoginSuccessful}").add();
+            this.userHolder.setCurrentUser(user);
+            return Pages.About.class;
+        }
+
+        this.messageContext.message().text("{msgLoginFailed}").payload(ERROR).add();
+
+        return null;
+    }
+
+    public User getUser()
+    {
+        return user;
+    }
+
+    public String getRepeatedPassword()
+    {
+        return repeatedPassword;
+    }
+
+    public void setRepeatedPassword(String repeatedPassword)
+    {
+        this.repeatedPassword = repeatedPassword;
+    }
+}
\ No newline at end of file

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/RegistrationPage.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/UserHolder.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/UserHolder.java?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/UserHolder.java (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/UserHolder.java Thu Apr 25 20:46:28 2013
@@ -0,0 +1,58 @@
+/*
+ * 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.superbiz.myfaces.view;
+
+import org.apache.myfaces.extensions.cdi.core.api.scope.conversation.WindowScoped;
+import org.superbiz.myfaces.domain.User;
+
+import javax.enterprise.context.Dependent;
+import javax.enterprise.inject.New;
+import javax.enterprise.inject.Produces;
+import javax.inject.Inject;
+import javax.inject.Named;
+import java.io.Serializable;
+
+//due to the enhanced entities it isn't possible to use them directly (due to final methods)
+@WindowScoped
+public class UserHolder implements Serializable
+{
+    private static final long serialVersionUID = -7687528373042288584L;
+
+    @Inject
+    @New
+    private User user;
+
+    @Produces
+    @Dependent
+    @Named("currentUser")
+    protected User createCurrentUser()
+    {
+        return this.user;
+    }
+
+    public void setCurrentUser(User user)
+    {
+        this.user = user;
+    }
+
+    public boolean isLoggedIn()
+    {
+        return this.user.getId() != null;
+    }
+}

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/UserHolder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/config/Pages.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/config/Pages.java?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/config/Pages.java (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/config/Pages.java Thu Apr 25 20:46:28 2013
@@ -0,0 +1,51 @@
+/*
+ * 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.superbiz.myfaces.view.config;
+
+import org.apache.myfaces.extensions.cdi.core.api.config.view.DefaultErrorView;
+import org.apache.myfaces.extensions.cdi.core.api.config.view.ViewConfig;
+import org.apache.myfaces.extensions.cdi.core.api.security.Secured;
+import org.apache.myfaces.extensions.cdi.jsf.api.config.view.Page;
+import org.apache.myfaces.extensions.cdi.jsf.api.config.view.PageBean;
+import org.superbiz.myfaces.view.FeedbackPage;
+import org.superbiz.myfaces.view.InfoPage;
+import org.superbiz.myfaces.view.security.LoginAccessDecisionVoter;
+
+import static org.apache.myfaces.extensions.cdi.jsf.api.config.view.Page.NavigationMode.REDIRECT;
+
+@Page(navigation = REDIRECT)
+public interface Pages extends ViewConfig
+{
+    @Page class Index implements Pages {}
+
+    @InfoPage @Page class About implements Pages {}
+
+    @Page class Registration implements Pages {}
+
+    @Page class Login extends DefaultErrorView implements Pages /*just to benefit from the config*/ {}
+
+    @Secured(LoginAccessDecisionVoter.class)
+    //@Secured(value = LoginAccessDecisionVoter.class, errorView = Login.class)
+    interface Secure extends Pages
+    {
+        @PageBean(FeedbackPage.class)
+        @Page
+        class FeedbackList implements Secure {}
+    }
+}

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/config/Pages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/security/LoginAccessDecisionVoter.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/security/LoginAccessDecisionVoter.java?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/security/LoginAccessDecisionVoter.java (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/security/LoginAccessDecisionVoter.java Thu Apr 25 20:46:28 2013
@@ -0,0 +1,52 @@
+/*
+ * 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.superbiz.myfaces.view.security;
+
+import org.apache.myfaces.extensions.cdi.core.api.security.AbstractAccessDecisionVoter;
+import org.apache.myfaces.extensions.cdi.core.api.security.SecurityViolation;
+import org.apache.myfaces.extensions.cdi.jsf.api.Jsf;
+import org.apache.myfaces.extensions.cdi.message.api.MessageContext;
+import org.superbiz.myfaces.view.UserHolder;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.inject.Inject;
+import javax.interceptor.InvocationContext;
+import java.util.Set;
+
+@ApplicationScoped
+public class LoginAccessDecisionVoter extends AbstractAccessDecisionVoter
+{
+    private static final long serialVersionUID = -6332617547592896599L;
+
+    @Inject
+    private UserHolder userHolder;
+
+    @Inject
+    @Jsf
+    private MessageContext messageContext;
+
+    @Override
+    protected void checkPermission(InvocationContext invocationContext, Set<SecurityViolation> violations)
+    {
+        if (!this.userHolder.isLoggedIn())
+        {
+            violations.add(newSecurityViolation(this.messageContext.message().text("{msgAccessDenied}").toText()));
+        }
+    }
+}

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/security/LoginAccessDecisionVoter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/util/InfoBean.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/util/InfoBean.java?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/util/InfoBean.java (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/util/InfoBean.java Thu Apr 25 20:46:28 2013
@@ -0,0 +1,139 @@
+/*
+ * 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.superbiz.myfaces.view.util;
+
+import org.apache.myfaces.extensions.cdi.core.api.CodiInformation;
+import org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStage;
+import org.apache.myfaces.extensions.cdi.core.api.provider.BeanManagerProvider;
+import org.apache.myfaces.extensions.cdi.core.api.util.ClassUtils;
+import org.apache.myfaces.extensions.cdi.jsf.api.Jsf;
+import org.apache.myfaces.extensions.cdi.jsf.api.config.view.ViewConfigDescriptor;
+import org.apache.myfaces.extensions.cdi.jsf.api.config.view.ViewConfigResolver;
+import org.apache.myfaces.extensions.cdi.message.api.MessageContext;
+import org.apache.myfaces.extensions.validator.ExtValInformation;
+import org.superbiz.myfaces.view.InfoPage;
+
+import javax.annotation.PostConstruct;
+import javax.enterprise.context.SessionScoped;
+import javax.faces.context.FacesContext;
+import javax.inject.Inject;
+import javax.inject.Named;
+import javax.persistence.Persistence;
+import javax.validation.Validation;
+import java.io.Serializable;
+
+@Named
+@SessionScoped
+public class InfoBean implements Serializable
+{
+    private static final long serialVersionUID = -1748909261695527800L;
+
+    @Inject
+    private @Jsf MessageContext messageContext;
+
+    @Inject
+    private ProjectStage projectStage;
+
+    @Inject
+    private ViewConfigResolver viewConfigResolver;
+
+    @Inject
+    private FacesContext facesContext;
+
+    private String applicationMessageVersionInfo;
+
+    private String beanValidationVersion;
+
+    private String jpaVersion;
+
+    @PostConstruct
+    protected void showWelcomeMessage()
+    {
+        String versionString = ClassUtils.getJarVersion(InfoBean.class);
+
+        if (versionString != null)
+        {
+            this.applicationMessageVersionInfo = " (v" + versionString + ")";
+        }
+
+        this.beanValidationVersion =
+                ClassUtils.getJarVersion(Validation.buildDefaultValidatorFactory().getValidator().getClass());
+
+        this.jpaVersion =
+                ClassUtils.getJarVersion(Persistence.createEntityManagerFactory("demoApplicationPU").getClass());
+
+        if (!ProjectStage.IntegrationTest.equals(this.projectStage))
+        {
+            this.messageContext.message().text("{msgWelcome}").add();
+        }
+    }
+
+    public boolean isInfoPage()
+    {
+        ViewConfigDescriptor viewConfigDescriptor =
+                this.viewConfigResolver.getViewConfigDescriptor(this.facesContext.getViewRoot().getViewId());
+
+        if (viewConfigDescriptor == null)
+        {
+            return false;
+        }
+
+        return !viewConfigDescriptor.getMetaData(InfoPage.class).isEmpty();
+    }
+
+    public String getProjectStage()
+    {
+        return this.projectStage.toString();
+    }
+
+    public String getApplicationVersion()
+    {
+        return this.applicationMessageVersionInfo;
+    }
+
+    public String getCodiVersion()
+    {
+        return CodiInformation.VERSION;
+    }
+
+    public String getCdiVersion()
+    {
+        return ClassUtils.getJarVersion(BeanManagerProvider.getInstance().getBeanManager().getClass());
+    }
+
+    public String getExtValVersion()
+    {
+        return ExtValInformation.VERSION;
+    }
+
+    public String getJsfVersion()
+    {
+        return ClassUtils.getJarVersion(FacesContext.class);
+    }
+
+    public String getBeanValidationVersion()
+    {
+        return this.beanValidationVersion;
+    }
+
+    public String getJpaVersion()
+    {
+        return this.jpaVersion;
+    }
+}

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/util/InfoBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/LICENSE.txt
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/LICENSE.txt?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/LICENSE.txt (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/LICENSE.txt Thu Apr 25 20:46:28 2013
@@ -0,0 +1,174 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/LICENSE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/META-INF/persistence.xml?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/META-INF/persistence.xml (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/META-INF/persistence.xml Thu Apr 25 20:46:28 2013
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
+             version="2.0">
+
+    <persistence-unit name="demoApplicationPU" transaction-type="RESOURCE_LOCAL">
+
+        <!-- config of (non-)jta-data-source isn't needed if there is just one -->
+
+        <!-- @MappedSuperclass classes - see OPENJPA-1926 -->
+        <class>org.superbiz.myfaces.domain.AbstractDomainObject</class>
+
+        <!-- entities -->
+        <class>org.superbiz.myfaces.domain.User</class>
+        <class>org.superbiz.myfaces.domain.Feedback</class>
+        <class>org.superbiz.myfaces.domain.Comment</class>
+
+        <properties>
+            <property name="openjpa.DataCache" value="true"/>
+            <property name="openjpa.DynamicEnhancementAgent" value="true"/>
+            <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
+            <property name="openjpa.jdbc.QuerySQLCache" value="true(EnableStatistics=true)"/>
+        </properties>
+    </persistence-unit>
+</persistence>
\ No newline at end of file

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/META-INF/persistence.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/META-INF/services/org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStageHolder
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/META-INF/services/org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStageHolder?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/META-INF/services/org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStageHolder (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/META-INF/services/org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStageHolder Thu Apr 25 20:46:28 2013
@@ -0,0 +1,18 @@
+# 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.
+
+org.superbiz.myfaces.CustomProjectStage
\ No newline at end of file

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/NOTICE.txt
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/NOTICE.txt?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/NOTICE.txt (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/NOTICE.txt Thu Apr 25 20:46:28 2013
@@ -0,0 +1,5 @@
+Apache TomEE/MyFaces-Stack Demo
+
+------------------------------------------------------------------------
+See the file LICENSE.txt
+------------------------------------------------------------------------
\ No newline at end of file

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/NOTICE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/org/superbiz/myfaces/i18n/messages.properties
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/org/superbiz/myfaces/i18n/messages.properties?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/org/superbiz/myfaces/i18n/messages.properties (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/org/superbiz/myfaces/i18n/messages.properties Thu Apr 25 20:46:28 2013
@@ -0,0 +1,60 @@
+#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.
+
+
+
+#overrule the default format {1}: {0} to ignore the labels
+#javax.faces.validator.BeanValidator.MESSAGE={0}
+#javax.faces.validator.BeanValidator.MESSAGE_detail={0}
+
+btnRegisterAndRestart=save and restart
+btnLogin=login
+lnkLogin=Login
+btnRegister=register
+
+lblLoginName=Login-name
+lblFirstName=First-name
+lblLastName=Last-name
+lblPassword=Password
+lblRepeatedPassword=Repeated password
+lblFinish=finish
+
+lblLeftMenuTitle=Menu
+lblHome=Home
+lblFeedback=Feedback
+
+lblWiki=Wiki
+lblExternalExamples=External examples
+
+menuDocumentation=Documentation
+menuMisc=Misc
+menuAbout=About
+
+welcome=Welcome
+msgWelcome=Welcome to the Apache TomEE/MyFaces-Stack Demo
+
+msgUserRegistered=User {userName} registered successfully!
+msgUserNotRegistered=Failed to register user {userName}!
+
+msgLoginSuccessful=Login successful!
+msgLoginFailed=Login failed!
+msgAccessDenied=Access denied!
+tblFeedbackTopic=Topic
+tblFeedbackDescription=Description
+lblTopic=Topic
+lblDescription=Feedback Text
+btnSave=save
\ No newline at end of file

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/org/superbiz/myfaces/i18n/messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/beans.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/beans.xml?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/beans.xml (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/beans.xml Thu Apr 25 20:46:28 2013
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<beans xmlns="http://java.sun.com/xml/ns/javaee"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
+</beans>
\ No newline at end of file

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/beans.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/faces-config.xml?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/faces-config.xml (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/faces-config.xml Thu Apr 25 20:46:28 2013
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
+              version="2.0">
+
+    <application>
+        <locale-config>
+            <default-locale>en</default-locale>
+            <supported-locale>en</supported-locale>
+        </locale-config>
+        <message-bundle>org.superbiz.myfaces.i18n.messages</message-bundle>
+        <resource-bundle>
+            <base-name>org.superbiz.myfaces.i18n.messages</base-name>
+            <var>i18n</var>
+        </resource-bundle>
+    </application>
+
+</faces-config>

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/faces-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/web.xml?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/web.xml (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/web.xml Thu Apr 25 20:46:28 2013
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<web-app xmlns="http://java.sun.com/xml/ns/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+         version="3.0">
+
+    <servlet>
+        <servlet-name>Faces Servlet</servlet-name>
+        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>Faces Servlet</servlet-name>
+        <url-pattern>*.xhtml</url-pattern>
+    </servlet-mapping>
+
+    <welcome-file-list>
+        <welcome-file>pages/index.xhtml</welcome-file>
+    </welcome-file-list>
+</web-app>
\ No newline at end of file

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/main-template.xhtml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/main-template.xhtml?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/main-template.xhtml (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/main-template.xhtml Thu Apr 25 20:46:28 2013
@@ -0,0 +1,143 @@
+<!DOCTYPE html
+        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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.
+-->
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:p="http://primefaces.prime.com.tr/ui"
+        >
+
+<f:view contentType="text/html">
+
+    <h:head>
+        <title>Apache TomEE/MyFaces-Stack Demo</title>
+        <h:outputStylesheet library="styles" name="base.css"/>
+        <h:outputStylesheet library="styles" name="theme.css"/>
+
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+    </h:head>
+    <h:body>
+        <div id="header">
+            <h:form id="topMenuForm" prependId="false">
+                <div id="top_menu">
+                    <div id="top_menu_container">
+                        <h:panelGroup rendered="#{infoBean.infoPage}">
+                            <div class="date">Apache TomEE/MyFaces-Stack <b>Demo-App</b> #{infoBean.applicationVersion}</div>
+                        </h:panelGroup>
+                        <div id="projectStage" class="date">[#{infoBean.projectStage}]</div>
+                        <ul>
+                            <li>
+                                <h:commandLink id="lnkLogin" value="#{i18n.lnkLogin}" action="#{menuBean.login}"/>
+                            </li>
+                            <li>
+                                <a href="http://www.apache.org" target="_blank">Apache</a>
+                            </li>
+                            <li>
+                                <a href="http://myfaces.apache.org" target="_blank">MyFaces</a>
+                            </li>
+                        </ul>
+                        <div class="clear"></div>
+                    </div>
+                </div>
+            </h:form>
+            <div id="header_bottom">
+                <div id="logo_banner_container">
+                    <div id="logo">
+                        <a href="http://myfaces.apache.org/">
+                            <h:graphicImage library="images" name="myfaces_logo.jpg" alt="MyFaces logo"/>
+                        </a>
+                    </div>
+                    <div id="banner">
+                        <a href="http://myfaces.apache.org/extensions/cdi/index.html">
+                            <h:graphicImage library="images" name="codi_logo.png" alt="CODI logo"/>
+                        </a>
+                    </div>
+                    <div class="clear"></div>
+                </div>
+            </div>
+        </div>
+
+        <div id="main_container">
+            <div id="left_column">
+                <h:form id="menuForm" prependId="false">
+                    <div class="left_menu_top">
+                        <div class="left_menu_bottom">
+                            <h5>#{i18n.lblLeftMenuTitle}</h5>
+
+                            <div class="content">
+                                <ul class="left_menu">
+                                    <ui:include src="menu.xhtml"/>
+                                </ul>
+                            </div>
+                        </div>
+                    </div>
+                </h:form>
+
+                <div class="clear"></div>
+
+                <h:form id="leftMenuForm" prependId="false">
+
+                    <div class="left_menu_top">
+                        <div class="left_menu_bottom">
+                            <h5>#{i18n.menuMisc}</h5>
+
+                            <div class="content">
+                                <ul class="left_menu">
+                                    <li class="none">
+                                        <h:commandLink id="menuAbout" value="#{i18n.menuAbout}" action="#{menuBean.about}"/>
+                                    </li>
+                                </ul>
+                            </div>
+                        </div>
+                    </div>
+                </h:form>
+                <div class="clear"></div>
+            </div>
+            <div id="body_column">
+                <div>
+                    <div class="section">
+
+                        <ui:insert name="header"><h2>Apache TomEE/MyFaces-Stack Demo-App</h2></ui:insert>
+
+                        <div class="main_content">
+                            <h:form id="mainForm" prependId="false">
+                                <ui:insert name="content"><p>No content available.</p></ui:insert>
+                            </h:form>
+                        </div>
+
+                    </div>
+                </div>
+            </div>
+            <div class="clear"></div>
+        </div>
+        <p:growl sticky="false"/>
+        <div id="footer">
+            <div class="copyright">
+                <p>&#169; The Apache Software Foundation
+                </p>
+            </div>
+        </div>
+    </h:body>
+</f:view>
+</html>

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/main-template.xhtml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/menu.xhtml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/menu.xhtml?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/menu.xhtml (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/menu.xhtml Thu Apr 25 20:46:28 2013
@@ -0,0 +1,33 @@
+<!--
+ * 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.
+-->
+<div id="menu"
+     xmlns="http://www.w3.org/1999/xhtml"
+     xmlns:ui="http://java.sun.com/jsf/facelets"
+     xmlns:h="http://java.sun.com/jsf/html"
+     xmlns:f="http://java.sun.com/jsf/core">
+
+    <li class="none">
+        <h:commandLink id="menuHome" value="#{i18n.lblHome}" action="#{menuBean.home}"/>
+    </li>
+
+    <li class="none">
+        <h:commandLink id="menuFeedback" value="#{i18n.lblFeedback}" action="#{menuBean.feedback}"/>
+    </li>
+
+</div>
\ No newline at end of file

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/menu.xhtml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/about.xhtml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/about.xhtml?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/about.xhtml (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/about.xhtml Thu Apr 25 20:46:28 2013
@@ -0,0 +1,57 @@
+<!DOCTYPE html
+        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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.
+-->
+
+<html>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   template="/layout/main-template.xhtml">
+
+    <ui:define name="content">
+        <h:panelGrid columns="2">
+            <h:outputLabel value="Current Window-ID:" for="wid"/>
+            <h:outputText id="wid" value="#{currentWindowContext.id}"/>
+
+            <h:outputLabel value="Apache MyFaces-Core:" for="jsfVersion"/>
+            <h:outputText id="jsfVersion" value="#{infoBean.jsfVersion}"/>
+
+            <h:outputLabel value="Apache OpenWebBeans:" for="cdiVersion"/>
+            <h:outputText id="cdiVersion" value="#{infoBean.cdiVersion}"/>
+
+            <h:outputLabel value="Apache MyFaces CODI:" for="codiVersion"/>
+            <h:outputText id="codiVersion" value="#{infoBean.codiVersion}"/>
+
+            <h:outputLabel value="Apache MyFaces ExtVal:" for="extValVersion"/>
+            <h:outputText id="extValVersion" value="#{infoBean.extValVersion}"/>
+
+            <h:outputLabel value="Apache BVal:" for="bValVersion"/>
+            <h:outputText id="bValVersion" value="#{infoBean.beanValidationVersion}"/>
+
+            <h:outputLabel value="Apache OpenJPA:" for="jpaVersion"/>
+            <h:outputText id="jpaVersion" value="#{infoBean.jpaVersion}"/>
+        </h:panelGrid>
+    </ui:define>
+
+</ui:composition>
+</html>

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/about.xhtml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/index.xhtml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/index.xhtml?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/index.xhtml (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/index.xhtml Thu Apr 25 20:46:28 2013
@@ -0,0 +1,69 @@
+<!DOCTYPE html
+        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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.
+-->
+
+<html>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   template="/layout/main-template.xhtml">
+
+    <ui:define name="content">
+        <h2>Illustrated Features</h2>
+        <h3>Apache MyFaces CODI</h3>
+        <ul>
+            <li>Type-safe view-config</li>
+            <li>Type-safe (custom) view-meta-data</li>
+            <li>Type-safe navigation</li>
+            <li>Type-safe (specialized) config</li>
+            <li>Type-safe custom project-stage</li>
+            <li>@WindowScoped</li>
+            <li>Controlling CODI scopes with WindowContext</li>
+            <li>@ViewAccessScoped</li>
+            <li>Manual conversation handling</li>
+            <li>Secured pages (AccessDecisionVoter)</li>
+            <li>@Transactional</li>
+            <li>I18n (fluent API)</li>
+            <li>Dependency-Injection for JSR303 (BV) constraint-validators</li>
+            <li>Dependency-Injection for JSF phase-listeners</li>
+        </ul>
+
+        <h3>Apache MyFaces ExtVal</h3>
+        <ul>
+            <li>Cross-Field validation (@Equals)</li>
+            <li>Type-safe group-validation (@BeanValidation) for JSF action-methods</li>
+        </ul>
+
+        <h2>Hints</h2>
+        <ul>
+            <li>
+                This application doesn't show the/a best practise. It's only a small application which shows a bunch of features.
+            </li>
+            <li>
+                To sync the project-stage of MyFaces CODI and JSF use e.g. faces.PROJECT_STAGE=Development in [tomee dir]/conf/system.properties
+            </li>
+        </ul>
+    </ui:define>
+
+</ui:composition>
+</html>

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/index.xhtml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/login.xhtml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/login.xhtml?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/login.xhtml (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/login.xhtml Thu Apr 25 20:46:28 2013
@@ -0,0 +1,49 @@
+<!DOCTYPE html
+        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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.
+-->
+
+<html>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   template="/layout/main-template.xhtml">
+
+    <ui:define name="content">
+        <h:panelGrid columns="3">
+            <h:outputLabel for="loginName" value="#{i18n.lblLoginName}: "/>
+            <h:inputText id="loginName" label="#{i18n.lblLoginName}" value="#{registrationPage.user.userName}" required="true"/>
+            <h:message for="loginName" showSummary="true" showDetail="false"/>
+
+            <h:outputLabel for="password" value="#{i18n.lblPassword}: "/>
+            <h:inputSecret id="password" label="#{i18n.lblPassword}" value="#{registrationPage.user.password}"/>
+            <h:message for="password" showSummary="true" showDetail="false"/>
+        </h:panelGrid>
+        <p/>
+        <h:panelGrid columns="2">
+            <h:commandButton id="login" value="#{i18n.btnLogin}" action="#{registrationPage.login}"/>
+            <h:commandLink id="register" value="#{i18n.btnRegister}" action="#{menuBean.register}" immediate="true"/>
+        </h:panelGrid>
+    </ui:define>
+
+</ui:composition>
+</html>

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/login.xhtml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/registration.xhtml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/registration.xhtml?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/registration.xhtml (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/registration.xhtml Thu Apr 25 20:46:28 2013
@@ -0,0 +1,58 @@
+<!DOCTYPE html
+        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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.
+-->
+
+<html>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   template="/layout/main-template.xhtml">
+
+    <ui:define name="content">
+        <h:panelGrid columns="3">
+            <h:outputLabel for="firstName" value="#{i18n.lblFirstName}: "/>
+            <h:inputText id="firstName" label="#{i18n.lblFirstName}" value="#{registrationPage.user.firstName}"/>
+            <h:message for="firstName" showSummary="true" showDetail="false"/>
+
+            <h:outputLabel for="lastName" value="#{i18n.lblLastName}: "/>
+            <h:inputText id="lastName" label="#{i18n.lblLastName}" value="#{registrationPage.user.lastName}"/>
+            <h:message for="lastName" showSummary="true" showDetail="false"/>
+
+            <h:outputLabel for="loginName" value="#{i18n.lblLoginName}: "/>
+            <h:inputText id="loginName" label="#{i18n.lblLoginName}" value="#{registrationPage.user.userName}" required="true"/>
+            <h:message for="loginName" showSummary="true" showDetail="false"/>
+
+            <h:outputLabel for="password" value="#{i18n.lblPassword}: "/>
+            <h:inputSecret id="password" label="#{i18n.lblPassword}" value="#{registrationPage.user.password}"/>
+            <h:message for="password" showSummary="true" showDetail="false"/>
+
+            <h:outputLabel for="repeatedPassword" value="#{i18n.lblRepeatedPassword}: "/>
+            <h:inputSecret id="repeatedPassword" label="#{i18n.lblRepeatedPassword}" value="#{registrationPage.repeatedPassword}"/>
+            <h:message for="repeatedPassword" showSummary="true" showDetail="false"/>
+        </h:panelGrid>
+        <p/>
+        <h:commandButton id="register" value="#{i18n.btnRegister}" action="#{registrationPage.register}"/>
+    </ui:define>
+
+</ui:composition>
+</html>

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/registration.xhtml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/secure/feedbackList.xhtml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/secure/feedbackList.xhtml?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/secure/feedbackList.xhtml (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/secure/feedbackList.xhtml Thu Apr 25 20:46:28 2013
@@ -0,0 +1,61 @@
+<!DOCTYPE html
+        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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.
+-->
+
+<html>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:p="http://primefaces.prime.com.tr/ui"
+   template="/layout/main-template.xhtml">
+
+    <ui:define name="content">
+        <h:panelGrid columns="3">
+            <h:outputLabel for="topic" value="#{i18n.lblTopic}: "/>
+            <h:inputText id="topic" label="#{i18n.lblTopic}" value="#{feedbackPage.feedback.topic}" required="true"/>
+            <h:message for="topic" showSummary="true" showDetail="false"/>
+
+            <h:outputLabel for="description" value="#{i18n.lblDescription}: "/>
+            <h:inputTextarea id="description" cols="80" rows="10" label="#{i18n.lblDescription}" value="#{feedbackPage.feedback.description}"/>
+            <h:message for="description" showSummary="true" showDetail="false"/>
+        </h:panelGrid>
+
+        <h:commandButton id="save" value="#{i18n.btnSave}" action="#{feedbackPage.save}"/>
+
+        <p/>
+
+        <p:dataTable var="entry" value="#{feedbackPage.feedbackList}" paginator="true" paginatorPosition="bottom"
+                     rows="10">
+            <p:column>
+                <f:facet name="header"><h:outputText value="#{i18n.tblFeedbackTopic}"/></f:facet>
+                #{entry.topic}
+            </p:column>
+            <p:column>
+                <f:facet name="header"><h:outputText value="#{i18n.tblFeedbackDescription}"/></f:facet>
+                #{entry.description}
+            </p:column>
+        </p:dataTable>
+    </ui:define>
+
+</ui:composition>
+</html>

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/secure/feedbackList.xhtml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/codi_logo.png
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/codi_logo.png?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/codi_logo.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/myfaces_logo.jpg
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/myfaces_logo.jpg?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/myfaces_logo.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/code_section.png
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/code_section.png?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/code_section.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/footer.png
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/footer.png?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/footer.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/h2.png
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/h2.png?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/h2.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_bottom.png
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_bottom.png?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_bottom.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_expand.gif
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_expand.gif?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_expand.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_expand_hover.gif
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_expand_hover.gif?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_expand_hover.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_expand_selected.gif
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_expand_selected.gif?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_expand_selected.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_option.gif
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_option.gif?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_option.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_option_hover.gif
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_option_hover.gif?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_option_hover.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_top.png
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_top.png?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/left_menu_top.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/logo_banner_container.png
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/logo_banner_container.png?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/logo_banner_container.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/main_space_list.gif
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/main_space_list.gif?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/main_space_list.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/table_head.png
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/table_head.png?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/table_head.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/table_head_dark.png
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/table_head_dark.png?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/table_head_dark.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/top_menu.png
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/top_menu.png?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/top_menu.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/top_menu_hover.png
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/top_menu_hover.png?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/top_menu_hover.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/transparent.gif
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/transparent.gif?rev=1475952&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/images/slices/transparent.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/styles/base.css
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/styles/base.css?rev=1475952&view=auto
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/styles/base.css (added)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/styles/base.css Thu Apr 25 20:46:28 2013
@@ -0,0 +1,192 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+body {
+	margin: 0;
+	padding: 0;
+}
+
+img {
+	border: none;
+}
+
+table {
+	padding: 0;
+	width: 50%;
+	margin-left: -2px;
+	margin-right: -2px;
+}
+
+acronym {
+	cursor: help;
+	border-bottom: 1px dotted #feb;
+}
+
+table.bodyTable th,table.bodyTable td {
+	padding: 2px 4px 2px 4px;
+	vertical-align: top;
+}
+
+div.clear {
+	clear: both;
+	visibility: hidden;
+}
+
+div.clear hr {
+	display: none;
+}
+
+#bannerLeft,#bannerRight {
+	font-size: xx-large;
+	font-weight: bold;
+}
+
+#bannerLeft img,#bannerRight img {
+	margin: 0;
+}
+
+.xleft,#bannerLeft img {
+	float: left;
+	text-shadow: #7CFC00 1px 1px 1px;
+}
+
+.xright,#bannerRight {
+	float: right;
+	text-shadow: #7CFC00 1px 1px 1px;
+}
+
+#banner {
+	padding: 0;
+}
+
+#banner img {
+	border: none;
+}
+
+#breadcrumbs {
+	padding: 3px 10px 3px 10px;
+}
+
+#leftColumn {
+	width: 170px;
+	float: left;
+	overflow: auto;
+}
+
+#bodyColumn {
+	margin-right: 1.5em;
+	margin-left: 197px;
+}
+
+#legend {
+	padding: 8px 0 8px 0;
+}
+
+#navcolumn {
+	padding: 8px 4px 0 8px;
+}
+
+#navcolumn h5 {
+	margin: 0;
+	padding: 0;
+	font-size: small;
+}
+
+#navcolumn ul {
+	margin: 0;
+	padding: 0;
+	font-size: small;
+}
+
+#navcolumn li {
+	list-style-type: none;
+	background-image: none;
+	background-repeat: no-repeat;
+	background-position: 0 0.4em;
+	padding-left: 16px;
+	list-style-position: outside;
+	line-height: 1.2em;
+	font-size: smaller;
+}
+
+#poweredBy {
+	text-align: center;
+}
+
+#navcolumn img {
+	margin-top: 10px;
+	margin-bottom: 3px;
+}
+
+#poweredBy img {
+	display: block;
+	margin: 20px 0 20px 17px;
+}
+
+#search img {
+	margin: 0;
+	display: block;
+}
+
+#search #q,#search #btnG {
+	border: 1px solid #999;
+	margin-bottom: 10px;
+}
+
+#search form {
+	margin: 0;
+}
+
+#lastPublished {
+	font-size: x-small;
+}
+
+.navSection {
+	margin-bottom: 2px;
+	padding: 8px;
+}
+
+.navSectionHead {
+	font-weight: bold;
+	font-size: x-small;
+}
+
+.section {
+	padding: 4px;
+}
+
+#footer {
+	padding: 3px 10px 3px 10px;
+	font-size: x-small;
+}
+
+#breadcrumbs {
+	font-size: x-small;
+	margin: 0;
+}
+
+.source {
+	padding: 12px;
+	margin: 1em 7px 1em 7px;
+}
+
+.source pre {
+	margin: 0;
+	padding: 0;
+}
\ No newline at end of file

Propchange: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/styles/base.css
------------------------------------------------------------------------------
    svn:eol-style = native