Author: apetrelli
Date: Wed Sep 27 05:05:45 2006
New Revision: 450413
URL: http://svn.apache.org/viewvc?view=rev&rev=450413
Log:
SB-21
Removed dependendy on "page" value for "type" attribute, leaving only "template"
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=450413&r1=450412&r2=450413
==============================================================================
---
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 05:05:45 2006
@@ -37,7 +37,7 @@
* <ul>type : value type. Only valid if value is a String and is set by
* value="something" or by a bean.
* Possible type are : string (value is used as direct string),
- * page | template (value is used as a page url to insert),
+ * template (value is used as a page url to insert),
* definition (value is used as a definition name to insert)</ul>
* <ul>direct : Specify if value is to be used as a direct string or as a
* page url to insert. This is another way to specify the type. It only apply
@@ -236,9 +236,9 @@
}
// Is there a type set ?
- // If valueType is not set, defaults to "page".
+ // If valueType is not set, defaults to "template".
if (valueType == null) {
- valueType = "page";
+ valueType = "template";
}
}