Renders the shared standard asset edit form for a content item. Registered against a content type as the "edit-form" XStream alias, and built by AssetViewsBuilder.editFormView() when configuring a content type's edit path mapping. At render time it delegates to HtmlTemplater to write the fixed "/theme/apps/content/assetEditForm.html" template for the current resource.

Implements: AssetView


Properties

PropertyReturnsDescription
textStringA short human-readable label for this view. Used where views are listed for an administrator to choose from.

Methods

getContentType(Asset item)

Returns: String

The content type this view always produces.

ParameterDescription
itemthe asset the content type is being resolved for; not used, since this view always produces HTML

getText()

Returns: String

A short human-readable label for this view. Used where views are listed for an administrator to choose from.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.