| |
|
| java.lang.Object org.apache.beehive.netui.tags.naming.IndexedNameInterceptor
IndexedNameInterceptor | public class IndexedNameInterceptor implements INameInterceptor(Code) | | A
INameInterceptor that is used to rewrite names which
reference the container databinding context. This
INameInterceptor 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 INameInterceptor
rewrites that name using the given name and the hierarchy of
org.apache.beehive.netui.script.common.IDataAccessProvider tags in a JSP page.
|
getCurrentProvider | protected IDataAccessProvider getCurrentProvider(Tag tag)(Code) | | A default method to find the "current" IDataAccessProvider. This method is
left as non-final so that the implementation here can be tested
outside of a servlet container.
|
rewriteName | final public String rewriteName(String name, Tag currentTag) throws ExpressionEvaluationException(Code) | | Rewrite an expression into a fully-qualified reference to a specific JavaBean property
on an object.
Parameters: name - the expression to rewrite Parameters: currentTag - the current JSP tag that can be used as the leaf for walking upto find parent tags that provide information used torewrite the expression. |
|
|
|