Author: ekoneil
Date: Tue Aug 17 14:29:11 2004
New Revision: 36541
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/naming/IndexedNameInterceptor.java
Log:
Fix the IndexedNameInterceptor to handle SimpleTag JSP tags.
This class does expression re-writing when using the textBox inside of an
IDataAccessProvider and handles turning expressions like:
container.item
into things like:
actionForm.customer[12].name
BB: self
BVT: NetUI pass
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/naming/IndexedNameInterceptor.java
==============================================================================
---
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/naming/IndexedNameInterceptor.java
(original)
+++
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/naming/IndexedNameInterceptor.java
Tue Aug 17 14:29:11 2004
@@ -23,6 +23,7 @@
import javax.servlet.jsp.tagext.Tag;
import javax.servlet.jsp.tagext.TagSupport;
+import javax.servlet.jsp.tagext.SimpleTagSupport;
// internal imports
import org.apache.beehive.netui.script.Expression;
@@ -146,7 +147,7 @@
*/
protected IDataAccessProvider getCurrentProvider(Tag tag)
{
- return
(IDataAccessProvider)TagSupport.findAncestorWithClass(tag,IDataAccessProvider.class);
+ return
(IDataAccessProvider)SimpleTagSupport.findAncestorWithClass(tag,IDataAccessProvider.class);
}
/**