NextDB.net

Class net.nextdb.html.InsertForm

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

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

Defined in api.docs.js


Constructor Summary
net.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"}
 void insertAndLink(<int> rowId, <String> relationshipName)
           set the rowId and relationship name to automatically link this inserted row to another row in a different table according to the named relationship.
 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 net.nextdb.Error in the case of an error or undefined if everything succeeded.
 void render(<HTMLElement> div)
           renders the form into the div
 
Methods inherited from class net.nextdb.html.Form
interceptor, cancelCallback, afterRenderCallback, layout, expandFields, omitFields, orderFields, confirmFields, setMessageId, message, obscureFields, options, defaultValues, validation, destroy
 

Constructor Detail

net.nextdb.html.InsertForm

net.nextdb.html.InsertForm(conn,tableName)

Method Detail

captchaColors

Object captchaColors(style)

insertAndLink

void insertAndLink(<int> rowId, <String> relationshipName)

insertCallback

Object insertCallback(<Function> callback)

render

void render(<HTMLElement> div)

NextDB.net

Documentation generated by JSDoc on Mon Mar 29 20:15:50 2010