You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ba...@apache.org on 2006/02/13 20:02:29 UTC
svn commit: r377461 -
/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifierRenderer.java
Author: baranda
Date: Mon Feb 13 11:02:28 2006
New Revision: 377461
URL: http://svn.apache.org/viewcvs?rev=377461&view=rev
Log:
Added null check
Modified:
myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifierRenderer.java
Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifierRenderer.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifierRenderer.java?rev=377461&r1=377460&r2=377461&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifierRenderer.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/StateChangedNotifierRenderer.java Mon Feb 13 11:02:28 2006
@@ -41,9 +41,10 @@
StateChangedNotifier notifier = (StateChangedNotifier) uiComponent;
- if (notifier.getDisabled().booleanValue())
+ if (notifier.getDisabled() != null)
{
- return;
+ if (notifier.getDisabled().booleanValue())
+ return;
}
String javascriptLocation = (String) notifier.getAttributes().get(JSFAttr.JAVASCRIPT_LOCATION);