tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andygumbre...@apache.org
Subject svn commit: r1516150 [12/16] - in /tomee/tomee/trunk: ./ arquillian/ arquillian/arquillian-common/ arquillian/arquillian-openejb-embedded-4/ arquillian/arquillian-openejb-transaction-provider/ arquillian/arquillian-tck/ arquillian/arquillian-tomee-comm...
Date Wed, 21 Aug 2013 13:09:48 GMT
Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/UserRepository.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/UserRepository.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/UserRepository.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/UserRepository.java Wed Aug 21 13:09:35 2013
@@ -20,7 +20,7 @@ package org.superbiz.myfaces.repository;
 
 import org.superbiz.myfaces.domain.User;
 
-public interface UserRepository extends GenericRepository<User>
-{
+public interface UserRepository extends GenericRepository<User> {
+
     User loadUser(String userName);
 }

Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/AbstractGenericJpaRepository.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/AbstractGenericJpaRepository.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/AbstractGenericJpaRepository.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/AbstractGenericJpaRepository.java Wed Aug 21 13:09:35 2013
@@ -30,33 +30,26 @@ import java.util.List;
 /**
  * Abstract repository class which provides default implementations for common repository methods.
  */
-public abstract class AbstractGenericJpaRepository<T extends AbstractDomainObject> implements GenericRepository<T>
-{
+public abstract class AbstractGenericJpaRepository<T extends AbstractDomainObject> implements GenericRepository<T> {
+
     protected final Class<? extends AbstractDomainObject> entityClass;
 
     @Inject
     protected EntityManager entityManager;
 
-    public AbstractGenericJpaRepository()
-    {
+    public AbstractGenericJpaRepository() {
         Class currentClass = getClass();
 
-        if (currentClass.getName().contains("$$"))
-        { //we are in a proxy
+        if (currentClass.getName().contains("$$")) { //we are in a proxy
             currentClass = currentClass.getSuperclass();
         }
 
-        for (Type interfaceClass : currentClass.getGenericInterfaces())
-        {
-            for (Type genericInterfaceClass : ((Class) interfaceClass).getGenericInterfaces())
-            {
+        for (Type interfaceClass : currentClass.getGenericInterfaces()) {
+            for (Type genericInterfaceClass : ((Class) interfaceClass).getGenericInterfaces()) {
                 if (genericInterfaceClass instanceof ParameterizedType &&
-                        GenericRepository.class.isAssignableFrom((Class) ((ParameterizedType) genericInterfaceClass).getRawType()))
-                {
-                    for (Type parameterizedType : ((ParameterizedType) genericInterfaceClass).getActualTypeArguments())
-                    {
-                        if (AbstractDomainObject.class.isAssignableFrom((Class) parameterizedType))
-                        {
+                    GenericRepository.class.isAssignableFrom((Class) ((ParameterizedType) genericInterfaceClass).getRawType())) {
+                    for (Type parameterizedType : ((ParameterizedType) genericInterfaceClass).getActualTypeArguments()) {
+                        if (AbstractDomainObject.class.isAssignableFrom((Class) parameterizedType)) {
                             this.entityClass = (Class<? extends AbstractDomainObject>) parameterizedType;
                             return;
                         }
@@ -69,48 +62,36 @@ public abstract class AbstractGenericJpa
     }
 
     @Override
-    public T createNewEntity()
-    {
-        try
-        {
-            return (T)this.entityClass.newInstance();
-        }
-        catch (Exception e)
-        {
+    public T createNewEntity() {
+        try {
+            return (T) this.entityClass.newInstance();
+        } catch (Exception e) {
             throw new RuntimeException(e);
         }
     }
 
-    public void save(T entity)
-    {
-        if (entity.isTransient())
-        {
+    public void save(T entity) {
+        if (entity.isTransient()) {
             this.entityManager.persist(entity);
-        }
-        else
-        {
+        } else {
             this.entityManager.merge(entity);
         }
     }
 
-    public void remove(T entity)
-    {
-        if (entity.isTransient())
-        {
+    public void remove(T entity) {
+        if (entity.isTransient()) {
             throw new IllegalStateException("entity is not persistent");
         }
 
         this.entityManager.remove(loadById(entity.getId()));
     }
 
-    public List<T> loadAll()
-    {
+    public List<T> loadAll() {
         return (List<T>) this.entityManager.createQuery("select entity from " + this.entityClass.getSimpleName() + " entity")
-                .getResultList();
+                                           .getResultList();
     }
 
-    public T loadById(Long id)
-    {
+    public T loadById(Long id) {
         return (T) this.entityManager.find(this.entityClass, id);
     }
 }
\ No newline at end of file

Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/EntityManagerProducer.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/EntityManagerProducer.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/EntityManagerProducer.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/EntityManagerProducer.java Wed Aug 21 13:09:35 2013
@@ -28,23 +28,20 @@ import javax.persistence.EntityManagerFa
 import javax.persistence.PersistenceUnit;
 
 @ApplicationScoped
-public class EntityManagerProducer
-{
+public class EntityManagerProducer {
+
     @PersistenceUnit(unitName = "demoApplicationPU")
     private EntityManagerFactory entityManagerFactory;
 
     @Produces
     @Default
     @RequestScoped
-    public EntityManager create()
-    {
+    public EntityManager create() {
         return this.entityManagerFactory.createEntityManager();
     }
 
-    public void dispose(@Disposes @Default EntityManager entityManager)
-    {
-        if (entityManager.isOpen())
-        {
+    public void dispose(@Disposes @Default EntityManager entityManager) {
+        if (entityManager.isOpen()) {
             entityManager.close();
         }
     }

Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/JpaFeedbackRepository.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/JpaFeedbackRepository.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/JpaFeedbackRepository.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/JpaFeedbackRepository.java Wed Aug 21 13:09:35 2013
@@ -23,7 +23,7 @@ import org.superbiz.myfaces.repository.F
 import org.superbiz.myfaces.repository.Repository;
 
 @Repository
-public class JpaFeedbackRepository extends AbstractGenericJpaRepository<Feedback> implements FeedbackRepository
-{
+public class JpaFeedbackRepository extends AbstractGenericJpaRepository<Feedback> implements FeedbackRepository {
+
     private static final long serialVersionUID = -4140472572607337575L;
 }
\ No newline at end of file

Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/JpaUserRepository.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/JpaUserRepository.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/JpaUserRepository.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/repository/jpa/JpaUserRepository.java Wed Aug 21 13:09:35 2013
@@ -26,19 +26,17 @@ import javax.persistence.Query;
 import java.util.List;
 
 @Repository
-public class JpaUserRepository extends AbstractGenericJpaRepository<User> implements UserRepository
-{
+public class JpaUserRepository extends AbstractGenericJpaRepository<User> implements UserRepository {
+
     private static final long serialVersionUID = 672568789774892077L;
 
-    public User loadUser(String userName)
-    {
+    public User loadUser(String userName) {
         Query query = this.entityManager.createNamedQuery("findUserByName");
         query.setParameter("currentUser", userName);
 
         //just for the demo:
         List result = query.getResultList();
-        if (result != null && result.size() == 1)
-        {
+        if (result != null && result.size() == 1) {
             return (User) result.iterator().next();
         }
         return null;

Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/startup/ModuleStartupObserver.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/startup/ModuleStartupObserver.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/startup/ModuleStartupObserver.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/startup/ModuleStartupObserver.java Wed Aug 21 13:09:35 2013
@@ -26,15 +26,13 @@ import java.util.logging.Logger;
 
 @Singleton
 @Startup
-public class ModuleStartupObserver
-{
+public class ModuleStartupObserver {
+
     private Logger logger = Logger.getLogger(ModuleStartupObserver.class.getName());
 
     @PostConstruct
-    public void logStartup()
-    {
-        if (logger.isLoggable(Level.INFO))
-        {
+    public void logStartup() {
+        if (logger.isLoggable(Level.INFO)) {
             logger.info("starting application module");
         }
     }

Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/startup/SampleDataStartupObserver.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/startup/SampleDataStartupObserver.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/startup/SampleDataStartupObserver.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/startup/SampleDataStartupObserver.java Wed Aug 21 13:09:35 2013
@@ -35,13 +35,12 @@ import static org.apache.myfaces.extensi
 //e.g. via the std. JSF project-stage or CODI project-stage org.apache.myfaces.extensions.cdi.ProjectStage=Development
 @ProjectStageActivated({Development.class, IntegrationTest.class})
 @ApplicationScoped
-public class SampleDataStartupObserver
-{
+public class SampleDataStartupObserver {
+
     @Inject
     private EntityManager entityManager;
 
-    protected void createSampleData(@Observes StartupEvent startupEvent, UserRepository userRepository)
-    {
+    protected void createSampleData(@Observes StartupEvent startupEvent, UserRepository userRepository) {
         initDB(); //ok since we are in project-stage dev. or integration-test
 
         User user = userRepository.createNewEntity();
@@ -52,8 +51,7 @@ public class SampleDataStartupObserver
         userRepository.save(user);
     }
 
-    private void initDB()
-    {
+    private void initDB() {
         entityManager.getTransaction().begin();
         Query query = entityManager.createNativeQuery("TRUNCATE SCHEMA public AND COMMIT");
         query.executeUpdate();

Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/FeedbackPage.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/FeedbackPage.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/FeedbackPage.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/FeedbackPage.java Wed Aug 21 13:09:35 2013
@@ -34,8 +34,8 @@ import java.util.List;
 @ViewAccessScoped
 //alternative to @PageBean in the view-config:
 //@View(Pages.Secure.FeedbackList.class)
-public class FeedbackPage implements Serializable
-{
+public class FeedbackPage implements Serializable {
+
     private static final long serialVersionUID = 744025508253889974L;
 
     private List<Feedback> feedbackList;
@@ -49,19 +49,16 @@ public class FeedbackPage implements Ser
     private Feedback feedback;
 
     @PostConstruct
-    protected void init()
-    {
+    protected void init() {
         this.feedback = this.feedbackRepository.createNewEntity();
     }
 
     @PreRenderView
-    public void reloadFeedbackList()
-    {
+    public void reloadFeedbackList() {
         this.feedbackList = this.feedbackRepository.loadAll();
     }
 
-    public void save()
-    {
+    public void save() {
         this.feedbackRepository.save(this.feedback);
         this.conversation.close();
     }
@@ -70,13 +67,11 @@ public class FeedbackPage implements Ser
      * generated
      */
 
-    public List<Feedback> getFeedbackList()
-    {
+    public List<Feedback> getFeedbackList() {
         return feedbackList;
     }
 
-    public Feedback getFeedback()
-    {
+    public Feedback getFeedback() {
         return feedback;
     }
 }

Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/InfoPage.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/InfoPage.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/InfoPage.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/InfoPage.java Wed Aug 21 13:09:35 2013
@@ -32,6 +32,6 @@ import static java.lang.annotation.Reten
 @Documented
 
 @ViewMetaData
-public @interface InfoPage
-{
+public @interface InfoPage {
+
 }

Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/MenuBean.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/MenuBean.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/MenuBean.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/MenuBean.java Wed Aug 21 13:09:35 2013
@@ -25,39 +25,34 @@ import javax.enterprise.inject.Model;
 import javax.inject.Inject;
 
 @Model
-public class MenuBean
-{
+public class MenuBean {
+
     @Inject
     private WindowContext windowContext;
 
-    public Class<? extends Pages> home()
-    {
+    public Class<? extends Pages> home() {
         //close all conversations of the current window
         this.windowContext.closeConversations();
         return Pages.Index.class;
     }
 
-    public Class<? extends Pages.Secure> feedback()
-    {
+    public Class<? extends Pages.Secure> feedback() {
         //close all conversations of the current window
         this.windowContext.closeConversations();
         return Pages.Secure.FeedbackList.class;
     }
 
-    public Class<? extends Pages> about()
-    {
+    public Class<? extends Pages> about() {
         this.windowContext.closeConversations();
         return Pages.About.class;
     }
 
-    public Class<? extends Pages> login()
-    {
+    public Class<? extends Pages> login() {
         this.windowContext.closeConversations();
         return Pages.Login.class;
     }
 
-    public Class<? extends Pages> register()
-    {
+    public Class<? extends Pages> register() {
         this.windowContext.closeConversations();
         return Pages.Registration.class;
     }

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/RegistrationPage.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/RegistrationPage.java Wed Aug 21 13:09:35 2013
@@ -37,8 +37,8 @@ import static org.apache.myfaces.extensi
 
 @Named
 @ViewAccessScoped
-public class RegistrationPage implements Serializable
-{
+public class RegistrationPage implements Serializable {
+
     private static final long serialVersionUID = 3844502441069448490L;
 
     @Inject
@@ -48,7 +48,9 @@ public class RegistrationPage implements
     private Conversation conversation;
 
     @Inject
-    private @Jsf MessageContext messageContext;
+    private
+    @Jsf
+    MessageContext messageContext;
 
     private User user = new User();
 
@@ -59,13 +61,12 @@ public class RegistrationPage implements
     private String repeatedPassword;
 
     @BeanValidation(useGroups = Full.class) //triggers UniqueUserNameValidator
-    public Class<? extends Pages> register()
-    {
+    public Class<? extends Pages> register() {
         this.userRepository.save(this.user);
         this.messageContext.message()
-                .text("{msgUserRegistered}")
-                .namedArgument("userName", this.user.getUserName())
-                .add();
+                           .text("{msgUserRegistered}")
+                           .namedArgument("userName", this.user.getUserName())
+                           .add();
 
         //in order to re-use the page-bean for the login-page
         this.conversation.close();
@@ -73,11 +74,9 @@ public class RegistrationPage implements
         return Pages.Login.class;
     }
 
-    public Class<? extends Pages> login()
-    {
+    public Class<? extends Pages> login() {
         User user = this.userRepository.loadUser(this.user.getUserName());
-        if (user != null && user.getPassword().equals(this.user.getPassword()))
-        {
+        if (user != null && user.getPassword().equals(this.user.getPassword())) {
             this.messageContext.message().text("{msgLoginSuccessful}").add();
             this.userHolder.setCurrentUser(user);
             return Pages.About.class;
@@ -88,18 +87,15 @@ public class RegistrationPage implements
         return null;
     }
 
-    public User getUser()
-    {
+    public User getUser() {
         return user;
     }
 
-    public String getRepeatedPassword()
-    {
+    public String getRepeatedPassword() {
         return repeatedPassword;
     }
 
-    public void setRepeatedPassword(String repeatedPassword)
-    {
+    public void setRepeatedPassword(String repeatedPassword) {
         this.repeatedPassword = repeatedPassword;
     }
 }
\ No newline at end of file

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/UserHolder.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/UserHolder.java Wed Aug 21 13:09:35 2013
@@ -30,8 +30,8 @@ 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
-{
+public class UserHolder implements Serializable {
+
     private static final long serialVersionUID = -7687528373042288584L;
 
     @Inject
@@ -41,18 +41,15 @@ public class UserHolder implements Seria
     @Produces
     @Dependent
     @Named("currentUser")
-    protected User createCurrentUser()
-    {
+    protected User createCurrentUser() {
         return this.user;
     }
 
-    public void setCurrentUser(User user)
-    {
+    public void setCurrentUser(User user) {
         this.user = user;
     }
 
-    public boolean isLoggedIn()
-    {
+    public boolean isLoggedIn() {
         return this.user.getId() != null;
     }
 }

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/config/Pages.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/config/Pages.java Wed Aug 21 13:09:35 2013
@@ -30,22 +30,37 @@ import org.superbiz.myfaces.view.securit
 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 {}
+public interface Pages extends ViewConfig {
 
-    @InfoPage @Page class About implements Pages {}
+    @Page
+    class Index implements Pages {
 
-    @Page class Registration 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*/ {}
+    }
+
+    @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
-    {
+        //@Secured(value = LoginAccessDecisionVoter.class, errorView = Login.class)
+    interface Secure extends Pages {
+
         @PageBean(FeedbackPage.class)
         @Page
-        class FeedbackList implements Secure {}
+        class FeedbackList implements Secure {
+
+        }
     }
 }

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/security/LoginAccessDecisionVoter.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/security/LoginAccessDecisionVoter.java Wed Aug 21 13:09:35 2013
@@ -30,8 +30,8 @@ import javax.interceptor.InvocationConte
 import java.util.Set;
 
 @ApplicationScoped
-public class LoginAccessDecisionVoter extends AbstractAccessDecisionVoter
-{
+public class LoginAccessDecisionVoter extends AbstractAccessDecisionVoter {
+
     private static final long serialVersionUID = -6332617547592896599L;
 
     @Inject
@@ -42,10 +42,8 @@ public class LoginAccessDecisionVoter ex
     private MessageContext messageContext;
 
     @Override
-    protected void checkPermission(InvocationContext invocationContext, Set<SecurityViolation> violations)
-    {
-        if (!this.userHolder.isLoggedIn())
-        {
+    protected void checkPermission(InvocationContext invocationContext, Set<SecurityViolation> violations) {
+        if (!this.userHolder.isLoggedIn()) {
             violations.add(newSecurityViolation(this.messageContext.message().text("{msgAccessDenied}").toText()));
         }
     }

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/util/InfoBean.java (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/view/util/InfoBean.java Wed Aug 21 13:09:35 2013
@@ -40,12 +40,14 @@ import java.io.Serializable;
 
 @Named
 @SessionScoped
-public class InfoBean implements Serializable
-{
+public class InfoBean implements Serializable {
+
     private static final long serialVersionUID = -1748909261695527800L;
 
     @Inject
-    private @Jsf MessageContext messageContext;
+    private
+    @Jsf
+    MessageContext messageContext;
 
     @Inject
     private ProjectStage projectStage;
@@ -63,77 +65,64 @@ public class InfoBean implements Seriali
     private String jpaVersion;
 
     @PostConstruct
-    protected void showWelcomeMessage()
-    {
+    protected void showWelcomeMessage() {
         String versionString = ClassUtils.getJarVersion(InfoBean.class);
 
-        if (versionString != null)
-        {
+        if (versionString != null) {
             this.applicationMessageVersionInfo = " (v" + versionString + ")";
         }
 
         this.beanValidationVersion =
-                ClassUtils.getJarVersion(Validation.buildDefaultValidatorFactory().getValidator().getClass());
+            ClassUtils.getJarVersion(Validation.buildDefaultValidatorFactory().getValidator().getClass());
 
         this.jpaVersion =
-                ClassUtils.getJarVersion(Persistence.createEntityManagerFactory("demoApplicationPU").getClass());
+            ClassUtils.getJarVersion(Persistence.createEntityManagerFactory("demoApplicationPU").getClass());
 
-        if (!ProjectStage.IntegrationTest.equals(this.projectStage))
-        {
+        if (!ProjectStage.IntegrationTest.equals(this.projectStage)) {
             this.messageContext.message().text("{msgWelcome}").add();
         }
     }
 
-    public boolean isInfoPage()
-    {
+    public boolean isInfoPage() {
         ViewConfigDescriptor viewConfigDescriptor =
-                this.viewConfigResolver.getViewConfigDescriptor(this.facesContext.getViewRoot().getViewId());
+            this.viewConfigResolver.getViewConfigDescriptor(this.facesContext.getViewRoot().getViewId());
 
-        if (viewConfigDescriptor == null)
-        {
+        if (viewConfigDescriptor == null) {
             return false;
         }
 
         return !viewConfigDescriptor.getMetaData(InfoPage.class).isEmpty();
     }
 
-    public String getProjectStage()
-    {
+    public String getProjectStage() {
         return this.projectStage.toString();
     }
 
-    public String getApplicationVersion()
-    {
+    public String getApplicationVersion() {
         return this.applicationMessageVersionInfo;
     }
 
-    public String getCodiVersion()
-    {
+    public String getCodiVersion() {
         return CodiInformation.VERSION;
     }
 
-    public String getCdiVersion()
-    {
+    public String getCdiVersion() {
         return ClassUtils.getJarVersion(BeanManagerProvider.getInstance().getBeanManager().getClass());
     }
 
-    public String getExtValVersion()
-    {
+    public String getExtValVersion() {
         return ExtValInformation.VERSION;
     }
 
-    public String getJsfVersion()
-    {
+    public String getJsfVersion() {
         return ClassUtils.getJarVersion(FacesContext.class);
     }
 
-    public String getBeanValidationVersion()
-    {
+    public String getBeanValidationVersion() {
         return this.beanValidationVersion;
     }
 
-    public String getJpaVersion()
-    {
+    public String getJpaVersion() {
         return this.jpaVersion;
     }
 }

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/META-INF/persistence.xml (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/resources/META-INF/persistence.xml Wed Aug 21 13:09:35 2013
@@ -23,23 +23,23 @@
 http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
              version="2.0">
 
-    <persistence-unit name="demoApplicationPU" transaction-type="RESOURCE_LOCAL">
+  <persistence-unit name="demoApplicationPU" transaction-type="RESOURCE_LOCAL">
 
-        <!-- config of (non-)jta-data-source isn't needed if there is just one -->
+    <!-- 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>
+    <!-- @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>
+    <!-- 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>
+    <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

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/faces-config.xml (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/faces-config.xml Wed Aug 21 13:09:35 2013
@@ -22,16 +22,16 @@
               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>
+  <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>

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/web.xml (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/WEB-INF/web.xml Wed Aug 21 13:09:35 2013
@@ -23,18 +23,18 @@
          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>
+    <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>
+  <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>
+  <welcome-file-list>
+    <welcome-file>pages/index.xhtml</welcome-file>
+  </welcome-file-list>
 </web-app>
\ No newline at end of file

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/main-template.xhtml (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/main-template.xhtml Wed Aug 21 13:09:35 2013
@@ -1,6 +1,6 @@
 <!DOCTYPE html
-        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+    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
@@ -26,118 +26,118 @@
       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>
+  <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 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 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>
+        </h:form>
+
+        <div class="clear"></div>
 
-                    </div>
-                </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 class="clear"></div>
-        </div>
-        <p:growl sticky="false"/>
-        <div id="footer">
-            <div class="copyright">
-                <p>&#169; The Apache Software Foundation
-                </p>
+          </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>
-    </h:body>
+      </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>

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/menu.xhtml (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/layout/menu.xhtml Wed Aug 21 13:09:35 2013
@@ -18,16 +18,15 @@
 -->
 <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="menuHome" value="#{i18n.lblHome}" action="#{menuBean.home}"/>
+  </li>
 
-    <li class="none">
-        <h:commandLink id="menuFeedback" value="#{i18n.lblFeedback}" action="#{menuBean.feedback}"/>
-    </li>
+  <li class="none">
+    <h:commandLink id="menuFeedback" value="#{i18n.lblFeedback}" action="#{menuBean.feedback}"/>
+  </li>
 
 </div>
\ No newline at end of file

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/about.xhtml (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/about.xhtml Wed Aug 21 13:09:35 2013
@@ -1,6 +1,6 @@
 <!DOCTYPE html
-        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+    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
@@ -23,35 +23,34 @@
 
 <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>
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:h="http://java.sun.com/jsf/html"
+                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>

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/index.xhtml (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/index.xhtml Wed Aug 21 13:09:35 2013
@@ -1,6 +1,6 @@
 <!DOCTYPE html
-        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+    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
@@ -23,47 +23,46 @@
 
 <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>
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                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>

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/login.xhtml (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/login.xhtml Wed Aug 21 13:09:35 2013
@@ -1,6 +1,6 @@
 <!DOCTYPE html
-        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+    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
@@ -23,27 +23,26 @@
 
 <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">
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:h="http://java.sun.com/jsf/html"
+                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"/>
+  <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>
+      <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>

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/registration.xhtml (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/registration.xhtml Wed Aug 21 13:09:35 2013
@@ -1,6 +1,6 @@
 <!DOCTYPE html
-        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+    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
@@ -23,36 +23,35 @@
 
 <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>
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:h="http://java.sun.com/jsf/html"
+                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>

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/secure/feedbackList.xhtml (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/pages/secure/feedbackList.xhtml Wed Aug 21 13:09:35 2013
@@ -1,6 +1,6 @@
 <!DOCTYPE html
-        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+    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
@@ -23,39 +23,43 @@
 
 <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>
+                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>

Modified: 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=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/styles/base.css (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/styles/base.css Wed Aug 21 13:09:35 2013
@@ -18,175 +18,175 @@
  */
 
 body {
-	margin: 0;
-	padding: 0;
+    margin: 0;
+    padding: 0;
 }
 
 img {
-	border: none;
+    border: none;
 }
 
 table {
-	padding: 0;
-	width: 50%;
-	margin-left: -2px;
-	margin-right: -2px;
+    padding: 0;
+    width: 50%;
+    margin-left: -2px;
+    margin-right: -2px;
 }
 
 acronym {
-	cursor: help;
-	border-bottom: 1px dotted #feb;
+    cursor: help;
+    border-bottom: 1px dotted #feb;
 }
 
-table.bodyTable th,table.bodyTable td {
-	padding: 2px 4px 2px 4px;
-	vertical-align: top;
+table.bodyTable th, table.bodyTable td {
+    padding: 2px 4px 2px 4px;
+    vertical-align: top;
 }
 
 div.clear {
-	clear: both;
-	visibility: hidden;
+    clear: both;
+    visibility: hidden;
 }
 
 div.clear hr {
-	display: none;
+    display: none;
 }
 
-#bannerLeft,#bannerRight {
-	font-size: xx-large;
-	font-weight: bold;
+#bannerLeft, #bannerRight {
+    font-size: xx-large;
+    font-weight: bold;
 }
 
-#bannerLeft img,#bannerRight img {
-	margin: 0;
+#bannerLeft img, #bannerRight img {
+    margin: 0;
 }
 
-.xleft,#bannerLeft img {
-	float: left;
-	text-shadow: #7CFC00 1px 1px 1px;
+.xleft, #bannerLeft img {
+    float: left;
+    text-shadow: #7CFC00 1px 1px 1px;
 }
 
-.xright,#bannerRight {
-	float: right;
-	text-shadow: #7CFC00 1px 1px 1px;
+.xright, #bannerRight {
+    float: right;
+    text-shadow: #7CFC00 1px 1px 1px;
 }
 
 #banner {
-	padding: 0;
+    padding: 0;
 }
 
 #banner img {
-	border: none;
+    border: none;
 }
 
 #breadcrumbs {
-	padding: 3px 10px 3px 10px;
+    padding: 3px 10px 3px 10px;
 }
 
 #leftColumn {
-	width: 170px;
-	float: left;
-	overflow: auto;
+    width: 170px;
+    float: left;
+    overflow: auto;
 }
 
 #bodyColumn {
-	margin-right: 1.5em;
-	margin-left: 197px;
+    margin-right: 1.5em;
+    margin-left: 197px;
 }
 
 #legend {
-	padding: 8px 0 8px 0;
+    padding: 8px 0 8px 0;
 }
 
 #navcolumn {
-	padding: 8px 4px 0 8px;
+    padding: 8px 4px 0 8px;
 }
 
 #navcolumn h5 {
-	margin: 0;
-	padding: 0;
-	font-size: small;
+    margin: 0;
+    padding: 0;
+    font-size: small;
 }
 
 #navcolumn ul {
-	margin: 0;
-	padding: 0;
-	font-size: small;
+    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;
+    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;
+    text-align: center;
 }
 
 #navcolumn img {
-	margin-top: 10px;
-	margin-bottom: 3px;
+    margin-top: 10px;
+    margin-bottom: 3px;
 }
 
 #poweredBy img {
-	display: block;
-	margin: 20px 0 20px 17px;
+    display: block;
+    margin: 20px 0 20px 17px;
 }
 
 #search img {
-	margin: 0;
-	display: block;
+    margin: 0;
+    display: block;
 }
 
-#search #q,#search #btnG {
-	border: 1px solid #999;
-	margin-bottom: 10px;
+#search #q, #search #btnG {
+    border: 1px solid #999;
+    margin-bottom: 10px;
 }
 
 #search form {
-	margin: 0;
+    margin: 0;
 }
 
 #lastPublished {
-	font-size: x-small;
+    font-size: x-small;
 }
 
 .navSection {
-	margin-bottom: 2px;
-	padding: 8px;
+    margin-bottom: 2px;
+    padding: 8px;
 }
 
 .navSectionHead {
-	font-weight: bold;
-	font-size: x-small;
+    font-weight: bold;
+    font-size: x-small;
 }
 
 .section {
-	padding: 4px;
+    padding: 4px;
 }
 
 #footer {
-	padding: 3px 10px 3px 10px;
-	font-size: x-small;
+    padding: 3px 10px 3px 10px;
+    font-size: x-small;
 }
 
 #breadcrumbs {
-	font-size: x-small;
-	margin: 0;
+    font-size: x-small;
+    margin: 0;
 }
 
 .source {
-	padding: 12px;
-	margin: 1em 7px 1em 7px;
+    padding: 12px;
+    margin: 1em 7px 1em 7px;
 }
 
 .source pre {
-	margin: 0;
-	padding: 0;
+    margin: 0;
+    padding: 0;
 }
\ No newline at end of file

Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/styles/theme.css
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/styles/theme.css?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/styles/theme.css (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/src/main/webapp/resources/styles/theme.css Wed Aug 21 13:09:35 2013
@@ -25,7 +25,7 @@
 
 body {
     text-align: center; /*font-size: 75%;*/
-/*=12pixels*/
+    /*=12pixels*/
     font-size: 12px;
     font-family: verdana, tahoma, sans-serif;
     font-weight: normal;
@@ -194,7 +194,7 @@ img {
 }
 
 #powered_by {
-/*float: right;*/
+    /*float: right;*/
     text-align: center;
 }
 

Propchange: tomee/tomee/trunk/examples/persistence-fragment/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Aug 21 13:09:35 2013
@@ -1 +1,2 @@
 target
+*.iml

Modified: tomee/tomee/trunk/examples/persistence-fragment/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/persistence-fragment/pom.xml?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/persistence-fragment/pom.xml (original)
+++ tomee/tomee/trunk/examples/persistence-fragment/pom.xml Wed Aug 21 13:09:35 2013
@@ -54,7 +54,7 @@
     <dependency>
       <groupId>org.apache.openejb</groupId>
       <artifactId>javaee-api</artifactId>
-      <version>6.0-4</version>
+      <version>6.0-5</version>
       <scope>provided</scope>
     </dependency>
     <dependency>

Modified: tomee/tomee/trunk/examples/persistence-fragment/src/main/java/org/superbiz/injection/jpa/Movie.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/persistence-fragment/src/main/java/org/superbiz/injection/jpa/Movie.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/persistence-fragment/src/main/java/org/superbiz/injection/jpa/Movie.java (original)
+++ tomee/tomee/trunk/examples/persistence-fragment/src/main/java/org/superbiz/injection/jpa/Movie.java Wed Aug 21 13:09:35 2013
@@ -22,6 +22,7 @@ import javax.persistence.Id;
 
 @Entity
 public class Movie {
+
     @Id
     @GeneratedValue
     private long id;

Modified: tomee/tomee/trunk/examples/persistence-fragment/src/test/java/org/superbiz/injection/jpa/MoviesTest.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/persistence-fragment/src/test/java/org/superbiz/injection/jpa/MoviesTest.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/persistence-fragment/src/test/java/org/superbiz/injection/jpa/MoviesTest.java (original)
+++ tomee/tomee/trunk/examples/persistence-fragment/src/test/java/org/superbiz/injection/jpa/MoviesTest.java Wed Aug 21 13:09:35 2013
@@ -28,6 +28,7 @@ import java.util.Properties;
 import static org.junit.Assert.assertTrue;
 
 public class MoviesTest {
+
     @PersistenceUnit
     private EntityManagerFactory emf;
 

Propchange: tomee/tomee/trunk/examples/pojo-webservice/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Aug 21 13:09:35 2013
@@ -1 +1,2 @@
 target
+*.iml

Modified: tomee/tomee/trunk/examples/pojo-webservice/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/pojo-webservice/pom.xml?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/pojo-webservice/pom.xml (original)
+++ tomee/tomee/trunk/examples/pojo-webservice/pom.xml Wed Aug 21 13:09:35 2013
@@ -52,7 +52,7 @@
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
+        <artifactId>maven-compiler-plugin</artifactId>
         <version>3.0</version>
         <configuration>
           <source>1.6</source>
@@ -62,7 +62,7 @@
       <plugin> <!-- http://localhost:8080/pojo-webservice?wsdl -->
         <groupId>org.apache.openejb.maven</groupId>
         <artifactId>tomee-maven-plugin</artifactId>
-        <version>1.1.0-SNAPSHOT</version>
+        <version>1.6.0-SNAPSHOT</version>
         <configuration>
           <tomeeVersion>${tomee.version}</tomeeVersion>
           <tomeeClassifier>plus</tomeeClassifier>
@@ -74,7 +74,7 @@
     <dependency>
       <groupId>org.apache.openejb</groupId>
       <artifactId>javaee-api</artifactId>
-      <version>6.0-4</version>
+      <version>6.0-5</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>

Modified: tomee/tomee/trunk/examples/pojo-webservice/src/main/java/org/superbiz/ws/pojo/PojoWS.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/pojo-webservice/src/main/java/org/superbiz/ws/pojo/PojoWS.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/pojo-webservice/src/main/java/org/superbiz/ws/pojo/PojoWS.java (original)
+++ tomee/tomee/trunk/examples/pojo-webservice/src/main/java/org/superbiz/ws/pojo/PojoWS.java Wed Aug 21 13:09:35 2013
@@ -18,11 +18,12 @@ package org.superbiz.ws.pojo;
 
 import javax.annotation.Resource;
 import javax.jws.WebService;
-import javax.xml.ws.WebServiceContext;
 import javax.transaction.UserTransaction;
+import javax.xml.ws.WebServiceContext;
 
 @WebService
 public class PojoWS implements WS {
+
     @Resource
     private WebServiceContext webServiceContext;
 

Modified: tomee/tomee/trunk/examples/pojo-webservice/src/main/java/org/superbiz/ws/pojo/WS.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/pojo-webservice/src/main/java/org/superbiz/ws/pojo/WS.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/pojo-webservice/src/main/java/org/superbiz/ws/pojo/WS.java (original)
+++ tomee/tomee/trunk/examples/pojo-webservice/src/main/java/org/superbiz/ws/pojo/WS.java Wed Aug 21 13:09:35 2013
@@ -20,5 +20,6 @@ import javax.jws.WebService;
 
 @WebService
 public interface WS {
+
     String ws();
 }

Propchange: tomee/tomee/trunk/examples/polling-parent/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Aug 21 13:09:35 2013
@@ -0,0 +1 @@
+*.iml

Propchange: tomee/tomee/trunk/examples/polling-parent/polling-client/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Aug 21 13:09:35 2013
@@ -1 +1,2 @@
 target
+*.iml

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/pom.xml?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/pom.xml (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/pom.xml Wed Aug 21 13:09:35 2013
@@ -86,7 +86,7 @@
           <dependency>
             <groupId>org.apache.openejb</groupId>
             <artifactId>javaee-api</artifactId>
-            <version>6.0-4</version>
+            <version>6.0-5</version>
           </dependency>
           <dependency> <!-- because entities was enhanced -->
             <groupId>org.apache.openjpa</groupId>

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/Client.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/Client.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/Client.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/Client.java Wed Aug 21 13:09:35 2013
@@ -28,6 +28,7 @@ import java.io.OutputStreamWriter;
 import java.util.Map;
 
 public class Client {
+
     private static final String PROMPT = System.getProperty("user.name") + " @ jug > ";
     private static final String EXIT_CMD = "exit";
 

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/api/AbstractCommand.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/api/AbstractCommand.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/api/AbstractCommand.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/api/AbstractCommand.java Wed Aug 21 13:09:35 2013
@@ -31,6 +31,7 @@ import java.io.StringWriter;
 import java.io.Writer;
 
 public abstract class AbstractCommand {
+
     protected String command;
     protected String url;
 

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/api/Command.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/api/Command.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/api/Command.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/api/Command.java Wed Aug 21 13:09:35 2013
@@ -22,10 +22,13 @@ import java.lang.annotation.RetentionPol
 import java.lang.annotation.Target;
 
 @Retention(RetentionPolicy.RUNTIME)
-@Target({ ElementType.TYPE })
+@Target({ElementType.TYPE})
 public @interface Command {
+
     String usage() default "";
+
     String name() default "";
+
     String description() default "";
 }
 

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/BestPollCommand.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/BestPollCommand.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/BestPollCommand.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/BestPollCommand.java Wed Aug 21 13:09:35 2013
@@ -23,6 +23,7 @@ import javax.ws.rs.core.Response;
 
 @Command(name = "best", usage = "best", description = "find best poll")
 public class BestPollCommand extends AbstractCommand {
+
     @Override
     protected Response invoke(String cmd) {
         return client.path("api/subject/best").get();

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/ExitCommand.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/ExitCommand.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/ExitCommand.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/ExitCommand.java Wed Aug 21 13:09:35 2013
@@ -24,6 +24,7 @@ import javax.ws.rs.core.Response;
 // just to get it in the help
 @Command(name = "exit", usage = "exit", description = "exit from the cli")
 public class ExitCommand extends AbstractCommand {
+
     @Override
     public void execute(String cmd) {
         throw new UnsupportedOperationException("shouldn't be called directly");

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/HelpCommand.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/HelpCommand.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/HelpCommand.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/HelpCommand.java Wed Aug 21 13:09:35 2013
@@ -24,6 +24,7 @@ import java.util.Map;
 
 @Command(name = "help", usage = "help", description = "print this help")
 public class HelpCommand extends AbstractCommand {
+
     private Map<String, Class<?>> commands;
 
     @Override

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/NewPollCommand.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/NewPollCommand.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/NewPollCommand.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/NewPollCommand.java Wed Aug 21 13:09:35 2013
@@ -20,6 +20,7 @@ import jug.client.command.api.Command;
 
 @Command(name = "new-poll", usage = "new-poll [<name>, <question>]", description = "create a new poll")
 public class NewPollCommand extends QueryAndPostCommand {
+
     @Override
     protected String getName() {
         return "name";

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/PollResultCommand.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/PollResultCommand.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/PollResultCommand.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/PollResultCommand.java Wed Aug 21 13:09:35 2013
@@ -25,6 +25,7 @@ import static jug.client.command.impl.Po
 
 @Command(name = RESULT_CMD, usage = RESULT_CMD + " <name>", description = "result of a poll")
 public class PollResultCommand extends AbstractCommand {
+
     public static final String RESULT_CMD = "result";
 
     @Override

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/PollsCommand.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/PollsCommand.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/PollsCommand.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/PollsCommand.java Wed Aug 21 13:09:35 2013
@@ -23,6 +23,7 @@ import javax.ws.rs.core.Response;
 
 @Command(name = "polls", usage = "polls", description = "list polls")
 public class PollsCommand extends AbstractCommand {
+
     @Override
     public Response invoke(final String cmd) {
         return client.path("api/subject/list").get();

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/QueryAndPostCommand.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/QueryAndPostCommand.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/QueryAndPostCommand.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/QueryAndPostCommand.java Wed Aug 21 13:09:35 2013
@@ -24,6 +24,7 @@ import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
 public abstract class QueryAndPostCommand extends AbstractCommand {
+
     private static final Pattern PATTERN = Pattern.compile(" \\[(.*),(.*)\\]");
 
     @Override

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/ShowPollCommand.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/ShowPollCommand.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/ShowPollCommand.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/ShowPollCommand.java Wed Aug 21 13:09:35 2013
@@ -25,6 +25,7 @@ import static jug.client.command.impl.Sh
 
 @Command(name = SHOW_POLL_CMD, usage = SHOW_POLL_CMD + " <name>", description = "show a poll")
 public class ShowPollCommand extends AbstractCommand {
+
     public static final String SHOW_POLL_CMD = "show-poll";
 
     @Override

Modified: tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/SwitchClientCommand.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/SwitchClientCommand.java?rev=1516150&r1=1516149&r2=1516150&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/SwitchClientCommand.java (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-client/src/main/java/jug/client/command/impl/SwitchClientCommand.java Wed Aug 21 13:09:35 2013
@@ -25,6 +25,7 @@ import java.util.Map;
 
 @Command(name = "client", usage = "client <name>", description = "change client")
 public class SwitchClientCommand extends AbstractCommand {
+
     private Map<String, Class<?>> commands;
 
     @Override



Mime
View raw message