|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectFormDataNameInterceptor
public class FormDataNameInterceptor
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.
| Constructor Summary | |
|---|---|
FormDataNameInterceptor()
|
|
| Method Summary | |
|---|---|
String |
rewriteName(String name,
Tag currentTag)
Qualify the name of a NetUI JSP tag into the "actionForm" data binding context. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormDataNameInterceptor()
| Method Detail |
|---|
public String rewriteName(String name,
Tag currentTag)
throws ExpressionEvaluationException
rewriteName in interface INameInterceptorname - the name to qualify into the actionForm binding context. If this is "foo", the returned value
is {actionForm.foo}
null if an error occurred
ExpressionEvaluationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||