Extends
- Component
Members
(non-null) constants :Object
Portlet's constants
Type:
- Object
- Source:
currentAction :String
The current action (CMD.ADD, CMD.UPDATE, ...)
for the wiki page
Type:
- String
- Source:
renderUrl :String
The render url of the portlet
Type:
- String
- Source:
strings :Object
Portlet's messages
Type:
- Object
- Source:
Methods
attached()
- Source:
(protected) changeWikiFormat_(event)
Changes the wiki page format. Previously user is informed that she
may lose some formatting with a confirm dialog.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The select event that triggered the change action |
- Source:
created()
- Source:
detached()
- Source:
(protected) publishPage_()
Publish the wiki page.
- Source:
(protected) removeAttachment_(event)
Sends a request to remove the selected attachment.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The click event that triggered the remove action |
- Source:
(protected) removeTempImages_() → {Boolean}
Checks if there are images that have not been uploaded yet.
In that case, it removes them after asking
confirmation to the user.
- Source:
Returns:
False if there are temporal images and
user does not confirm she wants to lose them. True in other case.
- Type
- Boolean
(protected) save_()
Submits the wiki page.
- Source:
(protected) saveDraft_()
Saves the wiki page as a draft.
- Source: