Sign in or 

| void WPCAPI.showAddPageDialog() | |||||||
| This utility method launches the Add Page dialog. Parameters | |||||||
| String | parentID | The parent cell ID for the newly created page. | Required | ||||
| String DOMElement | dialogTitle | The title to use for the Add Page dialog. If the value is a DOMElement, then this method will first try to use its title attribute. If no title attribute exists, then the element's innerHTML will be used. | Defaults to "Add Page" | ||||
| String | parentTitle | The title of the parent cell; required if the parent cell does not yet exist, otherwise ignored. | Defaults to current page title | ||||
| String | parentURL | The URL of the parent cell; required if the parent cell does not yet exist, otherwise ignored. | Defaults to current page URL | ||||
Usage Minimal
Minimal (with custom title)
Strict
Embedded HTML
| |||||||
|
DevinCanterberry |
Latest page update: made by DevinCanterberry
, May 8 2008, 12:57 PM EDT
(about this update
About This Update
view changes - complete history) |
|
Keyword tags:
API
function
JavaScript
method
showAddPageDialog
More Info: links to this page
|
| Started By | Thread Subject | Replies | Last Post | ||
|---|---|---|---|---|---|
| bejawada | I tried this add page embedded HTML in my JSP page and it does not do | 3 | Jun 3 2008, 1:58 PM EDT by ryan_wetpaint | ||
|
Thread started: Jun 3 2008, 10:23 AM EDT
Watch
do anything. It just points to the link of #addPage and thats about it. It does not actually take me to the dialog of adding a new page as in the wetpaint website. What am I doing wrong here.
Do you find this valuable?
Keyword tags:
API
function
JavaScript
method
showAddPageDialog
|
|||||