com.cc.framework.ui.model.imp
Class ActionBehaviorImp

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.ActionBehaviorImp
All Implemented Interfaces:
ActionBehavior

public class ActionBehaviorImp
extends java.lang.Object
implements ActionBehavior

Simples action behavior implementation

Author:
P001002

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

transaction

private boolean 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

private boolean ajax
Decides if the element should send AJAX requests to the server

Constructor Detail

ActionBehaviorImp

public ActionBehaviorImp(boolean transaction,
                         boolean ajax)
Constructor

Parameters:
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 server
Method Detail

getTransaction

public boolean getTransaction()
Description copied from interface: ActionBehavior
Checks if the framework should include a transaction token (if any) in all generated hyperlinks for this action. The Transaction token is used to track form re-submissions.

Specified by:
getTransaction in interface ActionBehavior
Returns:
true if the transaction token should be generated
See Also:
ActionBehavior.getTransaction()

isAjaxEnabled

public boolean isAjaxEnabled()
Description copied from interface: ActionBehavior
This method checks if the element should send AJAX requests to the server

Specified by:
isAjaxEnabled in interface ActionBehavior
Returns:
returns true when the control should send AJAX requests.
See Also:
ActionBehavior.isAjaxEnabled()


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.