Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

lino.modlib.extjs.views

Summary from <http://en.wikipedia.org/wiki/Restful>:

On an element:

  • GET : Retrieve a representation of the addressed member of the collection expressed in an appropriate MIME type.

  • PUT : Update the addressed member of the collection or create it with the specified ID.

  • POST : Treats the addressed member as a collection and creates a new subordinate of it.

  • DELETE : Delete the addressed member of the collection.

On a list:

  • GET : List the members of the collection.

  • PUT : Replace the entire collection with another collection.

  • POST : Create a new entry in the collection where the ID is assigned automatically by the collection. The ID created is included as part of the data returned by this operation.

  • DELETE : Delete the entire collection.

Functions

delete_element(ar, elem)

elem2rec_empty(ar, ah, elem, **rec)

Returns a dict of this record, designed for usage by an EmptyTable.

test_version_mismatch(request)

Classes

ActionParamChoices(**kwargs)

AdminIndex(**kwargs)

Similar to PlainIndex

ApiElement(**kwargs)

ApiList(**kwargs)

Choices(**kwargs)

EidAppletService(**kwargs)

HttpResponseDeleted([content])

MainHtml(**kwargs)

Restful(**kwargs)

Used to collaborate with a restful Ext.data.Store.

RunJasmine(**kwargs)

SWView(**kwargs)

lino.modlib.extjs.views.elem2rec_empty(ar, ah, elem, **rec)

Returns a dict of this record, designed for usage by an EmptyTable.

class lino.modlib.extjs.views.AdminIndex(**kwargs)

Bases: View

Similar to PlainIndex

class lino.modlib.extjs.views.Restful(**kwargs)

Bases: View

Used to collaborate with a restful Ext.data.Store.