You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by cr...@apache.org on 2006/07/04 08:57:48 UTC
svn commit: r418929 [2/2] - in
/struts/shale/trunk/shale-core/src/main/java/org/apache/shale: application/
component/ dialog/ dialog/config/ faces/ renderer/ taglib/ util/ validator/
view/ view/faces/
Modified: struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/AbstractSessionBean.java
URL: http://svn.apache.org/viewvc/struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/AbstractSessionBean.java?rev=418929&r1=418928&r2=418929&view=diff
==============================================================================
--- struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/AbstractSessionBean.java (original)
+++ struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/AbstractSessionBean.java Mon Jul 3 23:57:45 2006
@@ -1,12 +1,12 @@
/*
* Copyright 2006 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -42,7 +42,7 @@
*/
public abstract class AbstractSessionBean
extends AbstractFacesBean implements Serializable {
-
+
// ------------------------------------------------------------- Constructor
@@ -50,9 +50,9 @@
/**
* <p>Create a new session scope bean.</p>
*/
- public AbstractSessionBean() {
+ public AbstractSessionBean() {
}
-
+
// ------------------------------------------------------- Lifecycle Methods
@@ -95,7 +95,7 @@
/**
* <p>This method is called when the session containing it was
* reactivated.</p>
- *
+ *
* <p>You may customize this method to reacquire references to session
* data or resources that could not be serialized with the
* session itself.</p>
Modified: struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/AbstractViewController.java
URL: http://svn.apache.org/viewvc/struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/AbstractViewController.java?rev=418929&r1=418928&r2=418929&view=diff
==============================================================================
--- struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/AbstractViewController.java (original)
+++ struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/AbstractViewController.java Mon Jul 3 23:57:45 2006
@@ -1,12 +1,12 @@
/*
* Copyright 2004-2005 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -27,27 +27,27 @@
public class AbstractViewController extends AbstractFacesBean
implements ViewController {
-
+
// -------------------------------------------------------------- Properties
private boolean postBack = false;
-
-
- // Specified by ViewController
+
+
+ /** {@inheritDoc} */
public boolean isPostBack() {
-
+
return this.postBack;
}
-
-
- // Specified by ViewController
+
+
+ /** {@inheritDoc} */
public void setPostBack(boolean postBack) {
this.postBack = postBack;
-
+
}
Modified: struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/faces/LifecycleListener.java
URL: http://svn.apache.org/viewvc/struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/faces/LifecycleListener.java?rev=418929&r1=418928&r2=418929&view=diff
==============================================================================
--- struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/faces/LifecycleListener.java (original)
+++ struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/faces/LifecycleListener.java Mon Jul 3 23:57:45 2006
@@ -16,7 +16,6 @@
package org.apache.shale.view.faces;
-import java.util.Map;
import org.apache.shale.view.AbstractApplicationBean;
import org.apache.shale.view.AbstractRequestBean;
import org.apache.shale.view.AbstractSessionBean;
@@ -24,7 +23,6 @@
import java.util.Enumeration;
import java.util.Iterator;
import java.util.List;
-import javax.faces.context.FacesContext;
import javax.servlet.ServletContextAttributeEvent;
import javax.servlet.ServletContextAttributeListener;
import javax.servlet.ServletContextEvent;
@@ -38,7 +36,6 @@
import javax.servlet.http.HttpSessionBindingEvent;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
-import org.apache.shale.view.Constants;
import org.apache.shale.view.ViewController;
Modified: struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/faces/ViewPhaseListener.java
URL: http://svn.apache.org/viewvc/struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/faces/ViewPhaseListener.java?rev=418929&r1=418928&r2=418929&view=diff
==============================================================================
--- struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/faces/ViewPhaseListener.java (original)
+++ struts/shale/trunk/shale-core/src/main/java/org/apache/shale/view/faces/ViewPhaseListener.java Mon Jul 3 23:57:45 2006
@@ -1,12 +1,12 @@
/*
* Copyright 2006 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -40,7 +40,7 @@
*/
public class ViewPhaseListener implements PhaseListener {
-
+
// -------------------------------------------------------- Static Variables
@@ -84,7 +84,7 @@
}
-
+
/**
* <p>Perform before-phase processing for the phase defined in the
* specified event.</p>
@@ -105,7 +105,7 @@
}
-
+
/**
* <p>Return <code>PhaseId.ANY_PHASE</code>, indicating our interest
* in all phases of the request processing lifecycle.</p>