Skip to content
rolandschuetz edited this page Jun 12, 2012 · 10 revisions

Bancha Scaffold Library - Roadmap

  1. Provide more elegant ways to define scaffolding (see below)
  2. Enhance scaffolding to use associations to generate selectboxes
  3. Add internationalization support for Bancha.js (simple refactoring)
  4. Enhance scaffolding to understand placeholders like '[save_button]'
  5. Automap Ext.data.validations rules to Ext.form.field.VType rules

Infos

About 1. Provide more elegant ways to define scaffolding:

The scaffold property of Ext.grid.Panel should get following configs:

fields2items

Easily define which fields should get scaffolded, example:

fields2items: ['firstname','lastname','address','state']

buttons

Default behavior buttons can easily be added to your button configurations, example:

buttons: ['->','create_button',{...your own button..},'save_button']

You can also simply get a correct button scope by adding to your custom buttons:

scope:'inject_grid_scope'
Clone this wiki locally