br.com.arsmachina.tapestrycrud
Class Constants

java.lang.Object
  extended by br.com.arsmachina.tapestrycrud.Constants

public final class Constants
extends Object

Class that holds some constants related to Tapestry CRUD.

Author:
Thiago H. de Paula Figueiredo

Field Summary
static String ACTION_PROPERTY_NAME
          Name of the pseudo-property added to the BeanModel returned by #getBeanModel() to hold actions related to an object in a Grid.
static String DEFAULT_FORM_BLOCK_ID
          Default block ID to be returned by AJAX form submissions.
static String DEFAULT_FORM_ZONE_ID
          Default zone ID to be returned by AJAX form submissions.
static String FORM_ID
          Form id (t:id).
static String MESSAGE_ERROR_REMOVE_NOT_ALLOWED
          Remove object success error (remove not allowed) key.
static String MESSAGE_ERROR_REMOVE_NOT_FOUND
          Remove object success error (object not found) key.
static String MESSAGE_SAVEORUPDATE_SUCCESS
          Message shown after a successful object save or update.
static String MESSAGE_SUCCESS_REMOVE
          Remove object success message key.
static String NEW_OBJECT_EVENT
          New object event.
static String REMOVE_COMPONENT_ID
          Name of the pseudo-property added to the BeanModel returned by #getBeanModel() to hold actions related to an object in a Grid.
static String REMOVE_OBJECT_ACTION
          Event generated by the remove link in the ActionLinks component.
static String TAPESTRY_CRUD_CSS_ASSET
          Tapestry CRUD CSS asset path.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REMOVE_OBJECT_ACTION

public static final String REMOVE_OBJECT_ACTION
Event generated by the remove link in the ActionLinks component.

See Also:
Constant Field Values

FORM_ID

public static final String FORM_ID
Form id (t:id). All event handler methods is this class expect a form with this id.

See Also:
Constant Field Values

MESSAGE_SAVEORUPDATE_SUCCESS

public static final String MESSAGE_SAVEORUPDATE_SUCCESS
Message shown after a successful object save or update.

See Also:
Constant Field Values

TAPESTRY_CRUD_CSS_ASSET

public static final String TAPESTRY_CRUD_CSS_ASSET
Tapestry CRUD CSS asset path.

See Also:
Constant Field Values

MESSAGE_SUCCESS_REMOVE

public static final String MESSAGE_SUCCESS_REMOVE
Remove object success message key.

See Also:
Constant Field Values

MESSAGE_ERROR_REMOVE_NOT_ALLOWED

public static final String MESSAGE_ERROR_REMOVE_NOT_ALLOWED
Remove object success error (remove not allowed) key.

See Also:
Constant Field Values

MESSAGE_ERROR_REMOVE_NOT_FOUND

public static final String MESSAGE_ERROR_REMOVE_NOT_FOUND
Remove object success error (object not found) key.

See Also:
Constant Field Values

ACTION_PROPERTY_NAME

public static final String ACTION_PROPERTY_NAME
Name of the pseudo-property added to the BeanModel returned by #getBeanModel() to hold actions related to an object in a Grid.

See Also:
Constant Field Values

REMOVE_COMPONENT_ID

public static final String REMOVE_COMPONENT_ID
Name of the pseudo-property added to the BeanModel returned by #getBeanModel() to hold actions related to an object in a Grid.

See Also:
Constant Field Values

DEFAULT_FORM_ZONE_ID

public static final String DEFAULT_FORM_ZONE_ID
Default zone ID to be returned by AJAX form submissions.

See Also:
Constant Field Values

DEFAULT_FORM_BLOCK_ID

public static final String DEFAULT_FORM_BLOCK_ID
Default block ID to be returned by AJAX form submissions.

See Also:
Constant Field Values

NEW_OBJECT_EVENT

public static final String NEW_OBJECT_EVENT
New object event.

See Also:
Constant Field Values


Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.