You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2006/02/26 23:19:24 UTC
svn commit: r381189 -
/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifier.java
Author: werpu
Date: Sun Feb 26 14:19:21 2006
New Revision: 381189
URL: http://svn.apache.org/viewcvs?rev=381189&view=rev
Log:
added two convenience methods
Modified:
myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifier.java
Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifier.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifier.java?rev=381189&r1=381188&r2=381189&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifier.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifier.java Sun Feb 26 14:19:21 2006
@@ -98,5 +98,21 @@
{
this.excludedIds = excludedIds;
}
+
+ /**
+ * a helper reset to reset the notifier
+ * to a non state changed state
+ */
+ public void reset() {
+ super.setValue("false");
+ }
+ /**
+ * enable the state changed notification for this cycle
+ *
+ */
+ public void enableStateChanged() {
+ super.setValue("true");
+ }
+
}