public abstract class TabBaseAction extends ViewBaseAction
It's not needed to inject the xava_tab
objects to these actions.
These actions obtain the appropriate tab object depend on the current collection
or if not a collection from main list mode.
DETAIL, LIST, PREVIOUS_MODE, SPLIT
Constructor and Description |
---|
TabBaseAction() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollection() |
int |
getRow()
This property has value when the action has been clicked from the row.
|
protected int[] |
getSelected()
Deprecated.
use getSelectedKeys
|
protected java.util.Map[] |
getSelectedKeys()
Returns the keys of the selected rows.
|
protected Tab |
getTab() |
void |
setCollection(java.lang.String collection) |
void |
setRow(int row) |
void |
setViewObject(java.lang.String viewObject)
Extract from the viewObject the name of the collection.
|
closeDialog, getModelName, getPreviousView, getPreviousViews, getView, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, showView, validateViewValues
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, commit, executeAction, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextMode, getQualifiedActionIfAvailable, getRequest, removeActions, returnToPreviousControllers, rollback, setContext, setDefaultControllers, setEnvironment, setErrors, setMessages, setNextMode, setRequest
@Deprecated protected int[] getSelected()
Returns the indexes of the selected rows.
If row property has value return an array with it as unique value. This happens when the action has been clicked from the row,
protected java.util.Map[] getSelectedKeys()
If row property has value return an array with it as unique value. This happens when the action has been clicked from the row,
protected Tab getTab() throws XavaException
XavaException
public java.lang.String getCollection()
public void setCollection(java.lang.String collection)
public void setViewObject(java.lang.String viewObject)
Useful for using Tab actions for collections.
public int getRow()
If not its value is -1.
public void setRow(int row)