Version 1, changed by jotspot_jim. 03/16/2005. Show version history
Details:
Two steps are required to make this happen:
In the createPage control, use the name of a page that doesn't exist. This non-existent page will usually be the "base name" of the unique name you want to create. For example:
<wiki:control type="createPage" name="Comment" />
Next, add the pageName input control to your form. Use the various page name fields to control the format of the uniquely-created page name. (See PageNameField in the help pages.) In the example below, the %U part of the pattern tells the server to add a number to the end of Comment to force the name to be unique:
<wiki:form name="foo"> ... <wiki:input type="pageName" uniquePattern="Comment%U" /> </wiki:form>
Author: jotspot_jim on 03/16/2005 03:43PM
Tags:
| Reply | |||
|---|---|---|---|
Export table![]() | |||
| No items found | |||