Version User Scope of changes
Aug 5 2008, 6:11 PM EDT (current) devin_wetpaint 4 words added
May 8 2008, 12:39 PM EDT ryan_wetpaint 21 words deleted

Changes

Key:  Additions   Deletions
This page contains a list of properties that should be set very early in the page rendering process (i.e: in the header, just after the Client Application is requested).

Function Reference

String
get
set
LoginTicketGets or sets the user's authorization/login ticket. The login ticket must be set before a user can perform privileged actions (e.g: editing content).
String
get
set
DeveloperKeyGets or sets your Wetpaint-issued public developer key. The client application cannot communicate with the Wetpaint server without this key.
String
get
set
NamespaceGets or sets the namespace you wish to use for the content on this page. The client application cannot request content without a namespace.
boolean
get
set
CachedContentHandlingEnables or disables cache-busting for the Wetpaint client application. If this is enabled, then a fresh copy of the content will be loaded after page load. Defaults to false.

Example Usage:
if( window.WPCAPI ) {
WPCAPI.setLoginTicket( "0123456789ABCDEF0123456789ABCDEFZYXWVUTSRQPONMLKJIHGFEDCBA" );
WPCAPI.setDeveloperKey( "your-developer-key" );
WPCAPI.setNamespace( "test-namespace" );
WPCAPI.setCachedContentHandling( true );

}