NextDB.net

Class nextdb.html.InsertForm

Object
   |
   +--nextdb.html.Form
         |
         +--nextdb.html.InsertForm

class nextdb.html.InsertForm
extends nextdb.html.Form

Defined in api.docs.js


Constructor Summary
nextdb.html.InsertForm(conn,tableName)
            Form builder for Inserts
 
Method Summary
 Object captchaColors(style)
           set the captcha colors to blend the image into the page correctly, this is the format {bg:"#FFFFFF",fg:"#333333"}
 Object insertCallback(<Function> callback)
           optional insert callback, the callBack signature is callack(rowId,error) the rowId is the encrypted id for the new row inserted, error is either an instance of nextdb.Error in the case of an error or undefined if everything succeeded.
 void render(<HTMLElement> div)
           renders the form into the div
 Object setRelationship(<Relationship> relationship)
           Set the rowId and relationship name to automatically link this inserted row to another row in a different table according to the named relationship.
 
Methods inherited from class nextdb.html.Form
interceptor, fail, columnAliases, cancelCallback, afterRenderCallback, layout, whileLoading, timeoutMessage, expandFields, omitFields, orderFields, confirmFields, setMessageId, message, obscureFields, options, defaultValues, validation, destroy
 

Constructor Detail

nextdb.html.InsertForm

nextdb.html.InsertForm(conn,tableName)

Method Detail

captchaColors

Object captchaColors(style)

insertCallback

Object insertCallback(<Function> callback)

render

void render(<HTMLElement> div)

setRelationship

Object setRelationship(<Relationship> relationship)

NextDB.net

Documentation generated by JSDoc on Fri Apr 1 10:54:23 2011