cedric 02/03/22 09:37:03
Modified: contrib/tiles/doc tiles.xml
contrib/tiles/src/share/org/apache/struts/taglib/tiles/util
TagUtils.java
Log:
Add "tiles" scope
Revision Changes Path
1.5 +2 -2 jakarta-struts/contrib/tiles/doc/tiles.xml
Index: tiles.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/contrib/tiles/doc/tiles.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- tiles.xml 18 Feb 2002 14:50:31 -0000 1.4
+++ tiles.xml 22 Mar 2002 17:37:03 -0000 1.5
@@ -421,8 +421,8 @@
<rtexprvalue>false</rtexprvalue>
<info>
Scope into which bean is searched. If not specified, method
pageContext.findAttribute is used.
- Scope can be any JSP scope, 'component', or 'template'.
- In these two later cases, bean is search in component/template context.
+ Scope can be any JSP scope, 'tile', 'component', or 'template'.
+ In these three later cases, bean is search in tile/component/template
context.
</info>
</attribute>
1.3 +7 -3
jakarta-struts/contrib/tiles/src/share/org/apache/struts/taglib/tiles/util/TagUtils.java
Index: TagUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/contrib/tiles/src/share/org/apache/struts/taglib/tiles/util/TagUtils.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TagUtils.java 27 Dec 2001 17:35:37 -0000 1.2
+++ TagUtils.java 22 Mar 2002 17:37:03 -0000 1.3
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-struts/contrib/tiles/src/share/org/apache/struts/taglib/tiles/util/TagUtils.java,v
1.2 2001/12/27 17:35:37 cedric Exp $
- * $Revision: 1.2 $
- * $Date: 2001/12/27 17:35:37 $
+ * $Header:
/home/cvs/jakarta-struts/contrib/tiles/src/share/org/apache/struts/taglib/tiles/util/TagUtils.java,v
1.3 2002/03/22 17:37:03 cedric Exp $
+ * $Revision: 1.3 $
+ * $Date: 2002/03/22 17:37:03 $
* $Author: cedric $
*
*/
@@ -70,6 +70,10 @@
return ComponentConstants.COMPONENT_SCOPE;
}
else if( scopeName.equals("template") )
+ {
+ return ComponentConstants.COMPONENT_SCOPE;
+ }
+ else if( scopeName.equals("tile") )
{
return ComponentConstants.COMPONENT_SCOPE;
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>