You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/04/06 11:07:23 UTC
svn commit: r931056 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIPage.java
Author: lofwyr
Date: Tue Apr 6 09:07:22 2010
New Revision: 931056
URL: http://svn.apache.org/viewvc?rev=931056&view=rev
Log:
Add deprecation comment.
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIPage.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIPage.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIPage.java?rev=931056&r1=931055&r2=931056&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIPage.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIPage.java Tue Apr 6 09:07:22 2010
@@ -217,6 +217,11 @@ public abstract class AbstractUIPage ext
updatePageState(context);
}
+ /**
+ *
+ * @deprecated PageState is deprecated since 1.5.0
+ */
+ @Deprecated
public void updatePageState(FacesContext facesContext) {
PageState state = getPageState(facesContext);
decodePageState(facesContext, state);
@@ -246,6 +251,11 @@ public abstract class AbstractUIPage ext
}
}
+ /**
+ *
+ * @deprecated PageState is deprecated since 1.5.0
+ */
+ @Deprecated
public PageState getPageState(FacesContext facesContext) {
if (FacesUtils.hasValueBindingOrValueExpression(this, Attributes.STATE)) {
PageState state = (PageState)