| java.lang.Object org.apache.beehive.netui.tags.naming.FormDataNameInterceptor
FormDataNameInterceptor | public class FormDataNameInterceptor implements INameInterceptor(Code) | | A
INameInterceptor that qualifies all non-expression attributes
that are expected to be expressions into valid
expressions. This conversion is for Struts compatability;
In Struts, the "property" property is used to specify which
property on the action form should be rendered in a tag's
HTML. These attributes are converted into expressions
by qualifying them into the actionForm binding
context.
For example, the dataSource attribute on a text box
tag would be qualified into the actionForm context
if the attribute was not an expression.
|
Method Summary | |
public String | rewriteName(String name, Tag currentTag) Qualify the name of a NetUI JSP tag into the "actionForm" data binding context.
This feature is used to convert non-expression tag names, as those used in Struts,
into actionForm expressions that NetUI consumes.
Parameters: name - the name to qualify into the actionForm binding context. |
rewriteName | public String rewriteName(String name, Tag currentTag) throws ExpressionEvaluationException(Code) | | Qualify the name of a NetUI JSP tag into the "actionForm" data binding context.
This feature is used to convert non-expression tag names, as those used in Struts,
into actionForm expressions that NetUI consumes.
Parameters: name - the name to qualify into the actionForm binding context. If this is "foo", the returned valueis {actionForm.foo} the qualified name or null if an error occurred |
|
|