BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.

com.bea.wlw.netui.tags.naming
Class IndexedNameInterceptor

java.lang.Object
  extended by 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:

Constructor Summary
protected IndexedNameInterceptor()
          A default constructor used for testing
  IndexedNameInterceptor(javax.servlet.jsp.tagext.Tag currentTag)
           
 
Method Summary
protected  DataAccessProvider getCurrentProvider()
          A default method to find the "current" DataAccessProvider.
 String rewriteName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexedNameInterceptor

protected IndexedNameInterceptor()
A default constructor used for testing


IndexedNameInterceptor

public IndexedNameInterceptor(javax.servlet.jsp.tagext.Tag currentTag)
Method Detail

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

BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.