Widget displaying a restful link for an action used to
switch between different views of the application (typically a link to
the Document Management view, to the Admin Center view, etc...).
Type
|
main_tab
|
Title
|
Main tab
|
Description
|
Widget displaying a restful link for an action used to
switch between different views of the application (typically a link to
the Document Management view, to the Admin Center view, etc...).
|
Available Since Version
|
5.7.3
|
Accepting Sub Widgets
|
No
|
Handling Labels
|
No
|
Containing Form
|
No
|
Handler Class
|
org.nuxeo.ecm.platform.actions.facelets.ActionWidgetTypeHandler
|
Properties
|
{template=/incl/action/widgets/main_tab_action_template.xhtml, compat_template=/incl/action/main_tab_action_template.xhtml, dev_template=/widgets/actions/dev/action_widget_type_dev_template.xhtml}
|
Categories
|
action
|
Label
|
label
|
|
The action label.
|
icon
|
icon
|
|
The action icon path. Example:
"/icons/contextual_menu/share.png".
|
Require document
|
requireDocument
|
|
The boolean value stating if the rest
document link needs a document to show a restful link.
Defaults to "false".
|
Ajax support
|
ajaxSupport
|
|
Boolean stating if the action supports ajax. Mandatory
for this action to be ajaxified when caller asks for an ajax form to
be used. Default value depends on the action type policy.
|
Onclick
|
onclick
|
|
Javascript code to call when clicking on the action.
|
Target
|
target
|
|
The action target, for instance "_blank".
|
Confirm
|
confirm
|
|
Javascript confirmation code, called when clicking on
the action.
|
Confirm message
|
confirmMessage
|
|
Alternative to the "confirm" property, only stating
the confirmation message, that can be a message to translate.
|
Confirm message arguments
|
confirmMessageArgs
|
|
Confirm message arguments, referenced by the confirm
message translation in messages.properties files.
|