|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.ActionBehaviorImp
Simples action behavior implementation
Field Summary | |
private boolean |
ajax
Decides if the element should send AJAX requests to the server |
private boolean |
transaction
Decides if the framework should include a transaction token (if any) in all generated hyperlinks. |
Constructor Summary | |
ActionBehaviorImp(boolean transaction,
boolean ajax)
Constructor |
Method Summary | |
boolean |
getTransaction()
Checks if the framework should include a transaction token (if any) in all generated hyperlinks for this action. |
boolean |
isAjaxEnabled()
This method checks if the element should send AJAX requests to the server |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private boolean transaction
private boolean ajax
Constructor Detail |
public ActionBehaviorImp(boolean transaction, boolean ajax)
transaction
- Decides if the framework should include a transaction token
(if any) in all generated hyperlinks. The Transaction token is
used to track form re-submissions.ajax
- Decides if the element should send AJAX requests to the serverMethod Detail |
public boolean getTransaction()
ActionBehavior
getTransaction
in interface ActionBehavior
true
if the transaction token should be generatedActionBehavior.getTransaction()
public boolean isAjaxEnabled()
ActionBehavior
isAjaxEnabled
in interface ActionBehavior
true
when the control should send AJAX
requests.ActionBehavior.isAjaxEnabled()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |