Author: ivaynberg
Date: Mon Aug 10 14:48:42 2009
New Revision: 802814
URL: http://svn.apache.org/viewvc?rev=802814&view=rev
Log:
WICKET-2397
Issue: WICKET-2397
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java?rev=802814&r1=802813&r2=802814&view=diff
==============================================================================
---
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
(original)
+++
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
Mon Aug 10 14:48:42 2009
@@ -636,7 +636,7 @@
// when null, check whether this is natural for that
component, or
// whether - as is the case with text fields - this can
only happen
// when the component was disabled
- if (input == null && !isInputNullable())
+ if (input == null && !isInputNullable() &&
!isEnabledInHierarchy())
{
// this value must have come from a disabled
field
// do not perform validation