com.bea.wlw.netui.tags.naming
Class IndexedNameInterceptor
java.lang.Object
com.bea.wlw.netui.tags.naming.IndexedNameInterceptor
- All Implemented Interfaces:
- NameInterceptor
public class IndexedNameInterceptor
- extends Object
- implements NameInterceptor
A NameInterceptor
that is used to rewrite names which
reference the container
databinding context. This
NameInterceptor is for use by tags that render form-updatable HTML
elements. If the dataSource attribute of the tag references a
container
binding context, the name must be qualified
into a real path down a bean / property hierarchy in order to
correctly update that value on a POST. This NameInterceptor
rewrites that name using the given name and the hierarchy of
DataAccessProvider
tags in a JSP page.
- Exclude:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexedNameInterceptor
protected IndexedNameInterceptor()
- A default constructor used for testing
IndexedNameInterceptor
public IndexedNameInterceptor(javax.servlet.jsp.tagext.Tag currentTag)
getCurrentProvider
protected DataAccessProvider getCurrentProvider()
- A default method to find the "current" DataAccessProvider. This is broken out
so the class is testable.
rewriteName
public final String rewriteName(String name)
throws ExpressionEvaluationException
- Specified by:
rewriteName
in interface NameInterceptor
- Throws:
ExpressionEvaluationException