org.tynamo.editablecontent.components
Class EditableContent
java.lang.Object
org.tynamo.editablecontent.components.EditableContent
@Import(stylesheet="EditableContent.css")
public class EditableContent
- extends Object
A component that displays html-formatted textual content and allows editing it inline in a ckeditor instance. The initial value is the
nested static html content if any.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditableContent
public EditableContent()
isDefaultReadOnly
public boolean isDefaultReadOnly()
getDefaultAuthorRole
public String getDefaultAuthorRole()
getDefaultContentId
public String getDefaultContentId()
dontRenderContent
@BeforeRenderBody
public Object dontRenderContent(org.apache.tapestry5.MarkupWriter writer)
resetToReadMode
@PageReset
public void resetToReadMode()
renderContent
@AfterRenderBody
public Object renderContent(org.apache.tapestry5.MarkupWriter writer)
isEdited
public boolean isEdited()
isEditable
public boolean isEditable()
onActionFromCancelLink
public Object onActionFromCancelLink()
onActionFromEditLink
public Object onActionFromEditLink()
onValidateFromContentEditorForm
public void onValidateFromContentEditorForm()
Copyright © 2004-2012. All Rights Reserved.