content:editOnSight

A tag which lets you make a visible representation of the right-click editing found in the structure tool. Easier for the users and can be used on live sites as well.

Parameters

Name

Required

Default

Type

Description

id

true

 

String

The result is stored in this variable.

contentId

true

 

String

The content the edit on sight should support edit

languageId

true

 

String

The language the edit on sight should edit

attributeName

true

 

String

The attribute the edit on sight should mark.

html

true

 

String

The html you want the user to click on to get the editing form.

showInPublishedMode

false

false

String

This property lets you show the edit-link even on the published site.

 

ID-result variable contains:
The html-string needed to perform edit on sight.

Examples

The following example creates a link which leads to the editing screen for the content.

<content:editOnSight id="editOnSightHTML" contentId="${content.id}" attributeName="FullText" html="Edit text"/>
<c:out value="${editOnSightHTML}" escapeXml="false"/>



comments powered by Disqus