Renders the platform's default HTML edit form for a content item, used when a content type has not configured its own edit view. Registered against a content type as the "edit-page-view" XStream alias, and built by AssetViewsBuilder.editView() when configuring a content type's edit path. At render time it delegates to HtmlTemplater to write the fixed "content/defaultEditForm" 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.