Author: apetrelli Date: Wed Sep 27 10:50:30 2006 New Revision: 450519 URL: http://svn.apache.org/viewvc?view=rev&rev=450519 Log: SB-21 Corrected bug introduced by me with the last commit. The valueType field was evaluated to "string" or "page" when valueType was null AND "direct" is not null. Since "direct" does not exist anymore, that block of code should never be executed, leaving "valueType" as null. Therefore I removed that block of code.
Modified: struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/taglib/PutTag.java Modified: struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/taglib/PutTag.java URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/taglib/PutTag.java?view=diff&rev=450519&r1=450518&r2=450519 ============================================================================== --- struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/taglib/PutTag.java (original) +++ struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/taglib/PutTag.java Wed Sep 27 10:50:30 2006 @@ -234,13 +234,6 @@ realValue = ""; } } - - // Is there a type set ? - // If valueType is not set, defaults to "template". - if (valueType == null) { - valueType = "template"; - } - } /**