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

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.ActionBehaviourImp
All Implemented Interfaces:
ActionBehaviour

public class ActionBehaviourImp
extends java.lang.Object
implements ActionBehaviour

Simples ActionBehaviour 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
ActionBehaviourImp(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

ActionBehaviourImp

public ActionBehaviourImp(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: ActionBehaviour
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 ActionBehaviour
Returns:
true if the transaction token should be generated
See Also:
ActionBehaviour.getTransaction()

isAjaxEnabled

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

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


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