|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PreComponent
This interface represents a combination of a formcomponent and a precondition. The formhandler will check precondition before executing the corresponding component.
| Method Summary | |
|---|---|
boolean |
checkPreCondition(SessionFormFlow formValues,
javax.servlet.http.HttpServletRequest req)
Evaluates the precondition of this instance. |
FormComponent |
getComponent()
Returns the form component of this instance. |
java.lang.String |
getPreCondition()
Returns the precondition xsl of this instance. |
| Method Detail |
|---|
java.lang.String getPreCondition()
null if no such precondition
is present.FormComponent getComponent()
boolean checkPreCondition(SessionFormFlow formValues,
javax.servlet.http.HttpServletRequest req)
formValues - The object contain information in the formflow.req - The http servlet request that triggered the form handling.
true If there is no precondition or the precondition
xsl transformation returned the value "true", false
otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||