Pages Editing Tags (cpp)
The tags to implement editing UI components such as dialogs are the subject of this tag description page. The tags for rendering the HTML code of a content component are described in Pages Component Tags.
defineFrameObjects
the extended define objects tag for edit frame components
editAction
the action tag for the edit toolbars
Attributes
-
icon
-
label
-
condition
-
action
-
title
The title of the item.
editDialog
The EditDialogTag creates the HTML code for an edit dialog of a component.
Attributes
-
var
the name of the model variable; this name must be unique in the chosen scope
-
type
the full class name of the models Java class
-
scope
The scope in which the variable is stored: page (= default), request or session .
-
replace
if 'true' an existing value of the same type is replaced by a new instance otherwise an existing instance of the chosen type is reused
-
tagId
the optional DOM tree id for the HTML tag
-
title
The title of the item.
-
languageContext
-
resource
The rendered resource.
-
resourcePath
The path of the resource to edit; if it ends with * then the dialog is meant to create a new resource.
-
resourceType
-
primaryType
-
selector
-
cssBase
specifies the 'cssBase' value and overwrites the default value derived from the component resource type
-
cssSet
the 'main' CSS class for the produced tag (hides the 'cssBase' class)
-
cssAdd
additional CSS classes added to the 'main' CSS class specified by the 'cssBase' or 'cssSet' attribute
-
submit
-
validation
the validation action selector or an uri for server side validation
-
successEvent
the event key of the event to trigger after a successful change request
-
disabled
editDialogGroup
Creates a group within an edit dialog.
Attributes
-
groupId
an identifier for the group
-
label
the label of the group
-
expanded
-
disabled
can be used to disable the group
-
test
nothing is rendered if the test attribute value is "false' (general condition)
editDialogTab
Creates a tab witin an edit dialog.
Attributes
-
tabId
identifier of the tab
-
label
the label of the tab
-
disabled
can be used to disable the tab
-
test
nothing is rendered if the test attribute value is "false' (general condition)
editToolbar
Creates the html markup for an edit toolbar.
Attributes
-
var
the name of the model variable; this name must be unique in the chosen scope
-
type
the full class name of the models Java class
-
scope
The scope in which the variable is stored: page (= default), request or session .
-
replace
if 'true' an existing value of the same type is replaced by a new instance otherwise an existing instance of the chosen type is reused
-
tagId
the optional DOM tree id for the HTML tag
-
cssBase
specifies the 'cssBase' value and overwrites the default value derived from the component resource type
-
cssSet
the 'main' CSS class for the produced tag (hides the 'cssBase' class)
-
cssAdd
additional CSS classes added to the 'main' CSS class specified by the 'cssBase' or 'cssSet' attribute
invoke
the general action tag to embed action calls to the edit layer into a page
Attributes
-
tagName
the tag name to render the wrapping tag (default: 'div')
-
action
-
actionUrl
-
model
-
resource
-
path
-
resourceType
-
test
nothing is rendered if the test attribute value is "false' (general condition)
-
cssSet
the 'main' CSS class for the produced tag (hides the 'cssBase' class)
-
cssAdd
additional CSS classes added to the 'main' CSS class specified by the 'cssBase' or 'cssSet' attribute
menuItem
the menu item action tag for the dropdown menus of the toolbars
Attributes
-
icon
-
label
-
condition
-
action
-
title
The title of the item.
-
test
nothing is rendered if the test attribute value is "false' (general condition)
multiwidget
the widget rendering tag for structured multi value properties
Attributes
-
label
-
property
-
i18n
-
var
the name of the model variable; this name must be unique in the chosen scope
-
modelClass
-
cssBase
specifies the 'cssBase' value and overwrites the default value derived from the component resource type
-
cssSet
the 'main' CSS class for the produced tag (hides the 'cssBase' class)
-
cssAdd
additional CSS classes added to the 'main' CSS class specified by the 'cssBase' or 'cssSet' attribute
treeAction
the action tag for the tree toolbars
Attributes
-
icon
-
label
-
condition
-
action
-
title
The title of the item.
-
test
nothing is rendered if the test attribute value is "false' (general condition)
treeMenu
the action menu tag for the tree toolbars
Attributes
-
key
-
icon
-
label
-
condition
-
title
The title of the item.
widget
the dialog widget rendering tag
Attributes
-
type
the full class name of the models Java class
-
label
-
property
-
name
-
value
-
i18n
-
multi
-
required
If true, the property is mandatory.
-
blank
If true, a blank property is stored, otherwise the property is removed if the value is blank.
-
hint
-
disabled
-
placeholder
-
test
nothing is rendered if the test attribute value is "false' (general condition)
-
modelClass
widgetForm
The form tag to use edit widgets in a normal HTML form.
Attributes
-
var
the name of the model variable; this name must be unique in the chosen scope
-
type
the full class name of the models Java class
-
scope
The scope in which the variable is stored: page (= default), request or session .
-
replace
if 'true' an existing value of the same type is replaced by a new instance otherwise an existing instance of the chosen type is reused
-
tagId
the optional DOM tree id for the HTML tag
-
formType
-
action
-
method
-
encType
-
validation
the validation action selector or an uri for server side validation
-
disabled
-
cssBase
specifies the 'cssBase' value and overwrites the default value derived from the component resource type
-
cssSet
the 'main' CSS class for the produced tag (hides the 'cssBase' class)
-
cssAdd
additional CSS classes added to the 'main' CSS class specified by the 'cssBase' or 'cssSet' attribute